html {
  height: 100%;
}

body {
  min-height: 100vh;
  max-width: 1900px;
  background-color: papayawhip;
  margin: 0 auto;
}

/*Barra de navegación*/
.navbar {
  font-weight: 900;
  font-size: larger;
  padding: 2rem;
  margin: 0px;
  background-image: url(imag/ondaremen.jpg);
}

.navbar :hover {
  color: #ffffff;
}

.navbar-collapse {
  align-items: center;
  justify-content: inherit;
}

.navbar-brand {
  margin-left: 150px;
}

/*efecto neon*/

:root {
  --shadow-color: #FF9E9E;
  --shadow-color-light: white;
}


.nav-item:hover {
  color: white;
  animation: neon 3s infinite;
}

@keyframes neon {
  0% {
    text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
      0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light),
      0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
  }

  50% {
    text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
      0 0 5px var(--shadow-color-light), 0 0 15px var(--shadow-color-light), 0 0 25px var(--shadow-color-light),
      0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 60px var(--shadow-color), 0 0 80px var(--shadow-color), 0 0 110px var(--shadow-color), 0 0 210px var(--shadow-color);
  }

  100% {
    text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
      0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light),
      0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
  }
}

* {
  box-sizing: border-box;
}






#logo {
  border-radius: 10px;
}

/* Pie de pagina */

footer {
  display: flex;
  flex: 0 0 auto;
  height: auto;
  background-image: url(imag/ONDAGUA.jpg);
  justify-content: space-evenly;
  margin-bottom: 20px;
}

.pie {
  text-align: center;
  color: aliceblue;
}

.derechos {
  margin-top: 160px;
  text-align: center;
  color: rgb(228, 217, 217);
  font-size: small;
}

.faceb {
  margin-top: 100px;
}

.fte {
  color: rgb(243, 240, 240)
}

.fte:hover {
  text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
    0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light),
    0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
}

.bi-facebook {
  color: rgb(245, 239, 239);
}

/*---- asta aqui nav. y pie ----*/

*

/*Estilos generales*/
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  font-size: 2.5rem;
}



/*seccion hero*/
.hero {
  background-color: #f5f6f7;
  min-height: 450px;
  text-align: center;
}

.hero-principal {
  padding: 0PX;
  margin-top: 4rem;

}

.hero-principal h2 {
  font-size: 1.5rem;
  color: rgb(80, 83, 83);
}

.imagenhero {
  height: 400px;
  width: 400px;
  border-radius: 20px;
  margin: 20px;
}

/*adaptable responsivo*/
@media screen and (max-width: 767px) {
  .navbar-brand {
    display: none;
  }
}

/*index*/

.hero-inferior {
  margin-left: 4rem;
}

div.galeria {
  margin: 10px;
  border: 1px solid #ccc;
  float: left;
  width: 400px;
  height: 480px;
  border-radius: 30px;

}

div.galeria:hover {
  border: 1px solid #777;
  transform: scaleX(-1);
}

div.galeria img {
  border-radius: 30px;
}

div.desc {
  padding: 15px;
  text-align: center;
}



.responsive {
  width: 100%;
  height: auto;
  margin: auto;

}


#imagen {
  height: 400px;
  width: 400px;
}


/*visualicelo*/

.visual {
  margin-left: 20px;
  margin-top: 8rem;

}

div #menu-b {
  margin: 100px auto;
}

#menu-b ul {
  list-style: none;
}

#menu-b ul li {
  margin: 0 60px;
  float: left;
}

#menu-b ul li a {
  background: url(imag\Log.png) no-repeat left;
  font: normal 15px arial;
  color: black;
  text-decoration: none;
  padding: 5px 5px 5px 15px;
  border-bottom: solid 5px #ccc;
}

#menu-b ul li a:hover {
  color: #f00;
  border-color: #f00;
  background: url(imag\Log.png) no-repeat left;
}

#menu-b {
  margin-left: 1rem;
  margin-bottom: 20rem;
}

.responsive2 {
  width: 100%;
  max-width: auto;
  height: auto;

}

.rfd {
  background-color: rgb(215, 219, 223);
  margin-top: 50px;
  margin: 10 px;
  color: rgb(158, 153, 153);
  text-align: center;

}

.inv {
  font-size: 54px;
  text-align: center;
  line-height: 1.1;
  color: cornflowerblue;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.descubre {
  margin-bottom: 4rem;
}

button {
  transition-duration: 0.4s;
  border-radius: 5px;
  background-color: rgb(14, 12, 12);
  font-size: 15px;
  padding: 10px;

}

button:hover {
  color: black;
  border-color: rgb(4, 0, 255);
  background: url(imag\Log.png) no-repeat left;
}

/*Servicios*/
.container1 {
  margin-top: 30px;
}

/*empaque*/

.experiencia {
  padding: 40px;
}




.imagebox {
  background: rgba(206, 214, 133, 0.26);
  padding: 0px;
  position: relative;
  text-align: center;
  width: auto;
  border-radius: 50px;
}


.imagebox:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3)
}

.imagebox:hover .imagebox-desc {
  padding-bottom: 10%;
}

.container2 {

  margin-bottom: 30px;
  background-color: rgba(118, 149, 180, 0.192);
  margin-top: 250px;
  color: rgb(83, 82, 82);
  text-align: center;

}

/*  SOBRE NOSOTROS*/

