@charset "UTF-8";



.modal::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
}

.modal-container {
    display:flex;
    flex-direction: column;
}

.modal-container .img {
    margin:2vw auto 3vw;
    max-width:80%;
    max-height: 40vw;
}

.modal-container p {
    /* width: 80%; */
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 1vw;
}
.modal-container p:last-child {
    margin-bottom: 0;
}
.modal-content {
    background: #e7e5f5;
    background: #ffffff29;
    overflow-y: auto;
    padding: 20px 25px;
    width: 70vw;
    height: 45vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: show 0.6s linear 0s;
    filter: drop-shadow(0px 2px 6px #777);
    border: double 3px #4ec4d3;
    border-radius: 2vw;
}

.modal-top {
    display: inline-block;
    position: absolute;
    right: 5px;
    top: 5px;
}
.modal-close {
    color: black;
    text-decoration: none;
    font-size: 2rem;
    line-height: 1;
    padding: 0 8px;
}
.modal-close:hover, .modal-close:focus {
text-decoration: none;
cursor: pointer;
}
.modal-title {
color: #FFF;
}

.close_button {
    display: inline-block;
    margin: 2vw auto 0;
    padding:1vw;
    width:10vw;
    font-size:1.5vw;
    border: 0.16vw solid #000;
    border-radius: 2vw;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "didot", sans-serif;
    color: #000;
    background-color:#fffee2;
    text-align: center;
    transition: all 0.2s;
}

.close_button:hover {
    color: black;
    background-color: #FFEDB3;
}

@keyframes show{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

@keyframes blowUpModal {
    from {
        /* transform: scale(0); */
        opacity: 0;
    }
    to {
        /* transform: scale(1); */
        opacity: 1;
    }
}


@media screen and (max-width: 1024px) {
    .modal-content {
        width: 90vw;
        height: 80vw;
    }
}

@media screen and (max-width: 768px) {
    .close_button {
        padding:1vw;
        width:15vw;
        font-size:2vw;
    }
}