/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff; /* You can change this later */
    overflow: hidden;
}

/* Canvas Styling */
#gameCanvas {
    background-color: #ffffff;
    display: none;  /* Initially hidden, shown when game starts */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  /* Start Screen Styling */
  #start-screen {
    text-align: center;
    color: #f4f4f4;
  }
  
  #start-screen h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #202020;
    font-family: 'BitcellMemesBruh03', sans-serif; /* Fallback to sans-serif */
  }
  
  #start-screen p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #202020;
  }
  
  #start-button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background-color: #f4f4f4; /* Default button background */
    color: #202020; /* Default button text color */
    border-radius: 5px;
  }
  
  #start-button:hover {
    background-color: #101010; /* Slightly lighter background on hover */
  }
  
  .settings-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
  }

/* Fonts */
  @font-face {
    font-family: 'BitcellMemesBruh03';
    src: url('fonts/bitcell_memesbruh03.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'VT323';
    src: url('fonts/VT323-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
.top-right-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    z-index: 10;
    align-items: flex-end;
}
.top-right-nav a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.top-right-nav a:hover {
    color: #888;
}

/* Entry Animations */
@keyframes navLinkIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes settingsIconIn {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.top-right-nav a {
  opacity: 0;
  animation: navLinkIn 0.7s cubic-bezier(0.6,0.2,0.2,1) forwards;
}
.top-right-nav a:nth-child(1) { animation-delay: 0.2s; }
.top-right-nav a:nth-child(2) { animation-delay: 0.35s; }
.top-right-nav a:nth-child(3) { animation-delay: 0.5s; }

.settings-icon {
  opacity: 0;
  animation: settingsIconIn 0.7s cubic-bezier(0.6,0.2,0.2,1) 0.7s forwards;
  }
  
@media (max-width: 768px) {
  .top-right-nav {
    font-size: 16px;
  }
}
  