* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

*::selection{
  background-color: var(--cass-light-red);
  color:#fff;
}

.noDisplay {
  display: none;
}

#error_text {
  color: var(--cass-light-red); /* TODO, should not be using cass variables, instead they should be defaults */
}

.form-box img {
  width: 120px;
  margin-left: 34%;
  padding-bottom: 10px;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url(../images/bg1.jpg) no-repeat;
  background-color: white;
  background-size: cover;
  background-position: center;
}

.wrapper {
  position: relative;
  width: 450px;
  height: 600px;
  background: transparent;
  border: 2px solid  rgba(255, 255, 255, .5);
  border-radius: 20px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 200px rgba(0, 0, 0, 100);
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper .form-box {
  width: 100%;
  padding: 20px;
}

.form-box h2 {
  font-size: 2em;
  color: black;
  text-align: center;
  margin-top: 10px;
}

.divider {
  width: 250px;
  height: 4px;
  background-color: var(--cass-red);
  display: inline-block;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  border-bottom: 2px solid var(--cass-dgrey);
  margin: 30px 0;
  margin-bottom: 30px;
}

.input-box label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1em;
  color: var(--cass-dgrey);
  font-weight: 500;
  pointer-events: none;
  transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label,
.input-box input:-webkit-autofill~label {
  top: -10px;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  color: black;
  font-weight: 600;
  padding: 0 35px 0  5px;
}

.input-box .icon {
  position: absolute;
  right: 13px;
  top: 14px;
  vertical-align: center;
  font-size: 1.2em;
}

.input-box .svg {
  width: 30px;
  height: 30px;
}

button {
  width: 60%;
  height: 55px;
  background: var(--cass-red);
  border: none;
  outline: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1em;
  color: white;
  font-weight: 500;
  margin-left: 19%;
  font-size: 23px;
  letter-spacing: 1.5px;
  margin-top: 30px;
  margin-bottom: 10px;
  transition: .3s;
}

button:hover {
  color: rgba(255, 255, 255, .5);
  transition: .3s;
}
