* {
  padding: 0;
  margin: 0;
  outline: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background: #666666;
}

header {
  display: flex;
  justify-content: space-between;
  background: rgb(0, 102, 102);
  color: #ececec;
}

header div {
  padding: .6em .8em;
}

header p {
  font-size: 24px;
  margin-bottom: 2px;
}

header span {
  font-size: 16px;
  color: #c5c5c5;
}

header a {
  padding: 0 1.5em;
  background: none;
  border: none;
  color: #ececec;
  font-size: 16px;
  cursor: pointer;
  transition: .2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

header a:hover {
  color: #c4c4c4;
}

#body {
  height: calc(100% - 50px);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

form {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 8px 3px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

#title {
  display: flex;
  padding: 1em 1.5em 0 1.5em;
  font-size: 24px;
  color: #666666;
  border-radius: 8px 8px 0 0;
  background: rgba(241, 241, 241, 0.8);
}

#title img {
  width: 90px;
}

#title P {
  width: 100%;
  padding: .3em 1em;
  color: #000000;
  font-size: 26px;
  line-height: .8;
}

#title span {
  font-size: 20px;
  opacity: .7;
}

form h2 {
  padding: .6em;
  text-align: center;
  background: rgb(0, 102, 102);
  color: #ffffff;
  font-weight: normal;
}

form > div {
  padding: 1.5em;
}

form div div {
  display: flex;
  align-items: center;
  padding-bottom: 1em;
}

form p {
  font-size: 18px;
  width: 210px;
}

form span {
  opacity: .7;
  font-size: 15px;
}

form input,
form textarea {
  width: 350px;
  border: none;
  background: #e3e3e3;
  border-bottom: 2px solid #9c9c9c;
  color: #000000;
  font-size: 18px;
  padding: .6em .8em;
  resize: vertical;
  transition: .1s ease;
  border-radius: 5px;
}

form button {
  width: 100%;
  background: rgb(0, 102, 102);
  color: #ffffff;
  border: none;
  padding: 1em;
  font-size: 18px;
  cursor: pointer;
  padding: 1em;
  transition: .1s ease;
  border-radius: 5px;
}

form button:hover {
  opacity: .8;
}

form.disable * {
  opacity: .5;
  pointer-events: none;
}

#details {
  display: none;
}

#form-sent {
  position: relative;
  padding: 1em 2em 2.5em 2em;
  text-align: center;
  background: #3693aa;
  color: #ffffff;
  font-weight: normal;
}

#form-sent h2 {
  font-size: 26px;
  font-weight: normal;
}

#form-sent button {
  position: absolute;
  right: .7em;
  bottom: .7em;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: .3em;
}

#form-sent button:hover {
  opacity: .8;
}

#form-error {
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

#form-error p {
  width: 100%;
}

#form-error p:first-child {
  text-align: center;
  color: red;
  margin: 1em;
}

#form-error ul {
  padding: 1em 2em;
}

#close {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#close::after {
  display: inline-block;
  content: "\00d7";
  font-size: 45px;
  font-weight: 100;
  line-height: 0;
  opacity: .5;
  pointer-events: none;
  transition: .2s ease-in-out;
}

#close:hover::after {
  opacity: 1;
}