﻿
/* Hero Start */
.fy-hero {
    /*    min-height: 100svh;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*    padding: 3rem 1.5rem;*/
}

.fy-hero-marry {
    text-align: center;
    margin-bottom: 1rem;
}

    .fy-hero-marry img {
        max-width: 600px;
        width: 100%;
    }

.fy-hero-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    grid-template-columns: 1fr 1fr;
    flex-direction: revert;
    align-items: center;
    /*    justify-content: space-between;*/
    gap: 3rem;
}

.fy-hero-name {
    flex: 1;
}

.fy-groom-bride {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 6rem);
    font-style: italic;
    line-height: 1;
    margin: 0;
    color: #594e36;
    padding: 20px;
    font-weight: 800;
}

.fy-name {
    font-size: inherit;
    font-size: 3rem;
    color: #594e36;
    width: max-content;
}

.fy-and {
    font-size: 3rem;
    color: var(--fy-gold);
    line-height: 1;
}

.fy-hero-date {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    font-style: italic;
    letter-spacing: .2rem;
    color: darkred;
    margin-top: .5rem;
    font-weight: 400;
}

.fy-hero-photo {
    flex: 1;
}

    .fy-hero-photo img {
        max-width: 450px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

/* Hero End */

@media (max-width:1024px) {
    /* Hero Start */
    .fy-hero {
        width: 100%;
        padding-left: clamp(1rem, 4vw, 3rem);
        padding-right: clamp(1rem, 4vw, 3rem);
    }

    .fy-hero-content {
        gap: 0.5rem;
    }

    .fy-groom-bride {
        font-size: 4.5rem;
        gap: .75rem;
    }

    .fy-name {
        font-size: 2.5rem;
    }

    .fy-and {
        font-size: 3rem;
    }

    .fy-hero-date {
        font-size: 2.5rem;
    }

    .fy-hero-photo img {
        max-width: 380px;
    }
    /* Hero End */
}

@media (max-width: 768px) {
    /* Hero Start */
    .fy-hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.25rem;
    }

    .fy-groom-bride {
        font-size: 4rem;
        gap: .6rem;
        padding: 0;
    }

    .fy-name,
    .fy-and,
    .fy-hero-date {
        font-size: 2.5rem;
        letter-spacing: .12rem;
    }

    .fy-hero-photo img {
        max-width: 450px;
    }
    /* Hero End */
}

@media (max-width: 540px) {
    /* Hero Start */

    .fy-hero-marry img {
        max-width: 380px;
/*        width: min(100%, 380px);*/
    }

    .fy-name,
    .fy-and,
    .fy-hero-date {
        font-size: 2rem;
        letter-spacing: .12rem;
    }

    .fy-hero-photo img {
        max-width: 380px;
    }
    /* Hero End */
}

@media (max-width: 430px) {
    /* Hero Start */
    .fy-hero {
        padding: 1.5rem 1rem;
    }

    .fy-hero-marry img {
        max-width: 300px;
    }

    .fy-groom-bride {
        font-size: 3rem;
        gap: .45rem;
        line-height: .95;
    }

    .fy-name,
    .fy-and,
    .fy-hero-date {
        font-size: clamp(1.5rem, 8vw, 2rem);
        letter-spacing: .12rem;
    }

    .fy-hero-photo img {
        max-width: 300px;
/*        width: min(72vw, 260px);*/
    }
    /* Hero End */
}

@media (max-width: 360px) {
    .fy-hero {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}
