.header {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-around;
 
  font-size: 1.3rem;
}

h1 {
  color: darkblue;
  font-family: "Roboto", sans-serif;
}

.header a, span {
  text-decoration: none;
  color: darkblue;
  font-style:italic;
  text-transform: uppercase;
  letter-spacing: 2px;
  
}

.header a:hover {
  color: #5bd32c;
}

.menu-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin: auto;
}

.menu-flex > img {
  width: calc(33.5% - 1rem);
  aspect-ratio: 1.5 /1;
  border-radius: 5px;
}

.formulario {
  width: 500px;
  font-family: "Roboto", sans-serif;
  padding: 5px;
  float: left;
    width: 49%;
    margin-bottom: 5px;
    height: 29rem;
}

.formulario input {
  height: 40px;
  width: 96%;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.formulario textarea {
  height: 5rem;
  width: 96%;
  border-radius: 5px;
}

.formulario input {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: gray;
  background-color: whitesmoke;
}

.formulario label {
  font-size: 1.3rem;
  color: darkblue;
}
.txt-input {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: gray;
  background-color: whitesmoke;
  border: none;
}

.div-btn {
  color: #fff;
  font-size: 13px;
  padding: 10px;
  background-color: rgb(11, 14, 11);
  display: inline-block;
}

#btnEnviar {
  color: #fff;
  font-size: 13px;
  padding: 10px;
  background-color: darkblue;
  width: 200px;
  display: inline-block;
  margin: 20px 0px 20px 35%;
}

#btnEnviar:hover {
  background-color: lightgreen;
  color: darkblue;
}

.error {
  border: 3px solid red;
}

footer {
  text-align: center;
  background-color: black;
}

.carrusel {
  list-style-type: none;
  padding: 0;
  width: 100%;
}
.carrusel-contenedor {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 60%;
  height: auto;
}

.chevron-left {
  transform: rotate(-180deg);
}

.chevron-button {
  background-color: rgba(0, 0, 0, 0.1);
  height: 30%;
  width: 5%;
  border: 0;
  cursor: pointer;
  position: absolute;
  z-index: 999;
  font-size: 4rem;
  margin: 1rem;
}

.chevron-button-right {
  right: 0;
}

.chevron-button-left {
  left: 0;
}

.chevron-button > i {
  color: #fff;
}

.chevron-button-up {
  
  color: darkblue;
}
.dot-container {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 1px;
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 100%;
  border: 1px solid #fff;
}

.dot:hover,
.dot-active {
  background-color: #fafafa;
}

.error-input{
  border: 3px solid red;
}




@media (min-width: 700px) {
  main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .section-contacto {
    margin-bottom: 2rem;
  }

  .header img {
    width: 170px;
    height: auto;
  }
  .chevron-button {
    background-color: rgba(0, 0, 0, 0.1);
    height: 30%;
    width: 5%;
    border: 0;
    cursor: pointer;
    position: absolute;
    z-index: 999;
    font-size: 4rem;
    margin: 1rem;
  }
  .banner > img {
    width: 100%;
    height: 600px;
  }

  .banner {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .banner > p {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #fff;
    font-family: "Roboto", sans-serif;
  }
  .section-title {
    color: darkblue;
    font-family: "Roboto", sans-serif;
    font-size: 3rem;
  }

  .three-columns {
    column-count: 3;
    column-gap: 2rem;
    column-rule: 0.2rem solid #bbb;
    width: 96%;
    margin-left: 2%;
  }

  .three-columns p {
    font-size: 1.2rem;
    text-align: justify;
    font-family: "Roboto", sans-serif;
  }

  .three-columns img {
    width: 450px;
    height: auto;
  }

  .pie {
    padding: 30px 0 30px 33%;
    background-color: rgb(232, 252, 242);
    font-size: 15px;
  }

  /*inicio de estilos de servicios*/

#servicios{
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;   
  font-family: sans-serif;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1),
          rgba(0, 0, 0, 0.1)),
      url("../img/fondo_servicios.jpg");
  background-size: 100% auto;
  background-repeat: repeat; 
  height: auto;
}
.container {
  width: 1300px;
  position: relative;
  display: flex;
  justify-content: space-between;
}
.container img{
  width: 300px;
  height: 200px;
}
.container .card {
  position: relative;
  border-radius: 10px;
  text-align: center;
  
}

.container .card .icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f00;
  transition: 0.7s;
  z-index: 1;
}

