*{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}
:root {
  --top-nav-height: 55px;
}
html {
    overflow:   scroll;
}
  
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent; 
}

/* =============== Nav bar ================= */

.topnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    padding-left: 0px;
    width: 100%;
    height: 55px;
    z-index: 100;
    background-color: #333;
}

.topnav img{
    height: 55px;

}

.topnav-links{
    margin: 0 10px;
    height: 55px;
    flex: 1;
    padding: 0;
    text-align: right;
}

.topnav a{
    float: right;
    color: #f2f2f2;
    box-sizing: border-box;
    height: 55px;
    text-align: center;
    padding-left:16px;
    padding-right: 16px;
    padding-top: 20px;
    text-decoration: none;
    font-size: 17px;
}

.topnav-links ul li{
    margin: 0;
    height: 55px;
    list-style: none;
    display: inline-block;
    position: relative;
}

.topnav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.topnav a:hover {
    background-color:   #fecc3f ;
    color: black;
}

.topnav a.active {
    background-color:   #fecc3f ;
    color: black;
}
  
.topnav .fa{
    display: none;
}

@media (max-width: 768px) {
.topnav-links ul li{
    display: block;
    text-align: center;
}
.topnav a.active {
    background-color: inherit;
    color: black;
    }
.topnav-links{
    position: absolute;
    background: #fecc3f;
    height: 100vh;
    width: 200px;
    top: 0;
    margin: 0;
    right: -225px;
    text-align: left;
    z-index: 2;
    transition: 1s;
}
.topnav .fa{
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
}
.topnav-links ul{
    padding: 30px;
}
}

/* =========================== Main Page ==============================*/

.text-box{
    width: 90%;
    color: #fecc3f;
    background-color: rgba(0 ,0 ,0, 0.3);
    backdrop-filter: blur(2.5px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 5px;
    position: absolute;
    text-align: center;
}

.text-box h1{
    font-size: 62px;
}
.text-box h2{
    font-size: 48px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    color: #fff;
}

@media(max-width:768px){
    
    .text-box h1{
        font-size: 32px
    }
    .text-box h2{
        font-size: 28px;
    }
    .text-box p{
        font-size: 18px;
    }
}


/*------------- Course Section ------------*/
.about{
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 75px 20px;
}
.about h1{
    font-size: 40px;
    font-weight: 600;
}
.about p{
    color: rgb(98, 97, 97);
    font-size: 18px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px 0;
}

.about-col{
    margin-top: 15px;
    flex-basis: 31%;
    background: #fdefc4;   
    border-radius: 10px;
    padding: 20px 12px;
    box-sizing: border-box;
}

.about .row{
    margin-top: 20px;
    display: flex;
    column-gap: 10px;
    justify-content: center;
    text-align: center;
}

.about h3{
    text-align: center;
    font-weight: 600;
    font-size: 1.8vw;
    margin: 10px 5px;
    padding: 2px;
    border-bottom: 1px solid rgb(159, 157, 157);
}
.about-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0, 0.2);
}

@media(max-width:850px){
    .about .row{
        flex-direction: column;
        margin-top: 3%;
    }
    .about-col {   
        margin: 2% 0;
    }
    .about h3{
        font-size: 25px;
    }

}


/* ---------------- cta section ---------------- */
.cta{
    margin: auto;
    margin-bottom: 50px;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0 ,0 ,0, 1)), url(images/logo_horizontal.jpg);
    background-position: center;
    box-shadow: 0px 0px 10px gray;
    border-radius: 10px;
    background-size: cover;
    text-align: center;
    padding: 100px 0px;
}
.cta p{
    padding: 15px;
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}
.cta h1{
    color: #fff;
    font-size: 35px;
    margin-bottom: 30px;
    padding: 0;
}

.cta .buttons{
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
}

.cta .button-container{
    flex: 1;
    max-width: 300px;
    text-align: center;
    margin-bottom: 10px;

}


