@font-face {
  font-family: "norsebold";
  src: url("./assets/fonts/norse-bold-webfont.woff2") format("woff2"),
    url("./assets/fonts/norse-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* ### CUSTOM PROPERTIES ### */

:root {
  --accent-clr: #596d48;
  --input-default-clr: #e5e7eb;
}

/* ### CSS RESET ### */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

/* ### UTILITY CLASSES ### */

.text-accent {
  color: var(--accent-clr);
}

/* ### */

body {
  font-family: sans-serif;
  background-color: #d1d0d020;
}

h1 {
  font-family: "norsebold";
  font-size: 5rem;
  font-weight: normal;
}

/* ### SIGN UP FORM ### */

.sign-up-form {
  display: flex;
  min-height: 100vh;
}

/* ## SIDEBAR SECITON ## */

.sidebar-section {
  flex-shrink: 0;
  width: 540px;
  background-image: url(./assets/images/leafs-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0;
}

.title-container {
  margin-top: 200px;
  background: linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56));
  padding: 1rem;
  width: 100%;
}

.title-container h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.odin-icon {
  width: 100px;
  height: auto;
}

.bg-credit {
  margin-top: auto;
  font-size: 0.8rem;
}

/* ## SIGN UP MAIN CONTENT ## */

.content-section {
  flex-grow: 1;
}

.description-container {
  margin-top: 7rem;
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.4;
  width: 64ch;
  padding: 3rem 2.5rem;
}

.description-container > * + * {
  margin-top: 1.5rem;
}

.form-section {
  background-color: white;
  padding: 1rem 2.5rem 2rem;
  box-shadow: 0px 5px 5px 0px rgba(87, 87, 87, 0.27);
}

.form-section > * + * {
  margin-top: 1.5rem;
}

.form-section h2 {
  font-size: 1.325rem;
}

.inputs-container {
  width: 70%;
}

.inputs-container > * + * {
  margin-top: 1.125rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form-input-container {
  flex-basis: 45%;
  display: flex;
  flex-direction: column;
}

.form-input-container label {
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  color: #383838;
  letter-spacing: 0.1rem;
}

.form-input-container input {
  padding-inline-start: 0.8rem;
  font-size: 0.9rem;
  border: 1px solid var(--input-default-clr);
  border-radius: 0.2rem;
  background-color: #f1f1f12a;
}

.form-input-container input:invalid {
  border-color: #d97c7c;
}

.form-input-container input:focus {
  border-color: rgb(137, 212, 255);
  box-shadow: 3px 3px 5px rgb(61, 61, 61);
}

.content-section form button {
  margin-top: 2rem;
  margin-inline-start: 2.5rem;
  background-color: var(--accent-clr);
  color: white;
  padding: 0.6rem 1rem;
  text-align: center;
  border: none;
  border-radius: 0.4rem;
  width: 12rem;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
}

.content-section p.cta-alt {
  margin-top: 1.5rem;
  margin-inline-start: 2.5rem;
  font-size: 0.875rem;
}

.content-section p.cta-alt a {
  text-decoration: none;
  font-weight: bold;
}
