.modal {
    display: none;
    position: fixed;
    background: #00000082;
    top: 0;
    left:0;
    z-index: 3;
    width: 100%;
    height: 100%;
}

.modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 65%;
    padding: 2rem;
}

.close {
    position: absolute;
    color: #fff;
    font-size: 1.5rem;
    top: -2em;
    right: 0;
    cursor: pointer;
}

.modal-content .img {
    text-align: center;
    margin-bottom: 1.5rem;
    height: 50%;
}

.modal-content .img img {
    max-width: 100%;
    height: 100%;
}

.modal-content .txt dl {
    display: flex;
    flex-wrap: wrap;
}

.modal-content .txt dt {
    width: 20%;
}

.modal-content .txt dd {
    width: 80%;
}

@media screen and (max-width:726px){
    .modal-content {
        width: 95%;
    }
    
    .modal-content .txt dt,.modal-content .txt dd {
        font-size: 0.9rem;
    }
}