@font-face {
  font-family: "Norse";
  src: url("./assets/fonts/Norse-Bold.woff2") format("woff2"),
    url("./assets/fonts/Norse-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  background-color: #f5f5f5;
  display: flex;
}

.bg-container {
  position: relative;
  width: 30vw;
  min-height: 100vh;
  overflow: hidden;
}

.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo {
  width: 100px;
  height: auto;
}

.logo-bg {
  position: absolute;
  background-color: #00000075;
  width: 100%;
  top: 150px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: Norse;
  font-size: 6rem;
  color: white;
}

.fields {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  width: 100%;
  max-width: 600px;
}

.field {
  display: flex;
  flex-direction: column;
  width: 250px;
}

.fields-container {
  background-color: white;
  box-shadow: 0 5px 8px lightgray;
}

form {
  flex: 1;
  min-width: 0;
  margin-top: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

form > * {
  padding: 30px 80px;
}

label {
  font-size: 12px;
}

.fields-container > p {
  font-size: 22px;
  font-weight: bold;
  margin-top: 0;
}

.description {
  font-size: 20px;
  font-weight: bold;
  max-width: 40vw;
  margin: 20px 0;
}

input {
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  height: 25px;
}

.btn-link > p {
  font-size: 18px;
}

button[type="submit"] {
  background-color: #596d48;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 35px;
  font-weight: bold;
}

.log-in-link {
  font-weight: bold;
  text-decoration: none;
}

input[type="password"]:invalid {
  border-color: red;
}

input[type="password"]:valid {
  border-color: limegreen;
}

button[type="submit"]:hover {
  background-color: #667d53;
}

.log-in-link:hover {
  color: dodgerblue;
}

input:focus {
  outline: none;
  border-color: blue;
  box-shadow: 1px 1px 5px #b1b1b1;
}

input[type="email"]:invalid {
  border-color: red;
}

input[type="email"]:valid {
  border-color: limegreen;
}
