::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;
}

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

}

.home-link{
    margin-left: 20px;

}

.active{
    transition: border-bottom 150ms ease-in 50ms;

}

.in-active{
    transition: color 150ms ease-in 50ms;

}

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

.in-active:hover{
    color: #353535;
}

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

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



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



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

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

.container-2{
    padding-bottom: 30px;
    padding-top: 60px;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    border-bottom:1px solid rgba(11,15,14,0.12);
}

.content-container-2{
    margin-right: 0;
    margin-left: auto;
}

.container-2 .content-container-2 h1{
    font-size: 35px;
}

.container-2 .content-container-2 p{
    color: #717f7b;
}


.container-3{
    width: 70%;
}

.number-lessons{
    color: #353535;
    padding: 7px;
    border-radius: 20px;
}

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

.up{
    padding-top: 35px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.down{
    display: flex;
    gap: 30px;
    padding-top:40px ;
    /* border: 3px solid black; */
    width: 100%;
    height: max-content;
    flex-wrap: wrap;
}

.parent-boxs{
    margin-bottom: 60px;
    border-top:1px solid rgba(11,15,14,0.12);
}

.boxs{
    padding: 18px;
    width:23% ;
    height: 170px;
    border: 1px solid rgba(11,15,14,0.12) ;
    border-radius: 12px;
    background-color: #fff;
}

.basic-boxs{
    border-top: 2px solid #0E6B4F;
}

.programming-boxs{
    border-top: 2px solid #2C5FBD;
}
.data-base-boxs{
    border-top: 2px solid #7C4DFF;
}
.framework-boxs{
    border-top: 2px solid #b91c1c;
}
.other-boxs{
    border-top: 2px solid #f97316;
}
.mini-logos{
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 11.5px;
    color: #fff;
    margin-bottom: 12px;
}


.title-boxs{
    font-family: "Meem-Bold";
    font-size: 20px;
}

.caption-boxs{
    color: #353535;
    font-size: 14.5px;
    margin-top: 1px;
    margin-bottom: 15px;
}

.link-boxs{
    font-family: Sepid;
    font-weight: 600;
    color: #006943;
    text-decoration: none;
    transition: color 150ms ease-in 50ms;
}

.link-boxs:hover{
    color: #04AA6D;
}



.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; */
}

.basic-boxs:hover{
    transform: translateY(-4px);
    box-shadow: 0px 6px 5px #0E6B4F62;
}
.programming-boxs:hover{
    transform: translateY(-4px);
    box-shadow: 0px 6px 5px #2C5FBD62;
}
.data-base-boxs:hover{
    transform: translateY(-4px);
    box-shadow: 0px 6px 5px #7C4DFF62;
}
.framework-boxs:hover{
    transform: translateY(-4px);
    box-shadow: 0px 6px 5px #b91c1c62;
}
.other-boxs:hover{
    transform: translateY(-4px);
    box-shadow: 0px 6px 5px #f9731662;
}






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


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


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


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

}

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

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

@media (max-width: 1440px){
    .container-2, .container-3{ width: 85%; }
    .boxs{ width: 22%; }
}

@media (max-width: 1200px){
    .container-2, .container-3{ width: 90%; }
    .boxs{ width: 30%; }
    .content-container-2 h1{ font-size: 30px; }
}

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

    .boxs{
        width: 30%;
    }
    .caption-boxs{
        font-size: 13px;
    }
    
}

@media (max-width: 992px){
    .container-2, .container-3{ width: 92%; }
    .boxs{ width: 47%; height: auto; min-height: 160px; }
    .down{ gap: 20px; }
    .title-lessons{ font-size: 22px; }
    .up-header{ padding: 16px; }
}

@media screen and (max-width:769px){
    .number-lessons{
        font-size: 13px;
    }
}

@media (max-width: 768px){
    .container-2{ padding-top: 40px; padding-bottom: 20px; }
    .container-2 .content-container-2 h1{ font-size: 28px;}
    .container-2 .content-container-2 p{ font-size: 14.5px; }
    .devschool-wordmark{ width: 90px; height: 18px; }
}



@media (max-width: 576px){
    .container-2 .content-container-2 h1{ font-size: 24px;}
    .container-2 .content-container-2 p{ font-size: 12.5px; }
    .container-2, .container-3{ width: 94%; }
    .boxs{ width: 100%; height: auto; min-height: 150px; }
    .down{ gap: 16px; padding-top: 24px; }
    .content-container-2 h1{ font-size: 22px; }
    .title-lessons{ font-size: 20px; }
    .caption-boxs{ font-size: 13.5px; }
    .up-header{ flex-wrap: wrap; gap: 10px; padding: 14px; }
    .Logo-Icon{ width: 16px; height: 16px; }
    .devschool-wordmark{ width: 78px; height: 16px; }
}

@media (max-width: 400px){
    .title-boxs{ font-size: 17px; }
    .caption-boxs{ font-size: 12.5px; }
    .content-container-2 h1{ font-size: 20px; }
    .mini-logos{ width: 30px; height: 30px; }
    .title-lessons{ font-size: 19px;}
}

@media screen and (max-width:375px) {
        .footer-bottom-content{
            font-size: 10px;
        }

        .container-4 .right p{
            font-size: 10px;
        }
}

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

    .title-lessons{
        font-size: 17.5px;
    }

    .up-links{
        font-size: 12.5px;
        font-weight: 600;
    }
    
}


@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;
    }
    
}