@import url("../../../global/css/main.css");

.cookie-alert {
    position: fixed;
    top: 90vh;
    right: 1rem;
    width: 37rem;
    height: 6rem;
    border-radius: 7px;
    background-color: white;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 150;
    animation: alertIn 1s;
    -webkit-animation: alertIn 1s forwards, alertOut 1s 5s forwards;
    opacity: 0;
    overflow: hidden;
}

@keyframes alertIn {
    100% {
        top: 87vh;
        opacity: 1;
    }
}

@keyframes alertOut {
    100% {
        top: 95vh;
        opacity: 0;
    }
}

.cookie-alert .cookie-icon {
    position: relative;
    top: .5rem;
    left: 1rem;
    height: 5rem;
}

.cookie-alert .cookie-headline {
    position: relative;
    top: -4rem;
    left: 7rem;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary);
}

.cookie-alert .cookie-text {
    position: relative;
    top: -4rem;
    left: 7rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.cookie-alert .close-btn {
    position: absolute;
    top: 0;
    right: 1rem;
    line-height: 6rem;
    font-size: 2rem;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
}

.cookie-alert .close-btn:hover {
    cursor: pointer;
    color: var(--primary);
}