.modal-window {
    font-family: 'Roboto', sans-serif;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.25);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    line-height: 1.4;
    font-weight: 600;
}
.modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.modal-window > div {
    width: 460px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* Add box shadow */
    /* background: linear-gradient(45deg, black, transparent); */
}
.modal-window header {
    font-weight: bold;
}
.modal-window h1 {
    font-size: 150%;
    margin: 0 0 15px;
}
.modal-close {
    color: #aaa;
    line-height: 50px;
    font-size: 80%;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 70px;
    text-decoration: none;
}
.modal-close:hover {
    color: black;
}
.modal-window > div {
    border-radius: 1rem;
}
.modal-window div:not(:last-of-type) {
    margin-bottom: 15px;
}
.modal-window .logo {
    max-width: 150px;
    display: block;
}
.modal-window small {
    color: lightgray;
}
.modal-window .btn {
    background-color: white;
    padding: 1em 1.5em;
    border-radius: 0.5rem;
    text-decoration: none;
}
.modal-window .btn i {
    padding-right: 0.3em;
}
.modal-window a {
    color: inherit;
    text-decoration: none;
}
.modal-window .body {
    font-size: 18px;
    text-align: justify;
    font-weight: 400;
}


@media only screen and (max-width: 768px) {
    /* CSS for mobile screens */
    .modal-window > div {
        width: 350px;
        padding: 1em;
    }
}
