@font-face {
    font-family: BRSonoma;
    src: url(fonts/BRSonoma.otf);
  }
  
  @font-face {
    font-family: BRSonoma;
    src: url(fonts/BRSonoma-Bold.otf);
    font-weight: bold;
  }
  
  @font-face {
    font-family: BRSonoma;
    src: url(fonts/BRSonoma-Light.otf);
    font-weight: lighter;
  }
  
  body {
    margin: 0;
  }
  
  .login {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  
    font-family: BRSonoma, Arial, Helvetica, sans-serif;
    font-weight: lighter;
    color:#383839;
    background-color: #f0f0f0;
  }
  
  .login-container {
    position: relative;
    width: 775px;
    height: 425px;
    display: flex;
    background-color: #fafafa;
  }
  
  @media only screen and (max-width: 775px) {
    .login-container {
      width: 350px;
      height: auto;
      flex-direction: column;
      align-items: center;
    }
  }
  
  @media only screen and (max-width: 375px) {
    .login-container {
      width: 100%;
      height: fit-content;
      min-height: 100vh;
    }
  }
  
  .login-image {
    width: 50%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  
  @media only screen and (max-width: 775px) {
    .login-image {
      width: 100%;
      height: auto;
      aspect-ratio: 3.5;
    }
  }
  
  .login-content {
    box-sizing: border-box;
    width: 50%;
    height: 100%;
    padding: 30px 40px;
    z-index: 1;
    background-color: #fafafa;
  
    display: flex;
    flex-direction: column;
  }
  
  @media only screen and (max-width: 775px) {
    .login-content {
      width: 100%;
      height: auto;
    }
  }
  
  @media only screen and (max-width: 375px) {
    .login-content {
      padding: 30px 20px;
    }
  }
  
  
  .login-content__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 2;
  }
  
  .login-content__links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 0;
    gap: 5px;
  }
  
  .login-title {
    margin: 0;
    font-size: 19px;
    font-weight: bold;
  }
  
  @media only screen and (max-width: 775px) {
    .login-title {
      font-size: 17px;
    }
  }
  
  .login-subtitle {
    font-size: 12px;
    line-height: 1.2em;
  }
  
  .login__label {
    display: block;
    font-size: 12px;
    line-height: 1.2em;
  }
  
  .login__input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.2em;
    padding: 7px 5px;
    border-radius: 5px;
    border: 2px solid #959595;
    outline: none;
    margin: 10px 0 15px;
  }
  
  .login__input.error {
    border-color: #d80e0e;
  }
  
  .login__input.error::placeholder {
    color: #d80e0e;
  }
  
  .login__button {
    box-sizing: border-box;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    padding-block: 5px;
    color: white;
    background-color: #478fe4;
    border: 2px solid #478fe4;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .login__button:last-child{
    margin-bottom: 10px;
  }
  
  .login__input:active, .login__button:active,
  .login__input:focus, .login__button:focus,
  .login__input:hover, .login__button:hover {
    border-color:black;
  }
  
  .login__text {
    font-size: 11px;
    line-height: 1.2em;
  }
  
  .login-title + .login__text {
    margin-top: 50px;
  }
  
  @media only screen and (max-width: 775px) {
    .login-title + .login__text {
      margin-top: 20px;
    }
  }
  
  .login__link {
    display: block;
    font-size: 12px;
    line-height: 1.2em;
    color:#383839;
  }
  
  .login__link:active, .login__link:hover, .login__link:focus {
    color: black;
  }
  
  
  /*  SHADOWS  */
  
  .shadows__container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
    z-index: 0;
  }
  
  .shadows__left {
    --p: 100px; /* control the shape (can be percentage) */
    height: 425px;
    aspect-ratio: 31 / 17;
    clip-path: polygon(100% var(--p),100% calc(100% - var(--p)),0 100%,0 0);
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f0f0f0;
  }
  
  .shadows__right {
    --p: 100px; /* control the shape (can be percentage) */
    height: 425px;
    aspect-ratio: 31 / 17;
    clip-path: polygon(0 var(--p),0 calc(100% - var(--p)),100% 100%,100% 0);
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f0f0f0;
  }
  
  @media only screen and (max-width: 775px) {
    .shadows__left {
      height: 100%;
      width: 100%;
      clip-path: polygon(var(--p) 100%,calc(100% - var(--p)) 100%,100% 0,0 0);
    }
  
    .shadows__right {
      height: 100%;
      width: 100%;
      clip-path: polygon(var(--p) 0,calc(100% - var(--p)) 0,100% 100%,0 100%);
    }
  }
  
  @media only screen and (max-width: 375px) {
    .shadows__container {
      display: none;
    }
  }
  
  .error {
    color: red;
  }