  .slide { /* Position the image container (needed to position the left and right arrows) */
	grid-column: start / end;
	position: relative;
	z-index: 0;
  }
  
  /* Hide the images by default */
  .mySlides {
	display: none;
	background-color: black;
	text-align: center;
	border-radius: 4px;
	height: 4.515in;
	width: 6.5in;
  }
  
  .slide>.mySlides>img {
	height: 100%;
	cursor: zoom-in;
  }

  .slide>.mySlides>img:hover {
	filter: brightness(90%);
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -30px;
	color: hsl(210, 60%, 75%);
	font-weight: bold;
	font-size: 20px;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
	box-shadow: none; 
  }
  
  /* Position the "next button" to the right */
  .next {
	right: 0px;
	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: rgba(153, 191, 230, 0.8);
	color: black;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
	z-index: 1;
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 4px;
  }

  @media (max-width: 7.44in) {

	.slide{
		width:auto;
	}

	.mySlides{
		width: auto;
		min-width: 1in;
		max-width: 100%;
		height: 4.515in;
	}

	.slide>.mySlides>img {
		object-fit: scale-down;
		width: 100%;
		height: 100%;
	  }

	.mySlides:nth-child(2)>img {
		border-radius: 0px;
	}
  }

  @media (max-width: 5.2in) {

	.mySlides{
		height: 100%;
		aspect-ratio: 1 / 1;
	}

	.mySlides:nth-child(4)>img {
		border-radius: 4px;
	}
  }

  @media (max-width: 500px){
	.slide>.mySlides>img {
		height: 100%;
		cursor: default;
	  }
	
	.slide>.mySlides>img:hover {
		filter: brightness(100%);
	  }
  }
