body {
  background: #f0f4f8;
  font-family: "Georgia", "Times New Roman", serif;
  color: #333;
  margin: 0;
  padding: 2rem 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

a {
  color: #3415af;
}

h1 {
  text-align: center;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: #0f0633;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0.5;
}

.entry {
  background: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.2s ease;
}

.entry:hover {
  transform: translateY(-3px);
}

.entry h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #131313;
  text-transform: uppercase;
}

.entry p {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #1e1e1e;
    color: #ddd;
  }

  .entry {
    background: #2a2a2a;
    box-shadow: none;
  }

  .entry h2 {
    color: #aaa;
  }

  .entry p {
    color: #ddd;
  }
}

/* Password page */

.staticrypt-hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
  visibility: hidden;
  position: absolute;
}

.staticrypt-page {
  width: 360px;
  padding: 8% 0 0;
  margin: auto;
  box-sizing: border-box;
}

.staticrypt-form {
  position: relative;
  z-index: 1;
  background: #f8f8f8;
  max-width: 360px;
  margin: 0 auto 100px;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  border-radius: 20px;
}

.staticrypt-form input[type="password"],
input[type="text"] {
  background: inherit;
  border: 0;
  box-sizing: border-box;
  /* This ensures padding is included in the total width */
  font-size: 14px;
  outline: 0;
  padding: 15px 30px 15px 15px;
  /* Adjust the padding to ensure there is space for the icon */
  width: 100%;
  border-radius: 10px;
}

.staticrypt-password-container {
  position: relative;
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  box-sizing: border-box;
  border-radius: 10px;
}

.staticrypt-toggle-password-visibility {
  cursor: pointer;
  height: 20px;
  opacity: 60%;
  padding: 13px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}

.staticrypt-form .staticrypt-decrypt-button {
  text-transform: uppercase;
  outline: 0;
  background: #0f0633;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #f8f8f8;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border-radius: 10px;
  transition: ease-in-out 0.4s;
}

.staticrypt-form .staticrypt-decrypt-button:hover,
.staticrypt-form .staticrypt-decrypt-button:active,
.staticrypt-form .staticrypt-decrypt-button:focus {
  background: #0f0633;
  filter: brightness(92%);
  transform: scale(1.04);
}

.staticrypt-html {
  height: 100%;
}

.staticrypt-body {
  height: 100%;
  margin: 0 auto;
}

.staticrypt-content {
  height: 100%;
  margin-bottom: 1em;
  background: #1e1e1e;
  font-family: "Georgia", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.staticrypt-instructions {
  margin-top: -1em;
  margin-bottom: 1em;
  visibility: hidden;
  position: absolute;
}

.staticrypt-title {
  font-size: 1.5em;
}

label.staticrypt-remember {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  visibility: hidden;
  position: absolute;
}

.staticrypt-remember input[type="checkbox"] {
  transform: scale(1.5);
  margin-right: 1em;
}

.hidden {
  display: none !important;
}

.staticrypt-spinner-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staticrypt-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid gray;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: spinner-border 0.75s linear infinite;
  animation: spinner-border 0.75s linear infinite;
  animation-duration: 0.75s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  animation-name: spinner-border;
}

@keyframes spinner-border {
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .staticrypt-form input[type="password"],
  input[type="text"] {
    font-size: 16px;
  }
}

#contact-form {
  background: #2a2a2a;
  border-radius: 10px;
  box-shadow: none;
  padding: 2rem;
  margin-bottom: 2rem;
  width: 60%;
  margin: 0 auto;
  opacity: 0.3;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
  background: #1e1e1e;
  color: #ddd;
}

#contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

#contact-form button {
  background: #0f0633;
  color: #f8f8f8;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

#contact-form button:hover {
  filter: brightness(92%);
  transform: scale(1.02);
}