.ero-inferior {
  width: 79%;
  background: #eef6fc;
  float: left;
  border-radius: 20px;
  padding-bottom: 60px;
  padding-top: 30px;

}

.tit {
  color: blue;
  font-weight: 900;
}

.mg:hover {

  filter: saturate(300%);
}


.boxesContainer {
  width: 100%;
  max-width: 1000px;
  height: 650px;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

}


.boxesContainer1 {
  width: 100%;
  max-width: 1400px;
  height: 350px;
  margin: auto;
  margin-top: 0px;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cardBox {
  float: left;
  font-size: 0.8em;
  margin: 1% 0 0 1%;
  perspective: 800px;
  transition: all 0.3s ease 0s;
  display: flex;
  flex-wrap: wrap;
  width: 25%;
  height: 85%;
  background-color: rgb(186, 202, 186);


}

@media all and (max-width: 1400px) {
  .cardBox {
    width: auto;
    height: 330px;
    margin-left: 0px;

  }
}




.cardBox:hover .card {
  transform: rotateY(180deg);

}

.card {
  background: #0a0a0a;
  cursor: default;
  height: 500px;
  transform-style: preserve-3d;
  transition: transform 0.4s ease 0s;
  width: 100%;
  -webkit-animation: giro 1s 1;
  animation: giro 1s 1;

}

.card p {
  margin-bottom: 1.8em;
  font-size: medium;

}

.card ul {
  margin-bottom: 1.8em;
  font-size: medium;
}

.card .front,
.card .back {
  backface-visibility: hidden;
  box-sizing: border-box;
  color: rgb(88, 6, 240);
  display: block;
  font-size: 1.2em;
  height: 100%;
  padding: 0.8em;
  position: absolute;
  text-align: center;
  width: 100%;

}

.card .front strong {
  background: #fff;
  border-radius: 100%;
  color: #3b2323;
  font-size: 1.5em;
  line-height: 30px;
  padding: 0 7px 4px 6px;

}

.card .back {
  transform: rotateY(180deg);
}

.cardBox:nth-child(1) .card .back {
  background: cornflowerblue;
  height: 300px;
  color: #ffffff;

}

.cardBox:nth-child(2) .card .back {
  background: orange;
  height: 300px;
}

.cardBox:nth-child(3) .card .back {
  background: yellowgreen;
  height: 300px;
  color: black;
}

.cardBox:nth-child(4) .card .back {
  background: rgba(252, 97, 70, 0.685);
  height: 300px;
  color: #f5f6f7;
}

.cardBox:nth-child(5) .card .back {
  background: rgb(13, 126, 155);
  height: 300px;
  color: #fff;
}

.cardBox:nth-child(2) .card {
  -webkit-animation: giro 1.5s 1;
  animation: giro 1.5s 1;

}

.cardBox:nth-child(3) .card {
  -webkit-animation: giro 2s 1;
  animation: giro 2s 1;
}

.cardBox:nth-child(4) .card {
  -webkit-animation: giro 2.5s 1;
  animation: giro 2.5s 1;
}

@-webkit-keyframes giro {
  from {
    transform: rotateY(180deg);
  }

  to {
    transform: rotateY(0deg);
  }
}

@keyframes giro {
  from {
    transform: rotateY(180deg);
  }

  to {
    transform: rotateY(0deg);
  }
}

@media screen and (max-width: 767px) {
  .cardBox {
    margin-left: 2.8%;
    margin-top: 3%;
    width: 46%;
  }

  .card {
    height: 500px;
    width: 500px;
  }

  .cardBox:last-child {
    margin-bottom: 3%;
  }
}

.franja {
  border: 0;
  border-top: 2px solid #999999;
  border-bottom: 2px solid #333;
  height: 0;
}

/* Contacto  */


.titulomg {

  font-size: 20px;
  font-weight: bold;
  color: #0838c7;
  margin: 20px;
  padding: 20px;

}

.titulomg {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: bottom;

}


/*Contacto*/


/*Aviso de privacidad*/



.main {
  width: 99%;
  float: inline-start;
  padding: 15px;
  margin: 5px;
  border: 1px solid rgb(229, 230, 235);
  background-image: url(imag/fondperg.jpg);
  /*imagen tomada de pixabay imagen de uso gratuito: https://pixabay.com/es/photos/papel-pergamino-delgado-estructura-539776/*/

}

.aviso {
  text-align: center;
}

/*aviso flotante*/

.btn-flotante {
  font-size: 16px;
  /* Cambiar el tamaño de la tipografia */
  text-transform: uppercase;
  /* Texto en mayusculas */
  font-weight: bold;
  /* Fuente en negrita o bold */
  color: #ffffff;
  /* Color del texto */
  border-radius: 5px;
  /* Borde del boton */
  letter-spacing: 1px;
  /* Espacio entre letras */
  background-color: #ff0505ce;
  /* Color de fondo */
  padding: 18px 30px;
  /* Relleno del boton */
  position: fixed;
  bottom: 40px;
  right: 40px;
  transition: all 300ms ease 0ms;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

.btn-flotante:hover {
  background-color: #18d828;
  /* Color de fondo al pasar el cursor */
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-7px);
}

@media only screen and (max-width: 600px) {
  .btn-flotante {
    font-size: 14px;
    padding: 12px 20px;
    bottom: 20px;
    right: 20px;
  }
}