html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
}

.page {
    
    min-width: 1025px;
    width: 100%;
    margin: 0 auto; 
}

body {
    font-family: 'Mulish';
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
    background-color: #F0F0F0;
}

h1 {
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 800;
}

h2 {
    font-size: 48px;
    font-weight: 800;
}

h3 {
    font-size: 28px;
    font-weight: 800;
}

h4 {
    font-size: 24px;
    font-weight: 800;
}

h5 {
    font-size: 20px;
    font-weight: 300;
}

a {
    color: #B61F1F;
    text-decoration-line: underline;
    cursor: pointer;
    transition: color 180ms ease-in-out, border 180ms ease-in-out;
}

a:hover {
    color: #971616;
    
}

.menu-toggle {
    display: flex;
    position: absolute;
    right: 0;
    margin-top: 40px;
    margin-right: 100px;
    z-index: 1;
    cursor: pointer;
}

.burger-menu {
    display: flex;
    align-items: center;
}

.menu-toggle {
    cursor: pointer;
    font-size: 24px;
}

.menu-items {
    position: fixed;
    top: 0;
    right: -100%;
    width: 45%;
    height: 100%;
    background-color: #0F0F0F;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 400ms ease-in-out;
    display: flex;
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;
}

.menu-items ul {
    list-style-type: none;
    padding: 0;
    margin: 28px 120px 24px 80px;
    width: calc(100% - 200px);
}

.menu-items li {
    width: 100%;
}

.menu-items a {
    padding: 20px;
    width: 100%;
    text-align: left;
    text-decoration: none;
    color: white;
    font-weight: 700;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.menu-items a:hover {
    color: #971616;
}

.overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: all 400ms ease-in-out;
    z-index: 1;
}

.overlay.hidden {
    display: none;
}

.overlay.active {
    opacity: 1;
}


.menu-items.active {
    right: 0;
    z-index: 2;
}

.menu-button {
    color: white;
    background-color: #971616;
    border: none;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: color 180ms ease-in-out, border 180ms ease-in-out;
    margin: 20px 120px 0 80px;
    width: calc(100% - 200px);
}

.menu-button :hover {
    background-color: #B61F1F;
}

.menu-close {
    padding: 44px;
    margin-left: auto;
    margin-right: 0;
    width: 44px;
    height: 44px;
    right: 0;
    margin-right: 100px;
    z-index: 2;
    cursor: pointer;
    border: none;
    background-color: #0F0F0F;
   
}

