* {
  margin: 0;
  padding: 0;
}
.contenedor form {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content:flex-start;
  width: 25%;
  margin-top: 15%;
  margin-bottom: 1%;
  background: linear-gradient(to right, rgba(152, 113, 190, 0.7) 0%, rgba(76, 147, 177, 0.877) 100%);
  padding: 1.25em;
  border-radius: 10px;
}

body {

  background-image: url(../img/Unlam.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  padding: 0;
  height: 70vh;
  font-family: 'Manjari', sans-serif;

}


.button {
  width: 50%;
  margin: 5% 23%;
  background: rgba(76, 147, 177, 0.877) 100%;
  text-align: center;
  transition: transform 0.3s;
}

.button:hover {
  transform: scale(1.1);
}


.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1em;
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  height: auto;
  margin-right: 1em;
}

.contenedor form {
  margin-left: auto;
  margin-right: auto;
  width: 25%;
}

#nombre-logo {
  color: #fff;
  text-decoration: none;
  font-family: 'Manjari', sans-serif;
  position: relative;
  top: 5px;
}

@media (max-width: 48em) {
    .contenedor form {
      display: flex;
      justify-content: center;
      align-items: center;
      
      
    }
  
} 

.error {
  width: 100%;
  color: rgba(245, 12, 12, 0.877);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  font-weight: bold;
}

label {
  width: 100%;
  color: white;
  font-size: 1.25em;
  font-weight: bold;
}

form label {
  width: 100%;
  margin-bottom: 3%;
}
form input {
  width: 95%;
  margin-bottom: 3%;
  padding: 2%;
}
a {
  width: 100%;
  text-align: center;
  display: flex;
  margin: 0.5%;
  display: flex;
  align-items: center;
  font-size: 1.25em;
  flex-direction: column;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s;
}

a:hover {
  text-decoration: underline;
  transform: scale(1.1);
}
@media (max-width: 764px) {

html{
  padding: 0;
  margin: 0;

}

  body {
    margin: 0;
    padding: 0;
    background: url("../img/Unlam.jpg") no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Manjari', sans-serif;
    touch-action: none;

  }

  .banner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }


  .contenedor form{
    margin-left: auto;
    margin-right: auto;
    margin-top: 50%;
    width: 65%;
    
  }

  .formulario {
    width: 400px;
    max-width: 90%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
  }

  .formulario label,
  .formulario input,
  .formulario .button,
  .formulario a {
    display: block;
    margin-bottom: 10px;
  }

  .formulario .button {
    width: 100%;
    padding: 10px;
    background: rgba(76, 147, 177, 0.877) 100%;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .formulario .button:hover {
    background: rgba(76, 147, 177, 0.877) 100%;
  }

  .formulario a {
    text-decoration: none;
    color: #f1e8e8;
  }
}