.overlay .closebtn {
  position: absolute;
  top: -170px;
  right: 45px;
  font-size: 60px;
}

.content {
  height: auto;
  margin: 0.5cm auto;
  width: 95%;
}

.articles {
  height: auto;
  width: auto;
  border-radius: 5px;
}

.levels {
  margin: 1rem auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  height: auto;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  width: 95%;
  border-radius: 1em;
  background-color: #0000000d;
}

.level-holder {
  display: flex;
  height: 1.1cm;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.level-items {
  font-size: 28px;
  margin: 0;
  text-align: center;
  font-family: "Agency FB";
}

.level-number-holder {
  width: 6%;
  min-width: 10px;
  border-radius: 0 10px 10px 0;
  background-color: #3388ff71;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.level-text-holder {
  width: 100%;
  margin-left: -2%;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.mySlides1,
.mySlides2,
.mySlides3,
.mySlides4,
.mySlides5,
.mySlides7,
.mySlides8,
.mySlides9,
.mySlides10 {
  display: none;
}

.visible-images {
  display: block;
}

img,
video {
  vertical-align: middle;
  width: 100%;
  height: 60vh;
  top: 0%;
  outline: none;
  border-radius: 0 2% 2% 0;
}

.Jack img,
.Jack video {
  height: 10cm;
}

/* Slideshow container */
.slideshow-container {
  width: 50%;
  position: relative;
  overflow: hidden;
  border-radius: 0 2% 2% 0;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  font-size: 25px;
  transition: 0.6s ease;
  border-radius: 0 10px 10px 0;
  user-select: none;
  background-color: #dddee320;
  box-shadow: 0px 0px 4px;
  backdrop-filter: blur(5px) saturate(200%);
  -webkit-backdrop-filter: blur(5px) saturate(200%);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 10px 0 0 10px;
}

/* On hover, add a grey background color */
.prev:hover,
.next:hover {
  color: rgb(255, 255, 255);
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

.fade img,
.fade video {
  max-height: 70vh;
  min-height: 6cm;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 1px;
  background-color: rgb(96, 118, 129);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  box-shadow: 0px 0px 20px 1px #000;
}

.active,
.dot:hover {
  background-color: #ffffff;
}

.image {
  margin-top: -1cm;
  margin-left: 1em;
  color: rgba(255, 255, 255, 0.726);
  font-size: small;
  text-shadow: 0px 0px 20px #000;
}

.Scrool,
.contents {
  width: 50%;
}

article {
  padding: 1em;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

article h4 {
  font-size: 15px;
  text-decoration: underline;
}

.Large_Screen {
  display: none;
}

.levels article:last-child {
  width: 100%;
  padding: 0.5em;
}

/* I just posted this attribute here to over-write the img attribute i wrote earlier */
.menu {
  width: 2cm;
  height: 1cm;
  position: absolute;
  left: 1%;
  background-color: #06224a;
  cursor: pointer;
  margin: 15px auto;
  border: none;
}

@media screen and (min-width: 1000px) {
  .smaller {
    margin: 1.8cm 0;
  }
}

@media screen and (min-width: 1100px) {
  .smaller {
    margin: 2cm 0;
  }
}

@media screen and (min-width: 1300px) {
  .Small_Screen {
    display: none;
  }

  .Large_Screen {
    display: block;
  }

  img,
  video {
    height: 11cm;
  }

  .van img,
  .van video {
    height: 13cm;
  }

  .Rowling img,
  .Rowling video {
    height: 14cm;
  }

  .Jack img,
  .Jack video {
    height: 12cm;
  }

  .smaller {
    margin: 2.5cm auto;
  }

  .small {
    margin: 1cm auto;
  }
}

@media screen and (min-width: 1400px) {
  .level-holder {
    height: 1.3cm;
  }

  .level-items {
    font-size: 35px;
  }

  .Small_Screen {
    display: block;
  }

  .Large_Screen {
    display: none;
  }

  .van img,
  .van video {
    height: 12cm;
  }

  .Rowling img,
  .Rowling video {
    height: 10.7cm;
  }

  .Jack img,
  .Jack video {
    height: 13cm;
  }

  article h4 {
    font-size: 23px;
  }

  .levels p,
  .levels ol {
    font-size: 20px;
  }
}

@media screen and (min-width: 1600px) {
  .level-holder {
    height: 1.5cm;
  }

  .level-items {
    font-size: 40px;
  }

  img,
  video {
    height: 12.7cm;
  }

  .prev,
  .next {
    font-size: 30px;
    padding: 20px;
  }

  .van img,
  .van video {
    height: 13.7cm;
  }

  .Rowling img,
  .Rowling video {
    height: 11.7cm;
  }

  .Jack img,
  .Jack video {
    height: 15cm;
  }

  article h4 {
    font-size: 25px;
  }

  .levels p,
  .levels ol {
    font-size: 23px;
  }
}

@media screen and (min-width: 1800px) {
  .level-holder {
    height: 2cm;
  }

  .level-items {
    font-size: 45px;
  }

  img,
  video {
    height: 16cm;
  }

  .image {
    font-size: medium;
    margin-top: -1.8cm;
  }

  .van img,
  .van video {
    height: 17cm;
  }

  .Rowling img,
  .Rowling video {
    height: 14.9cm;
  }

  .Jack img,
  .Jack video {
    height: 18.7cm;
  }

  article h4 {
    font-size: 32px;
  }

  .levels p,
  .levels ol {
    font-size: 28px;
  }
}

@media screen and (min-width: 2000px) {
  .level-items {
    font-size: 55px;
  }

  img,
  video {
    height: 17cm;
  }

  .van img,
  .van video {
    height: 18cm;
  }

  .Rowling img,
  .Rowling video {
    height: 15.9cm;
  }

  .Jack img,
  .Jack video {
    height: 19cm;
  }

  article h4 {
    font-size: 35px;
  }

  .levels p,
  .levels ol {
    font-size: 30px;
  }
}

@media screen and (min-width: 2200px) {
  .prev,
  .next {
    font-size: 40px;
  }

  .image {
    font-size: large;
    margin-top: -2.7cm;
  }
}

@media screen and (max-width: 1000px) {
  img,
  video {
    height: 11cm;
  }

  .Jack img,
  .Jack video {
    height: 12cm;
  }
}

@media screen and (max-width: 850px) {
  .levels {
    width: 99%;
    overflow: hidden;
  }

  .slideshow-container,
  img,
  video,
  .van .slideshow-container,
  .van img,
  .van video,
  .Rowling .slideshow-container,
  .Rowling img,
  .Rowling video {
    height: 10cm;
    width: 100%;
    padding: 0%;
    border-radius: 0;
  }

  .image {
    margin-left: 0.5cm;
    font-size: xx-small;
  }

  .menu {
    margin-top: 2%;
  }

  .Scrool,
  .contents {
    width: 100%;
  }

  .smaller {
    margin: 0.5cm auto;
  }
}

@media screen and (max-width: 800px) {
  .smaller {
    margin: 1cm auto;
  }
}

@media screen and (max-width: 600px) {
  .content {
    height: auto;
  }

  .levels {
    margin: auto;
    margin-top: 1%;
    border-radius: 0;
  }

  .level-items {
    font-size: 20px;
  }

  .level-number-holder {
    width: 15%;
    border-radius: 0;
  }

  .level-text-holder {
    width: 95%;
    border: none;
  }

  .slideshow-container,
  img,
  video,
  .van .slideshow-container,
  .van img,
  .van video,
  .Rowling .slideshow-container,
  .Rowling img,
  .Rowling video {
    height: 8cm;
  }

  .image {
    margin-top: -7.5cm;
    margin-bottom: 6cm;
  }

  .next,
  .prev {
    padding: 12px;
    font-size: 20px;
  }

  .dot {
    height: 8px;
    width: 8px;
    margin-bottom: -1.5em;
  }

  article,
  .levels article:last-child {
    padding: 0.5em;
  }

  article ol li {
    font-size: 15px;
  }

  article p,
  article ol {
    font-size: 15px;
  }

  article ol {
    padding: 5px 1em;
  }

  .menu {
    margin-top: 2%;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 320px) {
  .levels {
    margin-top: 1.5%;
  }

  .slideshow-container,
  img,
  video,
  .van .slideshow-container,
  .van img,
  .van video,
  .Rowling .slideshow-container,
  .Rowling img,
  .Rowling video {
    height: 7cm;
  }

  .image {
    margin-top: -6.5cm;
    margin-bottom: 5.5cm;
  }

  .dot {
    margin-bottom: 0.5em;
  }

  .smaller {
    margin: 0.2cm auto;
  }
}
