main {
    position: fixed;
    padding: var(--gap);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: calc(600 * var(--size));
}

h2 {
    font-family: "NG Monopol Kompakt";
    font-size: var(--font-size-title);
    line-height: var(--line-height-title);
    color: var(--red);
    width: 100%;
    max-width: calc(800 * var(--size));
}

.contact-desktop {
    margin-bottom: calc(17 * var(--size));
    width: calc(100% - 830 * var(--size));
}

.contact-mobile {
    display: none;
}

.about-us-text,
.contact-form {
    position: absolute;
    text-transform: uppercase;
    width: calc(100% - 2 * var(--gap) - 830 * var(--size));
    right: var(--gap);
    top: calc(90 * var(--size));
    pointer-events: none;
    opacity: 0;
    -webkit-transform: translate3d(0, 30px, 0);
    transform: translate3d(0, 30px, 0);
    -webkit-transition: opacity 0.35s ease, transform 0.25s ease;
    transition: opacity 0.35s ease, transform 0.25s ease;
    transition-delay: 0s;
}

body.show-about .about-us-text,
body.show-group .contact-form {
    pointer-events: visible;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    transition-delay: 0.3s;
}

/* CONTACT FORM */
.contact-form::-webkit-scrollbar {
    display: none;
}

.contact-form {
    height: calc(100vh - 350 * var(--size));
    overflow-y: scroll;
    padding-right: calc(110 * var(--size));
}

.contact-form .row {
    display: flex;
    width: 100%;
    gap: calc(15 * var(--size));
}

.contact-form .row:not(:last-child) {
    margin-bottom: calc(20 * var(--size));
}

.contact-form .row .column {
    width: 50%;
}

.contact-form .row .full {
    width: 100%;
}

.contact-form .row label {
    text-transform: initial;
}

.contact-form .row .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: calc(10 * var(--size));
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 2px solid var(--red);
    width: 100%;
    padding: calc(15 * var(--size));
    color: var(--red);
    font-family: "Isola SemiMono SemiBold", sans-serif;
    font-size: 1rem;
    line-height: 1;
    height: calc(48 * var(--size));
}

.contact-form textarea {
    height: calc(100 * var(--size));
    resize: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(42%) sepia(72%) saturate(3681%) hue-rotate(342deg)
        brightness(91%) contrast(90%);
}

.contact-form input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--red);
    color: var(--blue);
    border: 2px solid var(--red);
    width: 100%;
    padding: calc(15 * var(--size));
    text-transform: uppercase;
    font-family: "Isola SemiMono SemiBold", sans-serif;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.contact-form .disclaimer {
    text-transform: initial;
    font-size: 0.85rem;
    line-height: 1;
}

.contact-form .wpcf7-spinner {
    display: none;
}

.contact-form .wpcf7-not-valid-tip {
    font-size: 0.7rem;
    line-height: 1.2;
    margin-top: calc(2 * var(--size));
    color: var(--red);
}

.contact-form .container {
    display: block;
    position: relative;
    padding-left: calc(20 * var(--size));
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.contact-form .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.contact-form .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(12 * var(--size));
    width: calc(12 * var(--size));
    background-color: transparent;
    border: 1px solid var(--red);
}

.contact-form .container input:checked ~ .checkmark {
    background-color: var(--red);
}

.contact-form .disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.contact-form .wpcf7 form .wpcf7-response-output {
    border-color: var(--red);
    font-size: 0.85rem;
    line-height: 1;
}

#gift {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(191, 191, 191, 0.92);
    padding: calc(50 * var(--size));
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

body.show-gift #gift {
    opacity: 1;
    pointer-events: visible;
}

#gift .inner::-webkit-scrollbar {
    display: none;
}

#gift .inner {
    position: relative;
    overflow-y: scroll;
    width: 100%;
    height: 100%;
}

#gift .close {
    position: absolute;
    top: calc(15 * var(--size));
    right: calc(15 * var(--size));
    width: calc(30 * var(--size));
    height: calc(30 * var(--size));
    background: transparent;
    border: 0;
    cursor: pointer;
    transform: rotate(45deg);
}

#gift .close:before,
#gift .close:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--blue);
    transform: translate(-50%, -50%);
}

/* Horizontal */
#gift .close:before {
    width: 100%;
    height: calc(3 * var(--size));
}

/* Vertical */
#gift .close:after {
    width: calc(3 * var(--size));
    height: 100%;
}

/* RESPONSIVE */
@media only screen and (max-width: 1024px) and (min-height: 147vw) {
    main {
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: center;
        min-height: unset;
        gap: calc(15 * var(--size));
        padding-bottom: calc(45 * var(--size));
    }

    h2 {
        text-align: center;
    }

    .contact-desktop {
        display: none;
    }

    .contact-mobile {
        display: block;
        text-align: center;
        width: 100%;
        -webkit-transition: opacity 0.25s ease;
        transition: opacity 0.25s ease;
        transition-delay: 0.4s;
    }

    .about-us-text::-webkit-scrollbar,
    .contact-form::-webkit-scrolbar {
        display: none;
    }

    .about-us-text,
    .contact-form {
        width: 100%;
        padding: 0 var(--gap);
        right: 0;
        top: calc(175 * var(--size));
        height: calc(100% - 375 * var(--size));
        overflow-y: scroll;
        text-align: center;
    }

    .contact-form {
        padding-left: var(--gap);
        text-align: left;
    }

    body.show-about .contact-mobile,
    body.show-group .contact-mobile {
        opacity: 0;
        pointer-events: none;
        transition-delay: 0s;
    }

    #gift {
        padding: calc(20 * var(--size));
    }
}
