/* banner */

.banner-container {
    position: absolute;
    top: 20px;
    right: 0px;
    animation: slide 5s forwards;
}

.sliding-banner {
    max-width: 100%;
    height: auto;
    animation: wiggle 0.7s infinite alternate;
}

.banner-container a:link { text-decoration: none; }


@keyframes slide {
    0% {
        transform: translateX(450px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes wiggle {
    0% {
        transform: rotate(-1deg);
    }
    100% {
        transform: rotate(1deg);
    }
}


/* modal */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center; /* Vertically center the content */
    z-index: 1;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    display: block;
    margin: 0 auto;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

/* Style the button that opens the modal */
#openModal {
    background-color: #008CBA;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

#openModal:hover {
    background-color: #005B8E;
}
