#jumbotron {
    width: 100%;
    min-height: 200px;
    max-width: 1920px;
    background: url("../img/HERO_OVERLAY.jpg") no-repeat center;
    background-size: cover;
}
#form-section {
    translate: 0 -180px;
    text-align: center;
    width: 100%;
    max-width: 1920px;
    margin: 100px 0 0;
}
#form-section .title-container {
    border: 8px solid var(--white);
    border-bottom: 0;
    margin: 0 auto 0;
    width: calc(100% - 3rem);
    max-width: 960px;
}
#form-section .title-container h1 {
    font-size: 50px;
    color: var(--white);
    background: url("../img/HERO_OVERLAY.jpg") no-repeat center;
    margin-top: -33px;
    padding: 0 30px;
    display: inline-block;
    margin-bottom: 20px;
}
#form-section .form-wrapper {
    position: relative;
    border: 8px solid var(--primary);
    border-top: 0;
    margin: 50px auto 0;
    width: calc(100% - 3rem);
    max-width: 960px;
    padding: 60px 150px;
}
#form-section .form-wrapper::before {
    position: absolute;
    content: "";
    border-bottom: 3px solid var(--fifth-color);
    border-left: 3px solid var(--fifth-color);
    border-right: 3px solid var(--fifth-color);
    bottom: -25px;
    height: 500px;
    left: 15px;
    right: 15px;
    box-sizing: inherit;
    z-index: -1;
}
#form-section .contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#form-section .contact-form > div:not(:nth-child(3)) {
    display: flex;
    gap: 30px;
}
#form-section .contact-form .input-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}
#form-section .contact-form select {
    font-size: 20px;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    color: var(--primary);
    text-overflow: ellipsis;
}
#form-section .contact-form input,
select {
    font-size: 20px;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--fourth-color);
    outline: none;
    transition: 0.2s;
}
#form-section .contact-form input::placeholder {
    color: var(--primary);
    opacity: 0.5;
}
#form-section .contact-form input:focus,
select:focus {
    border: 1px solid var(--primary);
}
#form-section .contact-form input[type="submit"] {
    padding: 20px;
    font-size: 24px;
    border: none;
    border-radius: 5px;
    background-color: var(--fifth-color);
    color: var(--primary);
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s ease-in-out;
}
#form-section .contact-form input[type="submit"]:hover {
    color: var(--fifth-color);
    background-color: var(--primary);
}
.contact-form-error {
    display: flex;
    justify-content: flex-start;
    color: #ef4423;
}
.none {
    display: none;
}
#form-section .contact-form hr {
    border: 2px dashed var(--primary);
    background-size: 30px;
    width: 100%;
}
#form-section .contact-form .whatsapp-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#form-section .contact-form .whatsapp-wrapper p {
    margin: 0;
    font-size: 26px;
    color: var(--primary);
    font-weight: 500;
}
#form-section .contact-form .whatsapp-wrapper a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-size: 30px;
    background-color: #25d366;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    transition: 0.5s;
}
#form-section .contact-form .whatsapp-wrapper a:hover {
    color: var(--black);
}
#form-section .contact-form .whatsapp-wrapper a iconify-icon {
    font-size: 40px;
}
#thanks-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    display: grid;
    place-items: center;
    background-color: #00000095;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}
#thanks-modal.opened {
    visibility: visible;
    opacity: 1;
}
body.opened {
    overflow: hidden;
}
#thanks-modal .modal-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--white);
    padding: 100px;
    border-radius: 10px;
}
#thanks-modal .modal-wrapper img {
    width: 120px;
    margin-bottom: 20px;
}
#thanks-modal .modal-wrapper h2 {
    color: var(--primary);
    font-size: 40px;
}
#thanks-modal .modal-wrapper p {
    font-size: 24px;
}
#thanks-modal .modal-wrapper .home-btn {
    display: flex;
    justify-content: center;
}
#thanks-modal .modal-wrapper a {
    font-size: 24px;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 5px;
    color: var(--white);
    background-color: var(--primary);
    font-weight: 600;
    border: 3px solid var(--primary);
    transition: 0.2s;
    margin-top: 15px;
    user-select: none;
}
#thanks-modal .modal-wrapper a:hover {
    color: var(--fifth-color);
}
@media (max-width: 925px) {
    #form-section .title-container h1 {
        font-size: 40px;
    }
    #form-section .contact-form > div {
        flex-direction: column;
    }
    #thanks-modal .modal-wrapper {
        padding: 80px 40px;
    }
}
@media (max-width: 760px) {
    #form-section .title-container h1 {
        font-size: 30px;
    }
    #form-section .form-wrapper {
        padding: 40px 50px;
    }
    #thanks-modal .modal-wrapper {
        padding: 60px 25px;
    }
    #thanks-modal .modal-wrapper h2 {
        font-size: 32px;
    }
    #thanks-modal .modal-wrapper p {
        font-size: 20px;
    }
    #thanks-modal .modal-wrapper a {
        font-size: 22px;
    }
}
@media (max-width: 600px) {
    #form-section .title-container {
        width: calc(100% - 1rem);
    }
    #form-section .title-container h1 {
        font-size: 26px;
    }
    #form-section .title-container b {
        display: block;
    }
    #form-section .form-wrapper {
        width: calc(100% - 1rem);
        margin: 45px auto 0;
        padding: 30px 40px;
    }
    #form-section .contact-form .whatsapp-wrapper a {
        font-size: 20px;
        font-weight: 500;
    }
    #form-section .contact-form .whatsapp-wrapper a iconify-icon {
        font-size: 37px;
    }
    #thanks-modal .modal-wrapper {
        padding: 55px 15px;
    }
    #thanks-modal .modal-wrapper h2 {
        font-size: 27px;
    }
    #thanks-modal .modal-wrapper p {
        font-size: 18px;
    }
}
@media (max-width: 500px) {
    #thanks-modal .modal-wrapper {
        padding: 35px 10px;
    }
    #thanks-modal .modal-wrapper img {
        width: 90px;
    }
    #thanks-modal .modal-wrapper h2 {
        font-size: 20px;
    }
    #thanks-modal .modal-wrapper p {
        font-size: 14px;
    }
    #thanks-modal .modal-wrapper a {
        font-size: 18px;
    }
}