.first-screen {
    color: white;
    background-image: url(assets/1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-description {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 80px;
    padding: 140px;
}

 .first-screen.heading {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.second-screen p {
    padding: 120px;
    color: #171A25;
}

.third-screen {
    background-image: url(assets/2.png);
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content {
    /* position: absolute; */
    padding: 120px;
}

.how-it-works {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-bottom: 96px;
}

.how-it-works-mob {
    display: none;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.card {
box-sizing: border-box;
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 32px;
gap: 24px;
width: 366px;
background: rgba(255, 255, 255, 0.03);
box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
border-radius: 28px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.affair1 {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-bottom: 80px;
}

ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

li {
    display: flex;
    align-items: center;
    gap: 20px;
}

.affair2 {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

#button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fourth-screen {
    display: flex;
    flex-direction: column;
    padding: 120px;
    color: #171A25;
    gap: 64px;
}

.description {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fifth-screen {
    background-image: url(assets/3.png);
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#content {
    display: flex;
    flex-direction: column;
    /* position: absolute; */
    padding: 120px;
    gap: 48px;
}

.sixth-screen {
    color: #171A25;
    margin: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sixth-screen .controls {
    justify-content: flex-end;
}

.example-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 64px;
    gap: 64px;
}

.example-content .description {
    display: flex;
    gap: 48px;
    width: 50%;
}

button {
color: #B61F1F;
background-color: #F0F0F0;
width: 388px;
height: 70px;
font-weight: 500;
border: 2px solid #B61F1F;
border-radius: 12px;
cursor: pointer;
transition: color 180ms ease-in-out, border 180ms ease-in-out;
}

.example-content button:hover {
cursor: pointer;
color: white;
background-color: #B61F1F;
}



/* CAROUSEL */


.carousel {
    display: flex;
    flex-direction: column;
    position: relative; /* Added to position controls absolutely */
}

.carousel .slides .slide,
.carousel .slides.show-1 .slide {
    flex: 0 0 100%;
}

.carousel .slides.show-2 .slide {
    flex: 0 0 50%;
}

.carousel .slides {
    display: flex;
    overflow-x: auto;
    margin: 0;
    scroll-snap-type: x mandatory; /* Для привязки к элементам при скролле */
    -webkit-overflow-scrolling: touch; /* Улучшение прокрутки на мобильных устройствах */
    overflow-y: auto; /* Позволяет вертикальную прокрутку */
    scrollbar-width: none; /* Скрывает полосу прокрутки в Firefox */
}

.carousel .slides::-webkit-scrollbar {
    display: none; /* Скрывает полосу прокрутки в Chrome и Safari */
}

/* Стиль для элементов внутри карусели */
.carousel .slide {
    display: inline-block;
    scroll-snap-align: start;
    display: none; /* По умолчанию скрываем слайды */
}

.carousel .slide.show {
    display: inline-block; /* Показываем слайды, которые должны быть видимыми */
}

.indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.indicator.active {
    background-color: #B61F1F;
    width: 12px;
    height: 12px;
}

.carousel .slides::-webkit-scrollbar {
    display: none; /* Скрывает полосу прокрутки в Chrome и Safari */
}

.sixth-screen .heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.sixth-screen  button {
    display: none;
}



@media (max-width: 600px) {
    .carousel .slides {
        display: flex;
        overflow-x: auto;
        margin: 16px 10px 0;
        scroll-snap-type: x mandatory;
        /* Для привязки к элементам при скролле */
        -webkit-overflow-scrolling: touch;
        /* Улучшение прокрутки на мобильных устройствах */
    }

    .carousel .slides.mobile-full-screen .slide {
        flex: 0 0 100%;
    }

    .carousel .slides.mobile-full-screen {
        margin: 0;
        gap: 12px;
    }

    .carousel .slides.mobile-full-screen .slide.show {
        padding: 0;
    }

    /* Стиль для элементов внутри карусели */
    .carousel .slide {
        display: inline-block;
        scroll-snap-align: start;
        padding: 12px;
    }

    .carousel .slide {
        display: none;
        /* По умолчанию скрываем слайды */
    }

    .carousel .slide.show {
        display: inline-flex;
        width: 100%;
        /* Показываем слайды, которые должны быть видимыми */
    }

    .carousel.with-padding-in-indicators .indicators {
        padding: 4px;
    }
    
    .controls {
        display: none;
    }

    .carousel .indicators {
        padding: 4px 0;
    }

    .carousel .indicator {
        width: 6px;
        height: 6px;
        margin: 0 2px;
        /* Плавный переход при изменении цвета */
    }

    .carousel .indicator.active {
        width: 8px;
        height: 8px;
    }
}



/* 7 SCREEN */


.seventh-screen {
    background-image: url(assets/4.png);
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.seventh-screen .cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0 64px;
    text-align: center;

}

.description-card {
padding: 40px 24px;
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
align-items: center;
background: rgba(255, 255, 255, 0.03);
box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
border-radius: 28px;
}

.seventh-screen h2 {
    padding-bottom: 64px;
}

.seventh-screen h3, .eighth-screen h3, .ninth-screen h3 {
    padding-bottom: 32px;
} 

.seventh-screen h4, .eighth-screen h4, .ninth-screen h4 {
    padding-bottom: 24px;
}

.eighth-screen {
    /* height: 708px; */
    color: #171A25;
}

.eighth-screen .cards, .ninth-screen .cards {
    margin-bottom: 64px;
    text-align: center;
    gap: 24px;
}

.ninth-screen {
    background-image: url(assets/5.png);
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ninth-screen .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px

}

.ninth-screen .description-card {
    flex-basis: calc(50% - 12px)
}

.tenth-screen {
    color: #171A25;
}

.tenth-screen h2 {
    padding-bottom: 64px;
}

.tenth-screen .card {
    color: white;
    
}

#first {
    background-image: url(assets/card1.png);
    background-size: cover;
}

#second {
    background-image: url(assets/card2.png);
    background-size: cover;
   
}

#third {
    background-image: url(assets/card3.png);
    background-size: cover;
}

.content-mob {
    display: none;
}

.eleventh-screen {
    display: flex;
    flex-direction: column;
    background-image: url(assets/6.png);
    color: white;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.eleventh-screen .main-description {
    gap: 64px;
    align-items: center;
}

.eleventh-screen .description {
    gap: 24px;
}
.eleventh-screen button {
    color: white;
    background-color: #971616;
    border: none;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: color 180ms ease-in-out, border 180ms ease-in-out;
}

.eleventh-screen button:hover {
    cursor: pointer;
    background-color: #B61F1F
}

.twelfth-screen {
    color: #171A25;
    /* height: 1010px; */
}

.twelfth-screen h2 {
    padding-bottom: 64px;
}

.reviews {
    padding: 72px 0 0;
}

.testimonials {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
}
  
.testimonials .card {
    padding: 40px 48px;
}

.testimonials .card p {
    font-size: 18px;
    font-weight: 300;
    text-align: center;
}

.twelfth-screen .carousel {
    display: none;
}

.thirteenth-screen {
    background-image: url(assets/7.png);
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

span {
    font-size: 18px; 
    font-weight: 200;
}

.controls {
    display: flex;
    align-items: center;
}

.controls:not(.external) {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    justify-content: space-between;
    transform: translateY(-50%);
    width: 100%;
}

.controls.external {
    gap: 16px;
}

.controls button {
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0px 2px 8px rgba(17, 17, 30, 0.15);
    cursor: pointer;
    pointer-events: all; /* Enable clicks on buttons */
}


@media (max-width: 600px) {
    .page {
        max-width: 600px;
        min-width: 375px;
        }

    body {
        font-size: 16px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px; 
    }
    
    h4 {
        font-size: 16px;
    }
    
    h5 {
        font-size: 14px; 
    }


    
    .menu-toggle {
        margin-top: 32px;
        margin-right: 20px;
    }
    
    .main-description {
        gap: 36px;
        padding: 108px 20px 64px;
    }
    
    .sixth-screen .heading {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }

    .second-screen p {
        padding: 64px 20px;
    }
    
    .third-screen {
        background-image: url(assets/2_mob.png);
    
    }

    .content {
        margin: 0;
        padding: 64px 20px;
    }

    .content h3 {
        padding-bottom: 24px;
    }
    
    .how-it-works {
        display: none;
    }

    .how-it-works-mob {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-bottom: 52px;
    }

    .how-it-works-mob .card-content {
        text-align: left;
    }

    .cards {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    width: 100%;
    /* height: 100%; */
    }
    
    .card-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
        
    }
    
    .affair1 {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-bottom: 52px;
    }
    
    ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    li {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .affair2 {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-bottom: 48px;
    }
    
    #button {
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .fourth-screen {
        padding: 64px 20px;
        gap: 32px;
    }

    .fifth-screen #content {
        padding: 64px 20px;
        margin: 0;
        gap: 32px;
        background-image: url(assets/3_mob.png);
    }

    .sixth-screen {
        margin: 64px 20px;
    }

    .example-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 32px;
        gap: 32px;

    }
    
    .example-content .description {
        display: flex;
        flex: 1;
        width: 100%;
        gap: 24px;
    }
    
    button {
    width: 100%;
    height: 52px;
    }

    .carousel {
        flex: 1;
        width: 100%;
        max-width: 560px;
        position: relative;
    }

    .indicator {
        width: 6px;
        height: 6px;
        background-color: #ddd;
        border-radius: 50%;
        margin: 0 2px;
        justify-content: center;
        align-items: center;
    }
    
    .indicator.active {
        background-color: #B61F1F;
        width: 8px;
        height: 8px;
    }
    
    .seventh-screen {
        background-image: url(assets/4_mob.png);
    }

    .seventh-screen h2 {
        padding-bottom: 32px;
    }

    
    .seventh-screen .cards, .cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 0 32px;
    
    }
    
    .description-card {
    padding: 24px 16px;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    }
    
    .seventh-screen h4, .eighth-screen h4, .ninth-screen h4 {
        padding-bottom: 12px;
    }

    .eighth-screen .cards, .ninth-screen .cards {
        margin-bottom: 0;
    }

    .ninth-screen {
        background-image: url(assets/5_mob.png);
        /* height: 1110px; */
        color: white;
    }

    .tenth-screen .content {
        display: none;
    }

    .tenth-screen .content-mob {
        display: flex;
        flex-direction: column;
        padding: 64px 20px;
    }

    .content-mob h2 {
        padding-bottom: 24px;
    }

    .content-mob .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 32px 45.5px;
    }
    
    #first {
        background-image: url(assets/card1.png);
        background-size: cover;
    }
    
    #second {
        background-image: url(assets/card2.png);
        background-size: cover;
       
    }
    
    #third {
        background-image: url(assets/card3.png);
        background-size: cover;
    }
    
    .eleventh-screen {
        display: flex;
        flex-direction: column;
        background-image: url(assets/6.png);
        color: white;
        align-items: center;
    }
    
    .eleventh-screen .main-description {
        gap: 32px;
        padding: 64px 20px;
    }
    
    .eleventh-screen .description {
        gap: 24px;
    }
    .eleventh-screen button {
        color: white;
        background-color: #971616;
        border: none;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }
    
    .twelfth-screen {
        color: #171A25;
    }

    .reviews {
        padding: 52px 0 0;
    }

    .reviews h2 {
        padding-bottom: 24px;
    }

    .twelfth-screen h2 {
        padding-bottom: 16px;
    }

    .testimonials {
        display: none;
    }

    .twelfth-screen .carousel {
        display: flex;
        flex-direction: column;
    }

    .twelfth-screen .slides {
        padding: 12px 10px;
        gap: 24px;
    }

    .twelfth-screen .slide {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 24px;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
        border-radius: 28px;
    }

    .slide p {
        font-size: 14px;
    }

    .thirteenth-screen {
        background-image: url(assets/7.png);
        color: white;
    }

    .thirteenth-screen .main-description {
        padding: 64px 20px 120px;
    }
    
    span {
        font-size: 14px;
    }

    .menu-items ul {
        margin: 28px 20px 24px;
        width: calc(100% - 40px);
    }

    .menu-items {
        width: 75%;
    }

    .menu-button {
        margin: 0;
        width: 100%;
    }

    .menu-close {
        margin-right: 20px;
    }

    .controls.external {
        display: none;
    }

    .sixth-screen button {
        display: flex;
        color: #B61F1F;
        background: #F0F0F0;
        border: solid 1px #B61F1F;
        transition: color 180ms ease-in-out, border 180ms ease-in-out;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .sixth-screen button:hover {
        color: #FFFFFF;
        background: #B61F1F;
        cursor: pointer;
    }

}

