/* FONTS
-----------------------------------------------------------------------------------------------*/
@font-face {
  font-family: "Raleway";
  font-display: swap;
  src: url('../fonts/Raleway-Regular.ttf');
}

/* GENERAL
-----------------------------------------------------------------------------------------------*/
html, body {
  height: 100%;
  margin: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Raleway", sans-serif;
  align-items: center;
}
main {
  background-image: url('../../img/gvs-landing-background.jpg');
  background-size: cover;
  background-position: center;
  height: calc(100% - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
main:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(59, 66, 72, 0.5);
  z-index: 2;
}

/* VIDEO
-----------------------------------------------------------------------------------------------*/
#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 1;
}
#background-video video {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

/* WHITE BOX
-----------------------------------------------------------------------------------------------*/
.logo {
  z-index: 2;
  width: 9em;
  height: 4.7em;
  margin: 0 auto;
}
.logo img,
.popup-logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
#headline {
  margin: 16px 0;
}
#headline,
span.times {
  font-size: 0.99em;
}

/* COUNTDOWN
-----------------------------------------------------------------------------------------------*/
.container {
  color: #3B4248;
  margin: 0 auto;
  text-align: center;
  position: relative;
  max-height: 75vh;
  background-color: rgb(255 255 255 / 90%);
  box-shadow: 0 2em 6.6em rgb(0 0 0 / 50%);
  max-width: max-content;
  padding: 3.6em 5.2em;
  z-index: 3;
}
#countdown li {
  display: inline-block;
  list-style-type: none;
  padding: 0 1.5em;
}
#countdown li .numbers {
  display: block;
  font-size: 2.12em;
}

/* FOOTER
---------------------------------------------*/
footer {
  width: 100%;
  z-index: 2;
  position: relative;
  background-color: #3b4248;
  padding: 28px 120px;
  display: flex;
  align-items: center;
}
small,
small ul li {
  display: flex;
}
small {
  flex-grow: 1;
  justify-content: center;
}
small * {
  color: #fff;
  font-size: 14px;
}
small ul li {
  list-style: none;
}
body>footer small .vat-number:before,
body>footer small ul li:before {
  content: "|";
  margin: 0 10px;
  display: inline-block;
}
.show-popup-button {
  cursor: pointer;
}
.show-popup-button:hover {
  text-decoration: underline !important;
}

/* POPUP
-------------------------------------------------------------*/
.popup-logo {
  width: 8.75em;
  height: 4.65em;
  margin: 0 auto;
}
.standard-popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(59,66,72,.5);
  overscroll-behavior: none;
  transition: all .3s ease-out;
  transition-property: visibility,opacity,transform;;
}
.standard-popup.company-info:not(.popup-visible) {
  visibility: hidden;
  opacity: 0;
  transform: none;
}
.standard-popup.company-info:not(.popup-visible)>* {
  transform: scale(.8);
}
.standard-popup.company-info>* {
  position: relative;
  margin: 0 60px;
  max-height: 75vh;
  overflow-y: auto;
  background-color: #fff;
  box-shadow: 0 2em 6.6em rgb(0 0 0 / 50%);
  transition: transform .3s;
}
.standard-popup.company-info article {
  max-width: max-content;
  padding: 4.5em 6.5em;
  display: flex;
  flex-direction: column;
}
.standard-popup.company-info article .editorjs-container {
  font-size: 1.2em;
  margin: 1em 0 0;
  text-align: center;
}
.editorjs-container p:first-child {
  margin-bottom: 24px;
}
.editorjs-container p {
  font-size: 20px;
  line-height: 1.45;
}
.standard-popup .hide-popup-button:after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
.standard-popup .hide-popup-button:before {
  transform: translate(-50%,-50%) rotate(45deg);
}
.standard-popup .hide-popup-button:after,
.standard-popup .hide-popup-button:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.767766953rem;
  height: 1px;
  background-color: #3b4248;
}
.standard-popup.company-info article .hide-popup-button {
  position: absolute;
  width: 2.25rem;
  height: 2.25rem;
  top: 1.5em;
  right: 1.5em;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: unset;
  font-weight: inherit;
  color: inherit;
  appearance: none;
  cursor: pointer;
}

