* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text);
}

button {
    border: none;
    outline: none;
    font: inherit;
    cursor: pointer;
}

:root {
    --text: #333;
    --background-nav: #E5E5E5;
    --stroke: #939185;
    --background-body: #E1E1E1;
    --background-scrollbar: #303030;
    --background-thumb: #E5E5E5;
    --rb-shadow: #bfbfbf;
    --tl-shadow: #bfbfbf;
    --background-link: #F7F7EE;
    --gray: #393E46;
    --blue-dark: #1B262C;
    --blue-light: #3F72AF;
}

:root[dark] {
    --text: #ffffff;
    --background-nav: #333333;
    --background-body: #303030;
    --background-scrollbar: #E1E1E1;
    --background-thumb: #333333;
    --rb-shadow: #1E1E1E;
    --tl-shadow: #424242;
    --background-link: #333333;
}

::-webkit-scrollbar {
    width: 13px;
    background-color: var(--background-scrollbar);
}

::-webkit-scrollbar-thumb {
    background-color: var(--background-thumb);
    border-radius: 3rem;
    border: 1px solid var(--background-scrollbar);
}

html {
    font-family: 'yekanBakh';
    font-size: 100%;
    color: var(--text);
    background-color: var(--background-body);
    line-height: 2rem;
    scroll-behavior: smooth;
}

header {
    background-color: var(--background-body);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

header > div {
    max-width: 1550px;
    margin: auto;
    display: flex;
    align-items: center;
}

header .topMenu {
    background-color: var(--background-body);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem;
    border-bottom: 1px solid var(--stroke);
    width: 100%;
}

header .topMenu :first-child {
    display: flex;
    align-items: center;
}

header #logo {
    width: 40px;
    margin-left: .5rem;
    box-shadow: 4px 4px 12px var(--rb-shadow),
                -4px -4px 12px var(--tl-shadow);
    border-radius: 50%;
}

header h1 {
    font-size: 1.25rem;
    font-weight: bold;
}

header #bars {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 4px 4px 12px var(--rb-shadow),
                -4px -4px 12px var(--tl-shadow);
    display: grid;
    place-content: center;
    row-gap: .25rem;
    cursor: pointer;
}

#bars li {
    width: 18px;
    height: 2px;
    border-radius: .5rem;
    background-color: var(--text);
    transition: transform .3s linear;
}

header.menuActived #bars li:nth-of-type(1) {
    transform: translateY(3px) rotate(45deg);
}

header.menuActived #bars li:nth-of-type(2) {
    display: none;
}

header.menuActived #bars li:nth-of-type(3) {
    transform: translateY(-3px) rotate(-45deg);
}

header .menu {
    background-color: var(--background-body);
    position: fixed;
    inset: 0;
    z-index: -1;
    padding: 5rem 1rem 1rem 1rem;
    font-size: .9rem;
    transition: transform .3s linear;
    transform: translateX(-100%);
    overflow-y: auto;
    scrollbar-width: thin;
}

header.menuActived .menu {
    transform: translateX(0);
}

header .menu li:not(:last-of-type) {
    margin-bottom: 1.5rem;
}

header .menu li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

header .menu li > div {
    display: flex;
    align-items: center;
}

header .menu li > div .imageContainer {
    display: flex;
}

header .menu li img {
    width: 1.25rem;
    margin-left: .25rem;
    filter: invert(1);
}

header .menu li .imageContainer img {
    margin-bottom: .25rem;
}

header .menu li img.arrow {
    margin-left: .35rem;
}

html[dark] header .menu li img {
    filter: invert(0);
}

header .menu li:last-of-type div {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header .menu li:last-of-type div .imageContainer {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 4px 4px 12px var(--rb-shadow),
                -4px -4px 12px var(--tl-shadow);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .menu li:last-of-type .imageContainer img {
    margin: 0;
    filter: none;
}

html[dark] .menu li:last-of-type .imageContainer img {
    filter: brightness(0) invert(1);
}

header .menu li:last-of-type .arrow {
    display: none;
}

main {
    max-width: 1550px;
    margin: auto;
}

main .heroSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 1.5rem;
    padding: 5.75rem 1rem 0 1rem;
}

.heroSection img {
    border: 1.25rem solid var(--background-body);
    box-shadow: 16px 16px 24px var(--rb-shadow),
                -16px -16px 24px var(--tl-shadow);
    border-radius: 50%;
    object-fit: cover;
    max-width: 100%;
    margin: auto;
}

.heroSection span {
    font-weight: bold;
}

main .activitySection {
    padding: 1rem;
}

.activitySection img {
    width: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

.activitySection p {
    width: 100%;
}

.activitySection div:nth-of-type(2) {
    margin-top: 1rem;
}

.swiper {
    overflow: hidden;
    width: 100%;
    height: auto;
}

.swiper .topOfSlider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1.25rem 0 .75rem;
}

.swiper .topOfSlider div {
    display: flex;
    column-gap: 1rem;
}

.topOfSlider div button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-body);
    box-shadow: 4px 4px 12px var(--rb-shadow),
                -4px -4px 12px var(--tl-shadow);
}

