:root {
    --cookie-red: #FE5000FF;
    --scooter: #86CBE3FF;
    --mako: #434A4FFF;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99998;


}

.cookie-modal.hidden {
    display: none;
}

.cookie-pop-up-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    flex-direction: column;
}

.cookie-pop-up-modal.hidden {
    display: none;
}

.pop-up-holder {
    height: 100vh;
    width: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.pop-up-container {
    margin: 32px 0 0 0;
    position: relative;
    max-width: 800px;
    background-color: white;
    padding: 40px;
    color: black;
    font-size: 18px;
    height: fit-content;
}

.pop-up-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    color: var(--cookie-red);
    font-weight: 600;
    font-family: sans-serif;
}

.popup-header {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

.button--save {
    border: none;
    user-select: none;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 25px;
    background-color: var(--cookie-red);
    color: white;
    height: 45px;
    padding: 20px;
    font-size: 24px
}

.button--save:hover {
    background-color: var(--scooter) !important;
    color: var(--mako);
}

.button--notice {
    border-bottom: 4px solid var(--cookie-red);
    font-size: 24px;
    padding-top: 6px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    height: fit-content;
}

.button--notice:hover {
    text-decoration: none;
}

@media (max-width: 400px) {
    .button--save {
        font-size: 20px;
        line-height: 18px;
    }

    .button--notice {
        font-size: 20px;
    }
}

.cookie-section {
    margin-bottom: 30px;
}

.pop-up-checkbox {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.1;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
    margin-bottom: 10px;
}

.pop-up-checkbox + .pop-up-checkbox {
    margin-top: 1em;
}

.pop-up-input-checkbox {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: var(--cookie-red);
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid var(--cookie-red);
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

.pop-up-input-checkbox::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--cookie-red);
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    color: white;
}

.pop-up-input-checkbox:checked {
    color: white;
    background-color: var(--mako);
}

.checkbox-disabled {
    pointer-events: none;
}

.pop-up-input-checkbox:checked::before {
    transform: scale(1);
    background-color: var(--mako);
}

.banner-container {
    position: fixed;
    bottom: 16px;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.banner-content {
    position: relative;
    padding: 32px;
    background-color: #696E72;
    border-radius: 20px;
    color: white;
    margin: 0 16px;
}

.cookie-section input[type=checkbox] {
    visibility: inherit;
}

.cookie-consent-header {
    font-size: 24px;
    margin: 0 0 16px 0;
}

.cookie-consent-description {
    font-size: 18px;
}

.buttons-holder {
    margin: 40px auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    max-width: 650px;
}

.btn--cookies {
    font-size: 18px;
    font-weight: 600;
    border-radius: 24px;
    height: 40px;
    padding: 0 12px;
    text-transform: uppercase;
}

.btn--secondary, .btn--primary {
    background: #484747;
    color:white;
    box-shadow: none;
    font-weight: 500;
    border-color: transparent;
}
.btn--primary {
    background: #4CC0AD;
}
.btn-cookie-settings {
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: underline;
    background: none!important;
    border: none;
    padding: 0!important;
    cursor: pointer;
}

@media (max-width: 650px) {
    .buttons-holder {
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    .btn--cookies {
        margin-bottom: 8px;
    }
}
