@font-face{font-family: k;src: url(../fuentes/kalinga.ttf)}
@font-face{font-family: r;src: url(../fuentes/montserrat/Montserrat-Regular.otf)}
@font-face{font-family: b;src: url(../fuentes/montserrat/Montserrat-Bold.otf)}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html, body{
  margin: 0;
  padding: 0;
}
html{
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  display: none;
}

/* Estilos generales */

.bgp {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  background: url(../../rg/img/bg/bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  justify-content:center;
  align-items: center;
}
.bgform{
  display: flex;
  flex-direction: column;
}
.form{
  background: #2D1554;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.encabezado{
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.titulo{
  display: flex;
  margin-left: 10px;
  text-align: left;
  color: #fff;
  font-family: r;
}
.login{
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  justify-content: center;
}
.login input{
  border:1px groove #98B1C4;
  background: transparent;
}
button{
  background: #2F4E6F;
  border-style: none;
  text-decoration: none;
  color: #98B1C4;
  font-family: b;
  cursor: pointer;
}
button:hover{
  background: #000;
}
::placeholder{
  color: #98B1C4;
  font-family: k;
}
textarea:focus, input:focus,input[type]:focus, input:active{
  background: transparent;
  outline: none;
  color: #fff;
}
.alerta{
  margin-top: 10px;
  font-family: k;
  font-size: 15px;
  color: red;
}
.autoria{
  position: absolute;
  display: flex;
  bottom: 10px;    
}
.autoria p{
  font-family: k;
  color: #98B1C4;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Responsive */

@media (min-width: 1281px) { 
  .bgform{
    width: 500px;
    height: 500px;
  }
  .encabezado img{
    width: 70px;
  }
  .titulo{
    font-size: 22px;
  }
  .login input{
    height: 35px;
    width: 250px;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .login button{
    height: 35px;
    width: 250px;
    border-radius: 10px;
    font-size: 20px;
  }
  .autoria p{
    font-size: 10px;
  }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .bgform{
    width: 450px;
    height: 450px;
  }
  .encabezado img{
    width: 60px;
  }
  .titulo{
    font-size: 20px;
  }
  .login input{
    height: 35px;
    width: 250px;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  button{
    height: 35px;
    width: 250px;
    border-radius: 10px;
    font-size: 18px;
  }
  .autoria p{
    font-size: 10px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .bgform{
    width: 400px;
    height: 400px;
  }
  .encabezado img{
    width: 55px;
  }
  .titulo{
    font-size: 16px;
  }
  .login input{
    height: 35px;
    width: 250px;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .login button{
    height: 35px;
    width: 250px;
    border-radius: 10px;
    font-size: 15px;
  }
  .autoria p{
    font-size: 10px;
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  .bgp .bgform{
    width: 350px;
    height: 350px;
  }
  .encabezado img{
    width: 45px;
  }
  .titulo{
    font-size: 13px;
  }
  .login input{
    height: 30px;
    width: 250px;
    padding-left: 7px;
    margin-bottom: 7px;
    border-radius: 7px;
  }
  .login button{
    height: 30px;
    width: 250px;
    border-radius: 7px;
    font-size: 14px;
  }
  .autoria p{
    font-size: 10px;
  }
}
@media (min-width: 320px) and (max-width: 480px) {
  .bgform{
    width: 280px;
    height: 280px;
  }
  .encabezado img{
    width: 40px;
  }
  .titulo{
    font-size: 12px;
  }
  .login input{
    height: 25px;
    width: 200px;
    padding-left: 7px;
    margin-bottom: 7px;
    border-radius: 7px;
  }
  button{
    height: 25px;
    width: 200px;
    border-radius: 7px;
    font-size: 12px;
  }
  .autoria p{
    font-size: 10px;
  }
}