.cookie-banner {
    position: fixed;
    bottom: 50px;
    left: 50px;
    right: 50px;
    height: 25vh;
    background-color: rgba(243, 244, 246, 1);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    z-index: 10000;
    border-radius: 40px;
    gap: 1rem;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-overlay {
    position: fixed; 
    inset: 0; 
    z-index: 9800; 
    display: none; 
    background-color: rgba(0, 0, 0, 0.404);
}
.cookie-overlay.active {
    display: block;
}

.cookie-text {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    text-align: center;
    padding-right: 1em;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1em;
    border-radius: 14px;
    opacity: 0.95;
    gap: 1rem;
}

.ack-but {
    width: 180px;
    height: 60px;
    padding: 1em;
    margin: 1em;
    border-radius: 14px;
    opacity: 0.7;
    background: #74ff3d;
    border-width: 2px;
    border-color: #4dc01f;

    display: flex;
    align-items: center;
    justify-content: center;
}
.ack-but:hover {
    border-width: 5px;
}

.exp-but {
    width: 180px;
    height: 60px;
    padding: 1em;
    margin: 1em;
    border-radius: 14px;
    opacity: 0.7;
    background: #ebebeb;
    border-width: 2px;

    display: flex;
    align-items: center;
    justify-content: center;
}
.exp-but:hover {
    border-width: 5px;
}

.but-text {
    font-size: 20px;
}
.cookie-full {
    position: fixed;
    inset: 50px;
    height: 85vh;
    background-color: rgba(243, 244, 246, 1);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    z-index: 9900;
    border-radius: 40px;
    gap: 1rem;
    overflow-y: scroll;

    display: none;
    flex-direction: column;
    gap: 1rem;
}
.cookie-full.active {
    display: flex;
}

.banner-full-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.banner-full-top-2 {
    text-align: center;
    flex: 1;
}

.banner-full-top-1, .banner-full-top-3 {
    flex-shrink: 0;
}

.banner-full-bottom {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}


@media (max-width: 772px) {
    .ack-but,
    .exp-but {
        flex: 1 1 120px;
        min-width: 85px;
        max-width: 120px;
        height: 45px;
        margin: 0.2em;
    }
    .exp-but {
        min-width: 95px;
    }
    .but-text {
        font-size: 14px;
    }
    .cookie-buttons {
        flex-direction: row;
        padding: 0.2em;
    }
    .cookie-banner {
        height: 65vh;
    }
    .cookie-overlay {
        background-color: rgba(0, 0, 0, 0.493);
    }
    .cookie-text {
        overflow-y: auto;
    }
    .banner-full-top-1 {
        display: none;
    }
    .title-text {
        font-size: 24px;
    }
}
@media (min-width: 772px) {
    .cookie-banner {
        flex-direction: row;
        align-items: stretch;
    }
    .cookie-text {
        flex: 2;
        text-align: left;
    }
}
@media (min-width: 1054px) {
    .banner-full-top-3 {
        display: none;
    }
}
