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(930 * var(--size));
}

.home-content {
    width: 100%;
    height: 100%;
    padding: calc(330 * var(--size)) 0 calc(280 * var(--size));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    -webkit-transition: opacity 0.4s ease;
    transition: opacity 0.4s ease;
    transition-delay: 0.4s;
    opacity: 0;
}

body:not(.init-home) .home-content {
    display: none;
}

body.loaded-home .home-content {
    opacity: 1;
}

body.show-group .home-content {
    opacity: 0;
    pointer-events: none;
    transition-delay: 0s;
}

.home-column {
    display: flex;
    flex-direction: column;
    gap: calc(35 * var(--size));
}

.home-contact {
    width: calc(285 * var(--size));
    position: absolute;
    bottom: calc(280 * var(--size));
    left: 0;
    -webkit-transition: left 0.5s ease;
    transition: left 0.5s ease;
}

body.show-about .home-contact {
    left: calc(1120 * var(--size));
}

.home-address {
    width: calc(185 * var(--size));
    margin-left: calc(50 * var(--size));
}

.home-about {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 0;
    -webkit-transition: width 0.5s ease;
    transition: width 0.5s ease;
}

body.show-about .home-about {
    width: calc(1020 * var(--size));
}

.home-about .inner {
    position: absolute;
    height: 100%;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    gap: var(--gap);
}

.home-about .inner .column {
    width: calc(495 * var(--size));
}

.home-mobile {
    display: none;
}

/* LOWER */
.lower {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 50%;
    padding: var(--gap);
    position: absolute;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.lower .logo {
    width: 100%;
    top: 0;
    bottom: auto;
    align-items: flex-start;
}

body.page-template-booking .lower .logo {
    bottom: 0;
    top: unset;
}

/* CONTACT FORM */
.contact-form {
    position: absolute;
    text-transform: uppercase;
    width: 100%;
    padding: var(--gap);
    bottom: calc(280 * var(--size));
    left: 0;
    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-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 .inner {
    width: 100%;
    position: relative;
}

.contact-form form {
    display: flex;
    padding-top: calc(30 * var(--size));
    position: relative;
}

.contact-form .row {
    display: flex;
    flex-direction: column;
    width: calc(33.33% - 20 * var(--size));
    gap: calc(15 * var(--size));
    position: relative;
}

.contact-form .row .hide-desktop {
    display: none;
}

.contact-form .row:not(.first) {
    margin-left: var(--gap);
}

.contact-form .row .column {
    width: calc(50% - var(--gap) / 2);
}

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

.contact-form .row .full-container {
    width: 100%;
    display: flex;
    gap: var(--gap);
}

.contact-form .row .checkbox-full {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: calc(17 * var(--size)) 0;
    width: calc(300 * var(--size));
}

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

.contact-form .row .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.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 {
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    width: 100%;
    padding: 0 calc(15 * var(--size));
    color: var(--red);
    background: var(--blue);
    font-family: var(--font-family), sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    height: calc(48 * var(--size));
}

.contact-form ::placeholder {
    color: var(--red);
    font-family: var(--font-family), sans-serif;
    font-size: 1rem;
    line-height: 1;
}

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

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

.contact-form .submit p {
    display: flex;
    justify-content: flex-end;
}

.contact-form input[type="submit"] {
    border: 0;
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--blue);
    color: var(--red);
    width: 100%;
    padding: 0 calc(15 * var(--size));
    text-transform: uppercase;
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    height: calc(48 * var(--size));
    width: calc(190 * var(--size));
}

.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(--blue);
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transform: translateY(-115%);
    transform: translateY(-115%);
}

.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(--blue);
}

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

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

.contact-form .wpcf7 form .wpcf7-response-output {
    border: 0;
    font-size: 0.75rem;
    line-height: 1;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    color: var(--red);
    background: var(--blue);
    width: calc(33.33% - 20 * var(--size));
}

.contact-form .hide_mobile {
    display: block;
    position: absolute;
    text-transform: initial;
    bottom: calc(14 * var(--size));
    left: calc(33.33% + 10 * var(--size));
}

.contact-form .group-button {
    position: absolute;
    bottom: calc(14 * var(--size));
    left: 0;
    font-family: "GT Pressura Mono Bold";
    z-index: 2;
}

.contact-form .mobile-span {
    display: none;
}

/* GIFT */
#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;
    display: none;
}

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

#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));
    }

    h2 {
        text-align: center;
    }

    .home-content {
        padding: calc(130 * var(--size)) 0;
    }

    .home-about {
        -webkit-transition: opacity 0.4s ease;
        transition: opacity 0.4s ease;
        opacity: 0;
        pointer-events: none;
    }

    body.show-about .home-about {
        opacity: 1;
        pointer-events: visible;
    }

    .home-about .inner::-webkit-scrollbar,
    .contact-form::-webkit-scrolbar {
        display: none;
    }

    .home-about .inner {
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow-y: scroll;
    }

    .home-about {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .home-about .inner .column {
        width: 100%;
    }

    .home-contact,
    .home-address {
        display: none !important;
    }

    .contact-form::-webkit-scrollbar {
        display: none;
    }

    .contact-form {
        width: 100%;
        padding: 0 var(--gap);
        right: 0;
        top: calc(130 * var(--size));
        height: calc(100% - 260 * var(--size));
    }

    .contact-form .inner::-webkit-scrollbar {
        display: none;
    }

    .contact-form .inner {
        width: 100%;
        height: 100%;
        text-align: left;
        overflow-y: scroll;
    }

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

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

    .home-mobile {
        display: flex;
        flex-direction: column;
        gap: var(--gap);
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate3d(-50%, -50%, 0);
        transform: translate3d(-50%, -50%, 0);
        -webkit-transition: opacity 0.25s ease;
        transition: opacity 0.25s ease;
        text-align: center;
        width: 100%;
        padding: var(--gap);
    }

    .show-about .home-mobile,
    .show-contact .home-mobile {
        opacity: 0;
        pointer-events: none;
    }

    .contact-form .hide_mobile {
        display: none;
    }

    .contact-form form {
        flex-direction: column;
    }

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

    .contact-form .row.second {
        margin-top: calc(15 * var(--size));
    }

    .contact-form .row:not(.first) {
        margin-left: 0;
    }

    .contact-form .group-button {
        bottom: unset;
        top: 0;
        left: 0;
    }

    .contact-form .row .full-container {
        flex-direction: column;
        gap: calc(15 * var(--size));
    }

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

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

    .contact-form .row .checkbox-full {
        position: relative;
        left: unset;
        bottom: unset;
    }

    .contact-form input[type="submit"] {
        width: 100%;
    }

    .contact-form .row .hide-desktop {
        display: block;
        text-transform: initial;
    }

    .contact-form .wpcf7 form .wpcf7-response-output {
        border: 0;
        font-size: 0.75rem;
        line-height: 1;
        position: relative;
        top: unset;
        right: unset;
        margin: 0;
        color: var(--red);
        background: var(--blue);
        width: 100%;
        margin-top: var(--gap);
    }

    .contact-form .wpcf7-not-valid-tip {
        left: unset;
        right: 0;
        -webkit-transform: translateY(-120%);
        transform: translateY(-120%);
    }

    .contact-form .mobile-span {
        display: inline-block;
        margin-bottom: calc(6 * var(--size));
    }
}
