.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Adjust the transparency as needed */
    z-index: 9999; /* Ensure it appears on top of other elements */
    display: none; /* Initially hidden */
}

/* Cookie options window */
.cookie-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 10000; /* Ensure it appears on top of the overlay */
    display: none; /* Initially hidden */
    font-family: 'Montserrat', sans-serif;
}

.cookie-window h2 {
    margin-top: 0;
}

.cookie-window p {
    margin-bottom: 10px;
}

.cookie-button {
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.accept-button {
    background-color: #4caf50;
    color: #fff;
}

.advanced-button {
    background-color: #f9f9f9;
    color: #888888;
    border: 2px solid #fffff;
}

/* Hover effect for buttons */
.cookie-button:hover {
    opacity: 0.8;
}

/* Cookie Settings window */

#settingsWindow {
    background-color: #f9f9f9;
}

.settings-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.settings-row .description {
    flex: 3;
}

.settings-row .service {
    flex: 1;
    text-align: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.2s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #4caf50;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

#space {

    width: 25px;
}

#des-space {

width: 10px;
}

#end-space {

    width: 10px;
}