.modal {
    z-index:3;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
    overflow:hidden;
}
  
.modal-content {
    position: relative;
    background-color: none;
    margin: auto;
    width: 80%;
    max-width: 1200px;
    object-fit:contain;
    top:calc(50% - 45vh);
}

.modal-content img{
    height:900px;
}

.close {
    color:rgb(183, 169, 155);
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    user-select: none;
    -webkit-user-select: none;
}
  
.close:hover{
    color: rgb(135, 124, 113);
    text-decoration: none;
    cursor: pointer;
}

.mySlides {
    display: none;
    background-color:none;
}

.mySlides img{
    max-height:90vh;
    width:auto;
    object-fit:contain;
}
  
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin:100px;
    margin-top: -50px;
    color:rgb(183, 169, 155);
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius:3px;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: -5%;
}

.prev{
    left: -5%;
}

.prev:hover,
.next:hover {
    background-color: rgba(49, 45, 41, 0.5);
    color: rgb(135, 124, 113);
}

@media (max-width:550px){

    .prev,.next{
        top:95%;
    }

}