body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: relative;
}

.btn-open-modal {
    font-size: 1.5rem;
    padding: 15px 35px;
    margin: 15px;
    border-radius: 10px;
    color: #fff;
    background-color: #0b1048;
    transition: 0.3s ease-in-out;
}
.btn-open-modal:hover {
    color: #0b1048;
    border: 2px solid #0b1048;
    background-color: #fff;
}

.modal-window {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.304);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.modal-window.open {
    display: flex;
}

.modal {
    max-width: 700px;
    width: 100%;
    padding: 20px;
    margin: 15px;
    border-radius: 20px;
    background-color: #ffffff9f;
    backdrop-filter: blur(10px);
}

.open .modal {
    animation: openModal 0.5s;
}

.modal .btn-close-modal {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background-color: #0b1048;
}

.modal h2 {
    text-align: center;
    margin: 10px auto;
}

.modal p {
    text-align: justify;
}

@keyframes openModal {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, -10px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 200px) {
    .modal-window {
        display: none;
        padding: 5px;
    }
    .modal {
        margin: 3px;
        width: 100%;
        height: 100%;
        overflow-y: scroll;
    }

    .modal .btn-close-modal {
        font-size: 1rem;
        width: 20px;
        height: 20px;
        margin: 3px;
        top: 0;
        right: 10px;
        background-color: #0b1048;
    }
}