body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f0f0;
  overflow: hidden;
  margin: 0;
}

#lock-container {
  background-color: rgba(255, 255, 255, 0.25);
  /* Semi-transparent white */
  padding: 20px;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 2;
  /* Add transition for the red flash effect */
  transition: background-color 0.5s ease;
  backdrop-filter: blur(10px);
}

/* Class for the red flash effect */
#lock-container.wrong-combination {
  background-color: rgba(255, 0, 0, 0.5);
  /* Semi-transparent red */
}

#combination-inputs {
  display: flex;
  gap: 20px;
  /* Increased gap */
  margin-bottom: 20px;
  align-items: center;
}

.digit-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
  /* Set a fixed width for each digit container */
}

.digit-container input {
  width: 100%;
  /* Make input fill the container width */
  height: 160px;
  /* Increased height */
  font-size: 80px;
  /* Increased font size */
  text-align: center;
  border: 2px solid #ccc;
  /* Increased border thickness */
  border-radius: 8px;
  /* Increased border radius */
  -moz-appearance: textfield;
  /* Firefox */
}

.digit-container input::-webkit-outer-spin-button,
.digit-container input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.increment,
.decrement {
  background-color: transparent;
  /* Remove background */
  border: none;
  cursor: pointer;
  width: 100px;
  /* Set width */
  height: 60px;
  /* Set height */
  font-size: 0;
  line-height: 0;
  padding: 0;
  margin-bottom: 20px;
  /* Increased margin */
  display: flex;
  /* Use flexbox to center the arrow */
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
  border-radius: 5px;
}

.increment::before,
.decrement::before {
  content: '';
  /* Create the pseudo-element for the arrow */
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  /* Double arrow size */
  border-right: 20px solid transparent;
  /* Double arrow size */

  /* Emboss effect for the arrow */
  filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.3));
  /* Adjust shadow for size */
}

.increment::before {
  border-bottom: 30px solid #969696;
  /* Double arrow size */
}

.decrement::before {
  border-top: 30px solid #969696;
  /* Double arrow size */
}

.increment:hover::before,
.decrement:hover::before {
  border-bottom-color: #0088ff;
  /* Change arrow color on hover */
  border-top-color: #0088ff;
}

.increment {
  margin-bottom: 20px;
  /* Add margin between button and input */
}

.decrement {
  margin-top: 20px;
  /* Add margin between button and input */
}

#open-button {
  padding: 10px 20px;
  background-color: #0088ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;

  /* Apply text emboss effect */
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
}

#background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  /* Prevent any content overflow from causing scrollbars */
}

#background-animation video {
  position: fixed;
  /* Changed to fixed positioning */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the video covers the entire container */
}