@font-face {
    font-family: "Ubuntu";
    src: url("../fonts/Ubuntu-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Ubuntu-Light";
    src: url("../fonts/Ubuntu-Light.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Philosopher";
    src: url("../fonts/Philosopher-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    transition: all 0.3s ease;
}

:root {
    --primary-color: #2D4E4B;
    --primary-color-op8: rgba(45, 78, 75, 0.8);
    --secondary-color: #32675E;
    --light-secondary-color: #9DC9A9;
    --light-secondary-color-op5: rgba(157, 201, 169, 0.5);
    --light-secondary-color-op2: rgba(157, 201, 169, 0.2);
    --accent-color: #E6803E;
    --light-accent-color: #BFBFBF;
    --light-accent-color-l: #e2e1e1;
    --light-accent-color-op1: rgba(191, 191, 191, 0.1);
    --light-accent-color-op45: rgba(191, 191, 191, 0.45);
    --bg-color: #ffffff;
    --text-color: #0e0e0e;
}


body {
    background-color: var(--bg-color);
    font-family: 'Ubuntu' !important;
    color: var(--text-color);
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--light-accent-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--light-secondary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}


.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

.h1 {
    font-size: 50px;
    font-family: 'Philosopher';
    color: var(--primary-color);
}
.h1 span{
    font-family: 'Ubuntu-Light';
}

.manual-height {
    height: 100%;
    scroll-behavior: smooth;
}

.nav_list li {
    font-size: 14px;
}

/* loadder start */
/* Loader wrapper */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner style */
#loader {
    /* border: 10px solid #f3f3f3; */
    /* border-radius: 50%; */
    /* border-top: 10px solid #1a8ae6; */
    width: 10%;
    height: auto;
    /* animation: spin 2s linear infinite; */
}

#loader img {
    width: 100%;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.container-width {
    width: 1400px;
}

.bg-green {
    background-color: var(--light-secondary-color-op2);
    padding: 100px 0;
}

header {
    background-color: white;
    padding: 30px 0 10px;
    z-index: 10;
}

.header-logo {
    height: 50px;
}


.nav-menu-block {
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    border-top: 2px solid var(--light-accent-color);
    border-bottom: 3px solid var(--light-accent-color);
    margin: 30px 0 20px 0;
    padding: 15px 0;
    font-family: 'Philosopher';
    z-index: 10;
}

.nav-menu-block a:hover {
    color: var(--light-secondary-color);
}

.nav-menu {
    gap: 20px;
    text-transform: uppercase;
    height: fit-content;
}

.nav-menu a {
    margin-left: 15px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: var(--light-secondary-color);
    border-radius: 50%;
    /* background-image: url('../icons/arrow-menu.png');
    background-size: 8px 10px; */
    transform: translateY(-50%);
    opacity: 0;
}

.nav-menu a:hover {
    color: #77614B;
}

.nav-menu a.active::before {
    opacity: 1;
}

#languageButton {
    padding: 0 10px;
}

#languageButton svg {
    margin-right: 5px;
}

#languageDropdown {
    top: 30px;
    border-radius: 3px;
    background-color: #EEE8E1;
}

#languageDropdown .lang-list {
    padding: 10px 0;
    row-gap: 10px;
}

#languageDropdown .lang-list a {
    padding: 0 10px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

#languageDropdown .lang-list a:hover {
    border-top: 1px solid #2D2620;
    border-bottom: 1px solid #2D2620;
}

#languageDropdown .lang-list .selected-lang::after {
    content: '';
    width: 8px;
    height: 10px;
    background-image: url('../icons/arrow-menu.png');
    background-size: 8px 10px;
    margin-left: 10px;
}


.about-block-text {
    position: absolute;
    bottom: 80px;
    width: 70%;
    z-index: 2;
}

.about-block-text .name {
    font-size: 40px;
    line-height: 40px;
    color: var(--primary-color);
    font-family: 'Philosopher';

}

.about-block-text .year {
    font-size: 30px;
    line-height: 30px;
    color: var(--primary-color);
    margin: 15px 0;
    font-family: 'Philosopher';

}

