#cookie-layer {
    background-color: rgba(29, 29, 27, 0.8);
    bottom: 0;
    display: inline-block;
    opacity: 0;
    position: fixed;
    transition: all 0.6s ease-in-out 0s;
    width: 100%;
    z-index: -999;
}

#cookie-layer.active {
    opacity: 1;
    z-index: 999;
}

#cookie-layer .content {
    padding: 2rem 2rem 0 2rem;
}

#cookie-layer p {
    box-sizing: border-box;
    color: #ebeff2;
    float: left;
    margin-bottom: 0;
    padding: 0 2rem 2rem 0;
    width: 80%;
}

#cookie-layer p a {
    color: #fff;
}

#cookie-layer button {
    background-color: #ebeff2;
    cursor: pointer;
    display: inline-block;
    float: left;
    height: 3rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease-in-out 0s;
    width: 20%;
}

#cookie-layer button:hover {
    background-color: #e5eaee;
}

@media all and (max-width: 1023px) {
    #cookie-layer .content {
        padding: 0;
    }

    #cookie-layer p {
        float: none;
        padding: 10px;
        text-align: center;
        width: 100%;
    }

    #cookie-layer button {
        float: none;
        margin: 0 0 10px 10%;
        padding: 0;
        width: 80%;
    }
}