/* * {
    outline: 2px solid red;
} */

html,
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: "IBM Plex Serif";
    font-weight: bold;
    font-size: 22pt;
}

a {
    color: black;
    text-decoration: none;
}

.menu {
    display: flex;
    gap: 100px;
    background: #f2d673;
    height: 120%;
    justify-content: center;
    align-items: center;
    height: 90px;
}

.menu-link::after {
    content: '';
    display: flex;
    width: 0%;
    height: 5px;
    border-radius: 10px;
    background-color: black;
    position: sticky;
    transition: .2s ease;
}

.menu-link:hover::after {
    width: 100%;
}

.menu-active::after {
    width: 100%;
}

.menu-left {
    border-radius: 0 1000px 1000px 0;
}

.menu-right {
    border-radius: 1000px 0px 0px 1000px;
    padding-left: 25px;
}

header {
    display: flex;
    justify-content: space-between;
    font-family: "IBM Plex Serif";
    font-weight: bold;
    font-size: 22pt;
    align-items: flex-end;
    margin-top: 20px;
}

.side {
    width: 120%;
}

.logo {
    width: 250px;
    position: relative;
    bottom: 0;
}

.logo-two {
    width: 250px;
    position: relative;
    bottom: 0;
}

.info-text {
    text-align: center;
}

.info-text-right {
    text-align: center;
}

.info-left {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-bottom: 10%;
    align-items: center;
}

.contacts {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.contact-icon {
    width: 80px;
}

.contact-icons {
    display: flex;
    gap: 35px;
    margin-bottom: 20px;
}

.profile-icons {
    width: 80px;
}

.info-right {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-bottom: 10%;
    align-items: center;
}


.burger-menu {
    position: fixed;
    top: 20px;
    left: 26px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
}

.burger-menu .line {
    width: 100%;
    height: 4px;
    background-color: black;
    transition: all 0.3s ease;
}

/* Анимация для бургера при открытии меню */
.burger-menu.active .line:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.burger-menu.active .line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Стиль для меню */
.menu-burger {
    position: fixed;
    top: 0;
    right: -250px;
    /* Скрываем за пределами экрана */
    width: 250px;
    height: 100vh;
    background-color: #f4f4f4;
    transition: right 0.3s ease;
    z-index: 999;
}

.menu-burger ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 60px;
}

.menu-burger ul li {
    text-align: center;
    margin: 20px 0;
}

.menu-burger ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-family: Arial, sans-serif;
}

/* Показать меню */
.menu-burger.active {
    right: 0;
}



@media (max-width:7680px) {
    .logo-two {
        display: none;
    }

    .menu-two {
        display: none;
    }

    .burger-menu {
        display: none;
    }
}

@media (max-width:1880px) {
    .logo-two {
        display: none;
    }
}

@media (max-width:1770px) {

    .info-text {
        font-size: 18pt;
        text-align: center;
    }

    .info-text-right {
        font-size: 18pt;
        text-align: center;
    }

    .phone {
        font-size: 18pt;
    }

    .menu-link {
        font-size: 18pt;
    }
}

@media (max-width:1580px) {

    .info-text {
        font-size: 16pt;
        text-align: center;
    }

    .info-text-right {
        font-size: 16pt;
        text-align: center;
    }

    .phone {
        font-size: 16pt;
    }

    .menu-link {
        font-size: 16pt;
    }

    .contact-icons img {
        width: 60px;
    }

    .login-icon img {
        width: 60px;
    }

    .logo {
        width: 210px;
    }
}

@media (max-width:1440px) {

    .info-text {
        font-size: 16pt;
        text-align: center;
    }

    .info-text-right {
        font-size: 16pt;
        text-align: center;
    }

    .phone {
        font-size: 16pt;
    }

    .menu-link {
        font-size: 16pt;
    }

    .contact-icons img {
        width: 60px;
    }

    .login-icon img {
        width: 60px;
    }

    .logo {
        width: 190px;
    }
}

@media (max-width:1283px) {
    .logo {
        display: none;
    }

    .side {
        width: 100%;
    }

    .logo-two {
        display: flex;
        width: 190px;
    }

    .info-text-right {
        display: none;
    }

    .menu-left {
        border-radius: 0 0px 0px 0;
    }

    .menu-right {
        border-radius: 0px 0px 0px 0px;
        padding-left: 25px;

    }

    .info {
        margin-bottom: 0%;
    }

    .info-right {
        margin-bottom: 0%;
    }

    .info-text {
        font-size: 16pt;
        text-align: center;
    }

    .login-icon {
        padding-left: 83px;
    }

}


@media (max-width:980px) {

    .contacts {
        display: none;
    }

    .info-text {
        font-size: 16pt;
        text-align: center;
        margin-bottom: 30px;
    }

    .login-icon img {
        margin-left: auto;
        margin-right: 70px;
    }

    .menu {
        height: 50px;
    }

    .menu-link {
        font-size: 11pt;
    }

}

@media (max-width:870px) {
    .burger-menu {
        display: flex;
    }

    .menu-left {
        display: none;
    }

    .menu-right {
        display: none;
    }

    .info-left {
        margin-block: 90px;
    }

}

@media (max-width:710px) {

    .login-icon img {
        width: 50px;
    }

    .login-icon {
        padding-left: 0px;
    }

    .logo-two {
        width: 180px;
    }

}