.about-block-text .text {
    width: 75%;
    font-size: 25px;
    line-height: 38px;
    font-family: 'Ubuntu-Light';
    align-self: end;
    background-color: var(--bg-color);
    padding: 20px 30px;
}

.about-block .poet-img {
    width: 50%;
    object-position: top;
    z-index: 1;
}

.border-bottom-gradient {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(45, 38, 32, 0) 0%, #2D2620 100%);
}

.space-line {
    width: 100%;
    height: 1px;
    /* background-color: #2D2620; */
    background-color: #BBA187;
}

.border-right-gradient {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(45, 38, 32, 0) 0%, #2D2620 100%);
}


.mbc-60 {
    margin-bottom: 100px;
}

.mtc-60 {
    margin-top: 60px;
}

.mbc-40 {
    margin-bottom: 40px;
}

.mbc-20 {
    margin-bottom: 20px;
}

.mbc-100 {
    margin-bottom: 100px;
}

.light-color {
    color: #77614B;
}

.section-title {
    font-size: 50px;
    line-height: 50px;
    font-family: 'Philosopher';
    text-transform: capitalize;
}

.grid-block {
    display: grid;
    grid-template-columns: repeat(2, 685px);
    gap: 30px;
}

.grid-block-2 {
    display: grid;
    grid-template-columns: repeat(2, 50%);
}

.grid-block-3 {
    display: grid;
    grid-template-columns: repeat(3, 30%);
    gap: 35px 5%;
}

.poetry-card {
    padding: 15px;
    border-bottom: 1px solid var(--light-accent-color);
    font-family: 'Ubuntu-Light';
}

.poetry-card:hover {
    background-color: var(--light-accent-color-op1);
}

.poetry-card img {
    height: 50px;
    object-fit: contain;
}

.poetry-card .poetry-card-name {
    font-size: 22px;
    transition: none;
}

.poetry-card-poem {
    height: 70%;
    overflow: hidden;
    font-size: 18px !important;
    font-family: 'Ubuntu-Light' !important;
}

.poetry-card-poem p {
    font-size: 18px !important;
    font-family: 'Ubuntu-Light' !important;
}


.poetry-card:hover .poetry-card-name {
    color: var(--light-secondary-color);
}


.poetry-card-gradient {
    background: linear-gradient(180deg, #f3f0eb00 0%, rgba(255, 255, 255, 0.95) 73%, #ffffff 100%);
    bottom: 0;
    left: 0;
}

.audio-card img {
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
}

.text-right {
    text-align: right;
}

.audio-card {
    padding: 15px;
}

.playPauseBtn {
    cursor: pointer;
}

.audio-card .info-block p {
    font-size: 14px;
    font-family: 'Ubuntu-Light';
}

.progressBar {
    background-color: var(--light-accent-color-op45);
    height: 8px;
}

.progressBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.grid-block-galery {
    display: grid;
    grid-template-columns: repeat(10, auto);
    /* flex-wrap: wrap; */
    gap: 8px;
}

.grid-block-galery img {
    padding: 0 !important;
    width: 136px;
    height: 136px;
    object-fit: cover;
    object-position: top left;
    cursor: pointer;
    border: 2px solid transparent;
}

.grid-block-galery img:hover {
    border: 2px solid var(--light-secondary-color);
}

#poetry,
#about,
#galery,
#audio-poetry {
    scroll-margin-top: 102px;
}

/* Стили для модального окна */
.modal-galery {
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color-op8);
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    /* font-weight: bold; */
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #EEE8E1;
    text-decoration: none;
    cursor: pointer;
}


.poem-title {
    font-size: 40px;
    line-height: 40px;
    font-family: 'Philosopher';
    text-align: center;
    color: var(--primary-color);
}

.one-poem-icon,
.one-poem-icon-end {
    height: 60px;
    object-fit: contain;
    margin: 60px 0;
}

.one-poem-icon-end {
    height: 30px;
}

.one-poem {
    font-size: 25px;
    line-height: 35px;
    font-family: 'Ubuntu-Light';
}

