.footer {
    background: linear-gradient(to right, #3eabfe 0%, #a137fe 100%);
    position: absolute;
    width: 100%
}

.footer-content {
    color: white;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 5%
}

.footer-content a {
    color: white;
    text-decoration: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    text-decoration: none;
    cursor: default;
}

.modal-overlay:target,
#disclaimer-modal:target .modal-overlay,
#policy-modal:target .modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(to right, #3eabfe 0%, #a137fe 100%);
    text-align: justify;
    padding: 20px;
    border-radius: 5px;
    width: 50%;
    color: white;
    max-height: 80vh;
    overflow: auto;
    position: relative;
    z-index: 1001;
    pointer-events: auto;
}

.close-button {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 3rem;
    color: white;
    text-decoration: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.modal-header span {
    font-size: 3rem;
}

@media screen and (max-width: 1024px) {
    .modal-content {
        width: 80%;
        font-size: 3vw;
    }
}

@media screen and (max-width: 768px) {
    .modal-content {
        font-size: 4vw;
    }

    .footer-content {
        justify-content: center;
    }
}

body:has(.modal-overlay:target) {
    overflow: hidden;
    height: 100vh;
}