@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald.ttf") format("truetype");
}

body {
  background-color: #441313 !important;
  text-align: center;
  font-family: "Oswald", sans-serif !important;
}

.box-login {
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 270px;
  margin: 0 auto;
  backdrop-filter: blur(5px);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.8) 20%,
      rgba(255, 255, 255, 0.5) 40%,
      rgba(205, 0, 0, 0.1) 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: none;
  border-radius: 25px;
  position: relative;
  z-index: 99999;
  font-weight: normal !important;
  box-shadow: inset rgba(255, 255, 255, 0.3) 0 0px 20px,
    rgba(0, 0, 0, 0.3) 0 5px 5px;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background: rgba(255, 245, 245, 0.5);
  z-index: 99;
}

.box-login p {
  font-size: 1.4em !important;
  margin: 15px 0;
  padding: 0;
  color: #999;
  text-shadow: rgba(0, 0, 0, 0.3) 0 -2px 2px, rgba(255, 255, 255, 1) 0 2px -2px;
  letter-spacing: 0.1em;
  font-weight: bold;
}

video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

h2 {
  text-align: center;
  margin: 0 auto 10px;
  font-weight: 0 !important;
  color: #fff !important;
  text-shadow: #511 2px 2px;
}

hr {
  height: 2px;
  border: 0 !important;
  margin-top: 0 !important;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 1) 50%,
      transparent 100%);
}

.box-form-login {
  background: rgba(255, 255, 255, 0.5) !important;
  border-radius: 15px;
  padding: 3px;
  margin: 0;
  color: #fff;
  text-shadow: #000 0 0 2px;
}

.box-form-login hr {
  margin: 0;
}

/* form */
.item-form-login {
  padding: 0;
  margin: 0;
  position: relative;
}

.item-form-login i {
  position: absolute;
  left: 10px;
  top: 17px;
  opacity: 0.5;
}

input[type="text"],
input[type="password"] {
  height: 40px !important;
  width: 100% !important;
  font-weight: normal !important;
  margin: 0 !important;
  border: none !important;
  font-size: 20px !important;
  background: none !important;
  box-shadow: none !important;
  padding: 25px 15px 25px 30px !important;
  font-family: "Oswald", sans-serif !important;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

input[type="text"] {
  border-radius: 5px 5px 0 0;
}

input[type="password"] {
  border-radius: 0 0 5px 5px;
}

.btn-login {
  margin-top: 15px;
  border-radius: 15px !important;
  width: 100% !important;
  padding: 15px !important;
  box-shadow: rgba(0, 0, 0, 0.3) 0 5px 2px;
  font-size: 20px !important;
  font-weight: bold;
  border: none;
  border-bottom: 4px solid #900;
  border-top: transparent;
  background-color: #c01;
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.8s, border-color 0.3s;
}

.btn-login:hover {
  border-top: 4px solid #900 !important;
  border-bottom: transparent;

  background-color: #b00005;
  border-color: transparent;
  box-shadow: inset 0 -2px 5px rgba(250, 0, 0, 1),
    inset 0 0px 5px rgba(0, 0, 0, 0.1);
}

div span {
  display: table;
}

label {
  font-size: 17px !important;
  color: #777 !important;
  top: 6px !important;
  left: 8px !important;
}

@media only screen and (max-width: 500px) {
  body {
    padding: 0 !important;
    font-size: 80% !important;
  }

  .box-login {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0;
    border-radius: revert;
    z-index: 9999;
    display: flex;
    /* adiciona flexbox */
    flex-direction: row;
    /* alinha os elementos ao topo */
    align-items: baseline;
    /* alinha os elementos ao início */
    box-sizing: border-box;
  }

  video {
    display: none !important;
  }
}