@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800&display=swap");

body {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  background-color: var(--bg);
  height:100%;
}
:root {
  --bg: #273344;
  --main: #121820;
  --white: #fff;
  --blue: #048fed;
  --blueHovered: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.07)
    ),
    #048fed;
  --blueFocused: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2)
    ),
    #048fed;
  --alert: #a94442;
  --success: #dfffd1;
  --gray: rgba(7, 9, 12, 0.3);
}

.error {
   color: #a64d4d !important;
}

.form-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form-header{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  width:100%;
 background-color: var(--main);
}

.form {
  border-radius: 20px;
  background-color: var(--white);
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  box-shadow: 2rem 1rem 3rem 1rem rgba(0, 0, 0, 0.3);
  min-height:55rem;
 
}

.login-form-inner-content{
  width:100%;
  padding:32px 32px 15px 32px;
/* buttons
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  */
}

.form-action{
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
}

.form-message{
  text-align: center;
  margin-top: 1.4em;
  background-color: var(--success);
  padding: 0.8em 2.5em;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.2em;
}

.form-control {
  margin-top: 2.5rem;
  padding: unset;
  height: unset;
  border: unset;
  box-shadow: unset;
}




.form-control label,
input {
  font-weight: 400;
  display: block;
  width: 100%;
}

.form-control input {
  outline: none !important;
  border: 1px solid var(--gray);
  box-sizing: border-box;
  border-radius: 4px;
  font-weight: normal;
  font-size: 1.6rem;
  padding: 0.8em;
}

input.form-control {
  margin-top: 0;
}

.form-control input.error {
  border-color: var(--alert);
}
.form-control input::placeholder {
  color: var(--gray);
}


/* checkbox styles */
.form-checkbox label,
.form-checkbox input {
  display: inline-block;
  width: unset;
}

.form-checkbox label {
  position: relative;
  margin-left: 2.5rem;
}

.form-checkbox input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.form-checkbox label:before {
  position: absolute;
  content: " ";
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  left: -1rem;
  top: 50%;
  transform: translate(-100%, -50%);
  border: 1px solid var(--gray);
  border-radius: 2px;
}

.form-checkbox input:checked ~ label:before {
  border-color: #000;
  background: url("../img/iconLanding/check.svg") 50% 50% no-repeat;
}

/* buttons */

.btn-form-cotrl{
  width:100%;
  padding:0 32px;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
   .login-form-body {
      margin-top: 50px;
   }
}

.btn-submit {
  padding: 1.2rem 0;
  color: var(--white);
  width: 100%;
  background-color: #048fed;
  border-radius: 10px;
  
}

.btn-submit:hover {
  background: var(--blueFocused);
  color: var(--white);
}

.btn-submit:focus {
  outline: none !important;
  color: var(--white);
  background: var(--blueFocused);
}


@media  (orientation: portrait) and (max-width:559px) {


  body{
    overflow: hidden;
    height:100vh;
  }

  .form-wrapper {
    height: 100%;
    width:100%;
  } 

  .login-form-header{
    height: 90px;
  } 

  .form {
    margin: 0;
    width: 100%;
    max-width:unset;
    height: 100%;
    border-radius: unset;
    align-items: center;
    overflow: hidden;
    box-shadow: unset;
  }
  .form-control label{
    font-size: 2.6vh;
  }

  .form-action{
    text-align: center;
    font-size: 3.5vh;
    font-weight: 600;
  }

  .login-form-inner-content{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    xxjustify-content: center;
    xxheight:calc(100% - 230px);
    max-height:100%;
    width:100%;
  }

  .btn-form-cotrl{
    padding:0 32px;
  }

  .btn-submit {
    width:100%;
  }

}



@media  (orientation: portrait) and (max-height:640px) {

  .form-wrapper {
    width: 100%;
    height: 100%;
  }

  .form{
    height: 100%;
  }

  .login-form-inner-content{
    height:calc(100% - 230px);
    
  }

  .btn-form-cotrl{
    padding:0 32px;
  }

}


@media  (orientation: portrait) and (max-height:360px) {

  .form-wrapper {
    height: unset;
    width:100%;
  } 

  .login-form-header{
    height: 45px;
  } 

  .form {
    margin: 0;
    width: 100%;
    max-width:unset;
    height: 100%;
    border-radius: unset;
    align-items: center;
    overflow: hidden;
    box-shadow: unset;
  }
  .form-control label{
    font-size: 4vh;
  }

  .form-action{
    text-align: center;
    font-size: 3.9vh;
    font-weight: 600;
  }

  .login-form-inner-content{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    xxjustify-content: space-between;
    justify-content: center;
    height:100%;
    width:100%;
  
  }

  .form-control input {
    padding: 0.2em;
  }


  .btn-form-cotrl{
    margin-top:-7vh;
    padding:0 32px;
  }

  .btn-submit {
    margin:0;
    width:100%;
    padding: 0.4rem 0;
  }

  .form-control {
    margin-top: 1.2rem;
}


}





@media  (orientation: landscape) and (max-width:1200px){

  .form {
    min-height: 49rem;
  }
  
  .login-form-inner-content{
    height:60%;
    padding:21px 52px;
  }

  .btn-form-cotrl{
    height:100%;
    padding:0 52px;
   margin-top:-1vh;
  }

  .btn-submit {
    xxmargin-top:0;
  }
}


@media  (orientation: landscape) and (max-width:926px){

  .form-wrapper {
    height: 100%;
    width:100%;

  } 

  .login-form-header{
    height: 90px;
  } 

  .form {
    margin: 0;
    width: 100%;
    max-width:unset;
    height: 100%;
    border-radius: unset;
    align-items: center;
    overflow: hidden;
    box-shadow: unset;
    height: 100%;
  }

  .login-form-inner-content{
    height:100%;
    padding:32px 52px;
  }

  .btn-form-cotrl{
   
    padding:0 52px;
    margin-top:-3vh ;
  }

}