@import "style-new.css";

.hidden {visibility: hidden;}

.form {
    width: 320px;
    display: flex; flex-direction: column;
    margin: 20px 0px;
}

.input {
    width: 100%; height: 40px;
    border: none; border-radius: 5px;
    outline: none;
    background-color: var(--grey-200);
    padding: 5px 20px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    box-sizing: border-box;
    margin: 5px 0px 15px 0px;
}
.input:focus {background-color: var(--grey-300);}

.textarea {
  width: 100%; height: 180px;
  border: none; border-radius: 5px;
  outline: none;
  background-color: var(--grey-200);
  padding: 5px 20px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  box-sizing: border-box;
  margin: 5px 0px 15px 0px;
}
.textarea:focus {background-color: var(--grey-300);}


/* ----------------------------------------------------------- LOGIN */
.form-login {
    width: 320px;
    display: flex; flex-direction: column;
    margin: 6% 0px;
}

.input-login {
    width: 100%; height: 40px;
    border: none; border-radius: 5px;
    outline: none;
    background-color: var(--grey-200);
    padding: 5px 20px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    box-sizing: border-box;
    margin: 5px 0px 15px 0px;
}
.input-login:focus {
    background-color: var(--grey-300);
}


/* ----------------------------------------------------------- SIGN UP */
/* ------------------------------- CHECKED */
/* The container */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin: 20px 0px 10px 0px;
    cursor: pointer;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
  
  /* Hide the browser's default checkbox */
  .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border-radius: var(--br);
    border: 4px solid var(--red-500);
    background-color: var(--grey-200);
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  
  /* On mouse-over, add a grey background color */
  .container:hover input ~ .checkmark {
    background-color: var(--red-200);
  }
  
  /* When the checkbox is checked, add a blue background */
  .container input:checked ~ .checkmark {
    background-color: var(--red-500);
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid var(--grey-800);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

/* ----------------------------------------------------------- PROFILE SETTINGS */
.form-settings {
  width: 500px;
  display: flex; flex-direction: column;
  margin-top: 20px;
}

/* ----------------------------------------------------------- @media */

@media only screen and (max-width: 600px) {
    .form, .form-login {width: 60%;}
    .textarea {height: 240px;}
    .form-settings {width: 80%;}
}
@media only screen and (max-width: 400px) {
    .form, .form-login {width: 80%;}
    .textarea {height: 260px;}
}