h2, h3, h4 {
  margin: 0;
  line-height: auto;
  margin-bottom: 1%;
}

h2{
  font-size: 3rem;
}
h3{
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h4 {
  font-size: .8rem;
}
p{
  font-size: .6rem;
  font-weight: lighter;
}

h5 {
  font-weight: normal;
  margin: 0;
  line-height: 1.2;
  width: 45vw;
}


.loader{
  position: fixed;
  z-index: 100;
  background-color: #0A070D;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.loader-text{
  border: 0 solid transparent;
  border-radius: 50%;
  width: 100%;
  height: 150px;
  position: absolute;
  top: 50vh;
  text-align: center;
  font-size: 18px;
  color: whitesmoke;
}

.loop{
  border: 0 solid transparent;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  position: absolute;
  top: calc(50vh - 75px);
  left: calc(50vw - 85px);
  text-align: center;
  align-items: center;
}
.loop::before, .loop::after{
  content: '';
  position: absolute;
  border: 1em solid whitesmoke;
  border-radius: 50%;
  width: inherit;
  height: inherit;
  top: 0;
  left: 0;
  animation: loop 2s linear infinite;
  opacity: 0;
}
.loop::before{
  animation-delay: .5s;
}

@keyframes loop {
  0%{
    transform: scale(0);
    opacity: 0;
  }
  40%{
    opacity: 1;
  }
  100%{
    transform: scale(1);
    opacity: 0;
  }
}


.container {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  vertical-align: center;
  color: whitesmoke;
  max-width: 40vw;
  height: 60%;
  /* gap: 2rem; */
}

.header{
  position: relative;
  /* background-color: yellow; */
  /* height: 5rem; */
}

.values{
  position: relative;
  /* display: flex; */
  flex-direction: row;
  /* background-color: red; */
  height: 100%;
}

.static img{
  cursor: pointer;
  height: 7vh;
  max-width: 100%;
  margin-bottom: 1;
  transition: transform 0.3s ease-in-out;
  margin-right: .2rem;
}
.static img:hover{
 transform: scale(1.1);
}


.animations img{
  cursor: pointer;
  height: 10vh;
  max-width: 100%;
  margin-bottom: 1;
  transition: transform 0.3s ease-in-out;
  margin-right: .2rem;
}
.animations img:hover{
 transform: scale(1.1);
}

.models img{
  cursor: pointer;
  height: 7vh;
  max-width: 100%;
  margin-bottom: 1;
  transition: transform 0.3s ease-in-out;
  margin-right: .2rem;
}
.models img:hover{
 transform: scale(1.1);
}

img{
  height: 10vh;
}
/* one of the issue of white screen underneath its the left 20% , make it 0 you get a hint */

.webgl2 {
  height: 100vh;
  position: fixed;
  transform-origin: top right;
  left: 0%;
  /* transform: translateY(5vh) translateX(5%) scale(1); */
  /* border-radius: 50px;  */
  /* background-color: rgb(120, 173, 243); */
  /* background-color: rgb(44, 84, 136); */
  transition: transform 3s, opacity 1.2s;
  /* filter: blur(2px); */
  z-index: 5;
}

.show{
  top: 20%;
  left: 50%;
  position: fixed;
  transform-origin: top right;
  height: 60vh;
  width: 45vw;
  justify-content: center;
  transition: transform 0.3s ease-in-out;
  align-items: center;
  display: flex;
  z-index: 10;
}

.show img{
  opacity: 0;
  height: 50vh;
  transition: transform 0.3s ease-in-out;
  border-radius: 1rem;
}

.show video{
  height: 50vh;
  transition: transform 0.3s ease-in-out;
  border-radius: 1rem;
}



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

  body, html{
    overflow: hidden;
  margin: 0%;
  }
  .container{
    position: fixed;
    transform: scale(0.6);
    transform-origin: center left;
    top: 40vh;
    max-width: 100%;
    left: 0%;
    margin-left: 15%;
    z-index: 5;
    margin-right: 5%;
  }

  .container h2{
    position: fixed;
    top: -60vh;
  }

  .webgl2{
    display: block;
    width: 100%; /* Use 100% of the parent container's width */
    height: 100vh; 
    overflow: hidden;
    position: fixed;
    transform-origin: top left;
    transform: scale(1);
    left: 0;
    top: 0%;
    z-index: 0;
  }
  .show{
    padding: 0;
    margin: 0;
    left: 0;
    top: 20vh;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
    width: 90vw;
    margin: 5%;
  }
  .show img {
    opacity: 0;
    height: 25vh;
    transition: transform 0.3s ease-in-out;
    border-radius: 1rem;
  }
  .show video{
    opacity: 0;
    height: 25vh;
    transition: transform 0.3s ease-in-out;
    border-radius: 1rem;
  }
}
