/*VARS & CONFIGURATION*/
:where(:root, ::before, ::after) {
    --color-green-rgb: 15, 63, 32;
    --color-green: rgb(var(--color-green-rgb));
    --color-red: #D23030;
    --color-red-dark: #972329;
    --color-cream: #F8B075;
    --color-cream-dark: #D0914E;
}

::selection {
    background: var(--color-green);
    color: var(--color-white);
}

@font-face {
    font-family: "Primary";
    font-weight: 400;
    src: url("../fonts/Segoe-UI-Regular.woff2");
}

@font-face {
    font-family: "Primary";
    font-weight: 700;
    src: url("../fonts/Segoe-UI-Bold.woff2");
}

@font-face {
    font-family: "Secondary";
    font-weight: 400;
    src: url("../fonts/Monea-Alegante.woff2");
}

body {
    overflow-x: hidden;
    color: var(--color-white);
    background-color: var(--color-green);
}

/*END VARS & CONFIGURATION*/

/* COMPONENTS */
.cta {
    display: inline-flex;
    color: var(--color-white);
    background-color: var(--color-red);
    font-size: var(--font-22);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-default) / 1.5) calc(3 * var(--spacing-default));
    border: var(--unit-1) solid transparent;
}

.cta--secondary {
    background-color: transparent;
    border-color: var(--color-white);
}

.top {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.top::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(50%);
    width: 100%;
    height: 7%;
    background: linear-gradient(0, rgba(var(--color-green-rgb), 1) 40%, rgba(0, 0, 0, 0) 100%);
}

.datepicker-main {
    color: var(--color-black);
}

.datepicker-grid {
    font-weight: var(--font-bold);
}

/* END COMPONENTS */

/*VARIOUS */

.main {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: var(--transition);
}

.main[data-active] {
    opacity: 1;
}

.prize img:first-of-type {
    transform: translateY(-70%);
}

.prize img:last-of-type {
    transform: translateY(-30%);
}

.responsible svg,
.age-gate svg {
    max-height: var(--unit-20);
}

.g-recaptcha {
    min-height: calc(var(--unit-1) * 78);
}

/* END VARIOUS */

/* FORMS */
.form--1 input,
.form--1 textarea,
.form--1 select {
    color: var(--color-black);
    outline: 0;
    border: var(--unit-1) solid;
    border-color: transparent;
    border-radius: 0px;
}

.form--1 input,
.form--1 textarea,
.form--1 select,
.form--1 .label-file__button,
.form--1 .cta {
    font-weight: var(--font-bold);
    padding: calc(var(--spacing-default) / 1.3);
}

.form--1 select {
    appearance: none;
    -webkit-appearance: none;
}

.form--1 .cta,
.form--1 .label-file__button {
    color: var(--color-white);
    cursor: pointer;
}

.form--1 .label-file__button {
    background-color: var(--color-cream-dark);
    border: var(--unit-1) solid;
    border-color: transparent;
}

.form--1 .label-file:has([data-field-invalid]) .label-file__button {
    border-color: var(--color-error) !important;
    animation: shake 500ms linear;
}

.form--1 .label-file svg {
    height: var(--unit-20);
    width: auto;
}

/* END FORMS*/

/* OVEWRITES */
.form--1 .label-virtual-cnt .datepicker.datepicker-dropdown.active {
    top: initial !important;
    left: initial !important;
}

.modal--response .modal__wrapper {
    color: var(--color-black);
    font-weight: var(--font-bold);
    text-align: center;
    padding: var(--unit-16);
    font-size: var(--font-20);
    border-radius: var(--border-radius-medium);
}

/* END OVEWRITES */

/* AGE GATE */
.age-gate {
    color: var(--color-black);
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    z-index: 999999;
}

.age-gate[data-active] {
    opacity: 1;
    pointer-events: all;
}

.age-gate:not([data-active]) {
    opacity: 0;
    pointer-events: none;
}

.age-gate__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.age-gate__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    object-fit: cover;
}

.age-gate__input {
    position: absolute;
    left: 50%;
    font-family: 'Secondary';
    font-size: var(--font-70);
    color: var(--color-green);
    width: calc(2.25 * var(--unit-100));
    text-align: center;
    padding: 0;
    outline: 0;
    line-height: 1;
    border: 0;
    background-color: transparent;
    overflow: hidden;
}

.age-gate__input::-webkit-outer-spin-button,
.age-gate__input::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

.age-gate__input[type=number] {
    -moz-appearance: textfield;
}

.age-gate__shadow {
    position: relative;
}

.age-gate__shadow::before {
    background: rgba(32, 64, 45, .561);
    bottom: -5px;
    content: "";
    filter: blur(10px);
    height: 100%;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 100%;
    z-index: -1;
}

/* END AGE GATE */

/*SMALL ONLY*/
@media (max-width: 63.9375rem) {
    .top__mobile {
        padding: 0 calc(2* var(--spacing-default));
    }

    .top__lidl {
        max-height: var(--unit-45);
    }

    .top__award {
        max-height: var(--unit-100);
    }

    .content {
        padding: 0 var(--spacing-default);
    }

    .responsible {
        border-top: var(--unit-1) solid var(--color-cream);
        margin-top: var(--spacing-default);
        padding: var(--spacing-default) 0;
    }

    .age-gate__input {
        transform: translateX(-50%);
        bottom: 64vh;
        bottom: 64dvh;
    }

    .small-age-gate__shadow {
        position: relative;
    }

    .small-age-gate__shadow::before {
        background: rgba(32, 64, 45, .561);
        bottom: -5px;
        content: "";
        filter: blur(10px);
        height: 100%;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        width: 100%;
        z-index: -1;
    }
}

/*END SMALL ONLY*/

/*LARGE ONLY*/
@media (min-width: 64rem) {
    .top {
        height: 40vh;
    }

    .main--home .content {
        height: 60vh;
    }

    .cta {
        transition: var(--transition);
    }

    .cta {
        cursor: pointer;
    }

    .cta:hover {
        background-color: var(--color-red-dark);
    }

    .logo-caraiman {
        max-height: calc(1.2 * var(--unit-100));
    }

    .top__background {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: bottom;
    }

    .top__award,
    .top__lidl {
        position: absolute;
        top: calc(2 * var(--spacing-default));
        z-index: 1;
    }

    .top__award {
        right: calc(2 * var(--spacing-default));
    }

    .top__lidl {
        left: calc(2 * var(--spacing-default));
    }

    .content {
        padding: 0 calc(2 * var(--spacing-default));
    }

    .main--signup .content {
        padding: var(--spacing-default) calc(2 * var(--spacing-default));
    }

    .steps img {
        max-height: var(--unit-90);
    }

    .beer {
        max-height: 57vh;
    }

    .age-gate__input {
        bottom: calc(100dvh / 2);
        transform: translateX(-50%) translateY(-135%);
    }

    .large-age-gate__shadow {
        position: relative;
    }

    .large-age-gate__shadow::before {
        background: rgba(32, 64, 45, .561);
        bottom: -5px;
        content: "";
        filter: blur(10px);
        height: 100%;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        width: 100%;
        z-index: -1;
    }

    .age-gate__billboard {
        max-height: 80vh;
    }
}

/*END LARGE ONLY*/