@media(max-width: 767px){
    .cta .buttons{
        flex-direction: column;
    }
    .cta h1{
        font-size: 24px;
        padding: 0 5px;
        margin-bottom: 10px;
    }
    .cta p{
        font-size: 18px;
    }
    .cta{
        padding:50px 0;
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0 ,0 ,0, 1)), url(images/logo.jpg);

    }
    .cta a{
        margin-top: 10px;
    }
}
/* ===================   Team Page   =========================== */

.team-grid{
    display: grid;
    overflow: scroll;
    overflow: hidden;
    margin-top: 25px;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 40px;
}

.team-page{
    width: 90%;
    color: #fff;
    margin: 25px auto 0 auto;
    padding: 25px 5px;
    position: relative;
    align-items: center;
    text-align: center;
}

.team-page h1{
    padding: 20px 0;
    border-radius: 5px;
    background-color: rgba(0 ,0 ,0, 0.3);
    font-size: 72px;
    color: #fecc3f;
}

.team-page img{
    width: 200px;
    border-radius: 10px;
}
.team-column{
    flex-basis: 49%;
    background-color: rgba(0 ,0 ,0, 0.3);
    backdrop-filter: blur(2.5px);  
    padding: 40px 0 20px 0;
}
.team-column h3{
    margin-top: 10px;
}
.team-column h4{
    color:#fecc3f;
}

@media(max-width:767px){
    .team-page img{
        width: 150px;
    }
    .team-page h1{
        font-size: 45px;
    }
    .team-page h3{
        font-size: 20px;
    }
    .team-page h4{
        font-size: 18px;
    }

    .team-grid{
        grid-template-columns: 1fr;
    }
}

/* ====================== Contact Page ============================== */
.contact-page{
    width: 90%;
    color: #fecb3fce;
    padding: 20px 0;
    border-radius: 15px;
    border: #333 solid 2px;
    background-color: rgba(0 ,0 ,0, 0.3);
    backdrop-filter: blur(2.5px);  
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    text-align: center;
}

.contact-page h1{
    font-size: max(52px,3.5vW);
}

.contact-page p{
    margin: 5% 0;
}

.contact-page .fa{
    margin: 0 20px;
}

.contact-main{
    display: flex;
}
.contact-column{
    flex-basis: 49%;
    font-size: 3vw;
}
.contact-links{
    color: #fdefc4;
}

@media(max-width: 767px){
    .contact-main{
        flex-direction: column;
    }
    .contact-page h1{
        font-size: 42px;
    }
    .contact-page .fa{
        margin: 10px;
    }
    .contact-column{
        font-size: 20px;
    }

}



/* ----------------------------------------- Info Page ----------------------------------------- */
.news{
    width: 80%;
    margin: 0 auto 50px auto;
    color: #383434;
    padding-top: 55px;
    text-align: center;
}

.news h1{
    margin-top: 30px;
}

.news-col{
    flex-basis: 44%;
    font-size: 18px;
    border-radius: 5px;
    position: relative;
    margin: 20px 0;
    text-align: left;
    display: flex;
    padding: 25px;
    background-image: linear-gradient(85deg, rgba(255, 249, 194, 0.8), rgba(251, 249, 220, 0.8));
    box-shadow: 0px 0px 2px #a0a0a0;
    
}

.news-col:hover, .news h1:hover{
    box-shadow: 0px 0px 4px #4b4949;
}
.news h1{
    font-size: 48px;
    padding: 15px;
    background-image: linear-gradient(85deg, rgba(255, 249, 194, 0.8), rgba(251, 249, 220, 0.8));
    border-radius: 15px;
    box-shadow: 0px 0px 1px #a0a0a0;

}

.news-col p{
    padding: 20px 0;
    margin: 10px 0;
    border-bottom: 1px solid rgb(181, 180, 180);
    border-top: 1px solid rgb(186, 185, 185);
}
.news-col h3{
    margin-top: 5px;
    margin-bottom: 0;
    text-align: left;
    font-weight: 500;

}
.news-fb-icon{
    position: absolute;
    border: 1px solid rgb(88, 91, 236);
    padding: 5px;
    border-radius: 5px;
    bottom: 25px;
    right: 25px;
}
.news-col .fa{
    color: #290af4;
}

