.seccion-image {
  position: relative;
  background-image: url(../images/consulta-pediatrica-de-especialidad.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.seccion-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.box-one {
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.animate-fade {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}

@-webkit-keyframes fadeLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeLeft {
  -webkit-animation-name: fadeLeft;
  animation-name: fadeLeft;
}

@-webkit-keyframes fadeRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeRight {
  -webkit-animation-name: fadeRight;
  animation-name: fadeRight;
}

.style-image {
  border: 2px solid white;
  border-radius: 41px 10px 41px 10px;
  -webkit-border-radius: 41px 10px 41px 10px;
  -moz-border-radius: 41px 10px 41px 10px;
}

 /* Cambiar color del fomrulario */
 :root {
  --colorformulario: #00a0e8
}
#banner-form .formulario .texto,
#banner-form .formulario .titulo {
  margin-bottom: 20px;
  text-align: center
}

#banner-form {
  z-index: 9;
  position: relative;
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(1px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

#banner-form .formulario {
  text-align: center
}

#banner-form .input-g {
  display: flex;
  margin-bottom: 10px !important;
  text-align: center;
  flex-direction: column;
  justify-content: center
}

#banner-form .input-g2 {
  flex-direction: row;
  justify-content: space-evenly
}

#banner-form .head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center
}

#banner-form .profile-image {
  position: relative;
  height: 100px;
  width: 100px;
  margin-right: 20px
}

#banner-form .profile-info span {
  display: block;
  font-size: 1em;
  color: #000
}

#banner-form .profile-info span strong {
  color: var(--colorformulario);
  font-weight: 900
}

#banner-form img {
  border-radius: 100px
}

#banner-form .circle {
  position: absolute;
  bottom: 0;
  right: 10px;
  height: 15px;
  width: 15px;
  border-radius: 100px;
  background: #2ee7b1
}

#banner-form .formulario .titulo {
  font-size: 1.5em;
  font-weight: 900;
  color: var(--colorformulario)
}

#banner-form .formulario .texto strong {
  color: var(--colorformulario)
}

#banner-form .formulario input,
#banner-form .formulario select {
  border-radius: 10px !important;
  padding: 10px 10px 10px 20px;
  background: #f2f2f2;
  border: 2px solid var(--colorformulario);
  height: auto !important;
  display: block !important;
  line-height: normal !important;
  width: 100% !important;
}

#banner-form .formulario input::placeholder {
  color: #000
}

#banner-form .formulario button,
#banner-form a {
  border-radius: 100px;
  padding: 15px 30px;
  color: #fff;
  border: 2px solid #fff;
  background: var(--colorformulario);
  font-size: 1em;
  font-weight: 900;
  letter-spacing: 1px;
  transition: .5s;
  cursor: pointer;
  text-decoration: none
}

#banner-form a {
  display: inline-block !important;
  background-color: #000
}

#banner-form .formulario button:hover {
  background: #000;
  transition: .5s
}

#banner-form .formulario a:hover {
  background: var(--colorformulario)
}

#banner-form .respuestaformulario {
  background: #000;
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  margin: 10px 0;
  display: none;
  font-weight: 900
}

#banner-form .fail {
  display: block;
  background: #f36e59
}

#banner-form .send {
  display: block;
  background: #2ee7b1
}

@media (max-width:768px) {
  #banner-form .input-g2 {
      display: block !important
  }

  #banner-form .formulario a {
      display: block !important
  }
}