
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Helvetica Neue', Helvetice Neue, 'Helvetica', Helvetica, Arial, sans-serif;
  background-color: black;
}

.instruction {
  display: block;
  position: absolute;
  top: 10%; 
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 200; 
  color: white;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 10px; 
  color: white;
  transition: opacity 0.25s ease-out;
  opacity: 0;  
  pointer-events: none; 
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-images img:first-child {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: black;
  z-index: 2;
  opacity: 0.25;
  transition: opacity 0.5s ease; 
}

.overlay:active {
  opacity: 0; 
  transition: opacity 0.5s ease; 
}

.overlay:active > .title {opacity: 0;}

.button {
  font-weight: 800; 
  color: white;
  text-transform: uppercase;
  padding: 16px 16px 16px 24px;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 16px; 
  z-index: 4;
  text-decoration: none;
  font-weight: 200;
  text-align: center;
  letter-spacing: 8px;
  vertical-align: middle;
  transition: background-color 0.25s ease-out;
}

.button:hover {
  background-color: rgba(0, 0, 0, 1);
}

.button1 {
  margin-right: 12px;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  padding: 20px;
  transition: opacity 0.5s ease; 
}

.title {
  display: block;
  font-weight: 800; 
  color: white;
  text-transform: uppercase;
  font-size: 30px; 
  letter-spacing: 15px;
  margin-bottom: 30px;
}


.intro {
  display: block;
  font-weight: 200; 
  color: white;
  text-transform: uppercase;
  font-size: 20px; 
  letter-spacing: 10px;
  margin-bottom: 60px;
}

.desktop {
  display: block;
}

.mobile {
  display: none;
}

 #videoOverlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9990;
  }

  #videoContainer {
    width: 960px;
    height: 540px;
    box-shadow: 0 0 96px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    position: relative;
  }

  video {
    width: 960px;
    height: 540px;
  }

  #closeVideoBtn {
    position: absolute;
    display: block;
    background: rgba(0, 0, 0, 0.25);
    color: white;
    border: none;
    font-size: 32px;
    line-height: 32px;
    vertical-align: middle;
    right: 24px;
    top: 24px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10000;
    transition: background 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
    padding: 0;
  }

  #closeVideoBtn:hover {
    background: rgba(0, 0, 0, 0.8);
  }

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

  .title {
    font-size: 14px; 
    letter-spacing: 7px;
    margin-bottom: 24px;
  }


  .intro {
    display: block;
    font-size: 9px; 
    letter-spacing:4px;
    margin-bottom: 30px;
  }

  .button {
    padding: 12px 12px 12px 18px;
    font-size: 9px; 
    z-index: 4;
    text-decoration: none;
    font-weight: 200;
    text-align: center;
    letter-spacing: 4px;
    vertical-align: middle;
    transition: background-color 0.25s ease-out;
  }

  .instruction {
    font-size: 12px;
    letter-spacing: 6px; 
    pointer-events: none; 
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .button1 {
    margin-right: 6px;
  }

  #videoContainer {
    width: 100%;
    height: auto;
    margin: 48px;
  }

  video {
    width: 100%;
    height: auto;
  }

  #closeVideoBtn {
    right: 12px;
    top: 12px;
    background: rgba(0, 0, 0, 0);
  }

  #closeVideoBtn:hover {
    background: rgba(0, 0, 0, 0);
  }

}