/* @import url('https://fonts.googleapis.com/css2?family=Romie+Display:wght@400;700&display=swap'); */

body {
    font-family: 'Helvetica Neue', sans-serif;
    margin: 20px 0;
    padding: 0;
}


.title {
    font-family: Romie;
    font-size: min(120px, 8vw);  /* Reduced from 155.24px */
    font-weight: 400;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    padding: 0 15px;
    margin: 40px auto;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-title {
    font-family: Romie;
    font-size: 24.15px;
    font-weight: 400;
    line-height: 24.15px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    line-height: 0;
    
}


.image {
    width: 100%;
    height: auto;
    max-height: 810px;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.text-container {
    padding: 40px;
}

.description {
    font-family: Romie;
    font-size: 80px;
    font-weight: 400;
    line-height: 80px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.footer {
    width: 100%;
    background-color: black;
    color: rgba(255, 247, 239, 1);
    padding-top: 300px;
}

.footer-text {
    font-family: Helvetica Neue;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: -0.03em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.header-text {
    font-family: Helvetica Neue;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: -0.03em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin: 10px 35px 10px;
}

.email {
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 16px;
    margin: 0;
}

.union-white,
.union-black {
    width: 30px;
    height: 30px;
    align-self: center;

}

.marks,
.footer-marks {
    display: flex;
    justify-content: space-between;
    margin: 10px 35px 10px;
}

.footer-marks {
    border-bottom: 1px solid rgba(68, 68, 68, 1);
}
@media (max-width: 1024px) and (min-width: 769px) {
    .title {
        font-family: Romie;
        font-size: min(80px, 10vw);
        font-weight: 400;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        text-align: center;
        margin: 30px auto;
        padding: 0 15px;
        box-sizing: border-box;
    }
}


@media (max-width: 768px) {
    .title {
        font-family: Romie;
        font-size: min(41.52px, 8vw);
        font-weight: 400;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        text-align: center;
        margin: 20px auto;
        padding: 0 15px;
        box-sizing: border-box;
    }

@media (max-width: 768px) {
        .image {
            max-height: 500px;
            aspect-ratio: 16/9;
        }
    }
    .description {
        font-family: Romie;
        font-size: 32px;
        font-weight: 400;
        line-height: 32px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .email {
        font-size: 12px;
    }

    .text-container {
        padding: 10px 30px 10px;
    }

    .marks,
    .footer-marks {
        display: flex;
        justify-content: space-between;
        margin: 10px 10px 10px;
    }

    .footer-content {
        margin: 10px 10px 10px;
    }

    .footer-text {
        font-family: Helvetica Neue;
        font-size: 14px;
        font-weight: 400;
        line-height: 14px;
        letter-spacing: -0.03em;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;

    }

    .header-text {
        font-family: Helvetica Neue;
        font-size: 12px;
        font-weight: 400;
        line-height: 12px;
        letter-spacing: -0.03em;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;

    }

}


@media (max-width: 365px) {
    .title {
        font-family: Romie;
        font-size: min(31.52px, 8vw);
        font-weight: 400;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        text-align: center;
        margin: 15px auto;
        padding: 0 15px;
        box-sizing: border-box;
    }
}