@media (max-width:522px) {

    .login-icon img {
        width: 50px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .login-icon {
        margin-bottom: 50px;
    }

    .logo-two {
        width: 170px;
        padding-left: 50px;
    }

    .info-text {
        font-size: 13pt;
    }

    .info-left {
        margin-block: 0px;
    }

    .info-right {
        gap: 0px;
    }

    header {
        display: flex;
        font-family: "IBM Plex Serif";
        font-weight: bold;
        font-size: 22pt;
        margin-top: 20px;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
    }

    .slaider {
        display: none;
    }
}



.treba {
    background-image: url(src/img/рамка.png);
    background-size: cover;
    padding: 100px;
    display: flex;
    justify-content: space-between;
}

.treba-left {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 35px;

}

.treba-text {
    font-family: 'Pacifico';
    font-size: 40pt;
    text-align: center;
}

.treba_foto3 {
    width: 1038px;
}

.treba-right {
    display: flex;
    flex-direction: row-reverse;
}

.line-treba {
    width: 500px;
    height: 5px;
    background: black;
    border-radius: 50px;
}

.btn {
    background: #F2D673;
    width: 295px;
    height: 85px;
    border-radius: 30px;
    font-family: 'Pacifico';
    font-size: 180%;
    color: #000000;
    border-width: 0px;
    margin-bottom: 0px;

    box-shadow: 0 6px #ffa500;
}

.btn:hover {
    box-shadow: 0 4px #ffa500;
    top: 180%;
}

.btn:active {
    box-shadow: none;
    top: 180%;
}

.baner {
    width: 100%;
}

.emblem-foto-treba {
    height: auto;
    width: 650px;
}

.emblem-foto-page {
    width: 100%;
    max-width: 800px;
}


@media (max-width:1850px) {
    .treba {
        background-image: none;
    }

    .treba_foto3 {
        width: 1000px;
    }

}

@media (max-width:1760px) {
    .treba_foto3 {
        width: 880px;
    }

    .emblem-foto-treba {
        height: auto;
        width: 600px;
    }

    .treba-left {
        gap: 25px;
    }
}

@media (max-width:1600px) {
    .treba_foto3 {
        width: 800px;
    }

    .emblem-foto-treba {
        height: auto;
        width: 565px;
    }

    .treba {
        padding: 65px;
    }
}

@media (max-width:1470px) {
    .treba_foto3 {
        width: 770px;
    }

    .emblem-foto-treba {
        height: auto;
        width: 525px;
    }

    .treba {
        padding: 30px;
    }
}

@media (max-width:1340px) {
    .treba {
        padding: 20px;
    }

    .treba-text {
        font-size: 25pt;
    }

    .btn {
        width: 215px;
        font-size: 25pt;
        height: 50px;
    }

    .line-treba {
        display: none;
    }

    .treba_foto3 {
        width: 630px;
    }

}

@media (max-width:1340px) {

    .emblem-foto-treba {
        height: auto;
        width: 470px;
    }

    .treba-text {
        font-size: 20pt;
    }

    .btn {
        width: 200px;
        font-size: 20pt;
    }

    .treba_foto3 {
        width: 530px;
    }
}

@media (max-width:1030px) {

    .emblem-foto-treba {
        height: auto;
        width: 340px;
    }

    .btn {
        width: 160px;
        font-size: 18pt;
        height: 36px;
    }

    .treba-text {
        font-size: 18pt;
    }

    .treba_foto3 {
        width: 430px;
    }

}

@media (max-width:800px) {

    .treba-right {
        display: none;
    }

    .treba {
        display: block;
        justify-content: initial;
    }

}

@media (max-width:384px) {

    .emblem-foto-treba {
        height: auto;
        width: 260px;
    }

    .btn {
        width: 140px;
        font-size: 16pt;
        height: 32px;
    }

    .treba-text {
        font-size: 14pt;
    }
}

@media (max-width:300px) {

    .emblem-foto-treba {
        height: auto;
        width: 200px;
    }

    .btn {
        width: 120px;
        font-size: 12pt;
        height: 28px;

    }

    .treba-text {
        font-size: 12pt;
    }
}


.about {
    background-image: url(src/img/рамка-жёлтая.png);
    background-size: cover;
    padding: 100px;
    display: flex;
    justify-content: space-between;
}

.about-text {
    font-family: 'Pacifico';
    font-size: 35pt;
}

.about-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2%;
}

.about-left {
    display: flex;
    align-items: center;
}

.about-text-info {
    font-size: 20pt;
    text-align: justify;
    padding-bottom: 2%;
    padding-top: 1%;
}

.foto1_about {
    display: flex;
}

.foto2_about {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.emblem-foto {
    height: auto;
    width: 650px;
}

.line-about {
    width: 500px;
    height: 5px;
    background: black;
    border-radius: 50px;
}

@media (max-width:1850px) {
    .about {
        background-image: none;
    }

    .gallery {
        background-image: none;
    }
}

@media (max-width:1700px) {
    .about {
        padding: 20px;
    }
}


@media (max-width:1500px) {
    .foto1_about {
        width: 600px;
    }

    .about-text-info {
        font-size: 16pt;
    }
}

@media (max-width:1170px) {
    .about-text-info {
        font-size: 10pt;
    }

    .foto1_about {
        width: 400px;
    }
}

@media (max-width:950px) {
    .line-about {
        display: none;
    }

    .about-text-info p span {
        display: none;
    }
}

@media (max-width:800px) {
    .foto1_about {
        display: none;
    }
}


.gallery {
    background-image: url(src/img/рамка-галлерея-главная.png);
    background-size: cover;
    padding: 90px;
    display: flex;
    flex-direction: column;
}

.center-top-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.image-gallery {
    width: 420px;
    height: 260px;
}

.gallery-content {
    display: flex;
    justify-content: center;
}


.images-part-gallery {
    margin-block: 40px;
    display: flex;
    gap: 15px;
}

.gallery-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-items: flex-end;
}



