:root {
  --color-blue: #06a8bf;
  --color-light-blue: #83f1ff;
  --color-red: #9a1c55;
  --color-light-red: #b52e6b;
  --color-light-red-transparent: #b52e6b11;
  --color-gray: #e6e6e5;
  --gradient-color-red: linear-gradient(
    0deg,
    rgba(121, 28, 87, 1) 0%,
    rgba(171, 31, 87, 1) 100%
  );
  --gradient-color-light-red: linear-gradient(
    0deg,
    rgb(142, 35, 102) 0%,
    rgb(190, 36, 98) 100%
  );
  --shadow: 0 0 15px #00000033;
}

@import "../fontawesome/css/all.min.css";

body {
  font-family: "Mukta", sans-serif;
  height: 100vh;
  display: grid;
  overflow-y: hidden;

  background-image: url("../../images/fundologin.png") !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #e6e6e5;
  background-attachment: fixed;

  justify-content: center;
  align-items: center;
  align-content: center;
}

.alert {
  position: fixed;
  top: 0px;
  width: 100%;
  background-color: var(--color-blue);
  color: white;
  border: none;
  border-radius: 0px;
  z-index: 1;
}

.shadow {
  box-shadow: var(--shadow);
}

.title {
  display: grid;
  grid-template-columns: 40px 1fr;
  position: relative;
  padding-left: 80px;
  transform: translateX(-10%) translateY(5px);
  z-index: 2;
}

.title h1 {
  color: #ffffff;
  font-size: 1.7rem !important;
  font-weight: bold !important;
  border: none !important;
}

.title picture {
  width: 1.5rem;
  transform: scale(5) translateX(-35%) translateY(6%);
  z-index: 1;
}

.title picture img {
  width: 100%;
}

.card-login {
  background-color: #e6e6e5;
  border-radius: 20px;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  transition: 0.3s ease-in-out;
  width: fit-content;
}

.card-login > article {
  display: grid;
  grid-gap: 8px;
  text-align: center;
}

.instrucao {
  border-bottom: 1px solid #ab1f57;
  padding: 8px 0;
  margin-bottom: 10px;
}

form {
  display: grid;
  grid-gap: 8px;
}

form label {
  font-family: sans-serif;
  display: inline-block;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 0;
  color: #791c57;
  font-weight: bold;
  font-size: 0.8rem !important;
}

.instrucao p {
  margin: 0;
  font-size: 0.75rem;
  color: #ab1f57;
}

.campo-texto {
  display: block !important;
  overflow: hidden;
  padding-left: 8px;
  background-color: var(--color-blue);
  border-radius: 4px;
}

.campo-texto input {
  padding: 10px 20px;
  background-color: #fff;
  border: none;
  font-size: 0.9rem;
  border-radius: 0 !important;
  width: 100%;
}

form > button {
  background: var(--gradient-color-red);
  border: none;
  color: white;
  border-radius: 8px !important;
  padding: 10px 16px;
  margin: 10px 0;
  cursor: pointer;
}

#capslockdiv {
  display: none;
  color: red !important;
}

.php-version {
  text-decoration: none;
  font-weight: bold;
  color: #06a8bf;
  font-size: 0.7rem;
  text-align: center;
}

#erro {
  color: red !important;
  border: 1px solid red !important;
  border-radius: 5px;
  width: fit-content;
  text-align: center;
  margin: auto;
  font-size: 0.8rem !important;
  padding: 10px 20px;
  padding-top: 0;
  line-height: normal;
}

#up,
#down {
  display: none;
}

@media only screen and (max-width: 767px) {
  body {
    display: block;
    height: 100vh !important;
    background: #e6e6e5 !important;
    overflow: hidden !important;
  }

  .shadow {
    box-shadow: none !important;
  }

  .title {
    display: none;
  }

  .card-login {
    width: 100%;
    height: 100svh !important;
    display: grid;
    border-radius: 0;
    padding: 0 50px !important;
    justify-content: center !important;
    align-items: center !important;
    position: fixed;
    top: 0;
    left: 0;
  }

  .card-login > article {
    height: fit-content;
    width: 100%;
    max-width: 500px;
    margin: auto;
  }

  .php-version {
    text-decoration: none;
    font-weight: bold;
    color: #06a8bf;
    position: fixed;
    bottom: 30px;
    width: 100%;
    text-align: center;
    left: 0px;
  }

  #erro {
    color: red !important;
    border: 1px solid red !important;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    margin: auto;
    font-size: 0.8rem !important;
    padding-bottom: 10px;
    padding-top: 0;
    line-height: normal;
  }
}
