/* desnuda.site main styles */
html,
body {
  height: 100vh;
  margin: 0;
  padding: 0;
  background: #181818;
  color: #f0f0f0;
  font-family: Arial, sans-serif;
  overflow: hidden;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}
#image-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
img {
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  border: 1px solid #444;
  box-shadow: 0 0 20px #000;
  display: block;
  margin: auto;
  opacity: 0;
  transition: opacity 2s;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: contain;
}
img.fade-in {
  opacity: 1;
  transition: opacity 2s;
}
img.fade-out {
  opacity: 0;
  transition: opacity 0.7s;
}
#password-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
#password-modal {
  background: #222;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
  text-align: center;
}
#password-modal h2 {
  margin: 0 0 10px;
}
#password-dots {
  font-size: 2em;
  height: 40px;
  margin-bottom: 10px;
}
.key {
  font-size: 1.5em;
  padding: 10px;
  margin: 5px;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  width: 60px;
  height: 60px;
}
.key:hover {
  background: #0056b3;
}
#password-error {
  color: red;
  display: none;
}
#keypad {
  display: grid;
  grid-template-columns: repeat(3, 60px);
  gap: 10px;
  justify-content: center;
  margin-bottom: 1em;
}
#keypad .key {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  padding: 0.7em 0;
  border-radius: 8px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  height: 60px;
}
@media (max-width: 1000px) {
  #password-modal {
    width: 90vw;
    padding: 7vw 2vw;
  }
  #password-modal h2 {
    font-size: 3.8em;
    padding-bottom: 4vw;
  }
  #password-dots {
    font-size: 2.5em;
    height: 50px;
    margin-bottom: 15px;
  }
  .key {
    padding: 1.2em;
    height: 18vw;
  }
  #keypad {
    font-size: 2.5em;
    margin-bottom: 2em;
    grid-template-columns: repeat(3, 17vw);
    gap: 3vw;
  }
  #keypad .key {
    font-size: 1.7em;
    padding: 8vw;
    height: 20vw;
    border-radius: 25px;
    min-height: 100px;
    max-height: 80px;
  }
}
