@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

/* Variáveis */
:root {
  --bg-color: #e6f2ff;
  --text-color: #094067;
  --headline-color: #094067;
  --button-color: #094067;
  --button-hover-color: #0b5a8a;
  --card-color: #f5fafe;
  --font-family: "Roboto", sans-serif;
  --negative-color: #a52935;
  --border-color: #d1d5db;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  font-family: var(--font-family);
}
body {
  font-size: 1.6rem;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* auth */
.auth {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 450px;
  max-width: 90%;
  height: 650px;
}

/*Logo*/
.auth-header {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-block: 2rem;
}

.academy-title {
  font-size: 4.8rem;
  font-weight: 600;
  text-align: center;
}

/* Menu de login */

.login-options {
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.nav-options {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-color);
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  width: 50%;
}

.login-option-link {
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  color: var(--text-color);
  border: none;
  background-color: var(--bg-color);
  border-radius: 8px;
}

.option-active {
  background-color: var(--button-color);
  color: white;
}

/* Formulário */

.auth-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
  padding: 2rem;
  height: 100%;
}

.auth-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  gap: 3rem;
  margin-top: auto;
  margin-bottom: auto;
}

.auth-item input,
.auth-item textarea,
.auth-item select {
  padding-left: 1rem;
  min-height: 5rem;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0.5rem 0 var(--text-color);
  font-size: 1.8rem;
}

.auth-item input:focus,
.auth-item textarea:focus,
.auth-item select:focus {
  outline: none;
  box-shadow: 0 0.5rem 0 var(--button-color);
}
.auth-item textarea {
  resize: none;
}

.auth-actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
  gap: 2rem;
}

.auth-actions a {
  /* text-decoration: none; */
  color: var(--text-color);
  font-weight: 500;
}

.auth-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: var(--bg-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Bõtoes */
.button {
  background-color: var(--button-color);
  color: white;
  border: none;
  padding: 1rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.5rem;
}

.login-in {
  width: 100%;
  height: 6rem;
  font-size: 2.5rem;
  text-transform: uppercase;
}

.button:hover {
  background-color: var(--button-hover-color);
}

@media (max-width: 600px) {
  .auth {
    height: 100%;
    width: 100%;
    max-width: 100%;
  }

  .auth-item {
    margin-top: unset;
    margin-bottom: unset;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .auth-actions {
    gap: 4rem;
  }
}
