#consent-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background-color: #f4f4f4;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 14px;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

#consent-banner p {
    margin: 0;
    padding: 0 10px;
    flex: 1 1 80%;
}

#consent-banner a {
    text-decoration: underline;
    text-decoration-style: dotted;
}

#consent-banner .buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1 1 20%;
    flex-direction: column;
}

#consent-banner button {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

#accept-cookies {
    background-color: #00a887;
    color: white;
}

#decline-cookies {
    background-color: #f4f4f4;
    color: #333;
}

.dismiss-consent {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: #ccc;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 600px) {
    #consent-banner {
        width: 100%;
        flex-direction: column;
        text-align: left;
        padding: 20px 10px;
    }

    #consent-banner p {
        margin-bottom: 10px;
        flex: 1 1 100%;
    }

    #consent-banner .buttons {
        flex: 1 1 100%;
        justify-content: space-between;
        width: 75%;
    }

    #consent-banner button {
        width: 20%;
        text-align: center;
    }

    .dismiss-consent {
        top:5px;
        right:5px;
        align-self: flex-end;
    }
}