* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.background {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 100px;
  cursor: none;

  /* show something before Start is clicked */
  background: black url("images/background.png") center/cover no-repeat;
}

.background h1 {
  margin-top: 40px;
  font-style: italic;
  color: aliceblue;
  text-align: center;
}

.profile-wrapper {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.profile-photo {
  width: 50px;
  height: 50px;
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  background-color: #F52622;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 200px;
  height: 100%;
  background-color: #333;
  color: white;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 20;
}

.sidebar a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: white;
}

.sidebar a:hover {
  background-color: #575757;
}

.sidebar.active {
  left: 0;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  margin-bottom: 0px;
  /* 2px gap above the footer */
}

#playButton {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.2s;
}

#playButton img {
  display: block;
  width: 160px;
  height: auto;
}

#playButton:hover {
  transform: scale(1.05);
}

#riveContainer {
  display: none;
  position: absolute;           /* remove from flex flow */
  top: 50%;                     /* center vertically */
  left: 50%;                    /* center horizontally */
  transform: translate(-52%, -50%); /* perfect centering */
  z-index: 5;                   /* on top of background */
}


#riveCanvas {
  display: block;
  width: 850px;  /* adjust size to fit your gauge */
  height: 850px;
}
 
/* Custom cursor */

.cursor {
  width: 40px;
  /* Adjust size */
  height: 40px;
  background: url('images/flag.png') no-repeat center center;
  background-size: contain;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1000;
}
a, button, .profile-photo, .close-btn, #playButton {
  cursor: none !important;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #1a1919;
  color: #fff;
  text-align: center;
  padding: 16px 10px;
  font-size: 0.9em;
  font-weight: 500;
}

footer a {
  color: #fff;
}

footer a:hover {
  text-decoration: underline;
}
#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: none; /* hidden until Start clicked */
}