/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    border: 1px solid #888;
    width: 550px; /* Could be more or less, depending on screen size */
    display: flex;
    flex-direction: column;
    z-index: 3;
}
.modal-content__img{
    width: 450px;
    height: 450px;
    margin: 12px auto 50px;
    z-index: 4;
}
.modal-content__title, .modal-content__text{
    width: 450px;
    margin: auto;
    line-height: 1.5em;
    padding-bottom: 20px;
    z-index: 4;
}
.modal-content__autors{
    width: 450px;
    margin: auto;
    padding-bottom: 50px;
    color: #747474;
    z-index: 4;
}
/* The Close Button */
.close {
    color: #aaa;
    float: right;
    right: 0;
    font-size: 28px;
    padding: 5px 10px;
    font-weight: bold;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 4;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width: 750px){
    .modal-content{
        width: 85%;
    }
    .modal-content__img{
        width: 85%;
        height: auto;
    }
    .modal-content__title, .modal-content__text, .modal-content__autors{
        width: 85%;
    }
}
