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

.clearfix {zoom: 1}
.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

p {
    margin: 16px 0px;
    font-weight: 600;
    font-size: 14px;
}

html, body {
    overflow: hidden;
    width: 100%;
    height: 99%;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-rendering: optimizeLegibility;
}

#renderCanvas {
 width: 100%;
 height: 100%;
 touch-action: none;
}

#overlay {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
  }
  
  /*** LOADING SCREEN ***/

.loading-container {
  background: #fff;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 6px;
  overflow: hidden;
}

.water-fill {
  animation: wave 0.7s infinite linear, 
             fill-up 10s infinite ease-out alternate;
}

@keyframes wave {
  0% { x: -400px; }
  100% { x: 0; }
}


@keyframes fill-up {
  0% {
    height: 0;
    y: 130px;
  }
  100% {
    height: 160px;
    y: -30px;
  }
}

/* Add a new class for the fade-out animation */
@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.loading-container.fade-out {
    animation: fadeOut 1s forwards; /* Apply the fade-out animation */
}
/*** END LOADING SCREEN ***/
