html, body {
  height: 100%;
  background-color: black;
  overflow-x: hidden; 
}

body {
  font-family: Orbitron, sans-serif;
  background-color: black;
  color: white;
  margin: 0;
  padding: 0;
  overflow: visible;
}

#nav-container {
    position: absolute;
    padding: 30px;
    z-index: 3;
    width: 100%;
    box-sizing: border-box;
}

nav {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  position: relative;
  top: 0;
  display: flex;
  justify-content: space-between;
  border: solid;
  border-radius: 10px;
  z-index: 3;
  box-shadow: 0 0 20px dimgrey;
}

nav a {
  flex: 1;
  text-align: center;
  border-right: 1px solid white;
  color: white;
  text-decoration: none;
  padding: 0 10px;
}

nav a.no-border {
  border-right: none;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  background-color: black;
  position: relative;
  overflow: hidden;
}

#lock {
  height: 300px;
  width: 338px;
  border: solid;
  border-color: whitesmoke;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px dimgrey;
  background: black;
  border-radius: 10px;
}

#lock-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  border-radius: 10px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

#geometricCanvas {
  position: fixed;   
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.1);
  z-index: 0;
}

#login-section {
  position: relative;
  z-index: 2;
}

#login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 10px;
  padding: 10px;
  padding-top: 20px;
}

button {
  font-family: 'Orbitron', sans-serif;
  color: white;
  background-color: black;
  width: 30%;
  cursor: pointer;
}

label {
  align-self: flex-start;
  margin-left: 10px;
}

input[type="text"],
input[type="password"] {
  width: 90%;
  padding: 5px;
  margin-bottom: 10px;
  opacity: 0.5;
  border-radius: 3px;
}

@media screen and (max-width: 480px) {
  #lock {
    height: 200px;
    width: 250px;
  }

  button {
    font-size: 0.8rem;
    width: 60%;
  }

  label {
    font-size: 0.8rem;
  }

  input[type="text"],
  input[type="password"] {
    font-size: 0.8rem;
    padding: 3px;
    margin-bottom: 5px;
  }
}

@media screen and (min-width: 481px) and (max-width: 1024px) {
  #lock {
    height: 250px;
    width: 300px;
  }

  button {
    font-size: 0.9rem;
    width: 40%;
  }

  label {
    font-size: 0.9rem;
  }

  input[type="text"],
  input[type="password"] {
    font-size: 0.9rem;
    padding: 4px;
    margin-bottom: 8px;
  }
}