.d-mobile {
    display: none;
}

.nav-side-menu {
    height: 12px;
    object-fit: contain;
}

.side-menu {
    top: 0;
    right: -120%;
    width: 240px;
    padding: 15px;
    background-color: var(--primary-color);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 11;
    transition: right 0.8s ease;
    color: var(--bg-color);
}

.side-menu.active {
    right: 0;
}

.side-menu .nav-menu p {
    flex-direction: column;
    row-gap: 10px;
}

.side-menu .nav-menu {
    row-gap: 10px;
}

.lang-mob-btn {
    width: 30px;
    height: 30px;
    border: 1px solid transparent;
    border-radius: 3px;
}

.lang-mob-list .lang-mob-btn.selected-lang {
    border: 2px solid var(--light-secondary-color);
}

.lang-desk-list .lang-mob-btn.selected-lang {
    width: fit-content;
}

.lang-mob-list {
    margin-top: 15px;
    margin-left: 15px;
    gap: 10px;
}

.lang-desk-list {
    gap: 10px;
}

.lang-desk-list .selected-lang::before {
    content: '';
    margin-right: 5px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
}

.about-text-md {
    display: none;
}

.slider-for {
    height: 90%;
}

.slick-list,
.slick-track {
    height: 100%;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    margin: 0 auto;
    /* background-color: red; */
}

.slider-arrows svg {
    cursor: pointer;
    fill: white;
}

.slick-slide div {
    height: 100%;
}

.more-btn {
    padding: 15px 40px;
    color: white;
    background-color: var(--primary-color);
    border: 1px solid transparent;
}

.more-btn:hover {
    background-color: var(--light-secondary-color);
    color: var(--primary-color);
}


@media screen and (max-width:1440px) {
    .container-width {
        width: 994px;
    }

    .about-text-block .title {
        font-size: 46px;
        line-height: 46px;
    }

    .about-block-text .text {
        font-size: 18px;
        line-height: 28px;
        width: 85%;
    }

    .about-text-block {
        padding: 50px 30px;
    }

    .grid-block {
        grid-template-columns: repeat(2, 482px);
    }
    .grid-block-galery {
        grid-template-columns: repeat(7, auto);
    }

    .section-title {
        font-size: 42px;
        line-height: 42px;
    }

    .mbc-60 {
        margin-bottom: 40px;
    }

    .mbc-40 {
        margin-bottom: 30px;
    }

    .about-text-block .year {
        font-size: 28px;
        line-height: 28px;
        margin: 20px 0;
    }

    .slider-arrows {
        width: 70%;
    }
}

@media screen and (max-width:1023px) {
    .container-width {
        width: 90%;
    }

    .title-about {
        font-size: 45px;
        line-height: 45px;
    }

    .year-about {
        font-size: 32px;
        line-height: 32px;
    }

    .grid-block-3 {
        display: grid;
        grid-template-columns: repeat(2, 47.5%);
        gap: 35px 5%;
    }

    .header-logo {
        height: 40px;
    }

    .about-text-block {
        text-align: center;
        width: 100%;
    }

    .about-text-md {
        display: block;
        font-size: 18px;
        line-height: 28px;
    }

    .grid-block {
        grid-template-columns: repeat(2, 49%);
        gap: 35px 2%;
    }


    .grid-block-galery img {
        width: 246px;
        height: 246px;
    }


    .one-poem {
        font-size: 20px;
        line-height: 35px;
    }

    .nav-menu-block {
        gap: 15px;
        font-size: 14px;
    }

    .nav-menu {
        gap: 10px;
    }

    .poetry-card .poetry-card-name{
        font-size: 18px;
    }

    .slider-arrows {
        width: 90%;
    }
    .about-block-text .text {
        font-size: 16px;
        line-height: 20px;
        width: 95%;
        padding: 10px 20px;
    }
    .about-block-text{
        bottom: 20px;
    }
    .nav-menu-block{
        margin: 0;
        margin-bottom: 20px;
    }
    .h1{
        font-size: 40px;
    }
    .section-title {
        font-size: 35px;
        line-height: 35px;
    }
    .bg-green {
        padding: 40px 0;
    }
    .grid-block-galery {
        grid-template-columns: repeat(3, auto);
    }
    #audioSection .grid-block-2, #songsSection .grid-block-2{
        grid-template-columns: repeat(1, 100%);
    }
}

