* {
    margin: 0;
    padding: 0;
    font-family:  'Lora', 'Merriweather', sans-serif;
    scroll-behavior: smooth;
}


html,body{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: #2a2d3e;
}



main{
    width: 100%;
    height: 100%;
}

.mainContainer{
    display: flex;
    flex-direction: column;
    width: 100%;
}


#lottie-container {
    width: 100px;
    height: 100px;
    position: fixed;
    cursor: pointer;
    bottom: 1px;
    right: 1px;
    z-index: 9999; /* so it stays above other elements */
}




.pageHeadings{
    animation: text-appear both;
    animation-timeline: view();
    animation-range: entry 10% cover 100vh;
}

@keyframes text-appear{
    from{
        opacity: 0;
        transform: translateY(50px);
    }
    to{
       opacity: 1;
       transform: translateY(0px);
    }
}


#introDiv1,#introDiv2{
    animation: image-reveal 5s ease;
    animation-timeline: view();
    animation-range: entry 20% cover 100vh;
    z-index: 100;
}


@keyframes image-reveal{
    from{
        opacity: 0;
        scale: .75;
        translate: 0 4rem;
    }
    to{
       opacity: 1;
       scale: 1;
       translate: 0 0;
    }
}




.serviceCard ,.educationCard,.projectsCard{
    animation: fadeUp 5s both;
    animation-timeline: view();
    animation-range: entry 15% cover 30%;
}

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(10px) scale(0.3) rotate(50deg);
    }
    to {
        opacity: 1;
        transform: translateY(0px) scale(1) rotate(0deg);
    }
}





