* {
    box-sizing: border-box;
    font-family: "Inter";
}

body {
    margin: 0;
    border: 0;
    padding: 0;
    background-color: #f6f7f8;
    font-size: 16px;

}

.loginButton {
    width: 250px;
    font-weight: bold;
    color: white;
    height: 51px;
    background: #2a3647;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
}

.mainContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contentContainer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    padding-left: 15px;
    padding-right: 15px;
}

.loginScreen{
  position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
/*  height: 30%;
 */ padding: 1.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    background-color: white;
/*     width: 642px;
    height: 513px;
 */ border-radius: 30px;
/*  padding: 35px 0px; */
    box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, 0.04);
}

 .arrowBack {
  position: absolute;
  top: 24px;
  left: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
} 


.loginHeading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
}

.loginHeading > h1 {
  text-align: center;

  font-size: 3rem;
/*   font-weight: bold;
 */
}

.loginHeading2 {
  width: 100%;
  margin-top: 0;
}

.blueLigne {
    height: 3px;
    background-color: #29abe2;
    width: 30%;
}

.loginScreen > span {
    text-align: center;
    width: 80%;

}

.inputContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.inputFieldContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.inputFieldContainer2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;

}

.inputFieldContainer img {
    position: absolute;
    width: 20px;
    height: 18px;
    bottom: 15px;
    right: 15px;
}

.inputFields {
    padding: 1rem;
    width: 422px;
/*  height: 51px;
 */ background: #ffffff;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
  }

  ::placeholder {
    width: 100%;
    height: 25px;
    font-size: 21px;
    color: #d1d1d1;
  }

  .userIdForgotPw {
    display: none;
  }

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 185px;
}

.startScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;

    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-delay: 750ms;
    animation-fill-mode: both;
    animation-name: startAnimation;
}

@keyframes startAnimation {
    0% {
      width: 100%;
      height: 100%;
      background-color: white;
    }
    10% {
      background-color: transparent;
    }
    100% {
      height: 100px;
      width: 83px;
      background-color: transparent;
      margin-left: 50px;
      margin-top: 25px;
    }
  }

  .forgotPwScreen{
    animation: none;
    height: 100px;
    width: 83px;
    background-color: transparent;
    margin-left: 50px;
    margin-top: 25px;
  }


.logo {
    height: 150px;
    width: 124px;
    opacity: 1;
    z-index: 99;
  
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-delay: 400ms;
    animation-fill-mode: both;
    animation-name: startLogo;
  }

  @keyframes startLogo {
    0% {
      height: 150px;
    }
    100% {
      height: 100px;
      width: 83px;
    }
  }

  .logoForgotPwScreen {
    animation: none;
    height: 100px;
    width: 83px;
  }

/* ================================== SNACKBAR =======================================*/

/* The snackbar - position it at the bottom and in the middle of the screen */
#passwordReset,#passwordsNotIdentical, #noEmailInsertedPopup, #userDoesNotExistTwo{
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 280px; /* Set a default minimum width */
  margin-left: -140px; /* Divide value of min-width by 2 */
  background-color: #2A3647; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 10px; /* Rounded borders */
  padding: 16px 8px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 5; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

#sendEmail {
  display: flex;
  justify-content: center;
  align-items: center;
}

#sendEmail > img {
  margin-right: 5px;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#passwordReset.show, #passwordsNotIdentical.show, #noEmailInsertedPopup.show, #userDoesNotExistTwo.show  {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
  


/* ========================== RESPONSIVENESS  ======================= */
@media (max-width: 900px) {
    .contentContainer {
        margin-left: 50px;
        margin-right: 50px;
    }
}

@media (max-width: 780px) {
    .loginScreen, .contentContainer {
        width: 100%;
    }
    .loginHeading > h1 {
        font-size: 2.5rem;
    }
    .inputFields {
         width: 350px;
 }
}

@media (max-width: 600px) {
    .loginButton {
        width: 200px;
        font-weight: 600;
        font-size: 1rem;
        height: 51px;
    }

    .loginScreen {
        padding: 1rem;
 }
 
    .contentContainer {
        margin-left: 25px;
        margin-right: 25px;
}

.startScreen {
    margin-left: 25px !important;
  }

  .arrowBack {
    top: 16px;
    left: 16px;
  } 

}

@media (max-width: 480px) {
  .loginScreen {
        height: 450px;
 }

 .inputFields, .inputContainer, .inputFieldContainer   {
    width: 100%;
 }

 ::placeholder {
  font-size: 16px;
}

 .inputContainer {
  padding-left: 2rem;
  padding-right: 2rem;
 }

 .logo {
    height: 75px !important;
    width: auto;
  }

  .startScreen {
    margin-left: 15px !important;
  }


}

 @media (max-width: 380px) {
 .contentContainer {
    margin-left: 1rem;
    margin-right: 1rem;
 }

 .inputContainer {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
 }

 .loginHeading > h1 {
    font-size: 2.2rem;
 }

}


