body {
  background-color: white;
  color: black;
  margin: 0px;
  height: 100%;
}

#alert {
  background-image: url(../img/aurora-alert.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  margin: 0;
}

#changtang {
  background-image: url(../img/changtang-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  margin: 0;
}

#easter {
  background-image: url(../img/easter1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  margin: 0;
}

#svalbard {
  background-image: url(../img/svalbard5.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 20px;
  background-color: black;
}

.desktop-nav {
  display: none;
}

.menu-item {
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  color: white;
  margin: 0 auto;

}

.logo {
  max-width: 70px;
}

/* slide show */

.slide-show {
  overflow: hidden;
  width: 50%;
}


.slide-show img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  position: absolute;

}


.slide-item {
  display: none;
}

.center-text {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 55px;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
}

.next-button {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 20px;
  position: absolute;
  top: 58%;
  left: 49%;
  transform: translate(-50%, -50%);
  background-color: black;
  width: 20%;
  margin: 20px;
}

.next-button a {
  text-decoration: none;
  color: white;
}

section h1 {
  margin-top: 650px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 35px;
}

section p {
  margin: 50px;
  font-family: "Esteban", serif;
  text-align: center;
  font-size: 24px;
}

/* place profiles */

.profiles {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  justify-content: flex-start;
  padding-top: 55px;
}

.place-profile {
  flex: 50%;
  position: relative;
  width: 50%;
}

.place-profile img {
  float: left;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: "Esteban", serif;
}

.overlay2 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: black;
}

.place-profile:hover .overlay2 {
  opacity: 1;
}


.alert-main-header {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 45px;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 90%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.easter-main-header {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 45px;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 90%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.changtang-main-header {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 45px;
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  width: 90%;
  text-shadow: 2px 2px 4px white;

}


.svalbard-main-header {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 45px;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  width: 90%;
  text-shadow: 2px 2px 4px white;
}

.place-main-text {
  text-align: center;
  font-family: "Esteban", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 30px;
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  width: 90%;
  background-color: white;
}


.place-main-text2 {
  text-align: center;
  font-family: "Esteban", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 30px;
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 90%;
  background-color: black;

}

.place-video {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.place-video iframe {
  width: 400px;
  height: 300px;
}


/* hamburger menu  from w3 schools */

.overlay {
  font-family: "Montserrat", sans-serif;
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: white;
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.mobile-nav {
  padding: 10px;
}

@media screen and (min-width:1081px) {
  .mobile-nav {
    display: none;
  }

  /*Show the desktop nav*/
  .desktop-nav {
    display: flex;
  }

  .place-video iframe {
    width: 940px;
    height: 450px;
  }

  .place-video {
    top: 100%;
    left: 50%;
  }

}

/* ipad */
@media screen and (min-width:926px) and (max-width: 1080px) {

  /*Hide the mobile nav once the screen is 1081 pixels wide*/
  .mobile-nav {
    display: none;
  }

  /*Show the desktop nav*/
  .desktop-nav {
    display: flex;
  }

  .profiles {
    padding-top: 55px;
  }

  .place-main-text {
    font-size: 28px;
  }

  .place-main-text2 {
    font-size: 28px;
  }

  .alert-main-header {
    font-size: 40px;
    width: 800px;
  }

  .place-video iframe {
    width: 800px;
    height: 390px;
  }

  .place-video {
    top: 100%;
    left: 50%;
  }

}

/* iphone */

@media screen and (max-width: 926px) {

  section h1 {
    margin-top: 400px;
  }

  .slide-show {
    height: 250px;
  }

  .center-text {
    top: 40%;
    left: 50%;
  }

  .profiles {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-top: 1px;

  }

  .place-profile {
    flex: 50%;
    position: relative;
    width: 100%;

  }

  #hero-image-alert {
    height: 70vh;
    /* Set a fixed height for desktop view */
  }

  .next-button {
    top: 60%;
    /* Adjust this value as needed */
    left: 50%;
    width: 20%;

  }

  .easter-main-header {
    top: 25%;
    left: 50%;
  }

  #hero-image-easter-island {
    height: 70vh;
    /* Set a fixed height for desktop view */
  }

  #hero-image-changtang {
    height: 70vh;
    /* Set a fixed height for desktop view */
  }

  #hero-image-svalbard {
    height: 70vh;
    /* Set a fixed height for desktop view */
  }

  .place-main-text {
    font-size: 24px;
  }

  .place-main-text2 {
    font-size: 24px;
  }

  .place-video iframe {
    width: 800px;
    height: 500px;
  }

  .place-video {
    top: 105%;
    left: 50%;

  }

}

@media screen and (min-width: 200px) and (max-width: 700px) {

  section h1 {
    margin-top: 400px;
  }

  .slide-show {
    height: 250px;
  }

  .center-text {
    top: 40%;
    left: 50%;
  }

  .profiles {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-top: 1px;

  }

  .place-profile {
    flex: 50%;
    position: relative;
    width: 100%;

  }

  #hero-image-alert {
    height: 70vh;
    /* Set a fixed height for desktop view */
  }

  .next-button {
    top: 60%;
    /* Adjust this value as needed */
    left: 50%;
    width: 20%;

  }

  .easter-main-header {
    top: 25%;
    left: 50%;
  }

  #hero-image-easter-island {
    height: 70vh;
    /* Set a fixed height for desktop view */
  }

  #hero-image-changtang {
    height: 70vh;
    /* Set a fixed height for desktop view */
  }

  #hero-image-svalbard {
    height: 70vh;
    /* Set a fixed height for desktop view */
  }

  .place-main-text {
    font-size: 16px;
    top: 50%;
    left: 50%;
  }

  .place-main-text2 {
    font-size: 16px;
    top: 50%;
    left: 50%;
  }

  .alert-main-header {
    font-size: 31px;
    width: 400px;
  }

  .changtang-main-header {
    font-size: 30px;
    top: 26%;
    left: 50%;
  }

  .easter-main-header {
    font-size: 30px;
    top: 25%;
    left: 50%;
  }

  .svalbard-main-header {
    font-size: 30px;
    top: 28%;
    left: 50%;
    width: 400px;
  }

  .next-button {
    top: 68%;
    /* Adjust this value as needed */
    left: 46%;
    width: 30%;
  }

  .place-video iframe {
    width: 350px;
    height: 250px;
  }

  .place-video {
    top: 90%;
    left: 50%;

  }

}


@media screen and (min-width: 700px)and (max-width: 800px) {
  .next-button {
    top: 68%;
    /* Adjust this value as needed */
    left: 46%;
    width: 30%;
  }

  .place-main-text {
    font-size: 20px;
    top: 50%;
    left: 50%;
  }

  .place-main-text2 {
    font-size: 20px;
    top: 50%;
    left: 50%;
  }

  .changtang-main-header {
    font-size: 35px;
    top: 25%;
    left: 50%;
    width: 700px;
  }

  .alert-main-header {
    font-size: 35px;
    top: 25%;
    left: 50%;
    width: 700px;
  }

  .easter-main-header {
    font-size: 35px;
    top: 25%;
    left: 50%;
    width: 700px;
  }

  .svalbard-main-header {
    font-size: 35px;
    top: 25%;
    left: 50%;
    width: 700px;
  }

  .place-video iframe {
    width: 600px;
    height: 400px;
  }

  .place-video {
    top: 95%;
    left: 50%;
  }


}