@media (max-width:1850px) {
    .gallery {
        background-image: none;
    }
}

@media (max-width:1700px) {
    .gallery {
        padding: 20px;
    }

    .image-gallery {
        width: 650px;
        height: 390px;
    }

    .images-part-gallery {
        flex-direction: column;
    }
}

@media (max-width:900px) {

    .image-gallery {
        width: 420px;
        height: 260px;
    }
}

@media (max-width:500px) {
    .image-gallery {
        width: 360px;
        height: 210px;
        border-radius: 10px;
    }

    .gallery-text {
        align-items: center;
    }

    .gallery-text a {
        font-size: 14pt;
    }


}

@media (max-width:400px) {
    .image-gallery {
        width: 310px;
        height: 170px;
    }
}



.zapiski {
    background-image: url(src/img/рамка-жёлтая.png);
    background-size: cover;
    padding: 100px;
    display: flex;
    justify-content: space-between;
}

.zapiski-text-info {
    font-size: 20pt;
    text-align: justify;
    padding-bottom: 2%;
    padding-top: 1%;
}

.zapiski-left {
    display: flex;
    align-items: center;
}

.zapiski-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 77px;
}

.zapiski-text {
    font-family: 'Pacifico';
    font-size: 35pt;
}



@media (max-width:1850px) {
    .zapiski {
        background-image: none;
    }
}

@media (max-width:1700px) {
    .zapiski {
        padding: 20px;
    }

    .foto1 {
        width: 600px;
    }
}


@media (max-width:1220px) {
    .foto1 {
        width: 400px;
    }

    .zapiski-right {
        margin: 20px;
    }
}



@media (max-width:800px) {
    .foto1 {
        display: none;
    }

    .zapiski-right {
        padding-left: 120px;
        margin: 0px;
        padding-right: 120px;
    }
}


@media (max-width:620px) {
    .zapiski-right {
        padding-left: 0px;
        margin: 0px;
        padding-right: 0px;
    }
}



.part-scedule {
    background-image: url(src/img/рамка-расписание-главная.png);
    background-size: cover;
    padding: 80px;
    display: flex;
    flex-direction: column;
}

.scedule {
    background-image: url(src/img/рамка-расписание.png);
    background-size: cover;
    padding: 100px;
    justify-content: space-between;
}

.scedule-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-items: flex-end;
}

.scedule-table-part {
    margin: 20px 0;
    font-family: 'Pacifico';
    font-size: 19pt;
    text-align: center;
}

.line-table-scedule {
    padding: 8px;
}



@media (max-width:1850px) {
    .part-scedule {
        background-image: none;
    }
}


@media (max-width:1700px) {
    .part-scedule {
        padding: 20px;
    }
}

@media (max-width:530px) {
    .part-scedule {
        padding: 10px;
    }

    .scedule-table-part {
        font-size: 12pt;
    }
}

@media (max-width:400px) {
    .scedule-table-part {
        font-size: 9pt;
    }
}


.map-church {
    background-image: url(src/img/рамка-жёлтая.png);
    background-size: cover;
    padding: 100px;
}

.map-church-text {
    font-family: 'Pacifico';
    font-size: 35pt;
}

.map-church-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2%;
}

.map-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 10px;
}

iframe {
    width: 100%;
    height: 620px;
}

@media (max-width:1850px) {
    .map-church {
        background-image: none;
    }
}

@media (max-width:1700px) {
    .map-church {
        padding: 20px;
    }
}

.reviews {
    background-image: url(src/img/рамка.png);
    background-size: cover;
    padding: 65px;
    display: flex;
    flex-direction: column;
}

.reviews-content {
    display: flex;
    justify-content: center;
    padding-top: 7px;
    flex-wrap: wrap;
}

.user-block {
    background-color: white;
    border: 4px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 10px;
    padding: 25px;
    width: 520px;
    text-align: left;
    display: inline-block;
    border-radius: 50px 50px 50px 50px;
}

/* Стиль для заголовков */
.user-block h2 {
    font-size: 22px;
    margin-bottom: 10px;
    position: relative;
}


/* Стиль для текста */
.user-block p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}


.reviews-bottom {
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding: 18px;
}

.user-block small {
    font-size: 11pt;
}



@media (max-width:1850px) {
    .reviews {
        background-image: none;
    }
}

@media (max-width:1700px) {
    .reviews {
        padding: 20px;
    }
}

@media (max-width:500px) {

    .user-block {
        padding: 15px;
    }

    .user-block h2 {
        font-size: 16px;
    }

    .user-block p {
        font-size: 10pt;
    }

    .user-block small {
        font-size: 9pt;
    }
}



.page-treba {
    background-image: url(src/img/рамка-большая.png);
    background-size: cover;
    padding: 100px;
}

