body {
    margin: 0;
    padding: 0;
    background-color: #2a2729;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    line-height: 1.6;
    width: 100%;
      min-width: 320px; /* минимальная ширина страницы */
}
h2 {
    font-family: "Great Vibes", cursive;
    font-size: 50px;
    color: #2a2729;
    font-weight: 100;
    text-align: center;
    line-height: 1;
    margin: 0;
    transform: skewX(-5deg);
}

.svgs, .svgs svg {
    background-color: white;
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    line-height: 0; /* у svg */
}



.hero-text {
    font-family: "Great Vibes", cursive;
    line-height: 1.2;
    font-size: 90px;
    font-weight: 100;
    max-width: 400px;
    padding-bottom: 60px;
    text-align: center;
}

.dateWedding {
    font-size: 1.25rem;
    font-weight: 500;
}

.plan {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.Plan_container {
    display: flex;
    justify-content: center;
}

.column {
    display: flex;
    flex-direction: column;
    font-size: 18px;
}

.column h2 {
    color: white;
    margin: 0;
}

.column:first-child {
    position: relative;
}

.column:first-child::after {
    content: "";
    position: absolute;
    top: 1%;
    bottom: 1%;
    right: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(235, 235, 235, 0.521),
        white,
        rgba(235, 235, 235, 0.521)
    );
}

.column > div {
    flex: 1;
    min-height: 80px;
    width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-wrapper {
    width: 300px;
}

.image-wrapper img {
    width: 100%;
}

.dresscode-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.hearticon {
    color: white;
    width: 50px;
    height: 50px;
}

.venue-img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

.fa-whatsapp,
.fa-telegram {
    font-size: 40px;
    color: #2a2729;
}

.RSVPForm_Page {
    display: flex;
    font-size: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    box-sizing: border-box;
}

.RSVPForm_Page h2 {
    color: white;
}

.RSVPForm_Page p {
    margin: 0;
    text-align: center;
}

form {
    margin-top: 10px;
    font-size: 16px;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    color: white;
}

form label {
    font-weight: 600;
}

form input[type="text"],
form input[type="input"] {
    width: 100%;
    padding: 12px;
    background-color: #2a2729;
    border: 1px solid white;
    color: rgb(255, 255, 255);
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    background-color: white;
    color: #2a2729;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    transform: scale(1.02);
}

.form-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.form-check-input {
    background-color: #2a2729;
    margin: 0;
}
.photo-gallery img {
    width: 180px;
    height: auto;
    object-fit: cover;
}

.footer {
    background-color: #f1f1f1;
    color: black;
    padding: 100px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    height: 200px;
}

@media (max-width: 1000px) {
    .my-custom {
        padding: 0 !important;
        margin: 0 !important;  /* добавить сброс маргинов */
        max-width: 100% !important;
        width: 100%;
    }
    .hero-image {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-text_container {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 2;
        color: white;
        max-width: 400px;
        padding: 10px !important;
        background: rgba(0, 0, 0, 0.414);
        border-radius: 10px;
    }

    .hero-text {
        font-size: 50px;
        line-height: 1.1;
        margin: 0;
    }

    .dateWedding {
        display: none;
    }

    audio {
        position: absolute;
        bottom: 20px; 
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        width: 60%; 
        border-radius: 5px;
    }

    .hero-image img {
        width: 100%;
        max-width: 460px; 
        object-fit: cover;
        display: block;
    }

    .Top,
    .hero-image svg {
        display: none;
    }
}


@media (max-width: 768px) {

    .map-photo img {
        width: 380px;
        height: 280px;
    }
}

@media (max-width: 600px) {
    .photo-gallery img {
    width: 150px;
    height: auto;
    object-fit: cover;
}

    .image-wrapper {
    max-width: 220px;
    }
    .names{
        width: 80%;
    }
    .hero-image img {
        max-width: 100% !important; 
        width: 100%;

    }
    .column > div {
    width: 150px; /* было 200px, стало меньше */
    }

}

@media (max-width: 576px) {
    .map-photo img {
        width: 360px;
        height: 260px;
    }
    form {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .dresscode-img {
    height: 60px;
    }
    .map-photo img {
        width: 240px;
        height: 140px;
    }

    .RSVPForm_Page, form {
        font-size: 14px;
    }
    body {
        font-size: 16px;
    }
    h2 {
        font-size: 44px;
    }
}
