/* MAIN */

:root {
  --primary-color: #F59D33;
  --secondary-color: #EA4D3B;
  --light-color: #FEF6EC;
  --error-color: #d00000;
  --error-bg-color: #FFD6D6;
  --primary-font: 'Open Sans', sans-serif;
  --logo-font: 'Cabin', sans-serif;
}

body {
  margin: 0;
  background-color: var(--light-color);
  font-family: var(--primary-font);
}

.container {
  display: flex;
}

/* IMAGE COLUMN */

.img-column {
  background: center / contain no-repeat url(../img/espresso-pull.jpg);
  background-size: 491px 736px;
  position: relative;
  left: 0;
  width: 34vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-name {
  color: var(--primary-color);
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 12vh;
}

.site-name img {
  height: 5rem;
}

.site-name h1 {
  font-family: var(--logo-font);
  font-size: 4rem;
  margin: 1rem 0.2rem;
}

.background-caption {
  color: white;
  font-size: 0.75rem;
  position: absolute;
  bottom: 1vh;
}

.background-caption a {
  color: white;
}

.background-caption a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* FORM COLUMN */

.form-column {
  width: 66vw;
  margin-top: 13vh;
}

.prompt {
  padding: 0 2.5rem;
  font-weight: 500;
  font-size: 1.1rem;
}

.prompt strong {
  color: var(--primary-color);
  font-family: var(--logo-font);
  font-size: 1.25rem;
}

.form-wrapper {
  background-color: white;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

form h2 {
  margin: 0;
  padding-bottom: 0.5rem;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  margin-top: 1rem;
}

fieldset div {
  display: flex;
  flex-direction: column;
  width: 35%;
}

form label {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

form input {
  font-size: 1em;
  padding: 0.25rem 0.3rem;
  margin-right: 3rem;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

input:focus {
  outline: none;
  border: 2px solid var(--primary-color);
  border-radius: 3px;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.25);
}

form .error {
  border: 1px solid var(--error-color);
  background-color: var(--error-bg-color);
  border-radius: 3px;
}

.error-msg {
  color: var(--error-color);
  font-size: 0.75rem;
}

.links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 2.5rem;
  margin-top: 1.5rem;
}

.links button {
  color: white;
  background-color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.links button:hover {
  filter: brightness(110%);
}

.links span {
  font-size: 0.9rem;
  font-weight: 600;
}

.links a {
  color: var(--secondary-color);
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  fieldset div {
    width: 40%;
  }
}

@media (max-width: 1024px) {
  fieldset div {
    width: 45%;
  }
}

@media (max-width: 768px) {
  fieldset div {
    background-color: 50%;
  }
}
