:root {
  --accent-1: #fd02a1;
  --accent-2: #0bfef9;
}

header {
  position: fixed;
  max-width: 1000px;
  left: 50%;
  top: 2vmin;
  transform: translate(-50%, 0);
  margin: 0 auto;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header a {
  color: var(--text-col);
  text-decoration: none;
  padding: 0 10px;
}

.logo {
  display: block;
  font-family: "Iceland", "Inria Sans", sans-serif;
  font-size: 2rem;
  text-decoration: none;
  color: var(--text-col, #000);
  padding: 5px 15px;
  line-height: 1.5;
}

.logo::after {
  display: inline-block;
  content: ".";
  font-size: 3.5rem;
  line-height: 0;
  height: 2rem;
  color: var(--accent-1);
}

h1 {
  font-weight: 400;
  margin: 2rem;
  text-align: center;
}

body {
  position: relative;
  max-width: none;
  width: 100%;
  padding: 0;
}

main {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  filter: drop-shadow(0 0px 8px rgba(0, 0, 0, 0.25));

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main > div {
  width: 95%;
  height: 95%;
  max-width: 1000px;
  max-height: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main > div > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
main > div > div > a {
  opacity: 0.45;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem;
}
main > div > div > a:hover {
  opacity: 1;
}

main form {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

input {
  font-size: 1.1rem;
  height: 42px;
  width: 240px;
  margin: 0.6rem;
  padding: 0;
  text-align: center;
  color: var(--faded-text-col);
  border: none;
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  background-color: white;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.15);
  transition: all 200ms ease-in-out;
  -webkit-appearance: none;
  box-sizing: border-box;
}

[type="email"]:focus:invalid,
.invalid > [type="password"] {
  border: 1px solid red;
  box-shadow: 0px 0px 2px rgba(255, 0, 0, 15);
}

.pw-wrapper.invalid,
.pw-con-wrapper.invalid {
  position: relative;
}

.pw-wrapper.invalid:after,
.con-pw-wrapper.invalid:after {
  display: block;
  content: "LESS THAN 6 CHARACTERS!";
  color: red;
  background: #0009;
  padding: 2px 2px;
  margin: 0 1rem;
  text-align: center;
  border-radius: 1rem;
}

.con-pw-wrapper.invalid:after {
  content: "DOES NOT MATCH PASSWORD.";
}

input[type="submit"] {
  cursor: pointer;
}

main > a {
  color: var(--secondary-text-col);
  background: hsl(0, 0%, 100%);
  padding: 1rem 2rem;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 2rem;
  margin-top: 1rem;
  transition: all 200ms ease-in-out;
}

main > a:hover,
input[type="submit"]:hover,
input:focus,
*:focus {
  outline: none;
  color: var(--text-col);
  transform: translateY(-6px);
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.25));
}