@media all and (max-width: 500px) {
    .box {
      align-self: center;
      height: 90%;
    }

    .footer {
      position: absolute;
      top: 95%;
      text-align: center;
    }

    .elements {
      width: 100%;
      height: 80%;
      padding: 0 0 0 0;
    }

    .title {
      font-size: 23px;
    }

    #logo {
      width: 40%;
      filter: drop-shadow(0.5px 0.5px 0.5px grey);
      margin-top: 10px;
    }


  }

  @media all and (min-width: 501px) and (max-width: 767px) {

    .footer {
      text-align: center;
    }

    .elements {
      width: 100%;
      height: 80%;
      padding: 0 0 0 0;
    }

    .title {
      font-size: 23px;
    }

    #logo {
      width: 40%;
      filter: drop-shadow(0.5px 0.5px 0.5px grey);
      margin-top: 10px;
    }

    .container {
      flex-direction: column;
    }

  }

  @media all and (min-width: 768px) {
    .footer {
      margin-top: 10px;
      max-width: 475px;
      text-align: end;
    }

    .box {
      padding-bottom: 60px;
      max-width: 475px;
      width: 80%;
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    }

    .elements {
      max-width: 475px;
      width: 100%;
    }

    .title {
      font-size: 27px;
    }

    #logo {
      width: 35%;
      filter: drop-shadow(0.5px 1px 1px grey);
      margin-top: 30px;
    }

    .container {
      flex-direction: column;
    }

  }

  .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96vh;
  }

  .loader{
    text-align: center; margin-top: 5%; font-size: 20px; color: #515151;
    font-family: 'Roboto Slab', 'Noto', sans-serif;
    display: none;
  }

  .link {
    font-size: 14px;
    color: #373737;
    text-decoration: none;
    font-family: 'Slabo 13px';

  }

  :host {
    display: block;
  }

  .footer {
    width: 100%
  }

  .box {
    position: relative;
    border-radius: 2px;
  }

  .title {
    font-weight: 500;
    color: #1E1D1D;
    font-family: 'Slabo 13px';
  }

  .error {
    font-size: 14px;
    color: #D32F2F;
    font-family: 'Roboto Slab', 'Noto', sans-serif;
  }

  .signin-button {
    background-color: white;
    color: #1E1D1D;
    height: 40px;
    width: 75%;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.23);
    margin-top: 25px;
    border: 1px #F1F1F1;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .signin-button:hover {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.23);
  }

  .fundwaveIcon {
    height: 30px;
    margin-right: 8px;
    vertical-align: middle;
    width: 30px;
  }

  .signinbuttontext {
    vertical-align: middle;
    font-size: 14px;
    font-family: 'Roboto Slab';
  }

  .slideshow-container {
    margin-top: 25px;
    max-width: 400px;
    width: 80%;
    height: 200px;
    position: relative;
  }

  .mySlides {
    display: none;
    width: 100%;
    height: 100%;
  }

  .group {
    position: relative;
    margin-top: 30px;
    width: 75%;
  }

  .bar {
    position: relative;
    display: block;
  }

  .bar:before,
  .bar:after {
    content: '';
    height: 1.8px;
    position: absolute;
    background: #1F618D;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
  }

  .bar:before {
    left: 50%;
  }

  .bar:after {
    right: 50%;
  }

  .input:focus~.bar:before,
  .input:focus~.bar:after {
    width: 50%;
  }

  .input {
    font-size: 15px;
    display: block;
    width: 100%;
    border: none;
    text-align: center;
    border-bottom: 1.5px solid #6B6B6B;
  }

  .input:focus {
    outline: none;
    border-bottom-color: #F7F7F7;
  }

  .input:-webkit-autofill {
    outline: none;
    -webkit-box-shadow: 0 0 0 10px white inset;
  }

  .label {
    color: #6B6B6B;
    font-size: 15px;
    font-weight: normal;
    font-family: 'Roboto Slab';
    position: absolute;
    pointer-events: none;
    width: 100%;
      left: 0;
    bottom: 6px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
  }


  .input:focus~.label,
  .input:valid~.label {
    top: -20px;
    font-size: 15px;
    color: #1F618D;
  }

  .input:-webkit-autofill~.label {
    top: -20px;
    font-size: 15px;
    color: #1F618D;
  }

  .input:invalid {
    box-shadow: none;
  }



  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
  }

  @-webkit-keyframes fade {
    from {
      opacity: .5
    }

    to {
      opacity: 1
    }
  }

  @keyframes fade {
    from {
      opacity: .5
    }

    to {
      opacity: 1
    }
  }

  .buttonloader {
    display: none;
    border: 3px solid #eee;
    border-radius: 50%;
    border-top: 3px solid #525252;
    width: 15px;
    height: 15px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin-right: 8px;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }