@font-face {
  font-family: 'Barlow Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow Regular'), url('../fonts/Barlow-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Barlow Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow Medium'), url('../fonts/Barlow-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Barlow SemiBold';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow SemiBold'), url('../fonts/Barlow-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Barlow Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow Bold'), url('../fonts/Barlow-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Regular'), url('../fonts/AvenirNextLTPro-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Bold'), url('../fonts/AvenirNextLTPro-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Demi';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Demi'), url('../fonts/AvenirNextLTPro-Demi.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Medium'), url('../fonts/AvenirNextLTPro-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Medium Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Medium Italic'), url('../fonts/AvenirNextLTPro-MediumIt.woff') format('woff');
}

p {
  margin-bottom: 0.7rem;
}

body {
  font-family: 'Avenir Next LT Pro Regular' !important;
  background-color: #dcdadc;
  background-size: cover;
  overflow: hidden;
}

body,
html {
  height: 100%;
  margin: 0;
}

#main {
  height: 100%;
}

#header {
  position: absolute;
  display: inline-block;
  top: 35px;
  right: 20px;
  z-index: 100;
}

#title {
  font-family: 'Barlow Medium';
  font-size: 1.8rem;
  background: -webkit-linear-gradient(45deg, #ce163f, #fe7001);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-title {
  position: fixed;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 88px;
  z-index: 10;
}

.page-title .col-left {
  background: url('../img/title-l.png') no-repeat left top;
  width: 96px;
  width: 95px;
  height: 100%;
}

.page-title .col-right {
  background: url('../img/title-r.png') no-repeat left top;
  width: 96px;
  min-width: 88px;
  height: 100%;
}

.col-title {
  background: url('../img/title-bg.png') repeat-x left top;
  height: 100%;
  flex-grow: 6;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-title sub {
  position: relative;
  font-size: .75em;
  line-height: 0;
  vertical-align: baseline;
  bottom: -0.25em;
}

.page-title-menu-items .col-left {
  background: url('../img/title-l.png') no-repeat left top;
  width: 96px;
  width: 95px;
  height: 70%;
}

.page-title-menu-items .col-right {
  background: url('../img/title-r.png') no-repeat left top;
  width: 96px;
  min-width: 88px;
  height: 70%;
}

.col-title-menu-items {
  background: url('../img/title-bg.png') repeat-x left top;
  height: 70%;
  flex-grow: 6;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.application-status-title {
  position: absolute;
  top: 20px;
  right: -220px;
  width: 297px;
  height: 68px;
  background: url('../img/red-alert.png') no-repeat;
}

#home-page-video {
  position: fixed;
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hotspot {
  display: inline-block;
  position: absolute;
}

.item{
  max-width: 299px;
  width: 14%;
  min-height: 5rem;
  background: rgb(200, 37, 76, 0.9);
  font-family: 'Barlow Regular';
  font-size: 1.2rem;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 15px 20px;
  letter-spacing: 1px;
  line-height: 20px;
  display: flex;
  text-align: center;
  align-items: center;
  color: #fff;
}

.item span{
  margin: auto;
}

#main-menu {
  position: absolute;
  left: 0;
  top: 38%;
  background: url('../img/menu-background.png') no-repeat;
  width: 184px;
  height: 255px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
}

.main-menu-button {
  font-family: 'Barlow Regular';
    font-size: .9rem;
    color: white;
    min-width: 11vh;
    max-width: 13vh;
    height: 5.5vh;
    background: linear-gradient(to bottom, rgb(157, 158, 158) 0%, rgb(135, 139, 138) 21%, rgb(108, 110, 110) 82%, rgb(92, 94, 93) 100%);
    cursor: pointer;
    border-radius: 16px;
    display: flex;
    line-height: 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: solid 1px white;
    padding: 1.5rem 4rem;
    box-shadow: 1px 2px 7.36px 0.64px rgba(0, 0, 0, 0.5);
}

.main-menu-button-active {
  background: linear-gradient(to top, rgb(138, 15, 42) 0%, rgb(197, 21, 61) 21%, rgb(232, 60, 88) 82%, rgb(254, 120, 133) 100%);
}

.architecture-schematic {
  width: 100%;
  height: 100vh;
}

.gif-dot-active {
  width: 100%;
  height: auto;
} 

.electrolizer-schematic {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.back-btn {
  background-color: #666666;
  box-shadow: inset 0px 0px 6px rgb(69 69 69 / 90%);
  width: 100px;
  height: 54px;
  position: absolute;
  left: 20px;
  border-radius: 0px 0 5px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: white;
  font-size: 18px;
  padding: 10px;
}

#system-page {
  background-color: #828484;
}

.system-schematic {
  width: 100vw;
    height: 100vh;
    /* object-fit: cover; */
    padding: 50px 0;
}