/* IMAGE */

.image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image.cover img {
    object-fit: cover; 
}

.image.cover img {
    object-fit: cover; 
}

.image::before {
    content: '';
    display: block;
    padding-top: 100%; /* Default to 1:1 ratio */
}

.image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Aspect ratios */
.image.\34 x3::before {  /* 4x3 ratio */
    padding-top: calc(3 / 4 * 100%);
}

.image.\33 x2::before {  /* 3x2 ratio */
    padding-top: calc(2 / 3 * 100%);
}

.image.\31 6x9::before {  /* 16x9 ratio */
    padding-top: calc(9 / 16 * 100%);
}

.image.\31 x1::before {  /* 1x1 ratio */
    padding-top: 100%;
}

.image.\39 x7::before {  /* 9x7 ratio */
    padding-top: calc(7 / 9 * 100%);
}

.image.\35 4x25::before {  /* 54:25 ratio */
    padding-top: calc(25 / 54 * 100%);
}



/* Responsive behavior */
@media (max-width: 600px) {
    .image.mobile\:16x9::before { 
        padding-top: calc(9 / 16 * 100%);
    }

    .image.mobile\:2x1::before {  
        padding-top: calc(1 / 2 * 100%);
    }

    .image.mobile\:3x2::before {  
        padding-top: calc(2 / 3 * 100%);
    }

    .image.mobile\:4x3::before {  
        padding-top: calc(3 / 4 * 100%);
    }

    .image.mobile\:54x25::before { 
        padding-top: calc(25 / 54 * 100%);
    }

    .heading {
       align-items: flex-start;
    }

    .heading a {
        display: none;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    /* Фиксированное положение относительно окна браузера */
    top: 0;
    left: 0;
    width: 100%;
    /* Полное покрытие экрана */
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Полупрозрачное затемнение */
    justify-content: center;
    /* Центрирование по горизонтали */
    align-items: center;
}

.modal {
    position: fixed;
    left: calc(50% - 584px/2);
    top: calc(50% - 720px/2);
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    filter: drop-shadow(0px 2px 8px rgba(17, 17, 30, 0.15));
    padding: 32px 48px;
}

.modal-close {
    width: 44px;
    height: 44px;
    float: right;
    z-index: 2;
    cursor: pointer;
    border: none;
    background-color: #FFFFFF;
   
}

.modal-content {
    margin-top: 64px;
}

.modal-heading1 {
    text-align: center;
    width: 440px;
}

.modal-heading2 {
    font-weight: 400;
    color: #3A3A3C;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 24px;
    width: 440px;
}

label {
    font-size: 15px;
    font-weight: 400;
    color: #3A3A3C;
}

.modal-item {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    gap: 4px;
    text-align: left;
}

input {
    border: 0.5px solid #A1A1A3;
    color: #1C1C1E;
    border-radius: 4px;
    height: 48px;
    max-height: 100px;
    width: 440px;
    padding: 12px;
    margin-right: 24px;
}

textarea {
    border: 0.5px solid #A1A1A3;
    color: #1C1C1E;
    border-radius: 4px;
    height: 100px;
    width: 440px;
    padding: 12px;
    margin-right: 24px;
    resize: none;
    box-sizing: border-box;
}

.submit-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 440px;
    color: #FFFFFF;
    background: #B61F1F;
    border-radius: 12px;
    cursor: pointer;
    transition: color 180ms ease-in-out;
}