@media(max-width: 767px) {
    .news-col{
        font-size: 16px;
        margin: 25px 0;
    }
    .news h1{
        font-size: 35px;
    }
    
}

/* ----------------------- Event info box ----------------------- */

.info-box{
    width: 90%;
    color: #fecc3f;
    background: rgba(0 ,0 ,0, 0.3);
    backdrop-filter: blur(2.5px);
    border-radius: 5px;
    top: calc(50% + 55px);
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    position: absolute;
    text-align: center;
}

.info-box h1{
    font-size: 42px;
    margin-top: 20px;
}
.info-box h2{
    font-size: 36px;
    border-bottom: #fecc3f solid 2px;
}

.info-box p{
    padding: 40px 0;
    font-size: 20px;
    color: #fff;

}

.info-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 20px 0;
    width: 100%;
    justify-content: center;
    text-align: center;
}
.info-item{
    border: 1px solid #fecc3f;
}
.info-item h3{
    font-size: min(1.8vw, 15px) ;
}
.info-item p{
    padding: 0;
    font-size: 15px;
}
@media(max-width:768px){
    .info-item h3{
        font-size: 12px ;
    }
    .info-container{
        grid-template-columns: 1fr 1fr;
    }
    .info-box p{
        padding: 20px 0;
        font-size: 15px;
    }
    .info-item p{
        font-size: 10px ;
        padding: 0;
    }

    .info-box h1{
        font-size: 7vw;
        margin-top: 10px;
    }
    .info-box h2{
        font-size: 5vw;
    }

}

/* ===================== Shared =================== */
.header{
    min-height: 100vh;
    padding-top: 55px;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)),url(images/fuw.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

@media(max-width: 768px){
    .header {
        background-image: linear-gradient(rgba(4,9,30,0.8), rgba(4,9,30,0.8)),url(images/fuw.jpg);
    }
}

/* --------------- footer --------------- */

.footer{
    width: 100%;
    color: #c6c4c4;
    background: #333;
    text-align: left;
    padding-top: 40px;
}

.footer p{
    font-weight: 300;
    font-size: 18px;
    margin: 0;
    padding: 10px 0px;
}

.footer h4{
    margin: 0;
    font-size: 26px;
    color: #ffdd7fcd;
}
.footer .row{
    margin: 0;
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-col{
    width: 30vw;
    padding: 10px 12px;
    box-sizing: border-box;

}

.footer .fa{
    cursor: pointer;
    padding: 5px;
}

.footer .credits{
    text-align: center;
    font-size: 15px;
    margin-bottom: 0;
    color: rgb(151, 150, 150);
}

.footer-contacts{
    padding-top: 8px;
    color: rgb(183, 200, 215);
}

@media(max-width:767px){
    .footer .row{
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin: 10px 0;
    }
    .footer-col{
        width: 90vw;
        padding: 5px 5px;
    }
    .footer p{
        margin: 0px;
        font-size: 14px;
        padding: 10px 10px;
    }
    .footer {
        padding-top: 20px;
        text-align: center;
    }
    .footer h4{
        margin-bottom: 0px;
        font-size: 16px;
    }
    .footer .credits{
        font-size: 12px;
    }
    .footer .contacts{
        font-size: 16px;
    }
    
}

/* ---------- others ---------- */

.light-link{
    color:rgb(206, 248, 248);
}
.dark-link{
    color:rgb(0, 86, 184);
}
.plain-link{
    text-decoration: none;
    color: inherit;
}
.fuw-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 12px 34px;
    font-size: 14px;
    border: 1px solid #fff;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.fuw-btn:hover{
    border: 1px solid #fecc3f;
    background: #fecc3f;
    color: #333;
    transition: 1s;
}