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: #3D3564;
  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%;
  /* background-color: red; */
  gap: 2rem;
}

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

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

.graphics img, .code img{
  position: relative;
  cursor: pointer;
  left: 0;
  height: 1.5rem;
  margin: .2rem;
  background-color: rgba(150, 150, 247, 0.322);
  padding: 1vh;
  border-radius: .5vh;
  margin-bottom: 1rem;
}

.graphics img:hover, .code img:hover{
  transform: scale(1.5);
  background-color: bisque;
  z-index: 16;
}

img{
  height: 24px;
  border-radius: 100%;
  vertical-align: middle;
  align-self: center;
}
/* one of the issue of white screen underneath its the left 20% , make it 0 you get a hint */

.webgl {
  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); */
  transition: transform 3s, opacity 1.2s;
  /* filter: blur(2px); */
  z-index: 5;
}

.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;
}


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

  body, html{
    overflow: hidden;
  margin: 0%;
  }

  
  nav{
  position: fixed;
  top: 0%;
  left: 0%;
  margin-left: 0%;
  margin-right: 0%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;

}
  nav a{
    font-size: .8rem;
  }

  

  .container{
    position: fixed;
    transform: scale(0.6);
    transform-origin: center left;
    top: 10vh;
    left: 0%;
    margin-left: 5%;
    z-index: 5;
  }

  h5, h3{
    width: 80vw;
  }
  .graphics , .code, .edsu{
    width: 80vw;
    height: 20vh;
  }

  .graphics img {
    height: 24px;
    margin-bottom: .5rem;
    margin-right:  rem;
  }
  .code img{
    height: 24px;
    margin-bottom: .5rem;
    margin-right: .5 rem;
  }

  .bottom{
    font-size: .5rem;
    position: fixed;
    color: whitesmoke;
    z-index: 10;
  }
  .trademark{
    font-size: .5rem;
  }

  .f, .i, .r {
    width: .5rem; /* Adjust the size of the circle */
    height: .5rem; /* Adjust the size of the circle */
  }

  .nav2{
    position: fixed;
    font-size: .5rem;
    top: 85vh;
    margin-left: 0%;
    margin-right: 0%;
    height: 8vh;
  }
  .nav2 ul li:hover {
    font-size: .55rem;
    padding: .5rem .5rem;
    border-bottom: .1rem solid whitesmoke;
  }
  .webgl{
    overflow: hidden;
    position: fixed;
    transform-origin: top left;
    transform: scale(1);
    display: block;
    width: 100%; /* Use 100% of the parent container's width */
    height: 100vh; 
    left: 0;
    top: 0%;
    z-index: 1;
  }
  .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;
  }

}
