/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow: hidden;
}

body {
  background: white;
  font-family: 'Montserrat', sans-serif;
}

/* LOGIN BOX STYLES */
.bg {
  background: rgb(19, 19, 19);
  height: 100%;
  width: 40%;
  position: absolute;
  overflow: hidden;
}

.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.login_box {
  position: absolute;
  top: 10%;
  left: 25%;
  width: 50%;
  height: 80%;
  border-radius: 0.75vw;
  font-size: 0.8vw;
  overflow: hidden;
  box-shadow: 0.5vw 1vw 3vw rgba(0, 0, 0, 0.1);
}

.login_box .img_wrapper {
  width: 40%;
  height: 100%;
  overflow: hidden;
}

.login_box .img_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login_box .text {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: white;
  padding: 2vw;
}

.login_box .logo {
  width: 3.5vw;
  margin-bottom: 2vw;
}

.login_box .descr {
  color: #5c5c5c;
  margin-bottom: 2vw;
  margin-top: 0.75vw;
}

.login_box label {
  margin-bottom: 1vw;
  display: block;
}

.login_box label b {
  font-size: 0.8vw;
  margin-bottom: 0.5vw;
  display: block;
}

.input_text {
  width: 100%;
  font-size: 0.8vw;
  border-radius: 0.25vw;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  outline: 0.15vw solid rgba(0, 0, 0, 0.05);
  transition: 0.2s;
}

.input_text.incorrect_input {
  outline: 0.15vw solid rgb(255, 59, 59);
}

.input_text img {
  width: 1vw;
  margin-right: 0.5vw;
  margin-left: 1vw;
}

.input_text input#user {
  text-transform: uppercase;
}

.input_text input::placeholder {
  text-transform: none;
}

.input_text input {
  width: 100%;
  font-size: 0.8vw;
  font-weight: 500;
  margin-left: 0.5vw;
  border: none;
  outline: none;
  padding: 1vw;
  padding-left: 0vw;
  font-family: montserrat;
  background: none;
}

.input_text .eye {
  cursor: pointer;
  opacity: 0.5;
  margin-right: 1vw;
  transition: 0.2s;
}

.input_text .eye:hover {
  opacity: 1;
}

.incorrect {
  background: rgb(255, 59, 59);
  color: white;
  padding: 0.5vw;
  padding-left: 2.25vw;
  padding-right: 1vw;
  border-radius: 4vw;
  display: none;
  align-items: center;
  position: relative;
  font-size: 0.7vw;
}

.incorrect img {
  width: 1vw;
  margin-right: 0.5vw;
  margin-left: 0.25vw;
  position: absolute;
  left: 0.5vw;
  filter: invert();
}

.tratamiento-de-datos {
  font-size: 0.7vw;
  margin-top: 1vw;
  color: #5c5c5c;
}

.tratamiento-de-datos b {
  transition: 0.2s;
}

.tratamiento-de-datos b:hover {
  cursor: pointer;
  color: black;
}

#submit {
  background: none;
  padding: 0.75vw;
  margin-top: 1vw;
  background: #FF8800;
  color: white;
  border: none;
  border-radius: 0.5vw;
  width: 100%;
  font-size: 1vw;
  font-family: montserrat;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

#submit:hover {
  box-shadow: 0vw 0.25vw 1vw rgba(0, 0, 0, 0.2);
}

.forgot_password {
  margin-top: 0.5vw;
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
  opacity: 0.5;
  text-align: center;
  transition: 0.2s;
}

.forgot_password:hover {
  opacity: 1;
}

#error_mail {
  color: red;
}

#sent {
  font-weight: bold;
}

.data_box {
  position: relative;
  height: 100%;
}

.data_box .title {
  display: flex;
  align-items: center;
  margin-bottom: 1vw;
}

.data_box .title img {
  width: 4vw;
  margin-right: 1vw;
  padding-right: 1vw;
  border-right: 0.15vw solid #9c9c9c;
}

.data_box .terms {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 75%;
  padding: 1vw;
  border-radius: 0.5vw;
  background: #F5F5F5;
}

.data_box .terms::-webkit-scrollbar-thumb {
  width: 0.4vw;
  background: #F5F5F5;
}

.data_box .terms::-webkit-scrollbar {
  width: 0.4vw;
  background: #F5F5F5;
}

.data_box .terms:hover::-webkit-scrollbar-thumb {
  background: #a3a3a3;
  border-radius: 0.5vw;
}

.data_box .terms::-webkit-scrollbar-thumb:hover {
  background: #FF8800;
  border-radius: 0.5vw;
}