.topOfSlider div button img {
    width: 16px;
    filter: invert(1);
}

html[dark] .topOfSlider div button img {
    filter: invert(0);
}

.topOfSlider div button:first-of-type img {
    transform: rotate(180deg);
}

.swiper h2 {
    font-size: 1.75rem;
    font-weight: bold;
}

.swiper-wrapper {
    scrollbar-width: none;
    display: flex;
    padding-left: 1.25rem;
}

.swiper-wrapper .swiper-slide {
    padding: 1.75rem 1.25rem;
}

.card {
    background-color: var(--background-body);
    box-shadow: 16px 16px 20px var(--rb-shadow),
                -16px -16px 20px var(--tl-shadow);
    padding: .75rem;
    border-radius: 1.5rem;
    width: 235px;
    height: 100%;
    pointer-events: none;
}

.card .cardImage {
    width: 100%;
    height: 120px;
    border-radius: 1rem;
    object-fit: cover;
}

.card h3 {
    font-weight: bold;
}

.card p {
    font-weight: 300;
}

.card .buttonSection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: .75rem 0;
}

.buttonSection a {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: 500;
    background-color: var(--background-link);
    padding: .25rem 1rem;
    border-radius: .5rem;
    pointer-events: auto;
}

.buttonSection a img {
    width: 20px;
}

.musicSlider .card {
    display: grid;
    align-content: space-between;
}

.musicSlider .card h3,
.podcastSlider .card h3 {
    padding: .75rem 0;
}

.card .musicPlayer {
    width: 100%;
    height: 40px;
    background-color: var(--gray);
    border-radius: 4rem;
    position: relative;
    overflow: hidden;
}

.musicPlayer .proggresBar {
    height: 100%;
    width: 0;
    background-color: var(--blue-light);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 4rem;
}

.musicPlayer button {
    background-color: var(--blue-dark);
    display: grid;
    place-content: center;
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.musicPlayer button:nth-of-type(1) {
    right: 0;
}

.musicPlayer button:nth-of-type(1) a {
    display: grid;
    place-content: center;
}

.musicPlayer .playAndPause {
    left: 0;
}

.musicPlayer .remainingTime {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #ffffff;
}

.wrapperImage {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.wrapperImage .cardImage {
    height: 230px;
    object-fit: fill;
    border-radius: 1.25rem;
}

.wrapperImage .gradientImage {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    color: #ffffff;
    background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .75));
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 1rem;
    font-size: .85rem;
    width: 100%;
    height: 100px;
    transform: translateY(100%);
    transition: transform .3s ease-out;
}

.certificateSlider {
    line-height: 1.5rem;
}

.certificateSlider li:hover .card .gradientImage {
    transform: translateY(0);
}

.wrapperImage .gradientImage p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.certificateSlider .card button {
    width: 100%;
    background-color: var(--gray);
    border-radius: .25rem;
    padding: .5rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    column-gap: .5rem;
    font-weight: bold;
    font-size: 1rem;
    color: #ffffff;
    margin-top: .75rem;
    pointer-events: auto;
}

.certificateSlider .card button img {
    width: 1.25rem;
}

.blurPage {
    width: 100%;
    height: 100dvh;
    background-color: rgba(57, 62, 70, .5);
    backdrop-filter: blur(4px);
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: none;
    cursor: pointer;
}

.blurPage.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blurPage > img {
    height: 70vh;
}

.compilationsSection {
    padding: 1.25rem 1.25rem 1.5rem;
}

.compilationsSection h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1.75rem;
}

.compilationsSection .compilations {
    display: grid;
    gap: 1.25rem;
}

.compilations .card {
    width: 100%;
    pointer-events: auto;
}

.compilations .wrapperImage .cardImage {
    object-fit: cover;
}

.compilations .card .gradientImage {
    display: grid;
    place-content: center;
}

.compilations .card .gradientImage {
    transform: translateY(0);
    height: 60px;
}

.compilations .card .linkBook {
    text-decoration: underline 1px solid #ffffff;
    text-underline-offset: .5rem;
    color: #ffffff;
}

.compilations .card p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    margin: 1rem 0;
}

footer {
    text-align: center;
    border-top: 1px solid var(--stroke);
    display: flex;
    flex-direction: column;
}

footer > div {
    max-width: 1550px;
    margin: auto;
    padding: 1.25rem;
}

