body {
    font-family: "Great Vibes", cursive;
    margin: 0;
    padding: 0;
}

.card-wrapper {
    position: relative;
    margin: 0px auto;
    max-width: 37.5rem;
    padding: 1.25rem 0;
}

.weds-title div {
    text-align: center;
}

.weds-title .and {
    color: grey;
    font-size: 2.25rem;
}

.weds-title .names {
    font-size: 5rem;
    position: relative;
}

.weds-image {
    display: block;
    width: 18.75rem;
    margin: 0 auto;
    border: 3px solid gray;
    border-radius: 50%;
}

@media (min-width: 48rem) {
    .weds-image {
        width: 23.75rem;
    }
}

.divider {
    display: block;
    margin: 0.5rem auto;
    max-width: 90%;
}

.video {
    width: 94%;
    display: block;
    margin: 0.5rem auto;
}

.title {
    font-size: 1.75rem;
    text-align: center;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.invitation,
.gift-registery {
    font-size: 1.125rem;
    line-height: 1.5;
    font-family: arial;
    padding: 0 1rem;
    margin: 0.5rem 0;
}

.invitation .names,
.gift-registery .names {
    font-family: "Great Vibes", cursive;
    font-size: 1.625rem;
}

.form-element {
    font-size: 1.5rem;
    margin: 0.5rem;
}

select {
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    border: 1px solid gray;
}

textarea {
    border-radius: 10px;
    width: 31.25rem;
    height: 12.5rem;
    max-width: 94%;
    border: 1px solid gray;
    font-family: arial;
    font-size: 1rem;
    padding: 1rem;
}

.submit-button {
    background-color: #299184;
    border: 0;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    margin: 1rem;
    width: 10rem;
}

.response-message {
    background-color: #299184;
    border: 0;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    margin: 1rem auto 1.5rem;
    max-width: 46.875rem;
    width: 30rem;
    font-family: arial;
    text-align: center;
    line-height: 2;
}

.no-wrap {
    white-space: nowrap;
}

.dot-animation:after {
    content: ".";
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0% {
        content: ".";
    }

    33% {
        content: "..";
    }

    66% {
        content: "...";
    }
}
