
/**********************
 Google fonts imports
***********************/

@import url('https://fonts.googleapis.com/css2?family=Bad+Script&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ysabeau+SC:wght@1..1000&display=swap');

/* 
    font-family: "Roboto", sans-serif; 

    ========= main-font ============
    font-family: "Ysabeau SC", sans-serif;

    ===== handwritting font =====
    font-family: "Bad Script", cursive;

    ===== button font ======
    font-family: "Poppins", sans-serif;
*/

/*****************
 COMMON STYLES
*********************/
*{
    margin: 0;
    padding: 0;
}

:root{

    --second-bg-color:#C2DBEF;
    --text-color:#131212;
    --main-color:#008cff;
    --button-font: "Poppins", sans-serif;
} 

a{
    text-decoration: none;
    color: var(--text-color);
}

body{
    font-family: "Ysabeau SC", sans-serif;
    background-color: #ffffff;
     font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

/*****************
 BUTTON STYLE
*********************/

.btn{
    background-color:#49a9f7;
    width: 70%;
    margin: 0 auto 0;
    font-family: var(--button-font);
    text-transform: capitalize;
}

.btn:hover{
    background-color: var(--main-color);
}



/****************
 HEADER/NAVBAR 
******************/

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Bad Script", cursive;
    height: 7vh;
    background-color: #ffffff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 3px 4px;
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
}

.logo{
    width: 20%;
    margin: 0 auto 0;
}
nav{
    width: 10%;
    margin: 0 auto 0;
    display: flex;
    justify-content:space-between;
    align-items: center;
}

/****************
 LANDING PAGE
******************/

#landing-page{
    height: 110vh;
    display: flex;

}
.landing-page-content{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    animation: fadeIn; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 1.5s; 
}

.landing-page-img{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    animation: fadeInUp; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 1.5s; 
}
.landing-page-img img{
    width: 100%;
    height: 70%;
}
.clock-icon{
    display: none;
}

/****************
 MAIN PAGE
******************/

#main-page{
    display: flex;
    flex-direction:column;
}
.gridcontainer{
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    animation: fadeIn; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 1.5s;
}

.gridcontainer div{
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    min-height: 70vh;
    max-height: auto;
    background-color:var(--second-bg-color);
    border-radius: 15px;
    
}
.timer-10{
    grid-column: 1/-1;
    
}





/*************** 
MEDIA QUERIES 
***************/

@media (max-width: 600px) {
/****************
 HEADER/NAVBAR 
******************/

header{
    height: 10vh;
}

.logo{
    width: 30%;
   
}
nav{
    width: 30%;
   
}



/*******************
    landing page
********************/

    #landing-page{
        flex-direction: column-reverse;
        height: 110vh;
    }
    .landing-page-content{
        width: 90%;
        margin: 0 auto 0;
        height:60%;
    }

    .landing-page-content h1{
        font-size: 1.6rem;
    }
    
    .landing-page-img{
        width: 100%;
        height: 30%;
        justify-content: center;
        overflow: hidden;
    }
    .landing-page-img img{
        width: 100%;
        height: 120%;
        align-content: center;
        display: none;
    }
    .clock-icon{
        display: flex;
        
    }
    .clock-icon i{
       font-size: 7rem;
       color: var(--main-color);

    }

 /*******************
    main page
********************/  

.gridcontainer{
    width: 80%;
    margin: 0 auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.gridcontainer h2{
    font-size: 20px;
}
.gridcontainer p{
    font-size: 15px;
}
.gridcontainer div{
   
    min-height: 70vh;

    
}


}
/* Footer */
.footer{
    align-items: center;
    justify-content: center;
}
 