.loginPage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100vh;
  position: relative;
  background-color: #f6f6f6;
  background-image: url(fond2Hexa.png);
  background-position: right;
  background-repeat: no-repeat;
  background-size: 107em;
  background-attachment: fixed;
}
.loginPage .loginHeader {
  position: absolute;
  top: 0;
  width: 100%;
  height: 70px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.loginPage .loginHeader a {
  text-decoration: none;
  padding: 0;
  margin: 0;
}
.loginPage .loginHeader a:hover {
  cursor: pointer;
}
.loginPage .loginHeader h1 {
  position: absolute;
  left: 50%;
  top: 200%;
  transform: translate(-50%);
  width: auto;
  color: #ff00a8;
}
.loginPage .loginHeader h1:hover {
  cursor: pointer;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: none;
}
.container p {
  color: #8d8d8d;
}
.container .loginDisplay {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 0 15px;
  width: 95%;
  height: auto;
  border-radius: 10px;
  background-color: #fbfbfb;
  box-shadow: 0 0 10px 1px #a3a3a340;
}
.container .loginDisplay .stylingBar {
  background-color: #32a1bf;
  height: 2px;
  width: 90%;
}
.container .loginDisplay form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.container .loginDisplay form label {
  width: 85%;
  margin-top: 22px;
  color: #8d8d8d;
}
.container .loginDisplay form label .input {
  padding: 8px 12px;
  margin: 0;
  width: 100%;
  height: 3em;
  border: none;
  border-radius: 10px;
  background-color: #f1f1f1;
}
.container .loginDisplay form label .input:focus {
  outline: solid 1px rgb(206, 206, 206);
}
.container .loginDisplay form label .input.password {
  margin-top: 8px;
}
.container .loginDisplay form .submitButton {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #8bb9cc;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
}
.container .loginDisplay form .submitButton:hover {
  cursor: pointer;
  background-color: #66c6f0;
}
.container .loginDisplay form .submitButton.password {
  margin: 12px;
}
.container .loginDisplay .secondaryOptions {
  margin-top: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.container .loginDisplay .secondaryOptions .remember {
  color: #8d8d8d;
  font-size: 1rem;
  width: 45%;
  text-align: center;
}
.container .loginDisplay .secondaryOptions .remember input {
  margin-right: 8px;
}
.container .loginDisplay .secondaryOptions .remember input:hover {
  cursor: pointer;
}
.container .loginDisplay .secondaryOptions p {
  color: #606060;
  font-weight: 600;
  font-size: 1.1rem;
}
.container .loginDisplay .secondaryOptions .reset-password {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  border-radius: 0;
  background: none;
  border: none;
  width: 100%;
  height: 15%;
  font-size: 1rem;
  text-decoration: underline;
  text-align: center;
}
.container .loginDisplay .registerButton {
  display: flex;
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
  font-size: 1.2rem;
  background: none;
  color: #ff00a8;
  border: none;
}
.container .loginDisplay .registerButton:hover {
  color: #ffa3e0;
  background: none;
}
.container .loginDisplay .homeButton {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 20%;
}
.container .loginDisplay h1 {
  margin: 24px;
  font-size: 1.8em;
  color: #606060;
}
.container .loginDisplay a {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 55px;
  text-decoration: none;
  background-color: #f2f2f2;
  color: #8d8d8d;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 0 0 10px 10px;
  transition: 0.15s;
}
.container .loginDisplay a:hover {
  background-color: #fbfbfb;
  color: #606060;
}
.container .loginDisplay .navBottom {
  bottom: 0px;
  border-radius: 0 0 4px 4px;
}
@media screen and (min-width: 960px) {
  .loginPage .loginHeader {
    height: 115px;
  }
  .container .loginDisplay {
    width: 50%;
    max-width: 580px;
  }
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  position: relative;
  width: 95%;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  position: relative;
  width: 98%;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  color: inherit;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