@media screen and (max-width:768px) {
    #loader {
        width: 40%;
    }

    .d-mobile {
        display: block;
    }

    .d-desktop {
        display: none;
    }

    .container-width {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .about-block {
        gap: 0;
        width: 100%;
        flex-direction: column-reverse;
    }

    .title-about {
        font-size: 40px;
        line-height: 40px;
    }

    .year-about {
        font-size: 30px;
        line-height: 30px;
    }

    .about-block img {
        width: 60%;
    }

    .section-title {
        font-size: 30px;
        line-height: 30px;
    }

    .grid-block {
        grid-template-columns: repeat(1, 100%);
    }

    .grid-block-2 {
        grid-template-columns: repeat(1, 100%);
    }

    .grid-block-galery img {
        width: 120px;
        height: 120px;
    }

    .grid-block-galery {
        display: flex;
        flex-wrap: wrap;
    }

    .poetry-card {
        font-size: 16px;
        padding: 10px 15px 10px;
    }

    .poetry-card img {
        height: 30px;
    }

    .audio-card {
        padding: 10px;
    }

    .audio-card img {
        height: 30px;
    }

    .audio-card .info-block p {
        font-size: 12px;
    }

    .mbc-100 {
        margin-bottom: 40px;
    }

    .header-logo {
        height: 30px;
    }

    header {
        padding: 20px 0;
        position: sticky;
        top: 0;
    }

    #poetry,
    #about,
    #galery,
    #audio-poetry {
        scroll-margin-top: 60px;
    }

    .poem-header {
        flex-direction: column;
    }
    .poem-header a{
        align-self: start;
    }
    .poem-header .header-logo {
        margin-bottom: 20px;
    }

    .poem-title {
        font-size: 25px;
        line-height: 25px;
        margin: 0 10px;
        align-self: center;
    }

    .one-poem-icon {
        height: 40px;
        margin: 20px 0;
    }

    .one-poem {
        font-size: 18px;
        line-height: 25px;
    }

    .nav-menu-block {
        font-size: 16px;
    }

    .about-block-text{
        position: static;
        width: 100%;
        padding: 0;
    }

    .slider-arrows {
        top: 94%;
        transform: translateX(-50%);
    }
    .h1{
        font-size: 20px;
    }
    .about-block .poet-img {
        width: 100%;
        height: 390px;
        object-fit: cover;
        object-position: 0 21%;
    }
    .about-block-text .text{
        width: 100%;
        padding: 0;
    }
    .about-block-text .year{
        font-size: 30px;
        line-height: 30px;
        text-align: center;
        margin-bottom: 30px;
    }
    .about-block-text .name{
        font-size: 40px;
        line-height: 40px;
        margin-top: 30px;
        text-align: center;
    }
    .bg-green{
        padding: 40px 0;
    }
    .one-poem-icon, .one-poem-icon-end {
        margin: 30px 0;
    }
    
}

@media screen and (max-width:424px) {
    .about-block {
        width: 100%;
    }

    .grid-block-3 {
        grid-template-columns: repeat(1, 100%);
        gap: 25px;
    }

    .grid-block {
        gap: 25px;
    }

    .title-about {
        font-size: 32px;
        line-height: 32px;
    }

    .year-about {
        font-size: 26px;
        line-height: 26px;
    }

    .about-block img {
        width: 100%;
    }


    .about-text-block .title {
        font-size: 35px;
        line-height: 35px;
    }

    .about-text-block .year {
        font-size: 25px;
        line-height: 25px;
    }

    .more-btn {
        padding: 10px 40px;
    }
    .poetry-card .poetry-card-name{
        font-size: 18px;
    }
}
@media screen and (max-width:360px){
    .h1 {
        font-size: 16px;
    }
}