@font-face {
  font-family: empathy-icons;
  src: url(./empathy-icons.ttf);
}

*, html {
  font-family: Montserrat, sans-serif;
}

body {
  color: #243d48;
  font-weight: 400;
  letter-spacing: 0.01875rem;
}

.content {
  display: flex;
  flex-direction: column;
  padding: 4.25rem 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.logo {
  display: flex;
  align-self: center;
  max-height: 9.375rem;
  max-width: 18.75rem;
  margin-bottom: 2rem;
}

.alert {
  width: 25rem;
  border-radius: 1rem;
  margin: 0.625rem 0;
  color: #fff;
  font-size: 0.875rem;
  padding: 0.625rem 0.9375rem 0.9375rem;
  text-align: center;
}

.alert-error {
  background-color: rgba(212, 74, 111, 0.8);
}

.alert-success {
  background-color: rgba(130, 194, 163, 1);
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease-in-out;
}

.title {
  align-self: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.field {
  display: flex;
  position: relative;
  width: 25rem;
  margin-top: 1.875rem;
}

.icon {
  color: #243d48;
  font-size: 1.125rem;
  position: absolute;
  top: calc(50% - 0.5625rem);
  left: 0.6875rem;
}

.eicon {
  font-family: empathy-icons !important;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  letter-spacing: 0;
  -ms-font-feature-settings: "liga" 1;
  font-feature-settings: "liga";
  font-variant-ligatures: discretionary-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.input {
  background-color: #f5f6f7;
  color: #243d48;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
  letter-spacing: 0.01875rem;
  flex-grow: 1;
  border-radius: 1.5625rem;
  padding: 0.625rem 1.875rem 0.625rem 2.5rem;
  border: none;
  outline: none;
  transition: background-color 0.2s;
}

.input:disabled {
  cursor: not-allowed;
  background-color: #e5e5e5;
  color: #757575;
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  outline: none;
  cursor: pointer;
  transition-property: border-color, background-color, color, opacity;
  transition-duration: 0.2s;
  border-radius: 1.125rem;
  height: 2.25rem;
  flex-shrink: 0;
  width: 25rem;
  margin-top: 1.875rem;
  border: 1px solid transparent;
  background-color: #243d48;
  color: #fff;
}

.button--icon {
  width: 2.25rem;
}

.button:hover {
  background-color: #1b2d36;
}

.button:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.box {
  width: 25rem;
  display: flex;
  justify-content: flex-end;
}

.reset-login {
  text-decoration: none;
  margin-top: 1.875rem;
  color: #243d48;
  font-size: 0.625rem;
  letter-spacing: 0.1875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-transform: uppercase;
  cursor: pointer;
}

.season {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 7.5rem;
  margin: auto;
  transition: all 0.5s ease-in-out;
  z-index: -1;
}

.title {
  align-self: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #243d48;
  border-radius: 0.25rem;
  margin-right: 0.625rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

input[type="checkbox"]:checked {
  background-color: #243d48;
  border-color: #243d48;
}

input[type="checkbox"]:checked::before {
  content: "\2713";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
}

.label {
  color: #243d48;
  font-size: 0.875rem;
  font-weight: 500;
  margin-left: 0.25rem;
  align-self: center;
}

.anchor {
  color: #243d48;
  cursor: pointer;
}

.anchor:hover {
  color: #1b2d36;
}

.joint-field-wrapper {
  display: flex;
  flex-direction: row;
  width: 25rem;
  gap: 0.625rem;
}

.joint-field {
  display: flex;
  position: relative;
  margin-top: 1.875rem;

  > input {
    width: 100%;
  }
}

.privacy-address {
  margin: 1rem 0;

  > * {
    margin: 0.25rem 0;
  }
}

.privacy-question {
  margin: 0.75rem 0;
  font-weight: 600;
}

.privacy-ul {
  > li {
    margin: 0.25rem 0;
  }
}

.success-message {
  width: 28rem;
  margin: 0.625rem 0;
  font-weight: 500;
  text-align: center;
}

.app-title {
  max-width: 30rem;
  text-align: center;
}

.app-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 25rem;
  margin: 2.125rem 0;
  color: #7b8c93;
  font-size: 0.875rem;

  hr {
    flex-grow: 1;
    height: 1px;
    border: none;
    background-color: #bdc3c6;
  }
}

.row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 25rem;

  > * {
    margin: 0;
  }

  .field {
    flex-grow: 1;
    width: auto;
  }
}

@media only screen and (max-width: 450px) {
  .alert,
  .button,
  .field,
  .input,
  .title,
  .reset-login,
  .box,
  .season,
  .joint-field-wrapper,
  .success-message,
  .app-title,
  .divider,
  .row {
    max-width: 90%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