.submit-button:hover {
    color: #FFFFFF;
    background: #971616;
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid #3A3A3C;
    border-radius: 2px;
    margin-right: 4px;
}

#checkbox-text {
    width: 420px;
    font-size: 18px;
}

#modal-item {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    margin-bottom: 24px;
}

#success-modal {
    padding: 40px;
}

#modal-content {
    margin-right: 24px;
}

#modal-heading1 {
    margin-top: 24px;
}

#modal-heading2 {
    margin: 20px 0 64px;
} 

.hidden {
    display: none;
}
.visible {
    display: block;
}

@media (max-width: 600px) {
    .modal-overlay {
        z-index: 100;
    }

    .modal {
        width: 100%;
        height: 100%;
        border-radius: 0;
        background: #FFFFFF;
        top: 0;
        left: 0;
        padding: 24px 20px 40px;
    }

    .modal .hidden {
        display: none;
    }

    .modal-close {
        background: #FFFFFF;
        float: right;
        cursor: pointer;
    }

    #close {
        width: 24px;
    }

    .modal-content {
        margin-top: 28px;
    }

    .modal-heading1 {
        text-align: center;
        width: 100%;
    }

    .modal-heading2 {
        font-weight: 400;
        color: #3A3A3C;
        text-align: center;
        margin-top: 12px;
        margin-bottom: 24px;
        width: 100%;
    }

    label {
        font-size: 13px;
        font-weight: 400;
        color: #3A3A3C;
    }

    .modal-item {
        margin-top: 12px;
        gap: 4px;
    }

    input {
        height: 40px;
        max-height: 100px;
        width: 100%;
        padding: 12px;
    }

    textarea {
        height: 100px;
        width: 100%;
        padding: 12px;
    }

    .submit-button {
        width: 100%;
    }

    .checkbox {
        width: 18px;
        height: 18px;
        border: 1.5px solid #3A3A3C;
        border-radius: 2px;
        margin-right: 4px;
    }

    #checkbox-text {
        width: 100%;
        font-size: 14px;
    }

    #modal-item {
        display: flex;
        flex-direction: row;
        margin-top: 20px;
        margin-bottom: 24px;
        align-items: flex-start;
        gap: 4px;
    }


    #success-modal .modal-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 160px;
    }

    #modal-heading2 {
        margin: 12px 0 40px;
    }
   
}
/* IMAGE */