@font-face {
  font-family: "norse";
  src: url("./assets/norse-font/Norsebold.otf") format("opentype");
}

body {
  font-family: "Roboto", sans-serif;
}

.left {
  background-image: url("./assets/background-image.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
}

.odin-logo {
  width: 6rem;
  height: 6rem;
}

.odin-logo-text {
  font-family: "norse", sans-serif;
  font-size: 5rem;
  color: white;
}

.description {
  background-color: rgba(112, 128, 144, 0.1);
  font-weight: bold;
  height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  font-size: 1.2rem;
}

.description > p:nth-of-type(2) {
  margin-top: 1rem;
  padding-bottom: 1rem;
}

.form {
  box-shadow: 0rem 0.2rem 0.3rem rgba(112, 128, 144, 0.3);
  margin-bottom: 1rem;
}

fieldset {
  border: none;
}

legend {
  padding: 1rem 0 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0.5rem 0 1.3rem;
  gap: 0.3rem;
  width: 20rem;
}

input{
  border:2px solid #E5E7EB;
  border-radius: 0.3rem;
}

  input:user-valid{
    border:1px solid green;
  }
  input:user-invalid{
    border:1px solid red;
  }
  input:focus{
    outline:none;
    border:1px solid blue;
    box-shadow: 2px 2px 3px rgba(112, 128, 144, 0.3);
  }

label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 2px;
}

footer {
  padding: 1rem 0.8rem;
}

button {
  padding: 0.5rem 2rem;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  background-color: #596d48;
  margin-bottom: 2rem;
}

footer > p > a {
  text-decoration: none;
  color: #596d48;
  font-weight: bold;
}

@media (min-width: 720px) {
  .container {
    min-height: 100vh;
    display: flex;
  }

  .left{
    position: sticky;
    min-height: 100vh;
    top:0;
    flex:1;
  }
  .right{
    flex:2;
  }

  .double-wrapper{
    display:flex;
    width:25rem;
    gap:2rem;
  }
}
