html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(to bottom, #4ca1af, #c4e0e5);
}

.threejs-section {
  flex: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

#threejs-container {
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  font-weight: bold;
}

.threejs-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(45deg, #4ca1af, #c4e0e5);
  z-index: -1;
  border-radius: 0;
  box-shadow: none;
}

.bottom-section {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
}

.tools-section,
.game-section {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 0;
}

  .tools-section {
    background-color: #f1edee;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }
  
  .game-section {
    background-color: rgb(245, 242, 241);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  
  .tools-title,
  .game-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .tools-section:hover,
  .game-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(248, 248, 248, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }
  
  .popup-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .popup-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
  }
  
  .popup-button {
    display: inline-block;
    background-color: #ffa07a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .popup-button:hover {
    background-color: #ff8c00;
  }
  

  @media (max-width: 768px) {
    .container {
      flex-direction: column;
    }
  
    .threejs-section {
      flex: 2;
    }
  
    .bottom-section {
      flex-direction: column;
    }
  
    .tools-section,
    .game-section {
      flex: 1;
      border-radius: 0;
    }

    .popup-content {
      width: 90%;
      padding: 30px;
    }
  }