.container .card:nth-child(1) .icon {
  background: black;
}

.container .card:nth-child(2) .icon {
  background: black;
}

.container .card:nth-child(3) .icon {
  background: black;
}


.container .card .icon .fa {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  transition: 0.7s;
  color: #fff;
}

i {
  color: #fff;
  font-size: 1.5rem;
}

.container .card .face {
  width: 300px;
  height: 200px;
  transition: 0.5s;
}

.container .card .face.face1 {
  position: relative;
  background: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
}

.container .card:hover .face.face1{
  background: #ff0057;
  transform: translateY(0px);
}

.container .card .face.face1 .content {
  opacity: 1;
  transition: 0.5s;
}

.container .card:hover .face.face1 .content {
  opacity: 1;
}

.container .card .face.face1 .content i{
  max-width: 100px;
}

.container .card .face.face2 {
  position: relative;
  background-color: rgb(83, 100, 131);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  transform: translateY(-100px);
  color: #ffffff;
}

.container .card:hover .face.face2{
  transform: translateY(0);
}

/*fin de estilos de servicios*/

.div-datos-contacto {
  float: right;
  width: 49%;
  text-align: center;
}

.div-datos-contacto img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 20px;
}
/*inicio de estilos del footer*/

#contactos-footer {
  width: 100%;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

#div-izq,
#div-center,
#div-der {
  text-align: center;
  display: inline-block;
  margin: 1% 10% 1% 10%;
  line-height: 3rem;
  
}

#contactos-footer p {
  font-size: 14px;
  color: #ffffff;
}
#copyright {
  text-align: center;
  font-family: 'Shadows Into Light', cursive;
  
  font-size: 10px;
  padding-bottom: 1rem;
  color: #ffffff;
}
/*fin de estilos del footer*/
}






@media (max-width: 699px) {
  main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-contacto {
    margin-bottom: 0.5rem;
    align-items: center;
  }
  .chevron-button {
    background-color: rgba(0, 0, 0, 0.1);
    height: 35%;
    width: 15%;
    border: 0;
    cursor: pointer;
    position: absolute;
    z-index: 999;
    font-size: 4rem;
    margin: 1rem;
  }
  .header {
    font-size: 0.5rem;
  }
  .header img {
    width: 100px;
    height: auto;
  }
  .div-datos-contacto {
    width: 100%;
    text-align: center;
  }
  
  .div-datos-contacto img {
    width: 100%;
    height: auto;
    margin: 0.5rem;
  }
  .formulario {
    width: 500px;
    font-family: "Roboto", sans-serif;
    border: rgb(232, 252, 242) 2px solid;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    margin: 0 20px 20px 80px;
  }
  .formulario input {
    font-family: "Roboto", sans-serif;
    font-size: 0.8rem;
    color: gray;
    background-color: whitesmoke;
  }

  .formulario label {
    font-size: 1rem;
    color: darkblue;
  }
  .txt-input {
    font-family: "Roboto", sans-serif;
    font-size: 0.8rem;
    color: gray;
    background-color: whitesmoke;
    border: none;
  }
  #btnEnviar {
    color: #fff;
    font-size: 1rem;
    background-color: darkblue;
    width: 10rem;
    display: inline-block;
    margin: initial;
  }
  .banner > img {
    width: 100%;
    height: 200px;
  }
  .banner > p {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    color: #fff;
    font-family: "Roboto", sans-serif;
  }

  .banner {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .section-title {
    color: darkblue;
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
  }
  .three-columns {
    column-count: 1;
    width: auto;
    text-align: center;
  }

  .three-columns p {
    font-size: 1rem;
    text-align: justify;
    font-family: "Roboto", sans-serif;
  }
  .three-columns img {
    width: 95%;
    height: auto;
  }

  #servicios{
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;   
    font-family: sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1),
            rgba(0, 0, 0, 0.1)),
        url("../img/fondo_servicios.jpg");
    background-size: 100% auto;
    background-repeat: repeat; 
    height: auto;
  }
  .container {
    width: 300px;
    font-size: 1rem;
    justify-content:center;
  }
  .container img{
    width: 300px;
    height: 200px;
  }
  .container .card {
    position: relative;
    border-radius: 10px;
    text-align: center;
    
  }

  #contactos-footer {
    width: auto;
    text-align: center;
    background-color: black;

  }

  #contactos-footer p, a {
    font-size: 10px;
    color: #ffffff;
  }
}

