body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: none;
  overflow: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/coffee.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(3px);
  z-index: 0;
}

h2 {
  font-size: 3rem;
}

h2,
p {
  color: white;
}

#container {
  position: relative;
  z-index: 2;
  width: 48rem;
  height: auto;
  padding: 20px;
  border: none;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
}

h2,
p,
button {
  position: relative;
  z-index: 2;
  color: white;
}

.img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-or-signup {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#guest-signin-button a {
  text-align: center;
  text-decoration: none;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  width: 30rem;
}

.input-div {
  margin: 1rem 1rem 1rem 1rem;
  width: 100%;
}

.name-input {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.form-container p {
  margin: 0rem 0rem 0.5rem 0rem;
  font-size: 1.4rem;
}

input {
  width: 100%;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid black;
}

button {
  margin: 1.2rem 0;
  padding: 10px 20px;
}

#name-input-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#first-name-input,
#last-name-input {
  width: 14rem;
}

button {
  background-color: #ffffff;
  color: #593d3b;
  border: 1px solid #c3a995;
  border-radius: 15px;
  width: 7rem;
  height: 3rem;
  font-size: 1.2rem;
  font-weight: 550;
  padding: 7px;
  cursor: pointer;
  text-align: center;
  margin-top: 40px;
  transition: background-color 0.3s, color 0.3s;
  margin: 0.5rem 0.3rem;
}

button:hover {
  background-color: #c3a995;
  transition-duration: 500ms;
}

button:active {
  transform: scale(0.99);
}

.button-container {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
}

.switch-container {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0.3rem;
}

.hidden {
  display: none;
}

.message {
  background-color: rgb(198, 255, 222);
  color: rgb(86, 204, 86);
  padding: 1rem 2rem;
  margin: 1rem;
  border-radius: 5px;
  font-size: 1rem;
  opacity: 0;
  animation: fadeOut 7s forwards;
}

#guest-signin-button p:hover {
  color: #593d3b;
  transition-duration: 300ms;
}

.forgot-password {
  text-align: right;
  margin-bottom: 15px;
}

.forgot-password a {
  color: #593d3b;
  font-size: 14px;
  text-decoration: underline;
}

.forgot-password a:hover {
  color: #a3b18a;
}

#send-reset-link {
  width: 50%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #593d3b;
}

.close:hover {
  color: #a3b18a;
}

.modal h2 {
  color: #593d3b;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal p {
  color: #666;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
