#contact {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  transition: bottom 0.5s ease;
  pointer-events: none;
}
#contact .cwrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
}
#contact .cwrap .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}
#contact .cwrap .close,
#contact .cwrap .close:hover,
#contact .cwrap .close:visited {
  display: block;
  cursor: default;
  flex: 1;
  text-decoration: none;
}
#contact .cwrap .info {
  width: 650px;
  height: 100vh;
  position: relative;
  right: -650px;
  overflow: auto;
  transition: right 0.5s ease;
}
#contact .cwrap .info .close {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #fff;
}
#contact label > * {
  vertical-align: middle;
}
#contact label span {
  margin-left: 12px;
  position: relative;
  top: -1px;
}
#contact #send {
  display: block;
  background-color: #fff;
  color: #000;
  font-family: 'Ebrima';
  margin: 0.5em auto 0 auto;
}
#contact.active {
  pointer-events: auto;
}
#contact.active .cwrap .overlay {
  background-color: rgba(0, 0, 0, 0.7);
}
#contact.active .cwrap .info {
  right: 0;
}
#contact.footer-active {
  bottom: 140px;
}
#contact.footer-active .cwrap .info {
  width: 650px;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: 250;
  transition: right 0.5s ease;
}
#contact .info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #5bb3d6;
  color: #fff;
}
#contact .info .form-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
#contact .info .form-container > * {
  width: 100%;
}
#contact .info .form-container .body {
  flex: 1;
}
#contact .info .form-wrap {
  flex: 1;
  background-color: transparent;
  background-image: url('/img/cohete2.png');
  background-size: 100%;
  background-position: bottom center;
  background-repeat: no-repeat;
  padding: 2em 2.5em;
  margin-bottom: 0em;
}
#contact .info .form-wrap h1,
#contact .info .form-wrap h5 {
  text-align: center;
  font-family: 'Ebrima';
}
#contact .info .form-wrap h5 {
  margin: 0;
  margin-top: 1.5em;
}
#contact .info .form-wrap .checks {
  font-family: 'Ebrima';
  display: flex;
  font-size: 1em;
  justify-content: space-between;
}
#contact .info .form-wrap .checks > * {
  flex: 0 0 auto;
  display: inline-block;
}
#contact .info .form-wrap input[type='text'],
#contact .info .form-wrap textarea {
  font-size: 1.2em;
  width: 100%;
  border: 1px solid #fff;
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.5);
}
#contact .info .form-wrap label {
  font-size: 0.9em;
  margin: 10px 0 4px 0;
}
#contact .info .send-info {
  text-align: center;
  color: #000;
  padding: 10px 0;
  font-size: 0.9em;
}
#contact .info .social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 140px;
  background-color: #000;
  flex: 0 0 140px;
}
#contact .info .social h3 {
  color: #ffffff;
  font-size: 1.2em;
  margin: 0;
  margin-bottom: 1em;
}
@media (max-width: 768px) {
  #contact {
    font-size: 0.9em;
  }
  #contact .info .form-wrap {
    padding: 1.5em;
  }
  #contact .info .form-wrap h1 {
    font-size: 6vw;
  }
}
@media (max-height: 6px) {
  #contact {
    font-size: 0.9em;
  }
  #contact .info .form-wrap {
    padding: 1.5em;
  }
  #contact .info .form-wrap h1 {
    font-size: 6vw;
  }
}
