html {
  scroll-behavior: smooth;
}

header{ display:flex; align-items: center;justify-content: center; background-color: white;}
.logo{height: 150px;width: 150px;
    
}
footer{
  background-color:black;
  color: white;
  font-size: 18px;
  width: 100%;

  display: flex;
  justify-content:center;
  flex-wrap: wrap;
  align-items: center;
}
footer address{
  padding: 40px;
  font-weight: 800;
}
.logo-footer{
  width: 80px;
  height: 80px;
  z-index: 1000;
}
.textoColor{
  font-size: 45px;
  animation: colorTexto 30s infinite;
}
body {
  margin: 0;
  font-family: "Lato", sans-serif;
  background: url("Recursos/Fondo\ de\ pagina.png")  no-repeat ;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  
}

.sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  overflow: auto;
}

.sidebar a {
  display: block;
  color: black;
  padding: 16px;
  text-decoration: none;
}
 
.sidebar a.active {
  background-color: #04AA6D;
  color: white;
}

.sidebar a:hover:not(.active) {
  background-color: #555;
  color: white;
}

main.content {
  margin-left: 200px;
  padding: 1px 16px;
  height: 1000px;
 

}
.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("Recursos/Puente\ fondo.png");
  height: 70%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  font-size:40px; 
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.hero-text button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: black;
  background-color: #ddd;
  text-align: center;
  cursor: pointer;
}

.hero-text button:hover {
  background-color: #555;
  color: white;
}

.sec-general{min-height: 200px; margin-bottom: 10px;box-shadow: 5px 5px 20px; padding-bottom: 20px; 
 background: rgba(255, 255, 255, 0.644);
 background-repeat: no-repeat;
  background-size: cover;
}
h2{margin: 10px;padding: 5px; font-size: 36px; text-align: center;}
.sec-general p,li{
  font-size: 22px;
  margin: 15px;

}


/** Etilos de contacto       */

.social{
  display: flex;
  justify-content: center;
  align-items: center;
}

.social a{
  margin-left: 40px;
}
.ubicacion{
  text-align: center;
  padding: 20px 10px;
}
iframe{
  width: 80%;
  margin: auto;
}
/* Estilo básico para el Slider*/
#gallery {
   width: 80%;
   margin: auto;
   overflow: hidden;
   background-color: #555;
   margin-bottom: 30px;
   padding: 20px;
}

.gallery-container {
   display: flex;
   transition: transform 0.5s ease-in-out;
   
   margin-bottom: 30px;
}

.gallery-item {
   min-width: 400px;
   box-sizing: border-box;
}

.gallery-item img {
   width: 400px;
   height: 400px;

   display: block;
}

/* Navegación del Slider */
.gallery-navigation {
   display: flex;
   justify-content: space-between;
   position: relative;
   top: -50px;
}

.nav-button {
   background-color: #008CBA;
   color: white;
   border: none;
   padding: 10px 20px;
   cursor: pointer;
   border-radius: 5px;
}

.nav-button:hover {
background-color: #005f5f;
}

/** animacion de texto**/
@keyframes colorTexto{
  from {color: red;}

  0%{
    color: rgb(15, 15, 15);
  }

  25%{
   color: rgb(231, 42, 42); 
  }
  50%{
   color: rgb(42, 155, 231); 
  }
  100%{
    color: rgb(15, 15, 15);
  }
}
.lista-flex {display: flex;justify-content: center;flex-wrap:nowrap;}
.flex-center-wrap p{width: 40%;}
.flex-center-wrap{display: flex;justify-content: center;flex-wrap:nowrap;}
.img-responsivas{ width: 400px; margin: 10px 20px; }


@media screen and (max-width: 800px) {
  .hero-text{
    font-size: 35px;
  } 
  .flex-center-wrap{
    flex-wrap: wrap;
    
  }
  .flex-center-wrap p{width: 80%;}
  .img-responsivas{
    width: 80%;

  }
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  main.content {margin-left: 0;}
}

@media screen and (max-width: 500px) {

  .hero-text{
    font-size: 20px;
  } 

  .flex-center-wrap{
    flex-wrap: wrap;
  }
  .flex-center-wrap p{width: 80%;}

  .sidebar a {
    text-align: center;
    float: none;
  }
  .textoColor{
font-size: 24px;
  }
  .sec-general p,li{
    font-size: 14px;
  }
}

#frecuentes details{

  
  padding: 10px;
  border-top: solid 1px;

}

#frecuentes details:hover{
  background-color: #858585;
}

#frecuentes summary{
  margin: auto;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display:none; }


#frecuentes p{
  font-size: medium;
}
details[open]{
  background-color: rgba(208, 231, 252, 0.79);
}