@charset "UTF-8";
/* MODAL CONTACT FORM  */

.modal-wrapper {
    display: flex;
    position: fixed;
    width: 0;
    height: 0;
    background-color: rgb(0 0 0 / 95%);
    z-index: 0;
}

body.is-light-theme .modal-wrapper.modal-open {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    padding: 1em;
    z-index: 101;
    cursor: url("/wp-content/themes/reversweb/assets/img/light-close.png") 16 16, pointer;
}

body.is-light-theme div.modal-contact-form {
    width: 50%;
    max-width: 909px;
    min-width: auto;
    height: auto;
    margin: auto;
    opacity: 0;
    transition-duration: 1s;
}

body.is-light-theme div.modal-contact-form.modal-open {
    opacity: 1;
    transition-duration: 1s;
    -webkit-border-radius: .6em;
    -moz-border-radius: .6em;
    -ms-border-radius: .6em;
    -o-border-radius: .6em;
    border-radius: .6em;
}

div.contact-form {
    position: relative;
    overflow: hidden;
    min-width: fit-content;
}

div.contact-form h2 {
    width: fit-content;
    font-family: 'Coldiac Free Regular', serif;
    font-weight: 400;
    font-size: calc(24px + 18 * (100vw - 1024px) / (1920 - 1024));
    line-height: 1.5;
    text-align: center;
    margin: 0 auto .75em;
    padding-bottom: .5rem;
    border-bottom: 1px solid #0076AA;
}

