@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600&display=swap');

:root {
  
  --fs-xl: clamp(50px, 40px + 3vw, 100px);
  --fs-l: clamp(30px, 20px + 3vw, 80px);
  --fs-m: clamp(2rem, 5vw + 1rem, 2.8rem);
  --fs-sm: clamp(1.6rem, 4vw + 0.5rem, 2rem);
  --fs-s: clamp(16px, 20px - 0.5vw, 18px);
  --fs-xs: clamp(0.8rem, 4vw + 0.64rem, 0.88rem);
}


* {
  padding: 0;
  margin: 0;
  border: 0;
  list-style: none;
  box-sizing: border-box;
}

body, html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  padding: 10px 10px 0 10px;
  background-color: white;
}

p, a, ul, h4, h3, h2, h1, input {
  font-family: 'Archivo';
  font-weight: 500;
  line-height: 100%;
  text-align: left;
  color: black;
}

h1, h2, h3, h4 {-webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */}
 
p, a, input { font-size: var(--fs-s); font-weight: 400; line-height: 120%; }

a { text-decoration: none; }

h1 {  font-size: 120px; }

h2 {  font-size: var(--fs-l) }

h3 {  font-size: 50px; }

h4 {  font-size: 30px; }

.button {
  text-align: center;
  border-style: solid;
  border-width: 1px;
  padding: 0.5em;
  width: fit-content;
  cursor: pointer;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
} 

.button:hover {
  opacity: 0.5;
}

.header-placeholder{
  width: 100%;
  height: 6vh;
  margin-bottom: 5rem;
}

.nowrap { white-space: nowrap; }
.whitetext {color: white;}
.spacebetween {display: flex; justify-content: space-between;}
.spacearound {display: flex; justify-content: space-around;}
.align-center {align-items: center;}

header {
  width: calc(100% - 20px) ;
  height: 6vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom-style: solid;
  border-width: 1px;
  border-color:white; 
  position: fixed;
  z-index: 11;
  padding-bottom: 10px;
  mix-blend-mode: difference;
}

