html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  width: 100%;
  background-size: 100% 100%;
  place-content: center;
  background-image: url("./bg.jpg");
  background-position: top center;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}

.header {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;    
  flex-direction: column;
  aspect-ratio: 5/2;
}

.header video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.videobuttons {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
}

.videobuttons button {
  width: 5%;
  background-color: rgba(255, 255, 255, 0);
  margin-top: 0.2%;
  aspect-ratio: 4/31;
  border: 0;
}

.videobuttons button:hover {
  cursor: pointer;
}

.videobuttons button img {
  width: 100%;
  max-width: 20px;
}

.menu {
  margin-top: -20px;
  background-image: url("./menu.png");
  background-size: 100% 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: center;
}

.logowhite {
  max-width: 50%;
  aspect-ratio: 4/1;
  margin: -20px;
  margin-bottom: -25px;
}

.menu-button {
  margin-top: 20px;
  margin-right: 5%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 30px;
}

.menu-button a {
  color: white;
  margin-left: 20px;
}

.menu-button img{
  width: 100%;
  max-width: 150px;
}

video {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.link {
  padding-left: 10%;
  padding-right: 10%;
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
}

.link img {
  width: 50%;
}

.contact {
  align-items: center;
  text-align: center;
}

.wdlogo {
  width: 50%;
  max-width: 150px;
}

.footer {
  font-size: 20px;
  align-items: center;
  display: flex;
  flex-direction: column;
}

#imagePreview{
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0;
  padding-top: 50PX;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.87);
  z-index: 2;
}

#imagePreviewClose{
  position: fixed;
  top: 0;
  right: 1%;
  font-size: 30px;
  background-color: rgba(255, 255, 255, 0.493);
  z-index: 3;
}

#imagePreviewImg{
  position: absolute;
  width: 100%;
  cursor: grab;
  -webkit-user-drag: none; /* Safari */
  -khtml-user-drag: none; /* Konqueror HTML */
  -moz-user-drag: none; /* Firefox */
  -o-user-drag: none; /* Opera */
}
p{
  text-shadow:
      -1px -1px 0 #FFF,
      1px -1px 0 #FFF,
      -1px 1px 0 #FFF,
      1px 1px 0 #FFF;
}


@media only screen and (max-width: 800px) {
  body {
    background-image: url("./bgmobile.jpg");
  }
  .menu-button{
    max-width: 400px;
  }

  .content {
    width: 100%;
    margin: 0;
  }
  .wdlogo {
    width: 50px;
  }
  .contact,
  .copy {
    font-size: 20px;
    max-width: 400px;
  }
  .link {
    flex-wrap: wrap;
  }
  .link img {
    margin-left: 15%;
  }
  .menu-title a {
    font-size: 12px;
    margin-left: 20px;
  }
  .logowhite {
    max-width: 80%;
    max-height: 100px;
    margin-top: -50px;
    margin-right: -50%;
    margin-left: -60px;
    margin-bottom: -50px;
  }
  .footer iframe {
    max-height: 300px;
  }
}
