body {
    overflow-x: hidden;
    box-sizing: border-box;
}

.mb-100 {
    margin-bottom: 100px;
}

.mb-200 {
    margin-bottom: 200px;
}

.mt-200 {
    margin-top: 200px;
}

.pb-100 {
    padding-bottom: 100px;
}

.mr-20rem {
    margin-right: 20rem;
}

h1,
h2,
h3,
h4 {
    /* font-family: 'Dancing Script', cursive; */
    font-family: 'Mrs Saint Delafield', cursive;
}

p {
    font-family: 'Josefin Sans', sans-serif;
}

img {
    max-width: 100%;
}

.hero-section-title h1 {
    font-size: 25rem;
    font-weight: normal;
}

.about-text {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    line-height: 45px;
}

.following-text {
    font-size: 3.9rem;
}

.date-of-wedding {
    font-size: 3.5rem;
}

.guest-info {
    font-size: 5rem;
}

.find-way-title {
    font-size: 1.7rem;
    text-transform: uppercase;
    font-weight: 700;
}

.find-way-text {
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 4px;
}

.form-area h1 {
    font-size: 10rem;
    font-weight: 400;
}

.form-area p,
.q-form label {
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 45px;
    letter-spacing: 4px;
    margin-bottom: 0px;
}

.q-form input[type="text"]:focus-visible {
    outline-color: transparent;
}

.q-form input[type="text"] {
    width: 100%;
    border-bottom: 3px solid black;
    border-top: none;
    border-left: none;
    border-right: none;
    height: 60px;
    font-size: 1.5rem;
    background-color: #ffffcc;
}

.form-check-input {
    width: 2em;
    height: 2em;
    margin-top: 0.4em;
    border: 2px solid black;
    float: right;
}

.form-check-mark {
    overflow: hidden;
}

.form-check-input:focus {
    box-shadow: none;
    border-color: black;
}

.wedding-details h1 {
    font-size: 10rem;
}

.wedding-details {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.form-submit {
    background: white;
    border-color: black;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 5px;
}

.last_img {
    margin-left: 8rem;
    margin-right: 8rem;
}

.q-form input[type="text"]:focus {
    outline-color: white;
}

@media (max-width:768px) {
    .wedding-details {
        top: 0;
    }

    .hero-section-title h1 {
        font-size: 8rem;
        margin-top: 150px;
    }

    .last_img {
        margin-left: 5rem;
        margin-right: 5rem;
    }

    .mr-20rem {
        margin-right: 10rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .following-text {
        font-size: 2.9rem;
    }

    .date-of-wedding {
        font-size: 2.5rem;
    }

    .guest-info {
        font-size: 3.5rem;
    }

    .find-way-text {
        font-size: 17px;
    }

    .wedding-details h1 {
        font-size: 6rem;
    }

    .q-form label {
        font-size: 17px;
        letter-spacing: 1px;
    }
}
