@font-face {
  font-family: poppins-bold;
  src: url(../font/Poppins-Medium.ttf);
}

@font-face {
  font-family: poppins-light;
  src: url(../font/Poppins-Light.ttf);
}

body, html { 
    font-family: Open Sans, sans-serif;  
    text-align: center; 
    width: 100%; 
    font-weight: 200; 
    margin: 0px; 
    padding: 2rem 0; 
    display: flex;
    height: 95vh;
    align-items: center;
  }

  .text-align-center { text-align: center; }
  .form-md { 
    text-align: center; 
    margin: 30px auto 30px auto; 
  }
  .form-md .form-group {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }
  .form-group {
    margin-bottom: 15px;
    position: relative;
  }
  input {
    position: relative;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #DDD;
    background-color: transparent;
    margin: 0px auto;
    padding: 20px 0px 0px 0px;
    height: 32px;
    outline: none !important;
    font-size: 20px;
    color: rgba(0,0,0,0.8);
    background: -webkit-linear-gradient(bottom, #1a212b 50%, #1a212b 50%);
    background: linear-gradient(to top, #1a212b 50%, #1a212b 50%);
    background-position: left bottom;
    background-size: 0 1px;
    background-repeat: no-repeat;
    transition: all .2s ease-in-out;
  }
  ::-webkit-input-placeholder { text-align: right; color: #DDD; font-size: 13px; font-weight: 200; }
  :-moz-placeholder { text-align: right; color: #DDD; font-size: 13px; font-weight: 200; }
  ::-moz-placeholder { text-align: right; color: #DDD; font-size: 13px; font-weight: 200; }
  :-ms-input-placeholder { text-align: right; color: #DDD; font-size: 13px; font-weight: 200; }
  
  label {
    position: absolute;
    top: 0; 
    left: 0;
    text-align: left;
    display: block;
    width: 100%;
    height: 52px;
    line-height: 72px;
    text-transform: uppercase;
    font-size: 13px;
    background: transparent;
    color: rgba(0,0,0,0.6);
    margin: 0px auto;
    cursor: text;
    transition: all .15s ease-in-out;
    font-family: poppins-light;
  }
  input:hover, input:focus { border-color: #1a212b; }
  input:focus { 
    background-position: left bottom;
    background-size: 100% 1px;
  }
  input:valid + label, input:focus + label { 
    height: 20px; 
    line-height: 20px; 
    font-size: 11px;
    color: #1a212b;
  }
  
  input:focus ::-webkit-input-placeholder { color: transparent; font-size: 0; }
  input:focus :-moz-placeholder { color: transparent; font-size: 0; }
  input:focus ::-moz-placeholder { color: transparent; font-size: 0; }
  input:focus :-ms-input-placeholder { color: transparent; font-size: 0; }

  button{
      background: #1a212b;
      padding: .7rem 2rem;
      border: none;
      border-radius: 0;
      color: #DDD;
      font-size: 1rem;
      margin-left: .6rem;
  }
  button:nth-of-type(2){
    opacity: .7;
  }
  .btn{
      margin-top: 2rem;
  }

  .form-md{
      width:25%;
      min-width: 320px;
      margin: 0 auto;
      padding: 2rem;
      border: 1px solid #1a212b;
  }

  img{
    width: 30vw;
    height: 30vw;
  }

  h1{
    font-family: poppins-bold;
    color:#a7a7b1;
    font-size: 5rem;
    padding: 2rem;
    line-height: 6rem;
    font-weight: 600;
    text-align: left;
    background: #1a212b;
  }

  p{
    font-size: .8rem;
  }

  .custom-select {
    margin: 1rem auto; padding: 2rem;
    background-color: yellowgreen;
    --focused-border-color: #333;
  }
  
  select {
    font-family: poppins-light;
    appearance: none;
    border-width: 2px;
    border-color: transparent;
    box-sizing: border-box;
    height: 2rem;
    padding-right: 2rem;
    flex-grow: 1;
    width: 100%;
    color: rgba(0,0,0,0.6);;
    border-bottom: 1px solid #DDD;
    transition: .5s;
    margin-top: 10px;
    text-transform: uppercase;
  }
  select:focus, select:hover {
    outline: none;
    border: none;
    border-bottom: 1px solid #1a212b;
  }
  select:focus{
    color: #1a212b;
    border-bottom: 2px solid #1a212b;
  }
  .label {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: left;
  }
  .label::after {
    content: '\25BE';
    background-color: var(--focused-border-color);
    color: #fff;
    width: 2rem;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
  }
  
  .label.svg::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='20' viewBox='0 0 10 20'%3E%3Cg fill='white'%3E%3Cpolygon id='up' points='0,7 5,2 10,7 '/%3E%3Cpolygon id='down' points='0,13 10,13 5,18 '/%3E%3C/g%3E%3C/svg%3E%0A");
    line-height: 0;
  }
  
  
  
  
  /* Bootstrap 4 convention for hiding elements that are important for accessibility */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    border: 0;
  }

  @media(max-width:387px){
    .form-md{
      width: 100%;
      height:inherit;
      margin:0 auto;
      min-width: none;
      padding: 2rem 1rem;
    }
    img{
      width: 90vw;
      height: 90vw;
    }
  }

  @media(max-width:1110px){
    body{
      flex-direction: column;
      padding-top: 0;
      font-size: 10px;
      height: 100%;
    }
  }

  @media(max-width:570px){
    h1[style]{
      line-height: 70px !important;
      padding: 2rem !important;
    }
  }

