/* CSS Document */
/*  font */

@charset "utf-8";

:root[light] {
    --BackgroundPage: #fff;
    --Backgroundcolor1: #e8e8e8;
    --Backgroundcolor2: #dedede;
    --Color: #c5190d;
    --SameColor: #fff;
    --ColorText: #111;
    --Mode: 2px;
}

:root {
    --BackgroundPage: #222831;
    --Backgroundcolor1: #393e46;
    --Backgroundcolor2: #393e46;
    --Color: #EA2B1F;
    --SameColor: #fff;
    --ColorText: #eeeeee;
    --Mode: 32px;
}

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

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

button i {
    color: var(--ColorText);
    font-size: 2.5rem;
}

* {
    box-sizing: border-box;
    font-family: IRANYekanX-UltraLight;
    padding: 0%;
    margin: 0%;
    font-weight: 100;
    color: var(--ColorText);
}

body {
    direction: rtl;
    background: var(--BackgroundPage);
}

/* .......navBar....... */
header {
    width: 100%;
}

nav {
    width: 100%;
    height: auto;
    font-size: 1.1rem;
    background-color: var(--Backgroundcolor1);

    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    padding: 7px 150px;

    z-index: 999;

}

nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0%;
    padding: 0%;

}

nav ul li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--ColorText);
    font-family: IRANYekanX-Regular;


}

nav img {
    width: 45px;
    height: auto;
}

nav ul li a::before {
    content: " ";

    background: var(--ColorText);
    width: 0%;
    height: 1px;
    position: absolute;
    bottom: 0%;
    transition: 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover::before {
    width: 100%;
}

nav ul li a:hover {
    color: var(--ColorText);
}

#ModeDesktop {
    width: 54px;
    height: 24px;
    border-radius: 20px;
    background-color: var(--Backgroundcolor2);
    position: relative;
    cursor: pointer;
    border: solid 1px var(--Color);
    display: block;
}

#ModeDesktop Span {
    transition: all 0.5s;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--Color);
    position: absolute;
    top: 2px;
    left: var(--Mode);
}

#ModeMobile {
    width: 54px;
    height: 24px;
    border-radius: 20px;
    background-color: var(--Backgroundcolor2);
    position: relative;
    cursor: pointer;
    border: solid 1px var(--Color);
    display: none;
}

#ModeMobile Span {
    transition: all 0.5s;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--Color);
    position: absolute;
    top: 2px;
    left: var(--Mode);
}

#topcall {
    display: inline-block;
    margin-left: 10px;
    font-size: 24px;
}

/*  main */
/* --------------- section one - slider ------------ */
main {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: column;
}

.DivSlider {
    width: 100%;
    height: auto;
    margin-top: 70px;
    background: var(--BackgroundPage) !important;
}

#d_pic_slide {
    height: auto;
    width: 100%;

}

.img-slide {
    border: none;
    padding: 0 150px;
    width: 100%;
    height: auto;
    object-fit: cover;
    background: var(--BackgroundPage) !important;
}


.DivClassMusic .carousel-indicators {
    display: none;
}

.DivClassMusicPN {
    display: block;
}

.TextBox {
    width: 100%;
    height: auto;
    padding: 0% 150px;
    text-align: center;
    color: var(--ColorText);
}

.TextBox h2 {
    font-size: 1.4rem;
    font-family: IRANYekanX-Regular;

}

.TextBox span {
    font-size: 1.1rem;
}

