@import url(../../../navigation.css);
@import url(../../../footer.css);

* {
  box-sizing: border-box;
}
a {
  all: unset;
}
body {
  margin: 0;
  font-family: "Figtree", sans-serif;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100%;
}

.wrapper {
  display: flex;
  flex-grow: 1;
  inset: 0;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.signup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex-grow: 1;
  flex-wrap: wrap;
}

.image-wrapper {
  display: none;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100%;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  width: 100%;
  padding: 30px;
}

.image-wrapper .logo {
  height: 500px;
}

.main-form {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}

.form-error {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 5px;
}

.error {
  color: red;
  font-size: 0.8rem;
}

.profile-image-container {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 20px;
  position: relative;
  margin-bottom: 20px;
}

.profile-image-preview {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  border: 2px solid #ccc;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
}

.profile-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-image-label {
  display: block;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}

.profile-image-input {
  display: none;
}

.form-input {
  border-radius: 5px;
  font-family: "Figtree", sans-serif;
  height: 40px;
  border: 1px solid grey;
  width: 100%;
  padding-left: 10px;
  background-color: #fff;
}

.form-input:focus {
  background-color: #f7f9fa;
  border: 2px solid #00b3ff;
  outline: none;
}

.action-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.submit-button {
  all: unset;
  background-color: #00b3ff;
  color: white;
  padding: 6px;
  border-radius: 5px;
  flex: 1;
  cursor: pointer;
  transition: 0.3s;
}

.login-button {
  all: unset;
  background-color: #2d2f31;
  color: white;
  padding: 6px;
  flex: 1;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

@media (max-width: 576px) {
  main {
    margin-top: 30px;
  }
}

@media (min-width: 576px) {
}

@media (min-width: 768px) {
  .signup-container {
    flex-direction: column;
  }

  .image-wrapper {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .image-wrapper {
    display: flex;
  }
  .signup-container {
    flex-direction: row;
    background-color: transparent;
  }
  .image-wrapper {
    height: 100%;
    flex: 1;
  }

  .form-wrapper {
    flex: 1;
  }
}

@media (min-width: 1200px) {
}
