.general {
  width: 100%;
  height: 100vh;
  display: flex;
  place-content: center;
  place-items: center;
  padding: 0px 20px;
  background-image: url("../../images/login/logoGris.png");
  background-size: 40%;
  background-repeat: no-repeat;
  background-position: 85%;
}
body{
  background-image: url("../../images/fond1.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
#divpreload {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 3000;
  background-color: #1f1f1f81;
  color: #fff;
  display: flex;
  place-content: center;
  place-items: center;
  flex-direction: column;
}
.elloguito {
	position: fixed;
	right: 40px;
  bottom: 20px;
}

.img_movil {
  display: none;
}

#divpreload .spinner-border {
  color: #75c4ff;
  width: 5rem;
  height: 5rem;
}

.general .row {
  width: 80%;

}

body {
  margin: 0;
  padding: 0;
}

.general .row .login-box {
  /* position: absolute; */
  backdrop-filter: blur(3px);
  height: max-content;
  width: 40%;
  padding: 40px;
  background: rgba(1, 9, 31, 0.7);
  box-sizing: border-box;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .6);
  border-radius: 10px;
  /* margin: auto; */
}

.login-box h1 {
  /* font-family: Tahoma, sans-serif; */
  padding: 0;
  color: #6ba1fd;
  text-align: center;
  display: flex;
  gap: 10px;
  place-content: center;
  place-items: center;
}

.login-box p {
  padding: 0;
  color: #fff;
  text-align: center;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
  border: none;
  border-bottom: 1px solid #6ba1fd;
  outline: none;
  background: transparent;
}

.login-box .user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  pointer-events: none;
  transition: .3s;
  width: 100%;

}

.login-box .user-box input:focus~label,
.login-box .user-box input:valid~label {
  top: -20px;
  left: 0;
  color: #6ba1fd;
  font-size: 12px;
}

.login-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-login {
  background: #6ba1fd;
  width: max-content;
  /* font-family: Tahoma, sans-serif; */
  position: relative;
  display: inline-block;
  padding: 8px 15px;
  color: #ffff;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: 0.2s;
  letter-spacing: 3px;
  margin: auto;
  border-radius: 5px;
  font-weight: 400;
}

.btn-login:hover {
  font-size: 14px;
  background: #ffff;
  font-weight: 500;
  color: #6ba1fd;
  transform: scale(1.03);
  transition: 0.2s ease-in-out;
}

.btn-login span {
  position: absolute;
  display: block;
}

.btn-login span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6ba1fd);
  animation: btn-anim1 1s linear infinite;
}

.btn-login span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #6ba1fd);
  animation: btn-anim2 1s linear infinite;
  animation-delay: .25s
}
.btn-login span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #6ba1fd);
  animation: btn-anim3 1s linear infinite;
  animation-delay: .5s
}


.btn-login span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #6ba1fd);
  animation: btn-anim4 1s linear infinite;
  animation-delay: .75s
}

.contraseña{
    background-color: transparent;
    outline: none;
    border: none;
    color: #fff;
    text-decoration: underline;
    text-align: center;
    width: max-content;
    display: block;
    margin: auto;
    margin-bottom: 20px;
}

.modal-header{
    background-image: url("../../images/fond1.svg");
    color: #fff;
}

.modal-body{
    background-color:#f7f7f7;
}

.modal-footer{
    background-color:#f7f7f7 !important;
}

.form_contraseña .user-box{
    display:flex;
    flex-direction: column;
    gap: 5px;
}

.code-input {
    width: 40px !important;
    height: 50px;
    text-align: center;
    font-size: 24px !important;
    border-radius: 5px !important;
}

.intentos{
    color: red !important;
    animation: slide 1s linear infinite;
}

@keyframes slide {
    0% {
       opacity: 1;
    }
    100% {
      opacity: 0;
    }
}

@media screen and (min-width: 1000px) and (max-width:1650px) {
  .general .row .login-box {
    width: 40%;
    padding: 20px;
  }
}

@media screen and (min-width: 650px) and (max-width:990px) {
  .general .row .login-box {
    width: 70%;
    padding: 20px;
    margin: auto;
  }
  .general{
    background-position: center;
    background-size: contain;
  }
  .elloguito {
    display: none;
  }

  .img_movil {
    display: block;
  }
}

@media screen and (min-width: 421px) and (max-width:650px) {
  .general .row .login-box {
    width: 100%;
    padding: 20px;
  }
  .general .row {
    width: 100%;
  }
  .general{
    background-position: center;
    background-size: contain;
  }
  .elloguito {
    display: none;
  }

  .img_movil {
    display: block;
  }
}

@media screen and (min-width: 320px) and (max-width:420px) {
  .general .row .login-box {
    width: 100%;
    padding: 20px;
  }
  .general .row {
    width: 100%;
  }
  .general{
    background-position: center;
    background-size: contain;
  }
  .elloguito {
    display: none;
  }

  .img_movil {
    display: block;
  }
}