.cookie-container {
    display: none;
    width: 90%;
    margin: 0 auto;
    left: 0;
    right: 0;
    position: fixed;
    bottom: -100%;
    border-radius: 0;
    padding: 15px 50px;
    background: #fff;
    color: #222;
    box-shadow: 0px 10px 15px #222;
    z-index: 99999999999999;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    animation: slideIn 1.5s ease forwards;
}

.cookie-container.slideOut {
    animation: slideOut 1.5s ease forwards;
}

@keyframes slideIn {
    from {
        bottom: -100%;
    }

    to {
        bottom: 0;
    }
}

@keyframes slideOut {
    from {
        bottom: 0;
    }

    to {
        bottom: -100%;
    }
}

.cookie-container.dark {
    background: #5C667A;
    color: #fff;
}
.cookie-container .cookie-grid-container {
    display: grid;
    position: unset;
    grid-template-columns: repeat(3,auto);
    column-gap: 20px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1440px;
}

.cookie-container .cookie-disclaimer {
    width: 100%;
}

.cookie-container #cookie_accept {
    font-family: Arial, sans-serif;
    font-size: 16px;
    width: auto;
    max-width: 300px;
    min-width: 240px;
    height: 50px;
    align-self: center;
    border-radius: 0;
    background: transparent;
    border: 2px solid #B99F7A;
    color: #222;
    text-transform: uppercase;
    font-weight: normal;
    display: grid;
    align-items: center;
    transition: all ease-in-out 0.3s;
    box-shadow: unset;
}

.cookie-container.dark #cookie_accept {
    color: #fff;
}

.cookie-container #cookie_accept:hover {
    background: #B99F7A;
    border: 2px solid #B99F7A;
    color: #fff;
    transition: all ease-in-out 0.3s;
    cursor: pointer;
}

.cookie-container.dark #cookie_accept:hover {
    background: #fff;
    border: 2px solid #5C667A;
    color: #5C667A;
}

.cookie-container .close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    padding: 2px;
    background: transparent;
    transition: all ease-in-out 0.3s;
    border: unset;
    box-shadow: unset;
}

.cookie-container.dark .close-button {
    background: transparent;
}

.cookie-container .close-button:hover {
    transform: scale(1.1);
    transition: all ease-in-out 0.3s;
    cursor: pointer;
}

.cookie-container .closing-line {
    height: 2px;
    width: auto;
    display: block;
    background: #222;
    transform-origin: center;
    position: absolute;
    top: 50%;
    bottom: 50%;
    left: 0;
    right: 0;
    margin: 0 5px;
}

.cookie-container.dark .closing-line {
    background: #fff;
}

.cookie-container .closing-line-1 {
    transform: rotate(45deg);
}

.cookie-container .closing-line-2 {
    transform: rotate(315deg);
}

.cookie-container h2 {
    display: none;
}

.cookie-container p {
    font-family: Arial, sans-serif;
    margin-bottom: unset;
    margin-top: unset;
    padding: unset;
    max-width: unset;
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
    color: #222;
}

.cookie-container.dark p {
    color: #fff;
}

.cookie-container p em {
    font-weight: bold;
}

@media only screen and (max-width: 1023px) {
    .cookie-container {
        padding: 30px 20px 10px;
        width: auto;
        margin-left: 0;
    }
    
    .cookie-container .cookie-grid-container {
        grid-template-columns: auto;
        grid-template-rows: repeat(2,auto);
        justify-items: center;
        row-gap: 5px;
    }
    
    .cookie-container .cookie-disclaimer {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }
    
    .cookie-container p {
        display: inline;
    }
    
    .cookie-container p em {
        display: block;
    }
    
    .cookie-container #cookie_accept {
        max-width: 500px;
        width: 100%;
    }
    
    .cookie-container .cookie-accept {
        grid-row: 3 / 4;
    }
    
    .cookie-container .close-button.cookie-accept {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        justify-self: end;
    }
}