
h2 {
    transition-delay: 0s;
    margin: 0;
}
h3 {
    text-align: center;
    font-size: 1.2rem;
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    color: var(--secondary-color);
    line-height: 1.5;
    margin-top: -16px;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
section.modal {
    position: fixed;
    top: 0;
    left: 0;
    padding-left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000a;
    visibility: hidden;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content {
    width: 80%;
    max-width: 700px;
    height: 70%;
    background-color: #f1f1f1;
    border-radius: 12px;
    box-shadow: 0px 0px 12px 4px #0007;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
}

.close-container {
    width: 45px;
    height: 45px;
    background-color: #fffa;
    cursor: pointer;
    position: absolute;
    border-radius: 100%;
    /* right: 25%; */
    /* top: 25%; */
    margin: 12px 12px 0 0;
    box-shadow: 0px 0px 12px 4px #aaa2;
}
.close-branch {
    width: 4px;
    height: 30px;
    border-radius: 8px;
    background-color: #000a;
    position: absolute;
    transform: rotate(45deg);
}
.close-branch.inverse {
    transform: rotate(-45deg);
}
.modal-content .contact-form {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 16px;
    border-radius: 12px;
    overflow-y: auto;
    padding: 32px 0;
}

@media screen and (max-width: 1200px) {
    .modal form.content-contact-right {
        width: 75%;
    }
}

@media screen and (max-width: 720px){
    .close-container {
        width: 32px;
        height: 32px;
    }
    .close-branch {
        width: 3px;
        height: 18px;
    }
}

@media screen and (max-height: 770px) {
    .modal-content .contact-form {
        justify-content: unset;
    }
}