
#disclaimer-dialog {
    display: none;
    position: absolute;
    border-radius: 10px;
    z-index: 1002;
    margin: 1rem;
    min-width: 350px;
    border: 5px solid #666;
    padding: 12px;
    overflow: hidden;
    background-color:#fff;
}

/* 420px or less */
@media (max-width: 420px) {
    #disclaimer-dialog {
        margin: 1rem 0 1rem 0;
        border: 0;
        width: 90%; /* Adjust width for small screens */
    }
}

#disclaimer-dialog h1 {
    text-align: center;
    font-weight: 700;
    padding: 3px;
    font-size: 3.0rem;
}

#disclaimer-dialog p {
    margin-top: 12px;
}

#disclaimer-background {
    display: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('../large-greencity2.png') center center no-repeat; /* Replace with your image path */
    background-size: cover; /* Ensures the image covers the entire background */
    position: fixed;
    z-index: 1001;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

@media (max-width: 768px) {
    #disclaimer-background {
        background-position: center top; 
        background: url('../medium-greencity2.png') center center no-repeat; /* Replace with your image path */
        background-size: cover; /* Ensures the image covers the entire background */
    }
}

@media (max-width: 480px) {
    #disclaimer-background {
        background-position: center top;
        background: url('../small-greencity2.png') center center no-repeat; /* Replace with your image path */
        background-size: cover; /* Ensures the image covers the entire background */
    }
}
#disclaimer-dialog .center {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    text-align: center;
}

#disclaimer-dialog .underline {
    text-decoration: underline;
}

#disclaimer-dialog .italic {
    font-style: italic;
}

#disclaimer-dialog .bold {
    font-weight: bold;
}

#disclaimer-dialog button {
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    font-weight: 400;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    color: #fff;
}

#disclaimer-dialog button.agree {
    background-color: #5cb85c;
}

#disclaimer-dialog button.disagree {
    background-color: #d9534f;
}
