@font-face {
    font-family: offbit;
    src: url('./static/font/OffBit\ Regular.json');
}

@font-face {
    font-family: offbit;
    src: url('./static/font/OffBit\ Bold.json');
    font-weight: bold;
}

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

body {
    overflow-x: hidden;
    height: 200vh;
    background-color: #111218;
    background-image:
      linear-gradient(#222 1px, transparent 1px),
      linear-gradient(90deg, #222 1px, transparent 1px);
    background-size: 40px 40px; 
  }

.pageWrapper { 
    margin: 2rem;
}

nav { 
    width: 100%;
    height: calc(100vh - 4rem);
    padding: 1rem 2rem;
    height: fit-content;
    font-family: 'offbit';
    color: white ;
    font-size: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.heroSection { 
    width: 100%;
    height: calc(100vh - 4rem);
    position: relative; 
    border-bottom: 0.5px white solid;
}

.webGl { 
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;

}

.bgWord { 
    font-family: 'offbit';
    font-weight: bold;
    font-size: 20rem;
    color:none;
    -webkit-text-stroke: 2px white;
    opacity: 20%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}




.grid { 
  position: relative;
}

.andSymbol { 
    position: absolute;
    right: 2%;
    margin: 2rem;
    width: 100%;
    z-index: 3;
}

.percentSymbol { 
  position: absolute;
  left: 2%;
  bottom: 10%;
  margin: 2rem;
  width: 100%;
  z-index: 3;
}


.gridContainer table { 
    font-family: 'offbit';
    font-size: 1.5rem;
    color: white;
    border: 1px solid white;
    margin: 2rem;
    margin-top: 0 ;
    padding: 1rem;
    width: calc(100% - 4rem);
    border-collapse: collapse;
}


.heading { 
    margin: 2rem;
    padding: 0;
    height: fit-content;
    font-family: 'offbit';
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0;
}

.heading h1 { 
    color: rgb(142, 142, 142);
    font-size: 14rem;
}

.heading p {
    color: white;
    font-size: 10rem;
}

.gridContainer table td { 
    border: 1px solid white; 
    text-align: center;
    font-size: 1.5rem;
}

 .typeDesigner { 
    display: flex;
    flex-direction: column;
    padding: 0px;
}

 .tdes { 
    font-size: 1rem;
    background-color: #D9D9D9;
    color: black;
    text-align: left;
    padding-left: 8px;
    margin-bottom: 8px;
}

 .grid {
    margin: 2rem; 
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(3,1fr);
    grid-auto-flow: 150px;
}

.gridItem { 
    position: relative;
    height: 350px; 
}

.num { 
    font-family: 'offbit';
    font-size: 15rem;
    color: #D9D9D9;
    border: 0.5px solid white;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: rows;
    align-content: space-around;
    justify-content: space-between;
    overflow-y: hidden;
}



.num h2 { 
    font-weight: bold;
    height: 300px;
}

 .specifications { 
    border: 0.5px solid white;
    height: fit-content;
}

.version { 
    display: flex;
    flex-direction: row;
}

 .label { 
    background-color:#D9D9D9;
    color: black;
    font-size: 1.2rem;
    height: fit-content;
    padding: 0.5rem;
}

 .content { 
    font-size: 1.2rem;
    text-align: left;
    padding: 0.45rem;
}

.three { 
    padding-left: 7rem;
}

.two { 
    padding-right: 6rem;
}

.one { 
    padding-left: 8rem;
}

.language { 
  color: white;
  font-family: 'offbit';
  font-size: 2rem;
  text-align: center;
  padding-top: 1rem;
}

.date { 
  display: flex;
  align-items:end ;
  justify-content: center;
  color: white;
  font-family: 'offbit';
  font-size: 2rem;
  padding-bottom: 1rem;
}

.description { 
    border: 0.5px solid white;
    margin: 2rem;
    margin-top: 0;
    padding: 3rem 20%;
    width: calc(100% - 4rem);
    font-family: 'offbit';
    font-size: 3rem;
    text-align: left;
    color: white;
}

.artisticLayout {
  position: relative;
  margin: 2rem;
  height: 100vh; 
  margin: 2rem 0;
}

.artisticLayout img {
  position: absolute;
  max-width: 25%;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}


.artisticLayout .connected {
  top: 10%;
  left: 5%;
  transform: rotate(-5deg);
}

.artisticLayout .programmed {
  top: 40%;
  left: 35%;
  transform: rotate(3deg);
}

.artisticLayout .matrix {
  top: 15%;
  left: 70%;
  transform: rotate(-2deg);
}


.artisticLayout img:hover {
  transform: scale(1.05) rotate(0deg);
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

#glyphImg { 
  margin: 2rem;
  margin-top: 4rem;
  width:50%; 
  position: relative;
  left: 45%;
}

#alphabet { 
  margin: 2rem;
  margin-top: 4rem;
  width: 50%; 
  position: relative;
}

.modules { 
  width: 100%;
  margin: 12rem 2rem;
  text-align: center;
}

.modules img { 
  width: 60%;
}

.helloWorld { 
  width: 100% ; 
  margin: 7rem 2rem;
  text-align: center;
}

.helloWorld img { 
  width: 60%;
}

.closeUp { 
    margin: 2rem;
}

.gSpec, .aSpec .glyph{ 

    height: fit-content;
    padding: 0;
    position: relative;
}

.gSpec { 
    text-align: left;
}

.aSpec { 
    text-align: right;
}

.glyph { 
    text-align: center;
}

.gSpec img { 
    display: block;
    max-height: 100%;
    max-width: 100%;
    width: 60%;
    height: auto;
    position: relative;
}

.aSpec img { 
    max-width: 100%;
    max-height: 100%;
    width: 60%;
    height: auto;
    margin: 7rem auto;
    position: relative; 
}

.glyph img { 
    max-width: 100%;
    max-height: 100%;
    width: 60%;
    height: auto;
}


.sizing { 
  margin-top: 7rem;
  width: 100%;
  display: flex;
  flex-direction: column;  
  gap: 2rem;              
  padding: 0 2rem;         
  box-sizing: border-box;
}


#sizes { 
  width: 80%;
  margin-left: auto;       
  margin-right: 0;         
}

.sizing p { 
  margin-top: 2rem;
  font-family: 'offbit';
  font-size: 1.2rem;
  color: white;
  width: 60%;
  align-self: center;
}


  .styles { 
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    text-align: center;
    height: 100vh;
}


.styles img { 
    width: 40%;
    height: auto;
}


.style {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden; 
}


.style img:first-of-type {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}


.style img:last-of-type {
    position: fixed;        
    top: 0;                 
    bottom: 0;              
    height: 100vh;          
    width: auto;          
    right: -100%;          
    transition: right 0.3s ease-in-out; 
    z-index: 2;
}

.style:hover img:first-of-type { 
  transform: translateX(-60%); 
}


.style:hover img:last-of-type {
    right: 0;
}


.hidden { 
    visibility: hidden;
    position: relative;
}


.style h3 {
    font-family: 'offbit';
    font-size: 5rem;
    color: white; 
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}


.style:hover {
    background-color: rgb(136, 0, 0);
}

.style:hover h3 {
    visibility: visible;
    opacity: 1;
}

  .animation { 
    margin: 7rem 2rem;
    width:100% ;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  .imageContainer { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 20%;
    height: fit-contents;
    cursor: pointer;
  }

  .imageContainer img { 
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
  }

  .videoContainer { 
    width: 600px;
    height: 600px;
    position: relative;
    overflow: hidden;
  }

  .videoContainer h3 {
    font-family: 'offbit';
    font-size: 2rem;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%,-50%);
    z-index: 1;
  }

  .videoContainer video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; 
    border-radius: 20px;
    z-index: 10;
    position: absolute;
  }



  
  .sliderContainer {
    display: flex;             
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    height: 100vh;            
  }
  
  .stylesContainer {
    position: relative;
    flex: 1;                   
    max-width: 50vw;          
    height: auto;
    aspect-ratio: 4 / 3;      
  }
  
  .styleImg {
    position: absolute;
    inset: 0;                 
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.1s linear;
  }

  
  
  .slider {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .slider input[type="range"] {
    appearance: none;
    width: 400px;               
    transform: rotate(90deg); 
    transform-origin: center; 
    background: black;
  cursor: pointer;
  }
  
  .slider input [type="range"]::-webkit-slider-runnable-track { 
    height: 6px;
    background-color: red;
    border-radius: 3px;
  }

  .slider input[type="range"]::-webkit-slider-thumb { 
    appearance: none;
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;
    border: 2px solid white;
    margin-top: -1px; /* align with track */
    transition: transform 0.2s;
  }

  .slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
  }

  .sliderWrapper {
    display: flex;
    gap: 0.4rem;
  }
  
  .sliderLabels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px;  
    color: white;
    font-family: "offbit";
    font-weight: bold;
    font-size: 1rem;
    text-align: right;
    text-transform: uppercase;
    position: relative;
    left: 30%;
  }
  
  .Mockup { 
    margin-top: 10rem;
    text-align: center;
    width: 100%;
  }

  .posters {
    display: flex;
    flex-direction: row;      
    justify-content: center;  
    align-items: center;                 
    width: 100%;             
  }
  
  .posters img {
    width: 50%;               
    height: auto;
    object-fit: contain;
  }


  