/* Estilos generales */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
body {
    font-family: "Poppins",sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

main {
    padding: 20px;
}
header, nav, footer {
    padding: 15px;
}
section {
    margin-bottom: 20px;
}
/* Estilos de encabezado */
header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0,0,0,0.7)), url(bg.jpg);
   background-position: center bottom;
   background-repeat: no-repeat;
   background-size: cover;
   min-height: 70vh;
   display: flex;
   align-items: center;
}
.menu{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    color: #fffdfc;
    font-size: 25px;
    font-weight: 800;
}
.menu .navbar ul li{
    position: relative;
    float: left;
}
.menu .navbar ul li a{
    font-size: 18px;
    padding: 20px;
    color: #fffdfc;
    display: block;
    font-weight: 600;
}
.menu .navbar ul li a:hover{
    color: #ce967b;
}
#menu {
    display: none;
}
.menu-icono{
    width: 25px;
}
.menu label{
    cursor: pointer;
    display: none;
}
.header-content{
    text-align: center;
}

header h1 {
    font-size: 75px;
    line-height: 80px;
    color: #f9fafc;
    text-transform: uppercase;
    margin-bottom: 35px;
}

header p{
    font-size: 16px;
    color: #c5c5c5;
    padding: 0 250px;
    margin-bottom: 25px;
}



/* Estilos de contenido principal */
main {
    display: flex;
    flex-wrap: column; /* Apila las secciones verticalmente en móviles */
}

.contenido {
    width: 95%;
    margin: 10px auto;
    padding: 15px;
    border: 1px solid #ccc;
}
.contenido h2 {
    font-size: 1.2em; /* Reduce el tamaño de la fuente de los títulos */
}

.Inicio-group{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.Inicio{
    padding: 100px 0;
    background-color: #e1e2e6;
    position: relative;
    text-align: center;
}
.Inicio img{
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    display: flex;
}
/* Estilos de pie de página */
footer {
    background-color: #f0f0f0;
    text-align: center;
    padding: 10px; /* Reduce el padding del pie de página */
}

/* Media queries para diseño responsivo */
@media (min-width: 768px) {
    /* Estilos para tabletas y escritorios */
    nav li {
        display: inline; /* Vuelve a mostrar los elementos en línea */
        margin: 0 15px;
    }

    nav a {
        display: inline;
    }

    main {
        flex-direction: row; /* Vuelve a mostrar las secciones en fila */
        flex-wrap: wrap;
    }

    .contenido {
        flex: 1;
        min-width: 300px;
        margin: 10px;
    }
}

/*CARRUSEL */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto; /* centrar el carrusel*/
}

.carousel-slide {
    display: none;
    width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
}
.carousel-caption {
    position: absolute;
    top: 70%; /* Cambiado a top: 0 para colocar el subtítulo en la parte superior */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    color: white;
    text-align: center;
    padding: 10px;
}
#prevBtn, #nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

#prevBtn {
    left: 0;
}

#nextBtn {
    right: 0;
}

.carousel-slide.active {
    display: block;
}
/* Limitar el ancho del carrusel en pantallas grandes */
@media (min-width: 1000px) {
    .carousel-container {
        max-width: 1000px; /* Establece el ancho máximo */
    }
}

/* Estilos de las secciones de información */
#Acerca-de ul, #Servicio ul, #Contacto ul{
    list-style-type: square;
    margin-left:20px;
}

footer {
    background-color: #4cbfd9;
    text-align: center;
    padding: 10px 0;
}