*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  
}
@font-face {
  font-family: 'RoundedElegance';
  src: url("../fonts/Rounded_Elegance.eot");
  src: local("☺"), url("../fonts/Rounded_Elegance.woff") format("woff"), url("../fonts/Rounded_Elegance.ttf") format("truetype"), url("../fonts/Rounded_Elegance.svg") format("svg");
  font-weight: normal;
  font-style: normal; }


body{
  font-family: RoundedElegance, 'Montserrat', sans-serif;
  font-size: 16px;
  min-height:100vh;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  position: relative;
}

body:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.6;
  background: url("../images/login.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

:focus { outline: none; }



.header{
  background-color:rgba(226, 226, 226, 0.8);
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header img{
  height: 60px;
  width: auto;
}

.link-home{
  margin-right: 40px;
}

.header a{
  margin-left: 20px;
  text-decoration: none;
  color: #4e4d4d;
  font-size: 20px;
}

.caja-big{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.caja{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 0px 30px;

  
}

.caja-login{
  background: #6e6c6ccc;
  border-radius: 40px 40px 0px 0px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 300px;
  width: 300px;
  margin: 40px 0;
}

.login{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 40px 0px 40px;
  color: black;
}

.login h3{
  color: white;
  margin-bottom: 20px;
  font-weight: 500;
}

.login img{
  height: 110px;
  width: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.correo {
  width: 80%;
}

.correo input{
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 10px 10px 35px;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(189, 189, 189 ,1);
  color:white;
}

.correo input::placeholder{
  color: white;
}

.icon{
  position: relative;
}

.icon i{
  position: absolute;
  left: 10px;
  top: 10px;
  color: rgba(189, 189, 189 ,1);
}

.forgot {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
}

.forgot button{
  padding: 5px 20px 5px 20px;
  color: white;
  background: orange;
  border: 1px solid white; 
  border-radius: 40px;
  cursor: pointer;
}

.forgot a{
  color: white;
  text-decoration: none;
}

.register{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.register a,
.btn{
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  width: 300px;
  padding: 20px 0 ;
  margin-top :-30px;
  margin-bottom: 50px;
  border-radius: 0 0 40px 40px ;
  border: none;
  background: rgba(255, 166, 0,0.8);
  font-size: 20px;
  color: white;
}

.errors{
  padding: 15px 20px;
  color: #b22b2b;
  list-style-type: none;
}
.errors li{
  margin-bottom: 10px;
}

.success{
  margin: 10px 0;
  padding: 15px 20px;
  background: rgba(255,166,0,.8);
  color: white;
  text-align: center;
}


@media screen and (max-width:600px){
  .header{
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 10px 0;
  }
  .header img{
    height: 40px;
  }
  .header a{
    font-size: 16px;
  }
  .header .link-home{
    margin-top: 20px;
  }

  .caja,  
  .caja-login,
  .register a{
    width: 100%;
  }
  .forgot{
    flex-direction: column;
  }
  .forgot button{
    margin-bottom: 20px;
  }
  .caja{
    padding:0;
  }
  .caja-login{
    padding: 0 20px;
  }
}