* {
  margin: 0;
  padding: 0;
  box-sizing: content-box;
}
body{
  overflow-x:hidden ;
}
.container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}
.Login-container {
    display: flex;
    flex-wrap: wrap;
  width:50rem;
  height: 480px;
  margin: 0px auto;
  background-color: white;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  box-shadow: 5px 5px 10px #2b388f82;
}

.first{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    width:5rem ;
    margin: 0px 2px;
}
.Sign{
    height: 80px;
    border-left: 3px solid rgb(183, 181, 181);
    display:flex ;
    justify-content: center;
    align-items: center;
    border-radius:2px;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    -ms-border-radius:2px;
    -o-border-radius:2px;
    font-weight: bold;
    color:rgb(183, 181, 181) ;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-left-color 0.3s ease;
}

.Sign:hover:not(.active){
    background: #2b388f19;

}
.Sign.active{
    color:#2b388f;
    border-left:2px solid #2b388f ;
}
.Sign.active::before{
    content: "";
    position: absolute;
    height: 100%;
    width: 3px;
    background: #000;
    left: 0;
    top: 0;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}
.Sign:active{
    position: relative;
}
.Sign.active::before{
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
}
.middle{
    display: flex;
    flex: 1 1 2rem;
    justify-content: center;
    align-items: center;
}
.middle .img-logo{
    width: 150px;
    height: 150px;
}
.middle .img-logo img{
    width: 100%;
    height: 100%;
}
.Last{
    flex: 1 1 20rem ;
    padding: 18px;
}
.google-btn{
    display: flex;
    justify-content: center;
    margin: 20px 0px;
    margin-bottom: 20px;
}

.google-btn button {
    max-width: 320px;
    display: flex;
    padding: 0.5rem 1.4rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    align-items: center;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.25);
    gap: 0.75rem;
    color: rgb(65, 63, 63);
    background-color: #fff;
    cursor: pointer;
    transition: all .6s ease;
  }
  
  .google-btn  .button svg {
    height: 24px;
  }
  
  .google-btn button:hover {
    transform: scale(1.02);
  }
.line-or{
    position: relative;
    width:auto;
    height: 10px;
    color: #cecece;
}
.line-or hr{
    border: 1px solid #dbdbdb;
}

.line-or p{
    text-align: center;
    position: absolute;
    top: -12px;
    left: 50%;
    width: 10%;
    background-color: white;
}

.Last .inputGroup {
      display: flex;
      font-family: 'Segoe UI', sans-serif;
      margin: 1em 0 1em 0;
      max-width: 400px;
      position: relative;
      margin-top: 0px;
    }
.last .name {
  display: flex;
}
 .Last .inputGroup input {
      font-size: 100%;
      padding: 0.8em;
      outline: none;
      border: 2px solid rgb(200, 200, 200);
      background-color: transparent;
      border-radius: 20px;
      width: 100%;
    }
    .Last .inputGroup input[type="password"]{
        font-family: 'password';
    }

    .Last .inputGroup label {
      font-size: 100%;
      position: absolute;
      padding: 0.7em;
      margin-left: 1em;
      pointer-events: none;
      transition: all 0.3s ease;
      -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
}

    .Last .inputGroup :is(input:focus, input:valid)~label {
      transform: translateY(-50%) scale(.9);
      margin: 0em;
      margin-left: 1.3em;
      padding: 0.4em;
      background-color: white;
      color: orange;
    }

    .Last .inputGroup :is(input:focus, input:valid) {
      border-color: #2b388f;
    }

    .Last .img {
      width: 20px;
      display: flex;
      position: absolute;
      right: 0;
      top: 15px;
      margin-right: 20px;
      cursor: pointer;
    }

    .Last .inputGroup button{
        margin: 0px auto;
        width: 100%;
        padding: 8px;
        background-color: #2b388f;
        color: white;
        border: none;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
}
.Last .inputGroup button:hover{
    background-color: #2b388fb5;
}
.hidden{
    display: none;
}
.messageDiv{
  color:red ;
  padding-top: 10px;
  font-weight: bold;
  font-size: 0.8rem;
  opacity: 0;
  animation: fadeout 7s forwards;
  -webkit-animation: fadeout 7s forwards;
  margin-top: -10px;
}

@media (min-width:360px){
  .Login-container {
    width: 320px;
    height: auto;
    padding: 10px;
  }
  .first{
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  .Sign{
    height: 40px;
    border-left: none;
    /* margin-left: 30px; */
  }
  .Sign.active{
    border-bottom:2px solid #2b388f ;
    border-left: none;
  }
  .middle{
    display: none;
  }
  .Last .inputGroup {
    width: 100%;
  }
  .fname{
    width: 10px;
  }
}
@media (min-width:600px){
  .Login-container {
    width: 500px;
  }
  .Last .inputGroup {
    max-width: 500px;
  }
  .fname{
    width: 0px;
  }
}
@media (min-width:768px){

  .Login-container {
    width: 550px;
  }
  .Last .inputGroup {
    max-width: 550px;
  }
}
@media (min-width:1280px){
  .Login-container {
    width:50rem;
    height: 480px;
    padding: 20px;
  }
  .first{
    width:5rem ;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0px;
    gap: 10px;
    padding: 6px;
  }
  .Sign{
    height: 80px;
    border-left: 3px solid rgb(183, 181, 181);
    border-bottom: none;
    margin-left: 0px;
    padding: 6px;
  }
  .login{
    margin-left: -15px;
  }
  .Sign.active{
    border-bottom:none;
    border-left: 2px solid #2b388f;
  }
  .middle{
    display: flex;
  }
}
