#cookie-consent-dialog {
    display: none;
    padding: 3rem;
    width: max-content;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
    border: 2px solid #dedede;
    border-radius: .5rem;
    font-size: 1.4rem;
    flex-direction: column;
    row-gap: 1rem;
    color: #a6a6a6;
}

.cookie-consent #cookie-consent-dialog {
    display: flex;
}

#cookie-consent-dialog a {
    color: #e1e1e1;
    text-decoration: underline;
}

#cookie-consent-dialog a {
    color: #e7e7e6;
}

#cookie-consent-dialog .accept-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

#cookie-consent-dialog button {
    width: 40%;
    padding: 1rem 1rem;
    border: 1px solid #aeaeae;
    border-radius: .5rem;
    background-color: #e4e4e4;
    color: #a6a6a6;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

#cookie-consent-dialog #cookie-dialog-checkbox-wrapper {
    display: flex;
    column-gap: 1.5rem;
    margin: 2rem 0;
}

#cookie-consent-dialog #cookie-dialog-checkbox-wrapper input {
    margin-top: .25rem;
    position: relative;
    visibility: hidden;
}

#cookie-consent-dialog #cookie-dialog-checkbox-wrapper input::before {
    content: '';
    display: flex;
    visibility: visible;
    width: 2rem;
    height: 2rem;
    border: 2px solid #ababab;
    color: #a2a2a2;
    position: absolute;
    top: -.3rem;
    left: 0;
    box-sizing: border-box;
}

#cookie-consent-dialog #cookie-dialog-checkbox-wrapper input:checked::before {
    content: '\2713';
    text-align: center;
    font-weight: 900;
    font-size: 1.5rem;
    justify-content: center;
    align-items: center;
    padding-bottom: .2rem;
    background-color: #e8e7e7;
}

#cookie-consent-dialog #cookie-dialog-checkbox-wrapper label {
    margin-right: 2rem;
}

@media screen and (max-width: 768px) {
    #cookie-consent-dialog {
        width: min-content;
        padding: 2rem;
    }
    #cookie-consent-dialog:not(.accept-buttons) button {
        width: 60%;
        margin: 0 auto;
    }
    #cookie-consent-dialog .accept-buttons button {
        width: 45%;
    }
}

@media screen and (max-width: 500px) {
    #cookie-consent-dialog {
        padding: 2rem;
    }
    #cookie-consent-dialog #cookie-dialog-checkbox-wrapper {
        row-gap: 1rem;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
    #cookie-consent-dialog #cookie-dialog-checkbox-wrapper label {
        flex-basis: 70%;
    }
    #cookie-consent-dialog .accept-buttons {
        flex-direction: column;
        row-gap: 2rem;
    }
    #cookie-consent-dialog button {
        width: 100% !important;
    }
}

@media screen and (max-width: 320px) {
    #cookie-consent-dialog {
        padding: 1rem;
    }
}