/* Custom Fonts */
@font-face {
  font-family: title-font;
  src: url(./Norse-Bold.otf);
}

/* Default style override */
* {
  padding: 0;
  margin: 0;
  font-family: Verdana, Tahoma, sans-serif;
}

/* Global variables */
:root {
  --bgcolor: rgb(247 247 247);
  --bgcolorem: white;
}

/* Body umbrella styling */
body {
  width: 100%;
  height: 100vh;
}

/* Main */
main {
  width: 100%;
  height: 100%;
  display: flex;
}

/* Side photo splash title section */
.sidesplash {
  color: white;
  width: 35%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  background-color: var(--bgcolor);
  background-image: url("https://images.unsplash.com/photo-1497369573176-0ceb5353817d?q=80&w=1474&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-position: center;
}

.sidesplash > p {
  font-size: 0.8rem;
  margin: 0 0 8px 0;
}

.sidesplash > .title {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 12px 0;
  z-index: 3;
  margin: 30vh 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidesplash > div > .logo {
  width: 100px;
}

.sidesplash > div > h1 {
  font-size: 6rem;
  font-family: title-font, sans-serif;
}

/* Top paragraph styling */
.toptext {
  margin: 40px 24px;
}

.toptext p {
  font-size: 1.4rem;
  padding: 12px ;
}

/* Sign-up form section */
.signup {
  background-color: var(--bgcolor);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-body {
  padding: 24px 48px;
  display: flex;
  flex-direction: column;
  background-color: var(--bgcolorem);
  box-shadow: 0 4px 5px rgb(200 200 200);
}

.form-body > h2 {
  margin: 0 0 24px 0;
}

.form-inputs {
  display: flex;
  flex-wrap: wrap;
  overflow: auto;
  width: 100%;
  max-width: 600px;
}

.input-box {
  width: 45%;
  min-width: 150px;
  margin: 0 5% 20px 0;
}

.input-box > input {
  height: 24px;
  width: 100%;
  outline: none;
  border: 1px solid rgb(150 150 150);
  border-radius: 4px;
  padding: 4px;
}

.input-box > input:default {
  border: 1px solid rgb(150 150 150);
}

.input-box > input[type="password"]:invalid {
  border: 1px solid rgb(240 60 60);
}

.input-box > input:focus {
  border: 1px solid rgb(60 60 240);
  box-shadow: 0 3px 5px rgb(200 200 200);
}

label {
  font-size: 0.8rem;
  margin-bottom: 2px;
  display: block;
  letter-spacing: 1px;
}

button {
  margin: 32px 48px;
  color: white;
  background-color: rgb(189, 90, 73);
  width: 220px;
  height: 48px;
  border: 0px solid;
  border-radius: 8px;
  box-shadow: 3px 3px 5px rgb(200 200 200);
  font-size: 1.0rem;
  font-weight: bold;
}

.login {
  margin: 0 48px;
}

a,
a:visited {
  color: rgb(189, 90, 73);
  text-decoration: none;
  font-weight: bold;
}