.mySlides1, .mySlides2, .mySlides3, .mySlides4, .mySlides5, .mySlides6 {
    display: none;
    border-radius: 250px;
    border: 2px solid white;
    overflow: hidden;
    height: 500px;
    width: 500px;
}

.slideshow-container > div > img{
    margin-left: auto;
    margin-right: auto;
    height: 500px;
    width: 500px;
    object-fit: cover;
    object-position: 50% 50%;
}

.slideshow-container > p{
    font-size: 3em;
    color: white;
    margin: 0;
    text-align: center;
    align-self: flex-start;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 100px;
    border-radius: 3px 0 0 3px;
  }

  .prev{
    left: 100px;
  }

  .close{
    cursor: pointer;
    position: absolute;
    right: 2%;
    top: 2%;
    color: white;
    font-weight: bold;
    font-size: 2em;
  }
  
  /* On hover, add a grey background color */
  .prev:hover, .next:hover {
    background-color: #f1f1f1;
    color: black;
  }

/* Slideshow container */
.slideshow-container{
    position: fixed;
    overflow: hidden;
    margin: auto;
    height: calc(100vh - 100px);
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1; /* under sub-menu */
    display: none;
    grid-template-rows: 3fr fr;
    justify-content: center;
    justify-items: center;
    align-items: center;

}

/* The dots container */
#selector{
    display: grid;
    justify-content: center;
    justify-items: center;
}

/* The dots */
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    border-radius: 5px;
    margin: 0 5px 0 5px;
    background-color: #24272A;
    display: inline-block;
    transition: background-color 0.25s ease;
}

.active, .dot:hover {
    background-color: white;
    outline: 2px solid #24272A;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@media (max-width: 800px){

    .mySlides1, .mySlides2, .mySlides3, .mySlides4, .mySlides5, .mySlides6 {
        height: 300px;
        width: 300px;
    }
    
    .slideshow-container > div > img{
        height: 300px;
        width: 300px;
    }

    .next {
        right: 10px;
      }

    .prev{
        left: 10px;
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .pause, .next, .text {font-size: 11px;}
}