.text-page {
    font-family: 'Pacifico';
    font-size: 40pt;
    text-align: center;
    margin-top: -2%;
}

.line {
    width: 500px;
    height: 8px;
    background: black;
    border-radius: 50px;
    /* width: 100%;
    height: 4px;
    background: black;
    border-radius: 50px; */
}




.christening-part {
    display: flex;
    margin-top: 6%;
    margin-left: 1%;
    justify-content: space-between;
    align-items: center;
}

.text-heading-page-treba {
    font-family: 'Pacifico';
    font-size: 40pt;
    display: flex;
    justify-content: center;
}


.consecration-car-part {
    display: flex;
    margin-top: 6%;
    margin-left: 4%;
    justify-content: space-between;
    align-items: center;
}

.wedding-part {
    display: flex;
    margin-top: 6%;
    margin-left: 1%;
    justify-content: space-between;
    align-items: center;
}

.foto-page-treba {
    margin-right: 1%;
}

.communion-at-home-part {
    display: flex;
    margin-top: 6%;
    margin-left: 4%;
    margin-bottom: 3%;
    justify-content: space-between;
    align-items: center;
}

.text-heading-page-christening {
    font-family: 'Pacifico';
    font-size: 40pt;
    display: flex;
    justify-content: center;
}

.text-heading-page-consecration {
    font-family: 'Pacifico';
    font-size: 40pt;
    display: flex;
    justify-content: center;
}

.text-heading-page-wedding {
    font-family: 'Pacifico';
    font-size: 40pt;
    display: flex;
    justify-content: center;
}

.text-heading-page-communion {
    font-family: 'Pacifico';
    font-size: 40pt;
    display: flex;
    justify-content: center;
}


@media (max-width:1850px) {
    .page-treba {
        background-image: none;
    }
}


@media (max-width:1790px) {
    .christening-part {
        margin-left: -4%;
    }

    .consecration-car-part {
        margin-left: -4%;
    }

    .wedding-part {
        margin-left: -4%;
    }

    .communion-at-home-part {
        margin-left: -4%;
    }
}

@media (max-width:1670px) {
    .center-top-page {
        gap: 0px;
    }

    .foto-page-treba-info {
        height: 400px;
    }

    .christening-part {
        margin-left: -4%;
    }

    .consecration-car-part {
        margin-left: -4%;
    }

    .wedding-part {
        margin-left: -4%;
    }

    .text-box-wedding-part {
        margin: 20px;
    }

}

@media (max-width:1520px) {

    .text-info-page-treba {
        font-size: 18pt;
    }

    .text-heading-page-treba {
        font-size: 30pt;
    }

}


@media (max-width:1420px) {

    .text-info-page-treba {
        font-size: 15pt;
    }

    .text-heading-page-treba {
        font-size: 30pt;
    }

    .foto-page-treba-info {
        height: 350px;
    }

    .text-box-wedding-part {
        margin: 5px;
    }

    .text-heading-page-christening {
        font-size: 30pt;
    }

    .text-heading-page-consecration {
        font-size: 30pt;
    }

    .text-heading-page-wedding {
        font-size: 30pt;
    }

    .text-heading-page-communion {
        font-size: 30pt;
    }
}


@media (max-width:1225px) {

    .page-treba {
        padding: 20px;
    }

    .christening-part {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
        margin-left: 0px;
    }

    .consecration-car-part {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-left: 0px;
    }

    .wedding-part {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
        margin-left: 0px;
        max-width: none;
    }

    .communion-at-home-part {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-left: 0px;
    }

    .foto-page-treba {
        margin-right: 1%;
    }

}

@media (max-width:700px) {
    .page-treba {
        padding: 40px;
    }

    .text-page {
        font-size: 25pt;
    }

    .text-info-page-treba {
        font-size: 13pt;
    }

    .text-heading-page-treba {
        font-size: 30pt;
    }

    .foto-page-treba-info {
        height: 300px;
    }

    .text-heading-page-christening {
        font-size: 25pt;
    }

    .text-heading-page-consecration {
        font-size: 25pt;
    }

    .text-heading-page-wedding {
        font-size: 25pt;
    }

    .text-heading-page-communion {
        font-size: 25pt;
    }

}

@media (max-width:600px) {


    .foto-page-treba-info {
        height: 250px;
    }

    .text-info-page-treba {
        font-size: 11pt;
    }

    .page-treba {
        padding: 0px;
        padding-top: 40px;
    }
}

@media (max-width:440px) {

    .foto-page-treba-info {
        height: 200px;
    }

    .text-info-page-treba {
        font-size: 10pt;
    }

    .text-heading-page-christening {
        font-size: 18pt;
    }

    .text-heading-page-consecration {
        font-size: 18pt;
    }

    .text-heading-page-wedding {
        font-size: 18pt;
    }

    .text-heading-page-communion {
        font-size: 18pt;
    }

    .text-page {
        font-size: 18pt;
    }
}

@media (max-width:350px) {

    .foto-page-treba-info {
        height: 150px;
    }

    .text-info-page-treba {
        font-size: 9pt;
    }

}

.podval {
    background-color: #f2d673;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-wrap: nowrap;
    gap: 50px;
    padding-block: 30px;
}