.DivManagement {
    width: 100%;
    padding: 0 150px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.DivManagement .CardManagement {
    display: flex;
    gap: 20px;
    background: var(--Backgroundcolor2);
    padding: 30px;
    height: auto;
    width: 100%;
    border-radius: 10px;
}

.CardManagement img {
    height: 50%;
    width: 50%;
    border-radius: 10px;
}

.CardManagementinfo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.line {
    width: 2px;
    min-height: 100%;
    background: var(--Color);
}

.CardManagementinfo h3 {
    font-size: 1.4rem;
    font-family: IRANYekanX-Regular;

}

.CardManagementinfo ul {

    padding: 10px 30px 0 0;
    font-size: 1.1rem;
    width: 95%;
    list-style: circle;
}

.DivClassMusic {
    padding: 0 150px;
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.DivClassMusicPage {
    display: flex !important;
    justify-content: space-between;
}

.CardClassMusic {
    min-width: 30%;
    height: 200px;
    background-color: var(--Backgroundcolor1);
    margin: 10px;
    padding: 10px;
    gap: 15px;
    text-align: center;
    border-radius: 15px;
    display: flex;
    text-decoration: none;
}

.CardClassMusic img {
    height: 100%;
}

.CardClassMusic .CardClassMusicInfo {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: start;
    justify-content: center;
}

.CardClassMusicInfo h2 {
    margin: 0%;
    padding: 0%;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'IRANYekanX-Regular';

}

.CardClassMusicInfo p {
    margin: 0%;
    padding: 0%;
    font-size: 1.1rem;
}

.DivTeacher {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    padding: 0 150px;
    justify-content: space-between;
    gap: 30px;
}

.CardTeacher {
    max-width: 30%;
    /* min-height: fit-content; */
    border-radius: 10px;
    padding: 10px;
    background: var(--Backgroundcolor2);
    display: flex;
    gap: 10px;
    flex-direction: column;
    text-decoration: none;
}

.CardTeacher img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.CardTeacher h2 {
    font-size: 1.4rem;
    font-family: IRANYekanX-Regular;

}

.CardTeacher span {
    font-size: 1.1rem;
    width: 95%;

}

.CardTeacher ul {
    padding: 0 30px 0 0;
    font-size: 1.1rem;
    width: 95%;
    list-style: circle;
}

.DivArticles {
    width: 100%;

    padding: 0 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    gap: 20px;
}

.CardArticles {
    height: auto;
    width: 48%;
    display: flex;

    padding: 10px;
    background: var(--Backgroundcolor1);
    gap: 10px;
    border-radius: 10px;
}

.CardArticles img {
    height: auto;
    width: 100px;
    border-radius: 10px;
}

.CardArticlesInfo {
    min-height: fit-content;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.CardArticlesInfo h4 {
    font-family: IRANYekanX-Regular;
}

.CardArticlesInfo span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* -webkit-line-clamp:3 ; */
    font-size: .9rem;
}

.CardArticlesInfo a {
    color: var(--SameColor);
    text-decoration: none;
    padding: 5px 15px;
    background-color: var(--Color);
    cursor: pointer;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 10px;
    font-family: IRANYekanX-Regular;

}

/* footer */
footer {
    width: 100%;
    height: auto;
    padding: 40px 150px 100px 150px;
    background: var(--Backgroundcolor2);
    font-size: 1.2rem;

    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer .social a {
    color: var(--Backgroundcolor2);
}

footer .social a i {
    font-size: 1.6rem;
    color: var(--ColorText);
}

footer img {
    position: absolute;
    left: 150px;
    height: 150px;
    filter: grayscale(100%);
}

#BtnToUp {
    width: 40px;
    height: 40px;
    background-color: var(--Color);
    border-radius: 50%;

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

    position: fixed;
    bottom: 50px;
    right: 80px;
    z-index: 1000;

    font-size: 35px;
    cursor: pointer;
}

#BtnToUp i {
    color: var(--BackgroundPage);

}

#DmenuMobile {
    font-size: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#BtnmenuMobile {}

#MenuMobile {
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    z-index: 111111;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    background-color: #1111116b;
    overflow: hidden;
    transition: all 1s;
}

#MenuMobile ul {
    padding: 10px 50px;
    background-color: var(--Backgroundcolor1);
    height: 100vh;
    width: 70%;
    list-style: none;
    position: relative;
}

#MenuClose {
    font-size: 35px;
    position: absolute;
    top: 10px;
    left: 50px;
}

#MenuMobile ul li a {
    color: var(--ColorText);
    text-decoration: none;
}