footer .footerContainer {
    display: grid;
    row-gap: 2rem;
}

footer .address {
    font-weight: bold;
}

footer a.wrapperLogo {
    display: grid;
    margin: auto;
}

footer .logo {
    border: .75rem solid var(--background-nav);
    box-shadow: 8px 8px 16px var(--rb-shadow),
                -8px -8px 16px var(--tl-shadow);
    border-radius: 50%;
    width: 85px;
    object-fit: cover;
}

footer .messenger {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
}

footer .messenger li {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 4px 4px 12px var(--rb-shadow),
                -4px -4px 12px var(--tl-shadow);
    display: grid;
    place-content: center;
}

footer .messenger li a {
    display: grid;
    place-content: center;
}

footer > p {
    padding: .75rem 1.25rem;
    font-size: .9rem;
    border-top: 1px solid var(--stroke);
}

footer > p a {
    color: #0F67B1;
    text-decoration: underline 1px solid #0F67B1;
    text-underline-offset: 5px;
}

@media only screen and (min-width: 450px) {
    .heroSection img {
        max-width: 320px;
    }
}

@media only screen and (min-width: 550px) {
    .blurPage > img {
        height: 85vh;
    }
}

@media only screen and (min-width: 600px) {
    .compilationsSection .compilations {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 1.75rem;
    }

    .compilations .card:first-of-type {
        margin-top: 0;
    }
}

@media only screen and (min-width: 650px) {
    main .heroSection {
        flex-direction: row;
        align-items: center;
        column-gap: 2rem;
        font-size: .9rem;
    }

    .heroSection img {
        max-width: 275px;
    }

    main .activitySection {
        font-size: .9rem;
    }

    .activitySection div {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        column-gap: 1rem;
        margin-top: 1.25rem;
    }

    .activitySection div:last-of-type {
        margin-top: 1.25rem;
    }

    .activitySection div:first-of-type img {
        grid-column: 3 / 4;
        grid-row: 1;
    }

    .activitySection div:first-of-type p {
        grid-column: 1 / 3;
    }

    .activitySection div:nth-of-type(1) img {
        height: 100%;
        object-position: top left;
    }

    .activitySection div:nth-of-type(2) img {
        height: 100%;
        object-position: top right;
    }

    .activitySection div p {
        grid-column: 2 / 4;
    }

    footer {
        font-size: 1.1rem;
    }

    footer > p {
        font-size: 1rem;
    }
}

@media only screen and (min-width: 800px) {
    .musicSlider .topOfSlider div {
        display: none;
    }
}

@media only screen and (min-width: 900px) {
    .compilationsSection .compilations {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (min-width: 1000px) {
    header {
        padding: .75rem;
        border-bottom: 1px solid var(--stroke);
    }

    header .topMenu {
        border-bottom: none;
        width: fit-content;
        text-wrap: nowrap;
        padding: 0;
        margin-left: 1rem;
    }

    header #bars {
        display: none;
    }

    header .menu {
        background-color: unset;
        position: unset;
        z-index: unset;
        transform: unset;
        padding: 0;
        overflow: visible;
        display: flex;
        column-gap: 1.5rem;
        width: 100%;
    }

    header .menu li {
        margin: 0 !important;
    }

    header .menu li div {
        display: flex;
        align-items: center;
    }

    header .menu li:last-of-type {
        margin-right: auto !important;
    }

    header .menu li:last-of-type div h3 {
        display: none;
    }

    header .menu li img.arrow {
        display: none;
    }

    main {
        padding: 0 1.75rem;
    }

    main .heroSection {
        font-size: 1rem;
        column-gap: 5rem;
        line-height: 2.5rem;
    }

    .heroSection img {
        max-width: 360px;
    }

    main .activitySection {
        font-size: 1rem;
        line-height: 2.35rem;
    }

    .activitySection div {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 400px;
        column-gap: 4rem;
    }

    .activitySection div:first-of-type img {
        grid-column: 2 / 3;
    }

    .activitySection div:first-of-type p {
        grid-column: 1 / 2;
        grid-row: 1;
    }

    .compilations .card .gradientImage {
        transform: translateY(100%);
    }

    .compilations .card:hover .gradientImage {
        transform: translateY(0);
    }

    footer {
        font-size: 1.25rem;
    }

    footer > p {
        font-size: 1.1rem;
    }
}

@media only screen and (min-width: 1100px) {
    .compilationsSection .compilations {
        gap: 1.5rem;
    }

    main .heroSection,
    main .activitySection {
        font-size: 1rem;
    }
}

@media only screen and (min-width: 1225px) {
    main .heroSection,
    main .activitySection {
        font-size: 1.22rem;
        line-height: 2.75rem;
    }
}