/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */

::selection{
    background-color: #04aa6d62;
}

@font-face {
    font-family: "Dana-Bold";
    src: url(./fonts/Dana-Bold.ttf);
}
@font-face {
    font-family: "Dana-Regular";
    src: url(./fonts/Dana-Regular.ttf);
}
@font-face {
    font-family: "Dana-Medium";
    src: url(./fonts/Dana-Medium.ttf);
}
@font-face {
    font-family: "Dana-Light";
    src: url(./fonts/Dana-Light.ttf);
}
@font-face {
    font-family: "Dana-Black";
    src: url(./fonts/Dana-Black.ttf);
}

@font-face {
    font-family: "Meem-Bold";
    src: url(./fonts/Meem-Bold.ttf);
}

@font-face {
    font-family: "NovinWeb";
    src: url(./fonts/NovinWeb.ttf);
}

*{
    box-sizing: border-box;
    margin: 0;
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#page-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 0.92);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 999999;

    opacity: 1;
    visibility: visible;

    animation: hideLoader 0.5s ease 1.5s forwards;
}
/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    position: relative;
}

.double-bounce1,
.double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;

    background-color: #04aa6d1e;

    animation: sk-bounce 2s infinite ease-in-out;
}

.double-bounce2 {
    background-color: #04aa6da2;
    animation-delay: -1s;
}



@keyframes hideLoader {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* انیمیشن Spinner */
@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }
}

.w-error{
    width: 100vw;
    height: 100vw;
    display: none;
}

.w-error-content{
    text-align: center;
    font-size: 20px;
    line-height: 24.8vw;
}

.container-1{
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(11,15,14,0.12);
    background-color: rgb(253, 253, 253);
    
}


.header{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;

}

.logo{
    display: flex;
    
}

.up-header{
    display: flex;
    padding: 20px;
    width: 100%;
    justify-content:space-between;
}

.up-links{
    text-decoration: none;
    color: #585858;
    font-weight: 700;
    transition: color 150ms ease-in 50ms;
}

.content-title-page{
    font-size: 25px;
}

.content-title-page-span{
    color: #04AA6D;
}

.active{
    border-bottom: 4px solid #04AA6D ;
    border-radius: 4px;
    color: #1e2221;
    margin-left: 20px;

}

.home-link{
    transition: border-bottom 150ms ease-in 50ms;
}

.home-link:hover{
    border-bottom:4px solid #006943;
}

.lessons-link:hover{
    color: #353535;
}

.devschool-wordmark{
    width: 100px;
    height: 20px;
}

.Logo-Icon{
    width: 20px;
    height: 20px;
}


.lessons{
    margin-top: 1px;
    width: 100%;
    overflow-x:auto;
    border-bottom:1px rgba(11,15,14,0.12); 
    background:#0000000a; 
    min-width: 0;
    border: 1px solid rgba(0, 0, 0, 0.096);

}


.lessons-name{
    display:flex; 
    gap:2px; 
    padding:0 28px; 
    width:max-content; 
    flex-wrap: nowrap;
}

.lessons a{ 
    text-decoration: none;
    font-family:'JetBrains Mono', monospace;
    font-weight: 600;
    font-size:13px; 
    letter-spacing:.03em; 
    padding:10px 14px; 
    color:#5B6B66; 
    white-space:nowrap; 
    border-bottom:2px solid transparent; 
}

.lessons a.link00{
    color:#04AA6D; 
    border-color:#04AA6D; 
    font-weight:600; 
}

.links-up{
    transition: all 100ms ease-in 80ms;
}

.lessons a.link00:hover{
    color: #006943;
    border-bottom:3px solid #006943;
}

.links-up:hover{
    color: #1e2221;
}

/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */


.container-2{
    width: 100%;
    height: max-content;
    /* background-color: rgba(0, 0, 0, 0.253); */
    /* padding: 50px 0; */
    z-index: 10;
}

main{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* background-color: #961111; */
    z-index: 20;
    align-items: center;
}

section{

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 52px 28px;
    background-color: #00000007;
    width: 100%;
    height: calc(max-content + 20px);
    z-index: 30;
    border-top: 1px solid rgba(11,15,14,0.12);
    
}

