body,
html
{
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: var(--main-color);
    color: var(--text-color);
    overflow: none;
}

:root {
    --main-color: black;
    --text-color: rgb(113, 244, 113);
}

.pageContainer {
    z-index: 1;
    width: 100%;
    height: 100%;
}

.pageContentContainer {
    z-index: 2;
    width: 100%;
    height: 100%;
}

.headerContent {
    z-index: 9;
    height: fit-content;
    width: 100%;
    top: 0;
    position: fixed;
    text-align: center;
    background-color: rgba(113, 244, 113, 0.2);
}

.header1 {
    font-size: 3rem;
    font-weight: 800;
}

#backHome {
    text-decoration: none;
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
}

#backHome:hover{
    font-size: 2.5rem;
    color: azure;
}

#canvas {
    z-index: 1;
    position: relative;
    width: 100%;
    height: 100%;
}

@keyframes turn {
    from { transform: rotate3d(0, 0, 0, 0); }
    to { transform: rotate3d(1, 1, 0, 360deg); }
  }
  
  .container {
    width: 100%;
    height: 400px;
    perspective: 500px;
    position: absolute;
    margin-top: 50vh;
  }
  
  .cube {
    margin: auto;
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: turn 10s linear infinite;
  }
  
  .face {
    width: 200px;
    height: 200px;
    background: skyblue;
    border: 2px solid black;
    position: absolute;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    transition: transform 500ms;
  }
  
  .front {
    transform: translateZ(100px);
  }
  
  .back {
    transform: translateZ(-100px) rotateY(180deg);
  }
  
  .left {
    transform: translateX(-100px) rotateY(-90deg);
  }
  
  .right {
    transform: translateX(100px) rotateY(90deg);
  }
  
  .top {
    transform: translateY(-100px) rotateX(90deg);
  }
  
  .bottom {
    transform: translateY(100px) rotateX(-90deg);
  }

  img {
    width: 100%;
  }

   /* ScrollBar */
::-webkit-scrollbar {
    width: 0.3rem;
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 1.2px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
    width: 0.2rem;
}
  
  @media (prefers-reduced-motion: reduce) {
    .cube {
      animation: none;
      transform: rotate3d(1, 1, 0, 45deg);
    }
  }


