@import url('https://fonts.googleapis.com/css?family=Mali|Roboto&display=swap');

:root{
  --primary: #007BBF;
  --secondary: #0B307F;
  /* --green: #EE6F2A; */

  --yellow: #F9CF00;
  --orange: #EE6F2A;
  --pink: #EB4D8A;
  --cyan: #00BBE8;
  --blue: #007BBF;
  --purple: #9592C9;
  --aquamarina: #00AC92;
}
/*--------------------------------WELCOME---------------------------------*/

* {
  box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  /* outline: none !important;
  outline-width: 0 !important; */
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  font-family: myriad-pro, sans-serif;
}

a{
  color: black;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

.main {
  width: 98%;
  margin: auto;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
}

.c21English > .firstHalf {
  padding: 0;
  width: 0%;
}

.c21English > .firstHalf > img,
.c21English > .firstHalf > .footer,
.c21English > .firstHalf > .loginForm {
  transform: scale(0);
}

.c21English > .firstHalf {
  min-width: unset;
}

.c21English > .welcome {
  width: 100%;
}

.c21English > .welcome > img {
  width: 60%;
}


.firstHalf {
  /* --mainColor: #004a7d;
  --secondColor: #fea400; */
  --mainColor: #e4c238;
  --secondColor: black;
  padding: 25px;
  height: 100vh;
  min-width: 350px;
  width: 25%;
  background-color: rgb(255, 255, 255);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: 1s ease-in-out;
  min-height: 500px;
}

.firstHalf > img {
  height: 20%;
  max-width: 80%;
  transition: .3s ease-in-out;
}

.loginForm {
  /* margin-top: 50px; */
  display: flex;
  flex-direction: column;
  /* background-color: rgb(255, 255, 255); */
  width: 90%;
  min-width: 300px;
  transition: .3s ease-in-out;
}

.loginForm > h3 {
  text-align: center;
}

.loginForm > input {
  margin: 10px;
  padding: 7px 5px;
}

.loginForm > p {
  margin: 10px;
  padding: 7px 0px;
  text-align: center;
  font-size: 1.2em;
  color: var(--secondColor, black);
  cursor: pointer;
}

.loginForm > p:hover {
  text-decoration: underline;
}

.loginForm > #submitButton{
  padding: 10px 5px;
}

.formButton {
  text-align: center;
  background: var(--mainColor, var(--primary));
  color: white;
  font-size: 1.2em;
  box-shadow: none;
  border: none;
  cursor: pointer;
  margin: 10px;
  padding: 7px 5px;
}

.forgotScreen > .loginForm {
  margin: 0;
  width: 100%;
}

.firstHalf > .footer {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 10px;
  text-align: center;
  transition: .3s ease-in-out;
}

.welcome {
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 1s ease-in-out;
}

.welcome > img {
  width: 90%;
  height: auto;
  transition: .5s ease-in-out;
}

.loginForm > div {
  display: flex;
  padding: 0 10px;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  height: auto;
  align-self: center;
  position: relative;
  margin: 30px 10px;
}

.loginForm > h3{
  margin: 10px 0;
}

.barcolor {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  min-width: 230px;
  left: 0;
  bottom: -1px;
  background-color: var(--secondColor, var(--secondary));
  transform: scale(0.0,1);
  transform-origin: left bottom;
  transition: .3s ease;
}

div label {
  font-size: 125%;
  width: 100%;
  position: absolute;
  bottom: 3px;
}

label {
  margin: 0;
  display: block;
  cursor: pointer;
}

.formInput {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  border-bottom: 2px solid var(--secondColor, var(--secondary));
  position: relative;
  width: 100%;
  min-width: 230px;
  font-size: 110%;
  padding: 0 0 5px 5px;
  color: rgb(0, 0, 0);
  cursor: pointer;
}

.inputLabel {
  transition: .3s ease;
}

.formInput:focus + .inputLabel{
  transform: translate(0, -30px);
}

.formInput:not(:placeholder-shown) + .inputLabel{
  transform: translate(0, -30px);
}

.signUp__link{
  width: 100%;
  justify-self: flex-end;
  text-align: center;
}

.signUp__link > span{
  color: var(--mainColor, var(--secondary));
  font-weight: bolder;
}

#submit, .siguiente {
  text-align: center;
  width: 150px;
  height: 25px;
  padding: 0 10px;
  border-radius: 12px;
  align-self: center;
  background-color: #FBD906;
  cursor: pointer;
  border: none;
}

#submit:hover, .siguiente:hover {
  background-color: hsl(30, 80%, 60%);
}

#submit:focus, .siguiente:focus {
  background-color: hsl(30, 100%, 40%);
}

#forgotForm {
  display: none;
}

#close{
  width: 50px;
  height: 50px;
  top: 10%;
  left: 20%;
  position: absolute;
  display: flex;
  align-items: center;
  cursor: pointer;
}

#closeA{
  height: 5px;
  width: 30px;
  background-color: var(--mainColor);
}

#closeA::after, #closeA::before{
  content: "";
  background-color: var(--mainColor);
  height: 5px;
  width: 15px;
  position: absolute;
  left: 2.5px;
  transform-origin: left;
  transform: rotateZ(45deg);
}

#closeA::after{
  transform: rotateZ(-45deg);
}

@media screen and (max-width : 650px) {
  body {
    font-size: 75%;
  }

  .firstHalf {
    min-width: 300px;
    padding: 10px;
  }
}


@media screen and (max-width : 500px) {
  .main {
    position: relative;
  }

  .firstHalf {
    width: 100%;
    min-width: 300px;
    padding: 5px;
    z-index: 2;
  }

  .footer {
    padding: 8px;
  }

  .welcome {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
}

/*--------------------------------Message---------------------------------*/

.message{
  position: fixed;
  background: url(../img/tip.svg) center/cover no-repeat;
  display: flex;
  font-family: 'Myriad Pro Condensed';
  justify-content: center;
  padding-top: 15px;
  position: fixed;
  top: 200px;
  right: 0;
  width: 200px;
  height: 210px;
  transform: translateX(150%);
  transition: .5s ease;
  /* z-index: 3; */
}

.message span{
  color: red;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 20px;
  font-weight: 900;
  /* position: absolute; */
  right: 16px;
  top: 0px;
  text-align: center;
  width: 20px;
}

.message p{
  color: var(--primary);
  text-align: center;
  width: 85%;
  margin: 0;
  font-size: 1.2em;
}

