$primary: rgb(40, 83, 255);
$facebook-button-color:#385C8E;
$google-button-color:#F14436;
$lower-text-color:#B0B0B0;
$primary-blue-color:#1A4F8B;
$primary-bg-color:#fff;
$primary-input-color:#000;
$primary-button-color:#FFFFFF;
a{
    text-decoration: none;
}

#no-icon{
    input{
        width: 100%;
    }
}

form {
    padding:  40px 30px; 
    background:  $primary-bg-color; 
    display:  flex; 
    flex-direction:  column;
    align-items:  flex-start; 
    padding-bottom:  20px; 
    width:  300px; 
    h4 {
      margin-bottom:  20px;
      color:  rgba($primary-input-color, .5);
      span {
        color:  rgba($primary-input-color, 1);
        font-weight:  700; 
      }
    }
    p {
      line-height:  155%; 
      margin-bottom:  5px; 
      font-size:  14px; 
      color:  $primary-input-color; 
      opacity:  .65;
      font-weight:  400; 
      max-width:  200px; 
      margin-bottom:  40px; 
    }
  }
  input {
    font-size:  16px; 
    padding:  20px 0px; 
    height:  38px; 
    border:  none; 
    border: 1px solid $primary-blue-color;
    border-radius: 4px;
    background:  $primary-bg-color; 
    width:  280px; 
    box-sizing:  border-box; 
    transition:  all .3s linear; 
    color:  $primary-input-color; 
    font-weight:  400;
    -webkit-appearance:  none; 
    &:focus {
      border-bottom: solid 1px $primary; 
      outline: 0; 
      box-shadow:  0 2px 6px -8px rgba($primary, .45);
    }
  }
  .floating-label-row{
      display: flex;
      flex-direction: row;
      width:  100%;
      .label-row{
        position:  relative; 
        margin-right: 4px;
        width:  100%; 
            label {
              position:  absolute; 
              top: calc(50% - 10px);
              left:  10px; 
              opacity:  0; 
              transition:  all .3s ease; 
              padding-left:  44px; 
            }
            input {
              width:  calc(100% - 44px); 
              margin-left:  auto;
              display:  flex; 
            }
            .icon {
              position:  absolute; 
              top:  0; 
              left:  0; 
              height:  56px; 
              width:  44px; 
              display:  flex; 
              svg {
                height:  30px; 
                width:  30px; 
                margin:  auto;
                opacity:  .15; 
                transition:  all .3s ease; 
                path {
                  transition:  all .3s ease; 
                }
              }
            }
            input:not(:placeholder-shown) {
                padding:  28px 0px 12px 0px; 
              }
              input:not(:placeholder-shown) + label {
                transform:  translateY(-10px); 
                opacity:  .7; 
              }
              input:valid:not(:placeholder-shown) + label + .icon {
                svg {
                  opacity:  1; 
                  path {
                    fill:  $primary; 
                  }      
                }
              }
              input:not(:valid):not(:focus) + label + .icon {
                animation-name: shake-shake;
                animation-duration: .3s;
              }
      }
  }
.page-wrapper{
    height: 100%;
    .container{
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        .img-block{
            img{
                width: 100%;
                height: auto;
            }
        }
        .meeting-text-block{
            h2{
                font-size: 36px;
                line-height: 42px;
                text-align: center;
            }
        }
        .floating-label {
            position:  relative; 
            margin-bottom:  10px;
            width:  100%; 
            label {
              position:  absolute; 
              top: calc(50% - 10px);
              left:  10px; 
              opacity:  0; 
              transition:  all .3s ease; 
              padding-left:  44px; 
            }
            input {
              width:  calc(100% - 44px); 
              margin-left:  auto;
              display:  flex; 
            }
            .icon {
              position:  absolute; 
              top:  0; 
              left:  0; 
              height:  56px; 
              width:  44px; 
              display:  flex; 
              svg {
                height:  30px; 
                width:  30px; 
                margin:  auto;
                opacity:  .15; 
                transition:  all .3s ease; 
                path {
                  transition:  all .3s ease; 
                }
              }
            }
            input:not(:placeholder-shown) {
                padding:  28px 0px 12px 0px; 
              }
              input:not(:placeholder-shown) + label {
                transform:  translateY(-10px); 
                opacity:  .7; 
              }
              input:valid:not(:placeholder-shown) + label + .icon {
                svg {
                  opacity:  1; 
                  path {
                    fill:  $primary; 
                  }      
                }
              }
              input:not(:valid):not(:focus) + label + .icon {
                animation-name: shake-shake;
                animation-duration: .3s;
              }
              a{
                
                font-style: normal;
                font-weight: normal;
                font-size: 16px;
                line-height: 19px;
                text-align: center;
                width: 100%;
                color: $primary-blue-color;
              }
        }
        .button-submit-block{
            width: 100%;
            button{
                border:none;
                width: 100%;
                background: $primary-blue-color;
                border-radius: 8px;
                padding: 10px;
                top: calc(50% - 20px/2);
                font-style: normal;
                font-weight: normal;
                font-size: 16px;
                line-height: 20px;
                /* identical to box height, or 125% */
                text-align: center;
                letter-spacing: -0.408px;
                text-transform: uppercase;
                color: $primary-button-color;
                cursor: pointer; 
            }
        }
        .lower-text-block{
            span{
                font-size: 16px;
                line-height: 19px; 
                color: $lower-text-color;
            }
        }
        .social-buttons-block{
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: space-evenly;
            button{
                width: 50%;
                height: 24px;
                border:none;
                border-radius: 5px;
                color: $primary-bg-color;
                cursor: pointer;
            }
            .facebook-button{
                background: $facebook-button-color;
                margin-right: 14px;
            }
            .google-button{
                background: $google-button-color;
            }
        }
    }
}


$displacement:  3px; 
@keyframes shake-shake {
  0% { transform: translateX(-$displacement);}
  20% { transform: translateX($displacement); }
  40% { transform: translateX(-$displacement);}
  60% { transform: translateX($displacement);}  
  80% { transform: translateX(-$displacement);}
  100% { transform: translateX(0px);}
}

