/*
body {
  font-size: calc(15px + 0.390625vw);
}
*/  
  
  
header { 
  display: block;
  text-align:left;
  color:  grey;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.5vh;
  margin-right: 25vw;
  padding-left: 1.0vh;
  padding-top: 1.0vh;
}
  
.container {
  position: relative;
  max-width: 100vw;
  max-height: 90vmin;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.square {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: auto;
  padding: 0;
  align-items: center;
  justify-content: center;
  width: 90vmin;
  height:90vmin;
}

img {
  width: auto;
  height: auto;
  max-width: 90vmin;
  max-height:90vmin;
  image-rendering: high quality;
  outline: solid 0.075rem black;
  display: block;
}

/* Next & previous buttons */
.prev {
  cursor: pointer;
  position: absolute;
  bottom: 2%;
  left: 0;
  width: auto;
  color: lightgrey;
  /* padding: 2vmax; */
  font-weight: normal;
  font-size: 2.5vh;
  user-select: none;
}

.next {
  cursor: pointer;
  position: absolute;
  bottom: 2%;
  right: 0;
  width: auto;
  color: lightgrey;
  /* padding: 2vh; */
  font-weight: normal;
  font-size: 2.5vh;
  user-select: none;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: #00000080;
  background-color: rgba(0,0,0,0.8);
}

/* Counter and caption text */
.textleft {
    color: lightgrey;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.15vmin;
    padding: 0;
    position: relative;
    bottom: -0.5vh;
    width: 40%;
    float:left
  }

.textright {
    color: lightgrey;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.15vmin;
    padding: 0;
    position: relative;
    bottom: -0.5vh;
    width: 60%;
    float: right;
    text-align: right;
}
    
/* The container needed to position the dropdown content */
.dropdown {
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  padding: 1.0rem;
  transition: all 0.3s ease; /* Add transition for hover effects */
  color: grey; 
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #94df97d1;
}

/* Dropdown Button */
.dropbtn {
  background-color: white;
  color: grey;
  font-family: sans-serif;
  font-size: 3vmax;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease; /* Add transition for hover effects */
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  z-index: 2;
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  font-family: sans-serif;
  font-size: 1.5vh;
  line-height: normal;
  right: 0;
  min-width: 12em;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Links inside the dropdown */
.dropdown-content a {
  color: grey;
  padding: 3vmin;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #94df97d1;
    color: grey;
}