@media (max-width: 768px) {
  .bg {
    display: none;
  }

  html {
    overflow: scroll;
  }

  .login_box {
    width: 100%;
    height: auto;
    font-size: 3.75vw;
    box-shadow: none;
    left: 0;
    top: 0;
    border-radius: 0;
  }

  .login_box .img_wrapper {
    width: 100%;
    height: 40vw;
    position: relative;
    transition: 0.5s;
  }

  .login_box .img_wrapper.hidden {
    height: 0vw;
  }

  .login_box .text {
    width: 100%;
    position: relative;
    height: auto;
    padding: 5vw;
    border-top-right-radius: 5vw;
    border-top-left-radius: 5vw;
    margin-top: -5vw;
  }

  .login_box .logo {
    width: 16vw;
    margin-bottom: 6vw;
    margin-top: 4vw;
  }

  .login_box h1 {
    font-size: 6.5vw;
    margin-bottom: 4vw;
  }

  .login_box .descr {
    margin-bottom: 8vw;
  }

  .login_box label {
    margin-bottom: 4vw;
    display: block;
  }
  
  .login_box label b {
    font-size: 3.75vw;
    margin-bottom: 2vw;
    display: block;
  }
  
  .input_text {
    width: 100%;
    font-size: 3.75vw;
    border-radius: 3vw;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    outline: 0.75vw solid rgba(0, 0, 0, 0.05);
    transition: 0.2s;
  }

  .input_text.incorrect_input {
    outline: 0.75vw solid rgb(255, 59, 59);
  }
  
  .input_text img {
    width: 5vw;
    margin-right: 3vw;
    margin-left: 5vw;
  }
  
  .input_text input#user {
    text-transform: uppercase;
  }
  
  .input_text input::placeholder {
    text-transform: none;
  }
  
  .input_text input {
    width: 100%;
    font-size: 3.75vw;
    font-weight: 500;
    margin-left: 0.5vw;
    border: none;
    outline: none;
    padding: 5vw;
    padding-left: 0vw;
    font-family: montserrat;
    background: none;
  }
  
  .input_text .eye {
    cursor: pointer;
    opacity: 0.5;
    margin-right: 5vw;
    transition: 0.2s;
  }
  
  .input_text .eye:hover {
    opacity: 1;
  }

  .incorrect {
    background: rgb(255, 59, 59);
    color: white;
    padding: 3vw;
    padding-left: 12vw;
    padding-right: 5vw;
    border-radius: 10vw;
    align-items: center;
    position: relative;
    font-size: 3vw;
  }
  
  .incorrect img {
    width: 4vw;
    margin-right: 0.5vw;
    margin-left: 0.25vw;
    position: absolute;
    left: 4vw;
    filter: invert();
  }

  .tratamiento-de-datos {
    font-size: 3vw;
    text-align: center;
    margin-top: 4vw;
    color: #5c5c5c;
  }
  
  .tratamiento-de-datos b {
    transition: 0.2s;
  }
  
  .tratamiento-de-datos b:hover {
    cursor: pointer;
    color: black;
  }
  
  #submit {
    background: none;
    padding: 5vw;
    margin-top: 6vw;
    background: #FF8800;
    color: white;
    border: none;
    border-radius: 3vw;
    width: 100%;
    font-size: 3.75vw;
    font-family: montserrat;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
  }

  .forgot_password {
    margin-top: 4vw;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.5;
    text-align: center;
    transition: 0.2s;
  }

  .data_box {
    position: relative;
    height: 100%;
  }
  
  .data_box .title {
    display: block;
    margin-bottom: 4vw;
  }

  .data_box .title h2 {
    font-size: 6.5vw;
  }
  
  .data_box .title img {
    width: 14vw;
    margin-right: 0vw;
    padding-right: 0vw;
    margin-top: 8vw;
    margin-bottom: 6vw;
    border-right: 0vw solid #9c9c9c;
  }
  
  .data_box .terms {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    padding: 5vw;
    border-radius: 3vw;
    background: #F5F5F5;
  }
  
  .data_box .terms::-webkit-scrollbar-thumb {
    width: 0.4vw;
    background: #F5F5F5;
  }
  
  .data_box .terms::-webkit-scrollbar {
    width: 0.4vw;
    background: #F5F5F5;
  }
  
  .data_box .terms:hover::-webkit-scrollbar-thumb {
    background: #a3a3a3;
    border-radius: 0.5vw;
  }
  
  .data_box .terms::-webkit-scrollbar-thumb:hover {
    background: #FF8800;
    border-radius: 0.5vw;
  }
}