.cookie-message {
    font-family: "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
    border-radius: 10px;
    padding: 15px 0;
    background: #f7f8fb;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 16px 2px rgba(0, 0, 0, 0.05), 0 10px 10px 2px rgba(0, 0, 0, 0.05);
    font-size: 12px;
    line-height: 40px;
    border-top: 1px solid #e4e4e4;
    position: fixed;
    z-index: 100;
    top: 78%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 540px;
    display: flex;
    align-items: center; /* Vertically center the content */
}

@media only screen and (max-width: 450px) {
    .cookie-message {
        top: 78%; /* Adjust the top position for smaller screens */
        font-size: 10px; /* Adjust the font size for smaller screens */
        width: 300px;
    }

    .cookie-message img {
        height: 30px; /* Adjust the height of the image for smaller screens */
        width: 30px; /* Adjust the width of the image for smaller screens */
    }

    .cookie-message span {
        padding-right: 8px;
    }
}

.cookie-message.show {
    /* Your styles for showing the banner */
    /* For example, you can set the opacity to 1 and add a transition */
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cookie-message.hide {
    /* Your styles for hiding the banner */
    /* For example, you can set the opacity to 0 and add a transition */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-message img {
    height: 50px;
    width: 50px;
    margin: 0 15px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}

.cookie-message span {
    display: inline-block;
    line-height: 1.5;
    padding-right: 16px;
    border-right: 1px solid rgba(0,0,0,.1);
}

.cookie-message a.close {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    border: none;
    font-size: 24px;
    padding: 0 20px 0 16px;
    position: relative;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    color: #919191;
    transition: color 0.2s;
}

.cookie-message a.close:hover {
    color: #795548;
}

.cookie-message a {
    display: inline-block;
    color: red;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,.1);
}