/*---------------------------------------------------------
-----------------------------------------------------------
-----------------------MEDIA QUERY------------------------- 
-----------------------------------------------------------
-----------------------------------------------------------*/
@media screen and (max-width: 1366px) {
  main {
      height: calc(100% - 63px);
  }
  .container {
      padding: 2.9em 4.16em;
  }
  .logo {
    width: 130px;
    height: 70px;
  }
  #headline,
  span.times,
  .editorjs-container p {
      font-size: 14.5px;
  }
  #countdown li {
      padding: 0 1.2em;
  }
  #countdown li .numbers {
      display: block;
      font-size: 1.7em;
  }
  .popup-logo {
    width: 128px;
    height: 64px;
  }
  footer {
      padding: 24px 60px;
  }
  small * {
      font-size: 13px;
  }
}

@media screen and (max-width: 1024px) {
  main {
    height: calc(100% - 75px);
  }
  .container {
      padding: 2.32em 3.33em;
  }
  .logo {
    width: 115px;
    height: 60px;
  }
  #headline, span.times,
  .editorjs-container p {
      font-size: 14px;
  }
  #countdown li .numbers {
      font-size: 26px;
  }
  #countdown li {
    padding: 0 1em;
  }
  #countdown li .numbers {
    margin-bottom: 3px;
  }
  #headline {
      margin: 14px 0;
  }
  .popup-logo {
    width: 115px;
    height: 58px;
  }
  .standard-popup.company-info article {
    padding: 4em 3em;
  }
  .standard-popup.company-info>* {
    margin: 0 50px;
  }
  footer {
    display: block;
  }
  footer {
    padding: 30px 60px;
  }
  small {
    display: flex;
    width: 100%;
    flex-grow: unset;
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  main {
    height: calc(100% - 95px);
  }
  .container {
    padding: 35px 20px;
    width: 88%;
    max-width: unset;
  }
  #countdown li {
    padding: 0 10px;
  }
  #headline, span.times,
  .editorjs-container p {
    font-size: 13.5px;
  }
  #countdown li .numbers {
    font-size: 24px;
  }
  .logo {
    width: 100px;
    height: 50px;
  }
  .popup-logo {
    width: 106px;
    height: 55px;
  }
  small > * {
    display: block;
  }
  small {
    flex-flow: wrap;
  }
  body>footer small ul li:before {
    display: none;
  }
  small ul {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
  }
  footer {
    padding: 25px;
  }
  .footer-logo img {
    width: 85px;
    height: 42px;
  }

  .standard-popup.company-info article {
    padding: 45px 30px;
    margin: 0 10px;
  }

}

@media screen and (max-width: 850px) and (orientation:landscape) {
  small ul {
    margin-top: 0;
    width: auto !important;
  }
  li.company-info-with-popup:before {
    display: block;
  }
  footer {
    padding: 25px;
  }
  main {
    height: calc(100% - 55px);
  }
  .container {
    width: auto;
    max-width: max-content;
    padding: 28px 45px;
  }
  #countdown li {
    padding: 0 15px;
  }
  .footer-logo img {
    width: 80px;
    height: 40px;
    margin-bottom: 13px;
  }
  footer {
    padding: 20px;
  }
}


@media screen and (max-width: 325px) {
  main {
      height: calc(100% - 93px);
  }
  #countdown li {
      padding: 0 6px;
  }
  #countdown li .numbers {
      font-size: 21px;
  }
  #headline,
  span.times,
  .editorjs-container p {
      font-size: 13px;
  }
  .logo {
      width: 90px;
      height: 45px;
  }
  footer {
      padding: 25px 15px;
  }
  small * {
      font-size: 11.5px;
  }
  .popup-logo {
      width: 95px;
      height: 48px;
  }
  .standard-popup.company-info article {
      padding: 30px 25px;
  }
  .standard-popup.company-info article .hide-popup-button {
      top: 0.5em;
      right: 0.5em;
  }
  .standard-popup .hide-popup-button:after,
  .standard-popup .hide-popup-button:before {
      width: 1.5rem;
  }
}