
body{
  background-color: #fff;
  color: #232449;
  max-width: 1200px;
  margin: auto;
  font-family: "Saira", sans-serif;
  font-size: 12pt;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:"wdth" 100;
  box-sizing: border-box;
}

#logotipo{
width: 12em;
}

header{
  display: flex;
  justify-content: space-between;
  padding-top: 1em;
  padding-bottom: 1em;
}

h1{
  font-family: "saira", sans-serif;
  font-size: 2em;

}

#WhatsApp{
  background-color: green;
  color: rgb(2, 255, 129);
  text-align: center;
  text-decoration: none;
  width: 8em;
  height: 3em;
  border-radius: 0.5em;
}

/* navegacion */

.navbar {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#232449;
    color: aliceblue;
    font-family: "Saira", sans-serif;
    font-weight: 400;
    border-radius: 0.5em 0.5em 0em 0em;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Estilos responsivos */
.menu-toggle {
    display: none; /* Oculto en pantallas grandes */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    background: white;
    height: 3px;
    width: 25px;
    margin: 4px;
}



/*carrusel*/

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
  
}

.carousel {
  display: flex;
  transition: transform 1s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  
}

.slide .caption img {
  width: 70%;
}

.caption {
  position: absolute;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1em 1em 0em 5em;
  width: 20%;
  color: #fff;
  font: "Saira", sans-serif;
  background: rgba(87, 137, 184, 0.5);
  
}

.slide .caption #logoC{
  width: 40%;
}

button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(23, 24, 49, 0.5);
  color: white;
  font-size: 2em;
  font-weight: 600;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

button.prev {
  left: 0px;
}

button.next {
  right: 0px;
}

button:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

/* termina carrusel*/

/*sección de presentación*/

.presentacion{
  display: flex;
  align-content: space-between;
}

.presentacion div{
padding: 1em 6em 1em 1em;
}

.presentacion img{
height: 25em;
}

/*sección refacciones*/

.refacciones{
  background-color: rgb(200, 200, 200);
  display: flex;
  align-content: space-between;
}

.refacciones img{
  padding: 2em;
  width: 10em;
  height: auto;
}

.refacciones div{
  padding: 1em 0em 0em 4em;
}

/*seccion bloque1*/

.bloque1{
  display: flex;
  width: 100%;
  background-color: rgb(129, 183, 228);
}

.bloque1 a{
  text-decoration: none;
  color: #232449;
}

/*sección equipos*/

.equipos{
  background-color: #ffffff7c;
  padding: 0em 0em 0em 2em;
  display: flex;
  width: 100%;
}

.equipos div{
  padding: 1em 4em 0em 2em;
}

.equipos img{
  padding-top: 10em;
  width: auto;
  height: 20em;
}

/* seccion servicos*/

.servicios{
  display: block;
}


.servicios div{
  padding-left: 1em;
}

.servicios img{
  width: 100%;
  height: auto;
}

/*contacto*/

.mapa{
  display: flex;
  justify-content: space-between;
}

.mapa div{
  padding: 1em 1em;
}

iframe{
  width: 50%;
  height: 10em;
  border-radius: 1em;
  padding: 2em 1em;
  
}

/* Footer*/

footer{
  background-color:#232449;
  display: flex;
  width: 100%;
  justify-content:space-between;
  margin-top: 5em;
}

footer .menufooter li a{
  text-decoration: none;
  color: #fff;
}

footer ul{
  padding: 2em 6em;
}

footer img{
  width: auto;
  height: 3em;
  padding: 2em;
}
 
footer span{
  width: 25%;
}
  


@media (max-width: 768px) {
  .nav-links {
      display: none; /* Oculto inicialmente en pantallas pequeñas */
      flex-direction: column;
      position: absolute;
      width: 100%;
      top: 60px;
      left: 0;
      background-color: #333;
      z-index: 2;
  }

  .navbar{
    height: auto;
  }

  .nav-links.active {
      display: flex; /* Mostrar cuando esté activo */
  }

  .menu-toggle {
      display: flex; /* Mostrar menú hamburguesa */
  }
}