.contact-form-wrapper {
    padding: 2em;
    cursor: default;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container form>p {
    width: 100%;
    margin: .5em auto;
}

.form-container form span:not(.terms) {
    position: relative;
    display: flex;
    align-items: center;
    margin: auto;
}

.form-container form span input:not([type="checkbox"]),
.form-container form span textarea {
	font-family: inherit;
    font-size: 18px;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 1em 2em;
    background-color: transparent;
    color: #fff;
    border-color: transparent;
}

.form-container form p span svg {
    width: 100%;
    height: 100%;
    z-index: -1;
}

span.wpcf7-form-control-wrap svg {
    max-width: 100%;
}

.form-container form p span:focus-within svg rect,
.form-container form p span:focus-within svg path {
    stroke: #0076AA;
}

p.terms {
    max-width: 400px;
    font-size: 14px;
    color: inherit;
}

p.terms a {
    color: #0076AA;
    font-size: inherit;
}

div.form-container input[type="submit"] {
    display: block;
    height: auto;
    aspect-ratio: 185/60;
    width: calc(130px + 55 * (100vw - 1024px) / (1920 - 1024));
    margin: auto;
    background: linear-gradient(100.2deg, #FF00CF -12.96%, #0FB5FE 113.22%);
    background-size: 100%;
    font-weight: 500;
    font-size: calc(18px + 6 * (100vw - 1024px) / (1920 - 1024));
    line-height: 1.2;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    transition-duration: .5s;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

div.form-container input[type="submit"]:hover {
    background-size: 180%;
    transition-duration: .5s;
}

div.modal-contact-form .form-container form {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 24px;
}

div.modal-contact-form .form-container form>p {
    margin: auto;
}

div.modal-contact-form .form-container form p:not(.fb-100) {
    flex-basis: calc(50% - 8px);
}

div.modal-contact-form .form-container form span input:not([type="checkbox"]) {
    padding: 1% 8%;
}

input[type="checkbox"] {
	font-size: inherit;
	margin: .25em .25em 0 0;
    float: left;
}

i.required {
    color: #E560CC;
}

div.modal-contact-form .form-container form textarea {
	font-family: inherit;
    padding: 1em 1.5em;
}

div.modal-contact-form .form-container form p.terms,
div.modal-contact-form .form-container form p.text-area {
    flex-basis: 100%;
    min-width: 100%;
    text-align: left;
}

div.modal-contact-form .form-container input[type="submit"] {
    aspect-ratio: 270/60;
    width: calc(200px + 70 * (100vw - 1024px) / (1920 - 1024));
}

svg.desktop {
    display: block;
}

svg.mobile {
    display: none;
}

span.modal-close-btn {
    position: absolute;
    right: .5em;
    top: .5em;
    width: fit-content;
    cursor: pointer;
}

span.modal-close-btn svg {
    width: 1.7em;
    aspect-ratio: 1/1;
    height: auto;
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}

span.modal-close-btn.modal-btn-transform svg {
    opacity: .5;
    -webkit-transform: rotate(540deg);
    -moz-transform: rotate(540deg);
    -ms-transform: rotate(540deg);
    -o-transform: rotate(540deg);
    transform: rotate(540deg);
    -webkit-transition: transform 2s, opacity 5s;
    -moz-transition: transform 2s, opacity 5s;
    -ms-transition: transform 2s, opacity 5s;
    -o-transition: transform 2s, opacity 5s;
    transition: transform 2s, opacity 5s;
}

span.modal-close-btn svg path {
    fill: #fff;
}

span.modal-close-btn.modal-btn-transform svg path {
    fill: #03a9f4;
    transition-duration: 5s;
}

span.modal-close-btn:hover svg,
span.modal-close-btn:hover svg path {
    fill: #fff;
    opacity: 1;
    transition-duration: .5s;
}

span.terms {
    font-size: .85em;
}

span.terms a {
    font-size: inherit;
    color: #2196f3;
    text-decoration: 1px dotted underline;
}

span.terms a:hover {
    color: #E560CC;
    text-decoration: 1px solid underline;
}

@media (max-width:1023px) {
    body.is-light-theme div.modal-contact-form {
        width: 75%;
    }

    div.contact-form h2 {
        font-size: 32px;
    }
}

@media (max-width:768px) {
    svg.desktop {
        display: none;
    }

    svg.mobile {
        display: block;
    }

    body.is-light-theme div.modal-contact-form {
        width: 95%;
        max-height: 95%;
        margin: auto;
    }

    div.modal-contact-form .form-container form {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1em;
    }

}

@media (max-width:512px) {
    .contact-form-wrapper {
        padding: 1em;
    }

    body.is-light-theme div.modal-contact-form {
        width: 100%;
        max-height: 100%;
        margin: 0;
    }

    div.modal-contact-form .form-container form p {
        flex-basis: 100%;
    }

    div.contact-form h4 {
        font-size: calc(24px + 12 * (100vw - 360px) / (512 - 360));
    }

    .form-container {
        max-height: calc(100vh - 175px);
        overflow-y: auto;
    }
}

/* CONTACT FORM BACKGROUND  */
div.modal-contact-form div.rectangle-18 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, #0B1146 0.03%, rgba(11, 17, 70, 0.3) 100.02%);
    border-radius: 10px;
    z-index: -1;
}

div.modal-contact-form div.ellipse-11 {
    position: absolute;
    width: 100%;
    height: 80%;
    left: -35%;
    top: -40%;
    background: radial-gradient(48.68% 48.68% at 36.17% 42.21%, rgba(4, 240, 255, 0.5) 0%, rgba(67, 4, 105, 0) 79.09%);
    z-index: -1;
}

div.modal-contact-form div.ellipse-12 {
    position: absolute;
    width: 100%;
    height: 90%;
    left: -50%;
    top: auto;
    bottom: -10%;
    background: radial-gradient(48.68% 48.68% at 36.17% 42.21%, #430469 0%, rgba(67, 4, 105, 0) 64.58%);
    z-index: -1;
}

div.modal-contact-form div.ellipse-13 {
    position: absolute;
    width: 113%;
    height: auto;
    aspect-ratio: 1/1;
    left: auto;
    right: -80%;
    top: -10%;
    background: radial-gradient(48.68% 48.68% at 36.17% 42.21%, #430469 0%, rgba(67, 4, 105, 0) 64.58%);
    z-index: -1;
}

div.modal-contact-form div.ellipse-14 {
    position: absolute;
    width: 200%;
    height: auto;
    aspect-ratio: 1/1;
    left: 25%;
    top: 45%;
    background: radial-gradient(40.99% 40.99% at 36.17% 42.21%, rgba(0, 26, 255, 0.9) 0%, rgba(0, 26, 255, 0) 59.81%);
    z-index: -1;
}