* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("background_compressed.jpg");
    background-size: cover;
}

.se-diront-oui {
    font-family: "Caveat", cursive;
    font-size: 4.5rem;
}

.title {
    font-family: "Caveat", cursive;
    font-size: 4rem;
    margin-bottom: .5em;
}

h1 {
    font-family: "Rouge Script", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 6.25rem;
    text-align: center;
    margin: 0;
}

h2 {
    text-align: center;
    font-size: 4rem;
    margin: 0;
    color: #4a89b3;
}

h3 {
    font-family: "Charm", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    text-align: center;
    margin: 0;
}

.wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 1024px;
    margin: auto;
}

.content {
    gap: 3em;
    display: none;
    flex-direction: column;
    justify-content: center;
    transform: translateY(-8em);
}

.nav {
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 1024px;
    padding: 2em;
}

.nav .link {
    text-align: center;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    cursor: pointer;
    font-family: "Charm", serif;
}

.nav .link img {
    width: 5rem;
}

.nav .link p {
    font-size: 1.8rem;
    margin: 0;
}

.logo {
    width: 30em;
    margin: 0 auto;
    transform: translateY(-10em);
}

.date {
    font-size: 3rem;
    font-style: italic;
}

.small-text {
    font-size: 1.75rem;
    font-family: "Caladea", serif;
}

.body-text {
    padding: 1.75em;
}

.button {
    background: none;
    border: 2px solid #4a89b3;
    border-radius: 5rem;
    max-width: fit-content;
    margin: 0 auto;
    padding: .2em .4em;
    cursor: pointer;
    font-family: "Charm", serif;
    font-size: 2rem;
    color: #4a89b3;
}

.eiffel, .champagne, .star-of-david {
    display: none;
}

.modal-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

.modal {
    position: fixed;
    width: fit-content;
    height: fit-content;
    min-width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: none;
    background-color: white;
    place-content: center;
    flex-wrap: wrap;
    border-radius: 3rem;
    padding: 2em 3em;
}

.modal-title {
    font-size: 3.5rem;
    color: #4a89b3;
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 2em;
    margin: 0 3em;
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1em;
}

.leave-empty {
    font-family: "Caladea", serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(0, 0, 0, .7);
    text-align: center;
}

.guest-input-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1em;
}

.guest-name-input {
    display: block;
    padding: 1em;
    border: 2px solid black;
    border-radius: 5rem;
    background: none;
    font-family: "Caladea", serif;
    font-size: 1.25rem;
}

.first-name-input {
    border-radius: 5rem 0 0 5rem;
}

.last-name-input {
    border-radius: 0 5rem 5rem 0;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    * {
        font-size: 8px;
    }

    .logo {
        width: 20em;
        margin: 0 auto;
        transform: none;
    }

    .content {
        gap: 1em;
        transform: none;
    }

    .modal {
        min-width: unset;
    }
}

@media (min-width: 1600px) {
    * {
        font-size: 10px;
    }

    .logo {
        width: 20em;
        margin: 0 auto;
        transform: none;
    }

    .content {
        gap: 1em;
        transform: none;
    }
}