.cookiebanner {
    position: fixed;
    bottom: 0px;

    background-color: whitesmoke !important;
    width: 100% !important;
    /* min-height: 100px; */
    height: fit-content;
    box-shadow: 0px -0.5px 20px grey;
    /* transition: all 1s ease-in-out; */

    padding: 25px;
    z-index: 999;

    display: none;
    justify-content: center;
}

.cookiebanner .container {
    width: 100%;
    max-width: 1500px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cookiebanner .container .icon {
    width: 100px;
    height: fit-content;
    padding-right: 25px;
}

.cookiebanner .container .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.cookiebanner .container .text {
    width: calc(70% - 125px);
    font-size: 12px;
}

.cookiebanner .container .text a#cookiesettings {
    text-decoration: underline;
    cursor: pointer;
}

.cookiebanner .container .buttons {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 30%;
    padding: 0px !important;
}

.cookiebanner .container .buttons div button {
    margin: 10px;
    font-size: 15px !important;
    height: 35px;
    width: 150px;
    padding: 5px 15px;
}

.cookiebanner .container .buttons div button span {
    font-size: 15px;
}

.cookiebanner .container .buttons div button#cookie-btn-zustimmen {
    background: linear-gradient(to right, green, yellowgreen);
}

.cookiebanner .container .buttons div #cookie-btn-ablehnen {
    /* background: linear-gradient(to right, red, orange); */
    text-decoration: underline;
    cursor: pointer;
    padding: 20px;
}






/* COOKIE SETTINGS POPUP */

.cookiesettings {
    position: absolute;
    top: 0px;
    left: 0px;

    z-index: 9999;

    width: 100vw;
    height: 100vh;

}

.cookiesettings .background {
    background-color: rgba(0, 0, 0, .85);
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.cookiesettings .background .foreground {
    position: relative;
    background-color: white;
    box-shadow: 0px -0.5px 20px #ddd;

    width: 90%;
    height: 90%;
    max-width: 1500px;
    max-height: 1500px;

    border-radius: 18px;

    padding: 25px;
}

.cookiesettings .background .foreground .closepopup {
    width: 35px;
    height: 35px;

    position: absolute;
    top: 25px;
    right: 25px;

    cursor: pointer;

    z-index: 9999;
}

.cookiesettings .background .foreground .closepopup:hover {
    transform: scale(.98)
}

.cookiesettings .background .foreground .closepopup img {
    width: 100%;
    height: 100%;
}

.cookiesettings .background .foreground .navbar {
    width: 350px;
    height: 100%;

    border-right: 1px solid #ddd;
    padding-right: 25px;
}

.cookiesettings .background .foreground .navbar .popupheading {
    width: 100%;
    font-size: 25px;
    text-align: center;
    margin-bottom: 35px;
}

.cookiesettings .background .foreground .navbar .navitem {
    width: 100%;
    height: 35px;
    background-color: whitesmoke;
    border: 3px solid whitesmoke;
    border-radius: calc(8px);

    display: flex;
    align-items: center;
    padding: 0px 10px;

    cursor: pointer;
}

.cookiesettings .background .foreground .navbar .navitem:not(:last-child) {
    margin-bottom: 15px;
}

.cookiesettings .background .foreground .contentpage {
    width: calc(100% - 350px - 75px);
    margin-left: 350px;
    float: right;
    position: absolute;
    top: 25px;
    right: 25px;
}

.cookiesettings .background .foreground .contentpage .contentheading {
    width: calc(100% - 25px - 35px) !important;
    font-size: 25px;
    margin-bottom: 35px;
}

.cookiesettings .background .foreground .contentpage .text {
    font-size: 15px;
}

.cookiesettings .background .foreground .contentpage .items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 25px;
}

.cookiesettings .background .foreground .contentpage .items .item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.cookiesettings .background .foreground .contentpage .items .item:not(:last-child) {
    margin-bottom: 15px;
}

.cookiesettings .background .foreground .contentpage .items .item div:not(:last-child) {
    padding-right: 15px;
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .cookiebanner .container {
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .cookiebanner .container .icon {
        display: none;
    }
    
    .cookiebanner .container .text {
        width: 100%;
    }
    
    .cookiebanner .container .buttons {
        width: 100%;
        padding-top: 30px !important;

        /* flex-direction: row-reverse; */
        justify-content: space-between;
    }
    
    .cookiebanner .container .buttons div:nth-child(1) {
        width: calc(100% - 80px);
    }
    
    .cookiebanner .container .buttons div #cookie-btn-zustimmen {
        width: calc(100% - 10px) !important;
        margin-left: 0px;
    }
    
    .cookiebanner .container .buttons div:nth-child(2) {
        width: fit-content;
        padding: 20px 0px;
    }
    
    .cookiebanner .container .buttons div:nth-child(2) a {
        padding: 20px 0px !important;
    }
}