.header-left {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-right {
  width: calc(7em + 3vw);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.burger-menu {
  height: 50%;
  width: fit-content;
  position: absolute;
  right: 0;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
  display: none;
  cursor: pointer;
}

.burger-line {
  width: 50px;
  height: 1px;
  background-color: white;
} 

.menu-left {
  width: calc(7em + 3vw);
  display: flex;
  justify-content: space-between;
}

.menulink:hover {opacity: 0.5;}

.logo {height: 100%; margin-right: 3em;}
.logo img {height: 100%}

.mobile-menu {
  width: 100vw; height: 100%;
  background-color: white;
  position: fixed; top: -125vh; left: 0; z-index: 11;
  display: flex; flex-direction: column; justify-content: space-around; align-items: center;
  padding: 30px 0 60px 0;
  transition: 1s;
}

.mobile-menu.active {top: 0}

.cross {height: 50px; width: 50px; position: relative; margin-bottom: 60px; cursor: pointer;}

.cross-line {width: 100%; height: 1px;
  position: absolute; top: 50%; left: 50%;
  background-color: black;}

.cross-line:nth-child(1) {transform: translate(-50%, -50%) rotate(45deg);}
.cross-line:nth-child(2) {transform: translate(-50%, -50%) rotate(-45deg);}

.mobile-menu li a{font-size: 30px;}


section {
  position: relative;
  z-index: 5;
  height: 100vh;
  width: 100%;
}

@keyframes loading {
  from {width: 20vh; height: 20vh;}
  to {width: 12vh; height: 12vh;}
}

.loading {
  background-color: white;
  width: 100%;
  height: 100%;
  position: fixed;
  top:0;
  left:0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition-duration: 0.5s;
  transition-timing-function: ease-in-out;
}

.loading.inactive {
  opacity: 0;
}

.loading-logo {
  width: 20vh ;
  height: 20vh;
}

.loading-rect {
  position: absolute;
  background-color: white;
  width: 20vh;
  height: 20vh;
  transform: rotate(45deg);
  animation-name: loading;
  animation-duration: 2s; 
  animation-timing-function: ease-in-out;
}

.loading-rect.inactive {
  width: 10vh;
  height: 10vh;
}

.loading p { position: absolute; bottom: 10%; text-align: center; width: 100%;
animation-name: loadingp; animation-duration: 2s; animation-iteration-count: infinite;}

@keyframes loadingp {

  0% {opacity: 0}
  30% {opacity: 1}
  70% {opacity: 1}
  100% {opacity: 0}
}

.text-container {position: fixed; height: 100vh; width: 100vw;}
.under {z-index: -4;}
.over {z-index: 9}


.intro-text-container {display: flex; flex-direction: column; align-items: center;}
.intro-text-container h2 {max-width: 58%; text-align: center; margin-bottom: 3rem; font-size: clamp(40px, 20px + 3vw, 80px);}

.specta{
  width: 95%;
  text-align: center;
  position: absolute;
  top: 55%;
  transform: translateY(-125%);
  font-weight: 500;
  font-size: 20.5vw;
}

.description-block {position: absolute; top: 33%; width: 35%}

.description-title {margin-bottom: 20px;}

.description-block p {max-width: 80%;}

.all-devices {top: 10%; width: calc(100% - 20px);}
.all-devices h1 {text-align: center; font-size: var(--fs-xl); width: 100%; margin-bottom: 20px;}
.all-devices p {text-align: center; margin: auto;}

.app {left: 50%}


.buynow { width: 100%; display: flex; flex-direction: column; align-items: center; top: 79%}
.buynow .button {height: fit-content; margin: 1rem;}

.page::-webkit-scrollbar {
  display: none;
}

.page {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll; 
}

.sec0 {
  z-index: 9;
}

.videosec {background-color: red; width: 100vw;}

.sec3 {
  display: flex;
  position: relative;
  justify-content: space-around;
}

.sec4 h2 {
  max-width: 35%;
  margin-bottom: 2rem;
}

canvas {
  position: fixed;
  overflow: visible;
  top: 0;
  left: 0;
  z-index: -3;
  opacity: 1; 
  /* transition: 1s; */
}


.video-container {
  width: 100%;
  height: calc(100% - 7vh - 20px);
  padding: 0 10px;
  position: fixed;
  top: calc(7vh + 10px);
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
}

.video-scrub {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table-container {display: flex; margin: 10px 0}
.table-container p {width: 24vw;}

footer {
  border-top: solid 1px;
  margin-top: 60px;
  width: 100%;
  height: auto;
}

footer .divider {margin: 10px 0;}



@media only screen and (max-width: 768px) {

  .desktop-menu {display: none;}
  .burger-menu {display: flex;}

  .header-placeholder{ margin-bottom: 3rem;}
  .intro-text-container h2 {max-width: 90%; margin-bottom: 2rem;}

  .specta{
    top: 40%;
  }

  .video-container { background-color: rgba(255, 255, 255, 0)

  }

  .gradient {position: absolute; left: 0; height: 100%; width: 100%;
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 19%, rgba(255,255,255,1) 45%, rgba(255,255,255,1) 81%, rgba(255,255,255,0) 100%);
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .video-scrub {
    width: calc(100% - 20px);
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .description-block {top: 55%; width: calc(100% - 20px); left: 0;
    display: flex; flex-direction: column; align-items: center;}
  .description-title {text-align: center;}
  .description-block p {text-align: center;}

  .all-devices {top: 10%}
  .all-devices h1 {font-size: var(--fs-l);}

  
  .buynow { top: 70% }

  footer .table-container p { font-size: 12px; width: 50%;}
  footer .table-container a { font-size: 12px; width: 50%;}
  footer .divider { margin: 0;}
  footer .table-container { margin: 10px 0; }

}

.divider {width: 100%; height: 0.7px; background-color:black; margin: 2rem 0}
