* {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background-color: black;
  font-family: 'LibreFranklin';
}

#container {
  position: absolute;
}

.portrait #container {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* CANVAS AND VIDEO */
#backgroundVideoCanvas {
  position: absolute;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  z-index: 1;
}

#backgroundVideo {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* OVERLAYS */
#infoWindowOverlay {
  display: block;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 4;
}

/* BUTTONS */
#returnButton {
  visibility: hidden;
  display: block;
  opacity: 0;
  transition: opacity 0.3s linear;
  position: absolute;
  width: auto;
  height: 50px;
  /*left: 25px;
  top: 25px;*/
  left: 0;
  top: 50%;  
  transform: translate(0%, -50%);
  cursor: pointer;
  z-index: 4;
}

/* INFO WINDOW */
.infoWindow {
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 888px;
  height: 444px;
  padding-top: 62px;
  padding-left: 34px;
  padding-right: 34px;
  padding-bottom: 34px;
  border-radius: 12px;
  background-color: white;
  z-index: 4;
}

.infoWindowLeft {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.infoWindowRight {
  position: relative;
  display: flex;
  flex: 1;
  background-color: #f4f4f4;
  align-items: center;
  justify-content: center;
}

.infoWindowRight img {
  position: relative;
  width: 100%;
  height: auto;
}

.infoWindowCloseContainer {
  position: absolute;
  display: flex;
  height: 60px;
  top: 0;
  right: 0;
  padding-right: 20px;
  padding-left: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.infoWindowClose {
  height: 20px;
  width: auto;
}

.infoWindowTitle {
  position: relative;
  margin-right: 34px;
  padding-bottom: 12px;
  font-size: 25.5px;
  line-height: 1;
  font-weight: bold;
  color: #c10230;
}

.infoWindowSubtitle {
  position: relative;
  margin-right: 34px;
  padding-bottom: 26px;
  font-size: 18px;
  font-weight: bold;
  color: #63666A;
}

.infoWindowSubtitle::after{
  content: "";
  display: block;
  width: 33.33%;
  height: 4%;
  background: #c10230;
  margin-top: 3%;
}

.infoWindowDescription {
  position: relative;
  margin-right: 34px;
  font-size: 16px;
  color: #63666A;
}

.infoWindowDescription p {
  margin-block-end: 0px;
  margin-block-start: 0px;
}

.infoWindowIcon {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  background: none;
  border: none;
  color: #63666A;
  cursor: pointer;
}

.infoWindowIcon img {
  width: 24px;
  height: auto;
}

.datasheet {
  bottom: 138px;
}

.contact {
  bottom: 99px;
}

.productPage {
  position: absolute;
  background-color: #c10230;
  color: white;
  border: none;
  width: 175px;
  height: 34px;
  left: 34px;
  bottom: 34px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* HOTSPOTS */
.hotspot {
  visibility: hidden;
  display: block;
  opacity: 0;
  transition: opacity 0.3s linear;
  position: absolute;
  width: 25px;
  height: 25px;
  cursor: pointer;
  z-index: 3;
}

.infoHotspot {
  background-image: url('../icons/Info2.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.dot {
  background-image: url('../icons/hotspotDot.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.dot:hover {
  background-image: url('../icons/hotspotPlus.png');
}

.highlight-frame {
  position: absolute;
  opacity: 1;
  /*background-color: black;*/
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  text-align: center;
  padding: 11px 16px;
  width: max-content;
  font-size: 18px;
  font-weight: 300;
  border-radius: 4px;
  transition: opacity 0.3s linear;
  pointer-events: none;
}

.hotspot:hover .highlight-frame {
  opacity: 1;
}

.opacity {
  opacity: 1 !important;
}

.frame-left {
  right: 100%;
  top: 100%;
}

.frame-right {
  left: 100%;
  top: 100%;
}

.highlight-point {
  position: absolute;
  box-shadow: 0 0 0 0 rgba(193, 2, 48, 0.9);
  border-radius: 50%;
  /*border: solid 15px rgba(193, 2, 48, 0.55);*/
  animation: pulse 1.2s infinite cubic-bezier(0.22, 0.44, 0.66, 1);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 0.5vw rgba(193, 2, 48, 0.7);
    }

    0% {
        width: 40%;
        height: 40%;
    }

    100% {
        width: 100%;
        height: 100%;
        opacity: 0.25;
    }
}