html{
  height: 100%;
  font-family: 'Rubik', sans-serif;
}

body {
  background-color: #1a535c;
  color: #000;
  width: 100%;
  margin: 0;
  padding: 0;
  animation: fadein 2s ease;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#title {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 5rem;
    margin: 60px 0 60px 0;
    text-align: center;
}

#form-container {
  background: #396e76;
  width: 650px;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  border-radius: 15px;
  overflow: hidden;
}

#description {
  text-align: center;
  color: #ff6b6b;
  font-size: 1.5rem;
}

#checkbox-label {
  text-align: center;
  color: #ff6b6b;
}

.input {
  width: 40%;
  margin: 0 auto 15px auto;
}

input {
  background-color: rgba(0, 0, 0, 0);
  padding: 15px;
  width: 100%;
  border-style: solid;
  border-color: #f7fff7;
  border-width: 0 0 3px 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: 'Rubik', sans-serif;
  transition: border-color .5s ease-out;
  color: #ffe66d;
}

input:required:invalid {
  box-shadow: none;
}

input:required:invalid:focus {
  border-color: #ff6b6b;
}

input:required:valid:focus {
  border-color: #6bff6b;
}

#dropdown {
  background-color: rgba(0, 0, 0, 0);
  padding: 15px;
  width: 100%;
  border-style: solid;
  border-color: #f7fff7;
  border-width: 0 0 3px 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: 'Rubik', sans-serif;
  transition: border-color .5s ease-out;
  color: #ffe66d;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
}

option {
  background-color: #396e76;
  color: #ffe66d;
  font-family: 'Rubik', sans-serif;
}

.radio {
  padding:  8px 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 7px 0;
  color: #ffe66d;
}

#radio {
  border-radius: 15px;
  background: #1a535c;
  padding: 10px 0;
}

ul {
    padding: 0;
    list-style-type: none;
}

.checkbox {
  padding:  8px 15px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  margin: 7px 0;
  color: #ffe66d;
}

#checkbox {
  border-radius: 15px;
  background: #1a535c;
  padding: 10px 0;
  text-align: center;
}

textarea {
  border-radius: 15px;
  border-width: 0;
  background: #1a535c;
  padding: 10px;
  overflow: hidden;
  font-family: 'Rubik', sans-serif;
  font-size: 0.8em;
  min-width: 92%;
  max-width: 150%;
  min-height: 100px;
  max-height: 400px;
  color: #ffe66d;
}

#submit {
  padding: 5px 15px;
  background-color: #ffe66d;
  color: #1a535c;
  font-family: 'Rubik';
  font-weight: 700;
  font-size: 1.3em;
  border: 0 none;
  cursor: pointer;
  -webkit-border-radius: 5px;
  border-radius: 10px;
  width: 30%;
  height: 50px;
  margin: 30px 35%;
  transition: background-color .2s ease-out;
}

#submit:hover {
  background-color: #f7fff7;
  color: ;
  transition: background-color .2s ease-in;
}
