@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

#rhinoTour {
  position: relative;
  --width: 1200;
  --scaling: calc(var(--width) / 1920);
  width: calc(1px * var(--width));
}

#backgroundVideo {
  width: 100%;
}

#videoPlayer {
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 2000;
  display: none;
}

#selectedVideo {
  width: 100%;
}

#closeVideo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: calc(60px * var(--scaling));
  height: calc(56px * var(--scaling));
  background-image: url("./content/close.svg");
  background-size: cover; /* Scales the image to cover the entire container */
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.hotspot {
  width: calc(226px * var(--scaling));
  height: calc(226px * var(--scaling));
  position: absolute;
  left: calc(var(--left) * var(--scaling));
  top: calc(var(--top) * var(--scaling));
  background-image: url("./content/hotspot.png");
  background-size: cover; /* Scales the image to cover the entire container */
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s;
}

.hotspot:hover {
  width: calc(300px * var(--scaling));
  height: calc(300px * var(--scaling));
}

#videoPreview {
  z-index: 3000;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: #dab24b;
  --previewidth: calc(var(--width) * 0.5);
  width: calc(1px * var(--previewidth));
  position: absolute;
  background-color: white;
  top: 100px;
  left: calc((var(--width) - var(--previewidth)) / 2 * 1px);
  padding: 10px 20px;
  border-radius: 10px;
  display: none;
}
#videoPreviewTitleContainer {
  display: flex;
}
#videoPreviewTitle {
  flex: 1;
}
#closeVideoPreview {
  width: calc(60px * var(--scaling));
  height: calc(56px * var(--scaling));
  background-image: url("./content/close.svg");
  background-size: cover; /* Scales the image to cover the entire container */
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

#videoPreviewImageContainer {
  margin-top: 12px;
  border: none;
  outline: none;
  padding: 0px;
  cursor: pointer;
  position: relative;
}

#videoPreviewImageContainer img {
  width: 100%;
  box-shadow: 10px 10px 10px #dfdfdf;
}

#videoPreviewImageContainer svg {
  position: absolute;
  width: 60px;
  top: 100px;
  left: calc((var(--previewidth) - 60) / 2 * 1px);
}
