.cookies-container {
    color: #222;
    font-family: "Open Sans", sans-serif;
    position: fixed;
    width: 100%;
    bottom: 2rem;
    z-index: 1000;
}

.cookies-container.hideCookies {
    display: none !important;
}

.cookies-content {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    background: white;
    max-width: 520px;
    border-radius: 5px;
    padding: 1rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    opacity: 0;
    transform: translateY(5rem);
    animation: slideUp 0.5s forwards;
    font-size: 1.2rem;
}

.cookies-content a {
    text-decoration: underline;
    color: #a9c923;
}

@keyframes slideUp {
    to {
        transform: initial;
        opacity: initial;
    }
}

.cookies-accept {
    grid-column: 2;
    grid-row: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background: #a9c923;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    transition: 0.3s;
}

.cookies-accept:hover {
    background: #657b09;
}

@media screen and (max-width: 768px){
    .cookies-container { 
        display: none;
    }
}

@media (max-width: 1100px) and (min-width: 551px){
    .cookies-container {
        bottom: 7rem;
    }
}

@media (max-width: 550px) {
    .cookies-content {
        grid-template-columns: 1fr;
        background-color: #222;
        color: #fff;
    }
    .cookies-accept {
        grid-column: 1;
        grid-row: 2;
    }
    .cookies-container {
        top: 50%;
        transform: translateY(-50%);
    }
}
