*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Alexandria', sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
}
body{
    background-color: #323232;
}
.sec1 {
    height: calc(100vh - 65px);
    border-bottom: 1px solid white;
}
.cont {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 15px;
}
.cont h1 {
    color: #FFDE59;
    font-size: 65px;
    font-weight: 700;
    margin-bottom: 16px;
}
.cont p {
    color: #FFFFFF;
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    width: 80%;
    line-height: 60px;
    margin-bottom: 20px;
}
.cont .btns{
    display: flex;
    flex-direction: row;
}
.cont .btns .btn{
    min-width: 100px;
    padding: 8px 15px;
    transition: 0.3s linear all;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    border-radius:0 ;
    font-weight: 600;
    border: 2px solid #FFCC00;
    position: relative;
}
.cont .btns .btn-1{
    color: white;
}
.cont .btns .btn-2{
    /* background-color: #FFCC00; */
    color: black;
}
/* \\\\\\\\\ من هنا \\\\\\\\\\ */
.cont .btns .btn-1::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
    width: 0%;
    height: 100%;
    background-color: #FFCC00;
    z-index: -1;
    transition: 0.3s linear all;

}
.cont .btns .btn-1:hover{
    color: black;
}
.cont .btns .btn-1:hover:before{
    width: 100%;
    top: auto;
    left:auto ;
    bottom: 0;
    right: 0;
}
/* ///////// اخره هنا /////////// */


.cont .scroll-down {
    margin-top: 40px;
}
.cont .btns .btn-2::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
    width: 100%;
    height: 100%;
    background-color: #FFCC00 ;
    z-index: -1;
    transition: 0.3s linear all;

}
.cont .btns .btn-2:hover{
    color: white;
}
.cont .btns .btn-2:hover:before{
    width: 0%;
    top: auto;
    left:auto ;
    bottom: 0;
    right: 0;
}
.sec2 {
    min-height: 100vh ;
    border-bottom: 1px solid white;
}
.sec3 {
    border-bottom: 1px solid white;
    width: 100%;
}
.titleo {
    width: 100%;
    text-align: center;
    padding-top: 10px;
}
.titleo p{
    font-size: 45px;
    color: white;
    font-weight: 700;
    margin: 30px 0 50px;
    position: relative;
}
.titleo p::before {
    content: "";
    position: absolute;
    width: 15%;
    height: 6px;
    background-color: #FFCC00;
    border-radius: 20px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.cont2 {
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    place-items: center;
    gap: 35px;
    margin-bottom: 25px;

}
.cont2 .video {
    width: 300px;
    min-height: 0;
    background-color:#323232;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
}
.sec3 .cont3 .quiz {
    flex-direction:row;
}
.cont2 .video img{
    width: 100%;
}

.cont3 {
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    place-items: center;
    gap: 35px;
    margin-bottom: 25px;

}
.cont3 .p-9 {
    width: 340px;
    min-height: 0;
    background-color:#323232;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
    flex-direction:column;
}


footer {
    width: 100%;
    min-height: 100px;
    padding: 30px;
    background-color:#101f36;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
footer .infor {
    display: flex;
    align-items: center;
    flex-direction: column;
}
footer .infor img{
    border-radius: 50%;
    outline: 4px white solid;
}
footer .infor .socials{
    color: white;
    margin-top: 30px;
}
footer .infor .socials a{
    color:#323232;
    padding: 15px;
    background-color: white;
    border-radius: 50%;
    margin: 0 10px;
}
footer .info-names {
    color: white ;
    font-weight: 800;
}
footer .info-names .s1{
    margin-bottom: 20px;
}
footer .info-names h2 span{
    color:#ffcc00 ;
    font-weight: 700;
}
footer .info-names p{
    font-weight: 600;
}
footer .info-names .s2 .web{
    margin-bottom: 10px;
}
footer .info-names .s2 .web a{
    color: white;
    font-weight: 500;
    margin-left: 5px;
}
footer .info-names .s2 .web i{
    color: #323232;
    padding: 10px;
    background-color: white;
}
@media (max-width:710px){
    footer  {
        flex-direction: column;
    }
    footer .infor .socials{
        margin-top: 20px;
    }
    footer .infor img{
        width: 150px;
    }
    footer .infor .socials a{
        padding: 10px;
        margin: 0 5px;
    }
    footer .info-names .s1{
        margin: 20px 0;
        text-align: center;
    }
}
@media (max-width:350px){
    footer .infor img{
        width: 100px;
    }
    footer .infor .socials a{
        padding: 8px;
        margin: 0 4px;
    }
    footer .info-names .s1{
        margin: 15px 0;
        text-align: center;
    }
    footer .info-names .s2 .web a{
        font-size: 13px;
    }
}
@media (max-width:400px) {
    .titleo p{
        font-size: 35px;
    }
    .cont2 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    
    }
    .cont2 .video {
        width: 250px;
    }
    .sec3 .cont3 {
        grid-template-columns: repeat(auto-fill, minmax(90%, 1fr));
    }
    .sec3 .cont3 .p-9 {
        width: 90%;
        display: flex;
    }
    .sec3 .cont3 .p-9 .quiz {
        flex-direction: column;
    }
    .sec3 .cont3 .quiz img{
        margin-bottom: 15px;
    }
}
@media (max-width:300px) {
    .cont2 {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    
    }
    .cont2 .video {
        width: 230px;
    }
}

.to-top {
    position: fixed;
    bottom: 20px;
    right: -50px;
    width: 50px;
    height: 50px;
    background-color: #17181d;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: 0.2s ease-out;
}
.to-top i {
    color: white;
}
.to-top i.active {
    color: #17181d;
}
.to-top.active {
    background-color: #f1f2f7;
}