

@font-face {
  font-family: 'Nunito';
  src: url('../assets/Nunito-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #453f3f;
    overflow: hidden;
    font-family: 'Nunito', sans-serif; /* Apply Nunito globally */

  }
  
  canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
  }
  
  .back-button {
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: none;
    border: 2px solid rgb(232, 103, 103);
    border-radius: 50%;
    color: rgb(232, 103, 103);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1000;
  }

  .toggle-switch {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: 50px;
    height: 25px;
    background: rgb(232, 103, 103);
    border-radius: 25px;
    cursor: pointer;
    display: flex;
   color: rgb(232, 103, 103);
    align-items: center;
    padding: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 100;
  }
  
  .toggle-switch .toggle-knob {
    width: 21px;
    height: 21px;
    background: rgb(120, 65, 65);
    border-radius: 50%;
    transition: transform 0.3s ease;
  }
  
  .toggle-switch.active {
    background: rgb(205, 113, 113);
  }
  
  .toggle-switch.active .toggle-knob {
    transform: translateX(25px);
  }

  #infoBox {
    font-family: 'Nunito', sans-serif; /* Use Nunito font explicitly */
  }