/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001; /* Ensure it's on top of everything */
  transition: opacity 1.5s ease;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Rubik 80s Fade", sans-serif;
}
/* exprences */
#experience {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

#experience-canvas {
    width: 100%;
    height: 100%;
}
/* utilities */
.hidden {
    display: none;
}

/* model */
.model{
    z-index: 999;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 700px;
    background-color: rgb(40, 40, 40);
    border: 2px solid rgba(255, 28, 28, 0.638);
    border-radius: 5px;
    color: #dadada;
}

.model-wrapper{
    padding: 12px;
}
.model-header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.model-exit-button{
    background-color: rgba(255, 255, 255, 0.211);
    border: none;
    color: #ffffff;
    padding: 0px 8px;
    border-radius: 25px;
    cursor: pointer;
}
.model-project-visit-button {
    background-color: rgba(255, 255, 255, 0.211);
    color: #ffafaf;
    padding: 2px 15px;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
}
.model-project-description{
    margin: 10px 0px;
}
.model-title{
    margin-bottom: 10px;
    font-weight: 550;
}


/* Add this to your style.css file */

.mobile-controls-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  display: none; /* Hidden by default */
}

.mobile-controls .mobile-control-row {
  display: flex;
  justify-content: center;
}

.mobile-control {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 10px;
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  user-select: none; /* Prevents text selection on hold */
  cursor: pointer;
}

.mobile-control:active {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Media query to show controls only on smaller screens */
@media (max-width: 1024px) {
  .mobile-controls-container {
    display: block;
  }
}
