.contenedor-contactanos {
  background-color: #B4BAC0;
  display: flex;
  justify-content: center;
  padding: 60px 120px;
  color: #141547;
}


.contenedor-contactanos h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
}

/*Contactanos formulario*/
.contactanos-formulario {
  width: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.contactanos-formulario form {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  height: 100%;
}

.input-group {
  font-size: 1.25rem;
  position: relative;
  --primary: #141547;
}

.input {
  all: unset;
  color: #000;
  padding: 10px 50px;
  background-color: #F2F2F2;
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #A3BED3;
  pointer-events: none;
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input:focus {
  border: 1px solid var(--primary);
}

.input:is(:focus, :valid) ~ label {
  transform: translate(-50%, -190%) scale(0.7);
  background-color: #D9D9D9;
  color: var(--primary);
}

#mensaje {
  padding: 20px 5px 20px 5px;
}

.contactanos-formulario form button {
  background-color: #141547;
  color: #fff;
  border: none;
  width: 30%;
  height: 10%;
  margin: 10px;
  padding: 10px;
  transition: 0.5s;
}

.contactanos-formulario form button:hover {
  cursor: pointer;
  background-color: #fff;
  color: #000;
  border: 1px solid #141547;
}


/*Contactanos formulario END*/

/*contactanos redes*/
.contactanos-redes {
  width: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.contactanos-redes ul {
  display: flex;
  flex-direction: column;
}

.contactanos-redes ul li {
  list-style-type: none;
  width: 60px;
  height: 60px;
  margin: 10px;
  border: 2px solid #141547;
  border-radius: 50%;
  transition: all 0.5s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.contactanos-redes ul li i {
  font-size: 38px;
  color: #141547;
  transition: 0.5s;
}

.contactanos-redes ul li:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: all 0.5s;
  opacity: 0;
  z-index: -1;
}

.contactanos-redes ul li:hover:before {
  opacity: 1;
  transform: scale(0.8);
}

.contactanos-redes ul li:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border-radius: 50%;
  border: 2px dashed #141547;
  transition: all 0.5s;
  opacity: 0;
  z-index: -1;
  box-sizing: border-box;
}

.contactanos-redes ul li:hover:after {
  opacity: 1;
  animation: rotating 10s linear infinite;
}

@keyframes rotating {
  0% {
    transform: scale(0.92) rotate(0deg);
  }

  100% {
    transform: scale(0.92) rotate(360deg);
  }
}

.contactanos-redes ul li:hover i {
  color: #27374D;
  cursor: pointer;
}

.contactanos-redes ul a {
  text-decoration: none;
}

/*contactanos redes END*/

/*Movile contactanos*/
@media (max-width: 800px) {

  .contenedor-contactanos {
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
  }

  /*contactanos Formulario movile*/
  .contactanos-formulario {
    width: 100%;
  }

  .contactanos-formulario form input {
    border: none;
    width: 70%;
    height: 40px;
  }

  #input-consulta {
    height: 60px;
  }

  .contactanos-formulario form button {
    height: 40px;
  }

  .contactanos-formulario form button:hover {
    height: 40px;
  }

  /*contactanos Redes movile*/
  .contactanos-redes {
    padding-top: 60px;
    width: 100%;
  }

  .contactanos-redes ul {
    flex-direction: row;
  }

}

/*Movile contactanos END*/