@font-face {
  font-family: "Norse";
  src: url("font/Norse.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Norse";
  src: url("font/Norsebold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
* {
  padding: 0px;
  margin: 0px;
  color: black;
  box-sizing: border-box;
  font-family: "Norse", sans-serif;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
}

button {
  background-color: #596d48;
}

.main {
  display: flex;
  min-height: 100dvh;
  background-color: white;
}

.img-container {
  background-image: url("img/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  flex: 0 0 35%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 60vh;
}

#odin-img {
  height: 100%;
}

#odin-word {
  color: white;
  font-size: 100px;
  font-weight: bold;
  color: white;
}

.img-container > div {
  width: 100%;
  height: 180px;
  padding: 10px 0px;
  background-color: #00000054;
  display: flex;
  justify-content: center;
  align-items: center;
}

#credit {
  color: white;
  text-align: center;
  position: relative;
  bottom: 20px;
}

#credit > a {
  color: white;
  text-decoration: underline;
}

.form-container {
  background-color: #f9fafb;
  flex: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
}

.form-header {
  /* flex: 2; */
  padding: 50px;
  /* Layout inside */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

form {
  display: flex;
  flex-direction: column;
}

fieldset {
  padding: 50px;
  background-color: white;
  box-shadow: 5px 5px 10px rgba(1, 1, 1, 0.2);
  border: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

fieldset > div {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 100px;
}

.input {
  display: flex;
  flex-direction: column;
}

label {
  letter-spacing: 2px;
}

button[type="submit"] {
  max-width: 230px;
  padding: 15px 50px;
  border-radius: 10px;
  color: white;
  font-size: 15px;
  font-weight: bold;
  position: relative;
  left: 40px;
  top: 40px;
  box-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2);
}

button + p {
  position: relative;
  top: 60px;
  left: 40px;
}

button + p > a {
  color: #596d48;
  font-weight: bold;
}
input[type="text"],
input[type="no"],
input[type="email"],
input[type="password"] {
  font-size: 16px;
  width: 300px;
  border-radius: 3px;
  border: 1px solid #80808075;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  padding: 10px;
}

input[type="text"]:focus,
input[type="no"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: blue;
}

input:user-invalid {
  border: 1px solid red;
}

input:user-valid {
  border: 1px solid greenyellow;
}