.podval-fist-part {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-podval-year {
    font-family: "IBM Plex Serif";
    font-size: 14pt;
}

.text-podval-left {
    font-family: "IBM Plex Serif";
    font-size: 14pt;
}


.text-podval {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.text-podval-menu {
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: "IBM Plex Serif";
    font-size: 16pt;
    gap: 10px;
}


.text-podval-networks {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.soc-networks-icon {
    text-align: center;
    display: inline-block;
    font-size: 16pt;
}

.text-podval-right {
    text-align: center;
    display: inline-block;
}

.text-podval-telephone {
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: "IBM Plex Serif";
    font-size: 16pt;
}

.text-podval-icons-soc-networks {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

h3 {
    margin-bottom: 30px;
}


@media (max-width:1280px) {
    .text-podval {
        display: none;
    }
}


@media (max-width:1024px) {

    .text-podval-icons-soc-networks {
        gap: 15px;
    }

    .text-podval-networks h3 {
        display: none;
    }

    .text-podval-icons-soc-networks {
        flex-direction: column;
    }

    h3 {
        font-size: 18pt;
    }

    .soc-networks-icon {
        font-size: 12pt;
    }

    .soc-networks-icon img {
        width: 40px;
    }
}

@media (max-width:660px) {
    .podval {
        flex-direction: column;
    }

    .text-podval-icons-soc-networks {
        flex-direction: row;
    }

    .text-podval-networks h3 {
        display: block;
    }

}

.page-about {
    background-image: url(src/about-рамка.png);
    background-size: cover;
    padding: 100px;
    justify-content: space-between;
    background-color: #F1E6BE;
}

.center-top-page {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.text-page {
    font-family: 'Pacifico';
    font-size: 40pt;
    text-align: center;
    margin-top: -2%;
}

.information-part-about {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.text-heading-page-treba {
    font-family: 'Pacifico';
    font-size: 40pt;
    display: flex;
    justify-content: center;
}

.information-part {
    display: flex;
    margin-top: 7%;
    margin-left: 1%;
    justify-content: space-between;
    align-items: center;
}

.information-part-two {
    display: flex;
    margin-top: 9%;
    margin-left: 4%;
    justify-content: space-between;
    align-items: center;
}

.information-part-three {
    display: flex;
    margin-top: 9%;
    margin-left: 4%;
    margin-bottom: 13%;
    justify-content: space-between;
    align-items: center;
}

.text-box-page-about {
    display: flex;
    justify-content: center;
}

.text-info-page-about {
    max-width: 90%;
    text-align: justify;
}



@media (max-width:1850px) {
    .page-about {
        background-image: none;
    }
}


@media (max-width:1800px) {
    .center-top-page {
        gap: 0px;
    }

    .information-part {
        margin-top: 6%;
    }

    .information-part-two {
        margin-top: 0%;
    }

    .information-part-three {
        margin-top: 0%;
    }

    .information-part-about {
        gap: 80px;
    }

    .page-about {
        padding: 100px;
    }

    .foto-page-about {
        width: 700px;
    }

    .text-info-page-about {
        font-size: 20pt;
    }

    .text-page {
        font-size: 40pt;
        margin-top: 0%;
    }

}

@media (max-width:1600px) {

    .information-part-about {
        gap: 80px;
    }

    .page-about {
        padding: 80px;
    }

    .foto-page-about {
        width: 650px;
    }

    .text-info-page-about {
        font-size: 18pt;
    }

    .text-page {
        font-size: 35pt;
        margin-top: 0%;
    }

}

@media (max-width:1440px) {

    .information-part-about {
        gap: 80px;
    }

    .page-about {
        padding: 60px;
    }

    .foto-page-about {
        width: 600px;
    }

    .text-info-page-about {
        font-size: 16pt;
    }

    .text-page {
        font-size: 30pt;
        margin-top: 0%;
    }

}


@media (max-width:1300px) {

    .information-part-about {
        gap: 80px;
    }

    .page-about {
        padding: 40px;
    }

    .foto-page-about {
        width: 500px;
    }

    .text-info-page-about {
        font-size: 14pt;
    }

    .text-page {
        font-size: 25pt;
        margin-top: 0%;
    }

}

@media (max-width:1100px) {

    .information-part {
        margin-top: 3%;
        display: flex;
        flex-direction: column;
        margin-left: 0%;
    }

    .information-part-two {
        margin-top: 0%;
        display: flex;
        flex-direction: column-reverse;
        margin-left: 0%;
    }

    .information-part-three {
        margin-top: 0%;
        display: flex;
        flex-direction: column-reverse;
        margin-left: 0%;
    }

    .information-part-about {
        gap: 50px;
        display: flex;
        align-content: center;
        align-items: center;
    }

    .page-about {
        padding: 40px;
    }

    .foto-page-about {
        width: 500px;
    }

    .text-info-page-about {
        font-size: 14pt;
        max-width: 50%;
        text-align: justify;
    }

    .text-page {
        font-size: 25pt;
        margin-top: 0%;
    }

}

@media (max-width:900px) {

    .text-page {
        font-size: 22pt;
    }

    .text-info-page-about {
        font-size: 14pt;
        max-width: 60%;
    }
}

@media (max-width:800px) {
    .text-info-page-about {
        max-width: 70%;
    }
}

@media (max-width:700px) {
    .text-info-page-about {
        max-width: 80%;
    }
}

@media (max-width:600px) {

    .page-about {
        padding: 20px;
    }


    .text-page {
        font-size: 20pt;
    }

    .text-info-page-about {
        font-size: 12pt;
        max-width: 80%;
    }

    .foto-page-about {
        width: 400px;
    }
}

@media (max-width:500px) {
    .text-info-page-about {
        font-size: 12pt;
        max-width: 90%;
    }

    .foto-page-about {
        width: 300px;
    }

    .page-about {
        padding: 10px;
    }
}

@media (max-width:380px) {
    .text-info-page-about {
        font-size: 12pt;
        max-width: 90%;
    }


    .text-page {
        font-size: 18pt;
    }

    .foto-page-about {
        width: 250px;
    }

}


.page-gallery {
    background-image: url(src/img/gallery/рамка-галлерея.png);
    background-size: cover;
    padding: 10%;
    justify-content: space-between;
}

.gallery-image {
    aspect-ratio: 16 / 9;
    max-width: 100%;
    height: auto;
}

.images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-block: 50px;
}

.video {
    aspect-ratio: 16 / 9;
    max-width: 100%;
    height: auto;
}

.modal {
    display: none;
    /* По умолчанию модальное окно скрыто */
    position: fixed;
    z-index: 1;
    padding: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Темный фон */
}

.modal img {
    object-fit: cover;
    max-width: 100%;
    /* Ограничение ширины картинки */
    height: 100%;
    /* Ограничение высоты картинки */
    margin: auto;
    display: block;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width:1850px) {
    .page-gallery {
        background-image: none;
    }
}

@media (max-width:1024px) {
    .modal img {
        height: auto;
    }
}

@media (max-width:660px) {
    .images {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 0;
    }
}

.page-scedule {
    background-image: url(src/img/рамка-расписание.png);
    background-size: cover;
    padding: 100px;
    justify-content: space-between;
}

.scedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Pacifico';
    font-size: 30pt;
    text-align: center;
    margin-bottom: 125px;
}

.line-table {
    border: 1px solid #524a4a;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

small {
    font-size: 0.8em;
    color: #676565;
}

.center-top-page {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.th1 {
    background-color: #f2d673;
    color: rgb(0, 0, 0);
    padding: 20px;
    text-align: center;
    border: 0px solid;
    border-radius: 100px 0px 0px 0px;
}

.th2 {
    background-color: #f2d673;
    color: rgb(0, 0, 0);
    padding: 20px;
    text-align: center;
    border: 0px solid;
}

.th3 {
    background-color: #f2d673;
    color: rgb(0, 0, 0);
    padding: 20px;
    text-align: center;
    border: 0px solid;
    border-radius: 0px 100px 0px 0px;
}

.text-page {
    font-family: 'Pacifico';
    font-size: 40pt;
    text-align: center;
    margin-top: -2%;
}


@media (max-width:1850px) {
    .page-scedule {
        background-image: none;
    }
}


@media (max-width:1280px) {
    .page-scedule {
        padding: 50px;
    }

    .text-page {
        font-size: 35pt;
    }

    .scedule-table {
        font-size: 20pt;
    }

    .center-top-page {
        padding-bottom: 40px;
    }
}


@media (max-width:850px) {

    .page-scedule {
        padding: 30px;
    }

    .text-page {
        font-size: 27pt;
    }

    .scedule-table {
        font-size: 18pt;
    }

    .th1 {
        border-radius: 50px 0px 0px 0px;
    }

    .th3 {
        border-radius: 0px 50px 0px 0px;
    }
}


@media (max-width:600px) {

    .text-page {
        font-size: 20pt;
    }

    .scedule-table {
        font-size: 13pt;
    }

    .th1 {
        border-radius: 35px 0px 0px 0px;
    }

    .th3 {
        border-radius: 0px 35px 0px 0px;
    }
}


@media (max-width:450px) {
    .page-scedule {
        padding: 20px;
    }

    .text-page {
        font-size: 18pt;
    }

    .center-top-page {
        padding-bottom: 20px;
        padding-top: 0px;
    }

    .scedule-table {
        font-size: 10pt;
    }

    .th1 {
        border-radius: 30px 0px 0px 0px;
    }

    .th3 {
        border-radius: 0px 30px 0px 0px;
    }
}


@media (max-width:350px) {

    .page-scedule {
        padding: 10px;
    }

    .text-page {
        font-size: 18pt;
    }

    .center-top-page {
        padding-bottom: 10px;
    }

    .scedule-table {
        font-size: 8pt;
    }

}

.page-zapiski {
    background-image: url(src/about-рамка.png);
    background-size: cover;
    padding: 80px;
    justify-content: space-between;
    background-color: #F1E6BE;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    flex-direction: column;
}

.page-zapiski-text {
    font-family: 'Pacifico';
    font-size: 40pt;
    text-align: center;
    margin-top: -2%;
    padding-top: 60px;
}

.zapiski-center-top {
    width: 700px;
    height: 1320px;
    background-color: rgba(249, 223, 131, 1);
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    border-radius: 80px;
    flex-direction: column;
}

.zapiski-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 60px;
}



input[type="text"],
input[type="password"] {
    width: 350px;
    padding: 18px;
    margin-bottom: 45px;
    border: 2px solid #ccc;
    border-radius: 30px;
}

.btn-zapiski {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
}

.text {
    padding-block: 8px;
}

.btn-zapiski-register {
    background: #F2D673;
    width: 545px;
    height: 85px;
    border-radius: 30px;
    font-family: 'Pacifico';
    font-size: 180%;
    border-width: 0px;
    margin-bottom: 0px;
    box-shadow: 0 6px #ffa500;
}

.btn-zapiski-register:hover {
    box-shadow: 0 4px #ffa500;
    top: 180%;
}

.btn-zapiski-register:active {
    box-shadow: none;
    top: 180%;
}

.page-zapiski-text-dop-info {
    font-family: "IBM Plex Serif";
    font-weight: bold;
    font-size: 22pt;
    text-align: center;
    margin-top: -2%;
    padding-top: 80px;
}

.zapiski-dop-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
}

.container-zapiski {
    margin: 20px auto;
    padding-top: 25px;
    margin-bottom: 64px;
}

.container {
    margin: 20px auto;
    padding-top: 25px;
    margin-bottom: 64px;
    display: flex;
    justify-content: center;
}

.title {
    margin-bottom: 38px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-family: "IBM Plex Serif";
    font-weight: bold;
    font-size: 25pt;
}

.rules-list {
    margin-bottom: 10px;
    font-family: "IBM Plex Serif";
    font-weight: bold;
    font-size: 22pt;
    padding-left: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.page-profile {
    background-image: url(src/img/рамка-логин.png);
    background-size: cover;
    padding: 100px;
    justify-content: center;
    background-color: #F1E6BE;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
}

.page-profile-text {
    font-family: 'Pacifico';
    font-size: 40pt;
    text-align: center;
    margin-top: -2%;
    padding-top: 80px;
}

.profile-center-top {
    width: 1300px;
    height: 928px;
    background-color: rgba(249, 223, 131, 1);
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    border-radius: 80px;
    margin-top: 50px;
    margin-bottom: 55px;
}

.line-profile {
    width: 500px;
    height: 8px;
    background: black;
    border-radius: 50px;
}

.input-profile {
    width: 350px;
    padding: 18px;
    margin-bottom: 50px;
    border: 2px solid #ccc;
    border-radius: 30px;
}

.btn-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}

.email {
    padding-block: 25px;
}

.password {
    padding-block: 25px;
}

.register-text-btn {
    padding-bottom: 65px;
    font-weight: 400;
    color: #000000;
}


@media (max-width:1850px) {
    .page-profile {
        background-image: none;
    }
}

@media (max-width:1280px) {
    .page-profile-text {
        font-size: 35pt;
    }

    .profile-center-top {
        width: 800px;
        height: 820px;
    }
}

@media (max-width:850px) {
    .page-profile-text {
        font-size: 27pt;
    }

    .profile-center-top {
        width: 550px;
        height: 780px;
    }

    .email {
        padding-block: 25px;
        font-size: 20pt;
    }

    .password {
        padding-block: 25px;
        font-size: 20pt;
    }

    .register-text-btn {
        font-size: 20pt;
    }
}

@media (max-width:700px) {
    .line-profile {
        width: 400px;
        height: 5px;
    }
}

@media (max-width:600px) {
    .page-profile-text {
        font-size: 20pt;
    }

    .line-profile {
        display: none;
    }

    .profile-center-top {
        width: 380px;
        height: 680px;
        border-radius: 60px
    }

    .email {
        padding-block: 10px;
        font-size: 15pt;
    }

    .password {
        padding-block: 10px;
        font-size: 15pt;
    }

    .register-text-btn {
        font-size: 15pt;
    }

    .input-profile {
        width: 240px;
    }
}

@media (max-width:500px) {
    .btn-profile {
        padding-top: 20px;
    }

    .input-profile {
        margin-bottom: 18px;
        width: 145px;
    }

    .profile-center-top {
        width: 300px;
        height: 540px;
        border-radius: 60px;
    }

    .page-profile {
        padding: 20px;
    }
}


.page-login {
    background-image: url(src/img/рамка-авторизация.png);
    background-size: cover;
    padding: 100px;
    justify-content: space-between;
    background-color: #F1E6BE;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
}

.page-login-text {
    font-family: 'Pacifico';
    font-size: 40pt;
    text-align: center;
    margin-top: -2%;
    padding-top: 80px;
}

.login-center-top {
    width: 1300px;
    height: 1388px;
    background-color: rgba(249, 223, 131, 1);
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    border-radius: 80px;
    flex-direction: column;
    margin-bottom: 80px;
    margin-top: 25px;
}


input[type="text"],
input[type="password"] {
    width: 350px;
    padding: 18px;
    margin-bottom: 45px;
    border: 2px solid #ccc;
    border-radius: 30px;
}

.btn-login {
    padding-top: 70px;
}

.text {
    padding-block: 8px;
}

.btn-login-register {
    background: #F2D673;
    width: 545px;
    height: 85px;
    border-radius: 30px;
    font-family: 'Pacifico';
    font-size: 180%;
    border-width: 0px;
    margin-bottom: 0px;
    box-shadow: 0 6px #ffa500;
    color: #000000;
}

.btn-login-register:hover {
    box-shadow: 0 4px #ffa500;
    top: 180%;
}

.btn-login-register:active {
    box-shadow: none;
    top: 180%;
}

.sign-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}



@media (max-width:1850px) {
    .page-login {
        background-image: none;
    }
}


@media (max-width:1500px) {

    .page-login-text {
        font-size: 35pt;
    }

    .login-center-top {
        width: 800px;
        height: 1320px;
        flex-wrap: nowrap;
    }
}


@media (max-width:1280px) {
    .page-login-text {
        font-size: 30pt;
    }

    .login-center-top {
        width: 800px;
        height: 1320px;
    }
}


@media (max-width:850px) {
    .page-login-text {
        font-size: 27pt;
    }

    .btn-login-register {
        width: 380px;
        height: 75px;
        font-size: 125%;
    }

    .input-profile {
        width: 350px;
        padding: 18px;
        margin-bottom: 50px;
    }

    .login-center-top {
        width: 550px;
        height: 1320px;
    }

}


@media (max-width:600px) {
    .page-login-text {
        font-size: 20pt;
        padding-top: 30px;
    }

    .btn-login-register {
        width: 265px;
        height: 65px;
        font-size: 90%;
    }

    .input-profile {
        width: 270px;
        padding: 18px;
        margin-bottom: 18px;
    }

    .login-center-top {
        width: 400px;
        height: 920px;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    .btn-login {
        padding-top: 20px;
    }

    .page-login {
        padding: 25px;
    }

    .text {
        font-size: 18pt;
    }
}

@media (max-width:450px) {
    .text {
        font-size: 14pt;
    }

    .input-profile {
        width: 170px;
        margin-bottom: 5px;
    }

    .btn-login-register {
        width: 200px;
        height: 50px;
        font-size: 70%;
    }

    .login-center-top {
        width: 350px;
        height: 770px;
    }
}

@media (max-width:360px) {
    .text {
        font-size: 12pt;
    }

    .input-profile {
        width: 120px;
        margin-bottom: 5px;
    }

    .btn-login-register {
        width: 200px;
        height: 50px;
        font-size: 60%;
    }

    .login-center-top {
        width: 300px;
        height: 730px;
    }

    .btn-login {
        padding-top: 0px;
    }
}



.page-reviews {
    background-size: cover;
    padding: 100px;
    justify-content: space-between;
}


textarea {
    background-color: white;
    border: 4px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 10px;
    padding: 25px;
    width: 520px;
    text-align: left;
    display: inline-block;
    border-radius: 50px 50px 50px 50px;
}

.review-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}


.info-profile-text {
    margin-block: -30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.register-text-profile-btn {
    padding-bottom: 65px;
    font-weight: 400;
    color: #000000;
    font-size: 30pt;
}


.fon-info-text-profile-btn {
    background-color: white;
    border: 4px solid #ddd;
    padding: 25px;
    width: 600px;
    text-align: center;
    border-radius: 50px 50px 50px 50px;
}


.user-block-zapiski {
    background-color: white;
    border: 4px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 10px;
    padding: 25px;
    width: 362px;
    text-align: center;
    display: inline-block;
    border-radius: 50px 50px 50px 50px;
}

.reviews-content-zapiski {
    display: flex;
    flex-direction: row;
    padding-top: 7px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.user-block-zapiski h3 {
    font-family: 'Pacifico';
}

.user-block-zapiski h4 {
    font-family: 'Pacifico';
}

.login-center-top-top {
    display: flex;
    justify-content: center;
}


@media (max-width:700px) {
    .fon-info-text-profile-btn {
        background-color: white;
        border: 4px solid #ddd;
        padding: 15px;
        width: 480px;
    }

    .info-profile-text p {
        font-size: 15pt;
    }
}

@media (max-width:500px) {
    .fon-info-text-profile-btn {
        background-color: white;
        border: 4px solid #ddd;
        padding: 15px;
        width: 350px;
    }

    .info-profile-text p {
        font-size: 12pt;
    }

    .leave_review-block p {
        font-size: 12pt;
    }

    .user-block p {
        font-size: 12pt;
    }

    .page-reviews {
        padding: 20px;
    }
}



@media (max-width:2000px) {
    .kod-oplata-img {
        width: 600px;
    }
}

@media (max-width:1850px) {
    .page-zapiski {
        background-image: none;
    }
}

@media (max-width:1640px) {
    .zapiski-content {
        display: flex;
        margin-top: 60px;
        align-items: center;
        flex-direction: column;
    }
}


@media (max-width:1000px) {
    .zapiski-center-top {
        width: 500px;
    }

    .page-zapiski-text {
        font-size: 28pt;
    }

    .page-zapiski-text-dop-info {
        font-size: 18pt;
    }

    .title {
        font-size: 18pt;
    }

    .rules-list {
        padding-left: 30px;
    }

    .rules-list li {
        font-size: 16pt;
    }
}



@media (max-width:800px) {
    .kod-oplata-img {
        width: 300px;
    }

    .leave_review-text {
        font-size: 16pt;
    }
}



@media (max-width:550px) {
    .page-zapiski {
        padding: 20px;
    }

    .zapiski-center-top {
        width: 370px;
    }

    .kod-oplata-img {
        width: 200px;
    }

}

@media (max-width:400px) {

    .zapiski-center-top {
        width: 300px;
        height: 1240px;
    }

    .btn-zapiski input {
        width: 220px;
        padding: 14px;
    }

    input[type="text"],
    input[type="password"] {
        width: 280px;
    }

}


.kod-oplata {
    display: flex;
    justify-content: center;
    margin: 20px;
}