
:root {
    --primary-color: #a23b4f; /* lighter red */
    --secondary-color: #749687; /* light green */
    --tertiary-color: #f5eee7; /* beige */
    --text-color: #3b3b3b; /* dark gray */
    --button-hover-color: #8a3143; /* darker red */
    --background-color: #f5eee7; /* beige */
    --media-query-breakpoint: 768px; /* for responsive design */
}

h2 {
    font-size: 24px;
    margin: 10px 0 30px;
}

.root {
    max-height: 100vh;
    max-width: 100vw;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 80px;
    width: 100%;

    @media screen and (min-width: 768px) {
        padding: 0 80px;
        width: auto;
        padding: 0 80px;
    }
}

.save-date__stripe {
    position: absolute;
    width: 100vw;
    height: 100%;
    background-color: var(--background-color);
    z-index: -1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);

    @media screen and (min-width: 768px) {
        width: 100%;
        opacity: 0.85;
    }
}

.main__background {
    position: fixed;
    top: 0;
    left: 0;
    width: 105%;
    height: 105%;
    max-width: 105vw;
    max-height: 105vh;
    top: -2.5%;
    left: -2.5%;
    z-index: -10;
    background-color: white;
    filter: blur(5px);
}

.background__paper-texture {
    background-image: url('images/black-felt.png');
    background-blend-mode: color-burn;
}


.save-date__names {
    font-weight: 100;
    font-family: 'Ms Madi', cursive;
    font-size: min(6vh, 12vw);
    margin: 0 auto;
    color: var(--secondary-color);
    background-color: transparent;
    border-radius: 50%;
    align-content: center;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;

    width: 40vh;
    height: 40vh;
    max-width: 80vw;
    max-height: 80vh;
}

.save-date__names-text {
    width: 100%;
    padding-left: 12.5%
}

.save-date__flower-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    transform: rotate(-30deg) translate(-3%, -3%);
    background-color: white;
    padding-right: 6%;
    padding-bottom: 4%;
}

.save-date__date {
    font-size: 54px;
    color: var(--tertiary-color);
    font-family: 'Ms Madi', cursive;
    font-size: 40px;

    @media screen and (min-width: 768px) {
        font-size: 54px;
    }
}

.save-date__invite {
    position: relative;
    color: var(--tertiary-color);
    width: 100%;

    &:before {
        content: '';
        display: block;
        position: absolute;
        height: calc(100% + 20px);
        top: -10px;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        z-index: -1;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

        @media screen and (min-width: 768px) {
            width: 200vw;
            left: -50vw;
        }
    }
}

.location {
    font-size: 20px;
    margin-bottom: 40px;
}

.save-date__location {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
}

p {
    margin: 0;
}