#MenuMobile ul img {
    width: 50px;
    margin-bottom: 30px;
}


@media (max-width: 1200px) {
    .CardManagement img {
        width: 40%;
        height: auto;
        margin: auto;
    }
}

@media (max-width: 1111px) {
    .CardTeacher {
        max-width: 47%;
    }
}

@media (max-width: 1007px) {
    .SliderButtonPrev {
        left: 35px;
    }

    .SliderButtonNext {
        right: 35px;

    }

    nav ul li:nth-of-type(4),
    nav ul li:nth-of-type(5),
    nav ul li:nth-of-type(6),
    nav ul li:nth-of-type(7) {
        display: none;
    }

    /* 
    nav ul li:nth-of-type(7) {
        display: block;
    } */

    #support {
        display: none;
    }

    #DmenuMobile {
        display: flex;
    }

    .TextBox,
    nav,
    .img-slide,
    .DivClassMusic,
    .DivManagement,
    .DivTeacher,
    .DivArticles {
        padding: 0px 50px;
    }

    footer {
        padding: 30px 50px 100px 50px;
    }

    footer img {
        left: 50px;
        height: 100px;
        bottom: 100px;
    }

    #BtnToUp {
        right: 50px;
    }

    .DivClassMusicPage {
        padding: 0%;
    }

    .DivClassMusicPN {
        display: none;
    }

    .DivClassMusic .carousel-indicators {
        display: flex;
        margin-bottom: -20px !important;
    }

    #ModeMobile {
        display: block;
        margin-top: 10px;
    }

    #ModeDesktop {
        display: none;
    }

}

@media (max-width: 850px) {

    .DivClassMusicPage {
        flex-direction: column;
        padding: 0px 30px;
    }
}

@media (max-width: 640px) {
    main {
        gap: 20px;
    }

    .SliderButtonPrev {
        left: 20px;
    }

    .SliderButtonNext {
        right: 20px;
    }

    .CardTeacher {
        min-width: 100%;
        padding: 20px;
    }

    .CardManagement {
        flex-direction: column;
        height: fit-content;
    }

    .DivManagement {
        height: fit-content;
    }

    .DivManagement img {
        width: 100%;
    }

    .CardManagement .line {
        min-width: 100%;
        height: 2px;
    }

    .DivClassMusicPage {
        flex-direction: column;
        padding: 0px 30px;
    }

    #BtnToUp {
        right: 25px;
    }

    #MenuClose {
        left: 20px;
    }

    #MenuMobile ul {
        padding: 10px 20px;
    }

    .TextBox,
    .img-slide,
    .DivClassMusic,
    .DivManagement,
    .DivTeacher,
    .DivArticles {
        padding: 0px 25px;
    }

    nav {
        padding: 5px 25px;
    }

    /* mobile menu */

    nav ul {
        background-color: var(--Backgroundcolor1);
        width: 100%;
        height: 50px;
        position: absolute;
        top: 50px;
        right: 0px;
        /* padding-right: 40px; */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        /* background-color: red; */
        display: inline-block;
    }

    .DivSlider {
        margin-top: 120px;
    }

    footer {
        padding: 25px 25px 100px 25px;
    }

    footer img {
        display: none;
    }

    .DivClassMusicPN {
        display: block;
    }

    .DivClassMusic .carousel-indicators {
        display: none;
    }

    .img-slide {
        width: 100%;
        height: 30vh;
    }

    .DivArticles {
        flex-direction: column;
    }

    .CardArticles {
        width: 100%;
    }

}


.a_tel {

    color: var(--ColorText);
    text-decoration: none;
}

.a_tel:hover {
    font-weight: bold;
    color: #c5190d;
}

#copyright {
    width: 100%;
    text-align: center;
    color: var(--ColorText);
    border-top: 1px solid white;
    background: var(--Backgroundcolor2);
    padding: 30px;
}

#copyright a {
    color: #c5190d;
    text-decoration: underline 1px solid #c5190d;
    text-underline-offset: 5px;

}