
/* The Modal (background) */
.modal {
  z-index: 15;
  width: 600px;
  height: 400px;
  margin: 250px 0px 0px 430px;
}
/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 0px 0px 0px 0px;;
  padding: 0;
  width: 500px;
  height: 280px;
  border: 2px solid black;
}
/* The Close Button */
.close {
  color: black;
  position: absolute;
  margin: -15px 0px 0px 505px;
  font-size: 50px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides img{
width:495px;
height: 275px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  padding: 15px;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0.8;
  width: 30px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: black;
  width: 30px;
}

/* Number text (1/3 etc) */
.numbertext {
  color: white;
  font-weight: bold;
  font-size: 20px;
  padding: 4px 6px;
  position: absolute;
  left: 1;
  top: 0;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}
@media (max-width:768px){ 
  .modal{
    width: 100%;
    height: 35%;
    margin: 180px 0px 0px 15px ;
  }
  .modal-content{
    width: 86%;
    height: 100%
}
  .mySlides img{
    width: 352px;
    height: 290px;
  }
}