.header{
    position: relative;
    top:-8px;
    left:-10px;
    width: 101%;
    height: 260px;
    background: rgba(7, 3, 255,1);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  }
  .header .background {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(media/BACKGROUND.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;

  }
  .header .logo {
    position:absolute;
    margin-top: 45px;
    left:50%;
    margin-left: -160px;
    width: 320px;
    height: 140px;
    opacity: 1;
    z-index: 2;
  }
  .header .nav {
    justify-content: center;
    position:sticky;
    top: 280px;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.23)

  }
  .header .nav .nav-links a {
    color: rgb(255, 255, 255);
    font-family: sans-serif;
    font-weight: 550;
    padding: 14px 120px;
    text-decoration: none;
    display: block;
  }
  .header .nav a:hover {
    background-color: #ffffff;
    color:rgba(4, 0, 255, 1);
    transition: all 0.3s;
    border-radius: 15px;

  }
  .header .menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    padding: 14px 20px;
    cursor: pointer;
    display: none;
  }
  .header .nav-links {
    list-style:none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    z-index: 1;
  }

* {box-sizing:border-box}
/* Slideshow container */
.slideshow-container {
  width: 95%;
  max-width: 50%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  margin-top:2%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  display: none;
  position: relative;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 15px 0 0 15px;
}

.prev {
   border-radius: 0 15px 15px 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color:#000b70;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  font-family: Verdana;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
@media (max-width: 768px) {
    .header .logo{
    position:absolute;
    margin-top: 45px;
    left:90%;
    width: 160px;
    height: 70px;
    opacity: 1;
    z-index: 2;
    }
    
    .header .menu-toggle {
        display: block; 
    }

    .header .nav-links {
        flex-direction: column;
        display: none;
        background-color: rgba(0, 0, 0, 0.23)
    }
    
    .header .nav-links.active {
        display: inline-block;
        background-color: rgba(0, 0, 0, 0.23)
    }

}

@media (max-width: 410px) {
    .body {
    height: 600px;
    width: 410px;
    }
    .header {
      width: 410px;
    }
    .header .logo{
    position:absolute;
    margin-top: 45px;
    left:99%;
    width: 120px;
    height: 50px;
    opacity: 1;
    z-index: 2;
    }
  .slideshow-container {
    width: 95vw;
    max-width: 340px;
    margin: 0 auto;
    padding: .5rem;
    box-sizing: border-box;
  }

  .mySlides {
    margin-top: 5%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    width: 100%;
    height: auto;
  }

  .prev, .next {
    font-size: 16px;
    padding: -12px;
    z-index: 2;
  }
.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #000b70;
  border: 1px solid #000b70;
}

  .text {
    font-size: 13px;
    padding: 6px 10px;
  }

  .numbertext {
    font-size: 10px;
    padding: 6px 10px;
  }

  .dot {
    height: 12px;
    width: 12px;
  }
}
@media (max-width: 360px) {
    .body {
    height: 600px;
    width: 320px;
    }
    .header {
      width: 360px;
    }
    .header .logo{
    position:absolute;
    margin-top: 45px;
    left:99%;
    width: 120px;
    height: 50px;
    opacity: 1;
    z-index: 2;
    }
  .slideshow-container {
    width: 95vw;
    max-width: 340px;
    margin: 0 auto;
    padding: .5rem;
    box-sizing: border-box;
  }

  .mySlides {
    margin-top: 5%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    width: 100%;
    height: auto;
  }

  .prev, .next {
    font-size: 16px;
    padding: -12px;
    z-index: 2;
  }
.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #000b70;
  border: 1px solid #000b70;
}

  .text {
    font-size: 13px;
    padding: 6px 10px;
  }

  .numbertext {
    font-size: 10px;
    padding: 6px 10px;
  }

  .dot {
    height: 12px;
    width: 12px;
  }
}