.section-title{
    font-family: "Meem-Bold" ;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.up-title{
    font-family: "Dana-Regular";
    position: absolute;
    font-size: 12px;
    display: inline;
    color: #04AA6D;
    background-color: #04aa6d3d;
    padding: 4px;
    border:1px solid #04AA6D;
    border-radius: 9px;
    right: 2px;
    top: -35px;
}

.content-lessons{
    display: flex;
    gap: 510px;
}

.content-word{
    width: 360px;
}


.caption{
    display: inline;
    color: #353535;
    margin-bottom: 60px;
}

.logos{
    margin-top: 20px;
    width: 250px;
    height: 250px;
}

.buttoms{
    font-family: "Dana-Medium";
    text-decoration: none;
    color: #fff;
    background-color: #000000;
    padding: 10px;
    border-radius: 9px;
    transition: color 100ms ease-in 50ms;
}

.buttoms:hover{
    color: #e6e6e6;
}

.container-3{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-3{
    margin-right: auto;
    margin-left: auto;
}

.section-more-lang{
    display: block;
    border-top: 0px solid black;
    direction: rtl;    
    width: 100%;
}

.title-more-lang{
    font-family: "Dana-Bold" ;
    font-size: 36px;
    margin-bottom: 25px;
}

.div-more-lang{
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.up-words-more-lang{
    margin-bottom: 30px;
    max-width: 640px;
}

.boxs-more-lang{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 28px;

}

.boxs{
    width: 356px;
    height: 200px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #00000018;
    border-radius: 20px;
}

.boxs{
    /* transition: box-shadow 500ms ease 100ms;
    transition: transform 200ms ease-in 100ms; */

    transition: all 250ms ease 200ms;
}

.boxs:hover{
    transform: translateY(-4px);
    box-shadow: 0px 6px 5px #04aa6d62;
    /* border: 1px solid #04AA6D; */
}



.title-boxs{
    font-family: 'Meem-Bold' ;
}

.caption-boxs{
    color: #353535;
    margin-bottom: 25px;
    font-size: 14px;
}

.logos-more-lang{
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 12.5px;
    color: #fff;
    margin-bottom: 14px;
}

.links-more-lang{
    text-decoration: none;
    color: #006943;
    font-family: "Dana-Bold";
    transition: color 150ms ease-in 50ms;

    
}

.links-more-lang:hover{
    color: #00af6f;
}


/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */


footer{
    background-color: rgb(253, 253, 253);
    border-top: 1px solid rgba(11,15,14,0.12);
    padding: 48px 0 30px;
}





.footer-bottom-content{
    display: flex;
    justify-content: space-between;
    gap: 15px;

}

.footer-texts{
    font-size: 13px;
}

.RS-Logo{
    position: absolute;
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
}

/* ================================================================== */
/* RESPONSIVE — added for widths below the 1680px base design         */
/* ================================================================== */

@media screen and (max-width:1350px) {

    .logos{
        width: 200px;
        height: 200px;
    }

    .section-title{
        margin-bottom: 26px;
    }
    
}

@media screen and (max-width:1236px) {

    .boxs{
        width: 350px;
    }
}

@media screen and (max-width:1160px){

    .content-lessons{

        gap: 200px;

    }
    
}

@media screen and (max-width:930px) {

    .content-title-page{
        font-size: 20px;
    }

    .content-title-page-span{
        color: #04AA6D;
    }


    .section-title{
        font-size: 30px;
        margin-bottom: 10px;
    }

    .caption{
        font-size: 13.5px;
    }

    .up-links{
        font-size: 14px;
    }
            
    .lessons{
        margin-top: 0px;
        
    }

    .lessons a , .lessons .lessons-name .up-active{
        font-size: 10px;
        padding: 6px 10px;
    }

    .devschool-wordmark {
        width: 80px;
        height: 16px;
    }

    .Logo-Icon {
        width: 16px;
        height: 16px;
    }

    .up-header{
        padding: 12px;
    }
}

@media screen and (min-width:918px ) {

    .boxs{
        width: 370px;
    }
    
    .title-more-lang{
        font-size: 30px;
    }

    .caption-more-lang{

        font-size: 13px;

    }
}


@media screen and (max-width:880px){
    .logos {
        width: 150px;
        height: 150px;
    }

    .content-lessons{

        gap: 100px;

    }

    .boxs{
        width: 244px;
    }
}


@media screen and (max-width:714px){
    
    .content-title-page{
        font-size: 19px;
    }

    .content-title-page-span{
        color: #04AA6D;
    }


    .logos {
        width: 120px;
        height: 120px;
    }

    .content-lessons{

        gap: 50px;

    }

    .boxs{
        width: 244px;
    }

    .section-title{
        font-size: 25px;
    }

    .caption{
        font-size: 12px;
    }

    .buttoms{
        font-size: 13px;
        font-weight: 700;
        font-family: "Dana-Medium";
    }

    .title-more-lang{
        font-size: 30px;
    }
}

@media screen and (max-width:627px){
    .title-more-lang{
        font-size: 30px;
    }
    .boxs{
        width: 391px;
    }
    .content-lessons{

        gap: 20px;

    }

    .section-title{
        font-size: clamp(18px, 5.2vw, 22px);
        gap: 8px;
        margin-bottom: 10px;
        justify-content: flex-start;
    }

    .up-title{
        font-size: 10px;
        padding: 4px 9px;
    }

    .caption {
        font-size: 12.5px;
        line-height: 1.75;
        margin-bottom: 16px;
        margin-inline: 0;
        max-width: none;
    }

    .logos {
        width: clamp(64px, 24vw, 96px);
        height: clamp(64px, 24vw, 96px);
        margin-top: 8px;
    }

    .title-more-lang{
        font-size: 25px;
        margin-bottom: 10px;
    }

    .caption-more-lang{
        font-size: 13px;
    }

}


@media screen and (max-width:520px){

    .content-title-page{
        font-size: 15px;
    }

    .content-title-page-span{
        color: #04AA6D;
    }

    .home-link{
        margin-left: 2px;
    }
    .content-word{
        width: clamp(64px, 60vw, 360px);
    }

    .logos{
        margin-bottom: 10px;
    }

    .footer-texts{
        font-size: 10px;
    }
    
}

@media screen and (max-width:400px) {

    .up-links{
        font-size: 13px;
    }

    .title-more-lang{
        font-size: 22px;
    }

    .caption-more-lang{
        font-size: 11.5px;
    }

    .footer-texts{
        font-size: 10px;
    }

}

@media screen and (max-width:390px) {

    .title-page{
        display: none;
    }
    
}

@media screen and (max-width:311px) {

    .caption-boxs{
        font-size: 12px;
    }

    .home-link{
        display: none;
    }
    
}

@media screen and (max-width:290px) {

    .links-more-lang{
        font-size: 13px;
    }

    .caption-boxs{
        font-size: 10px;
    }
    
}

@media screen and (max-width:265px) {

    .w-error{
        display: block;

    }

    .container-1 , .container-2 , .container-3 , .container-4{
        display: none;
    }

    
}


@media screen and (max-width:168px) {

    .w-error-content{
        line-height: 32vw;
        font-size: 16px;
    }
    
}

@media screen and (max-width:70px) {

    .w-error-content{
        line-height: 40vw;
        font-size: 12px;
    }
    
}