* {
    margin: 0%;
    padding: 0%;
    border: 0%;
    font-size: 100%;
    vertical-align: baseline;
}

.content {
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;

}

p {
    margin-bottom: 40px;
    font-size: 18px;
    color: white;
    line-height: 1.5;
    font-family: Metropolis, Metropolis-Fallback, Noto Color Emoji, sans-serif;
}

.title {
    margin-bottom: 40px;
    margin-top: 40px;
    font-size: 60px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    font-family: Abril FatFace, Abril-FatFace-Fallback, Noto Color Emoji, serif;
}


/**************************************************************/
/*NAVBAR*/
body {
    text-align: center;
    font-family: sans-serif;
    background-color: #DED6D1;
    overflow-x: hidden; /* Evita el desplazamiento horizontal */
}
.header, .content-service, .how-we-work, .content-about {
    width: 100vw; /* Asegura que ocupen todo el ancho de la pantalla */
    box-sizing: border-box; /* Incluye padding y border en el tamaño total */
    overflow-x: hidden; /* Evita el desbordamiento horizontal */
}

h3 {
    font-size: 20px;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    background: #090C08;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.50);
    /* Agrega una sombra */
}

.navbar {
    display: flex;
    position: relative;
    right: 4%

}
.redes-Sociales{
    display: flex;
}

.logo {
    position: relative;
    left: 4%;
}

.logo img {
    width: 150px;
    height: auto;
}

.navbar a {
    display: block;
    padding: 23px 20px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    transition: color 0.4s;
}

.navbar a:hover {
    color: #09A603;
}

.dropbtn {
    background-color: #090C08;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 80px;
    height: 75px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: auto;
    right: 0;
    /* Ajusta el menú para que se abra hacia la derecha */
    opacity: 0;
    max-height: none;
    /* Cambiado a 'none' */
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.dropdown-content a,
.dropdown-content a:hover,
.dropdown-content a:visited,
.dropdown-content a:focus {
    color: black;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
    background-color: #09A603;
    color: white;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #09A603;
}




.card {
    width: fit-content;
    height: fit-content;
    background-color: rgb(238, 238, 238);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 25px;
    gap: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.055);
}

/* instagram*/
.containerOne:hover {
    background-color: #d62976;
    transition-duration: .3s;
}

/* facebook*/
.containerThree:hover {
    background-color: #0072b1;
    transition-duration: .3s;
}

.containerYouTube:hover {
    background-color: #CC0000; /* Cambia el color de fondo al pasar el mouse */
}
.socialContainer:active {
    transform: scale(0.9);
    transition-duration: .3s;
}

.socialSvg {
    width: 30px; /* Ajusta el tamaño del ícono */
    height: auto; /* Permite que la altura se ajuste automáticamente */
    fill: white; /* Color del ícono */
}

.socialSvg path {
    fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/*FIN DE NAVBAR*/
/**************************************************************************/

/**********************************************************************/
/*APARTADO DEL HEADER*/

.header {
    height: 150vh;
    background: url(../img/maquinaria-1.jpg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center 10px; 
    width: 100%; /* Asegúrate de que el header ocupe el 100% del ancho */
    margin: 0; /* Elimina cualquier margen que podría causar desbordamiento */
    padding: 0; /* Elimina cualquier padding que podría causar desbordamiento */
}

@media only screen and (max-width: 300px) {
    .header {
        height: 500px; /* Ajusta la altura para móviles */
        width: 60%; /* Ajusta el ancho para móviles */
        background-size: 200px 200px; /* Ajusta el tamaño del fondo en píxeles */
        background-attachment: scroll; /* Desactiva el fondo fijo en móviles */
    }
}


.btn-home {
    display: flex;
    z-index: 1001;
    /* Asegura que el botón esté por encima del encabezado */
}
.btn-home .btn-btn{
    width: 55%;
}

.title {
    font-size: 65px;
    font-weight: 640;
    text-transform: uppercase;
    color: white;
}

.header-content {
    position: absolute;
    /* Cambia la posición a absoluta */
    top: 50%;
    /* Coloca el contenido en el centro verticalmente */
    left: 50%;
    /* Coloca el contenido en el centro horizontalmente */
    transform: translate(-50%, -10%);
    /* Centra el contenido */
    text-align: center;
    /* Alinea el texto al centro */
    color: white;
    /* Color del texto */
    padding-top: 40px;
}

.header-content .btn {
    max-width: 100%;
    /* Establece un ancho máximo para el párrafo */
    margin: 0 auto;
    /* Centra el párrafo horizontalmente */
}

p {
    margin-bottom: 40px;
    font-size: 18px;
    color: white;
    line-height: 2;

}
.header-content p{
    font-size: 35px;
}



/*FIN DE APARTADO HEADER*/
/**********************************************************************/


/********************************************************************/
/*CONTENIDO DE SERVICIO*/


.content-service {
    position: relative;
    background: #090C08;
    height: auto;
    align-items: center;
    /* Centra el contenido verticalmente */
    overflow: hidden; /* Evita que se genere scroll adicional */

}

.service-content {
    padding: 50px;
    margin: 0%;
    width: 70%;
    /* Ancho del contenido */
    padding-left: 50px;
    /* Cambiado a padding-left */
    /* Espaciado entre el contenido y la imagen */
    text-align: left;
}

.carousel {
    position: relative;
    width: 70%;
    padding-bottom: 70px;
}

.carousel-inner {
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    width: 100%;
    transition: opacity 0.5s ease-in-out;
    /* Ajusta la velocidad de transición */
}

.carousel-img {
    width: 100%;
    object-fit: cover;
    opacity: 0.5;
    height: 600px;
    /* Ajusta la imagen para llenar el contenedor */
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Alinea el texto a la izquierda */
}
.content-carousel {
    position: relative;
    bottom: 110px;
    left: 50px;
}
.carousel-caption h1 {
    font-size: 40px;
}


.carousel-caption button {
    margin-top: 20px;
}


.prev,
.next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    z-index: 1;
    /* Asegura que las flechas estén sobre las imágenes */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.title {
    color: #fff;
}




/*FIN DE CONTENIDO DE SERVICIO*/
/************************************************************************/



/**********************************************************************/
/* contactenos */


.content-contact {
    padding: 100px;
    background: #DED6D1;
    height: 60vb;
}

.content-contact p {
    margin-bottom: 2px;
    color: #090C08;
}

.content-contact .title {
    color: #090C08;
    margin-bottom: 40px;
    font-size: 60px;
    font-weight: 600;
    text-transform: uppercase;

}



/*FIN DE CONTACTOS*/
/*******************************************************************/


/*******************************************************************/
/*APARTADP DE COMO TRABAJAMOS*/

/* Ajusta la altura y los estilos de la sección "how-we-work" */

.image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 78px;
}

.how-we-work {
    padding: 0%;
    margin: 0%;
    background: #090C08;
    height: 80vb;
    align-items: center;
    align-content: center;

}

.content-how-we-work {
    display: flex;
    align-items: center;
    overflow: hidden; /* Evita que se genere scroll adicional */

    /* Centra el contenido verticalmente */
}

.how-we-work-content {
    padding: 50px;
    margin: 0%;
    width: 70%;
    /* Ancho del contenido */
    padding-right: 50px;
    /* Espaciado entre el contenido y la imagen */
    text-align: left;
}

.how-we-work .image-area {
    width: 70%;
    height: 300%;
    display: flex;
    justify-content: flex-end;
    max-height: 100vh;
}



/*FIN DE COMO TRABAJAMOS*/
/************************************************************/

/*************************************************************/
/*CONTENIDO DE SOBRE NOSOTROS*/



.header-about .header-content-about h2 {
    position: absolute;
    color: #090C08;
    align-items: center;
    text-align: center;
    width: 40%;
    top: 30%;
    transform: translate(-50%, -50%);
    /* Centra el contenido */
}

.content-about-more p {
    color: #DED6D1;
    text-align: justify;
}

.content-about {
    padding: 100px;
    background: #DED6D1;
    height: 120vb 
}

.content-about .title {
    color: #090C08;
}

.content-about p {
    color: #090C08;
}

footer {
    position: relative;
    padding: 20px;
    background-color: #333; /* Color de fondo del pie de página */
    color: #fff; /* Color del texto */
}
.footer{
    width: 82%;
}

.new-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px; /* Tamaño de la fuente */
}

.left-content {
    margin-left: 20px; /* Margen izquierdo para separar del borde */
}

.right-content {
    margin-right: 20px; /* Margen derecho para separar del borde */
}
.footer-line {
    border: none;
    border-top: 1px solid #090C08; /* Color de la raya */
    margin: 67px 0; /* Espaciado arriba y abajo de la línea */
}

/*FIN CONTENIDO DE SOBRE NOSOTROS*/
/*************************************************************/



/***************************************************************************/
/*WHATSAPP BOTON*/

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        right: -100px;
    }

    /* Empieza fuera de la pantalla */
    to {
        right: 70px;
    }

    /* Termina en la posición deseada */
}

.whatsapp-btn {
    position: fixed;
    bottom: 50px;
    right: 70px;
    transition: transform 0.5s ease-in-out;
    animation: slideIn 1s forwards;
    /* Animación de entrada */
}

.whatsapp-btn img {
    width: 60px;
    height: auto;
}

.whatsapp-btn:hover {
    transform: scale(1.2);
    /* Cambia el tamaño al pasar el mouse sobre él */
}

/*WHATSAPP BOTON*/
/***************************************************************************/

/*****************************************************************/
/*MAPA*/


/*FIN DE MAPA*/
/***************************************************************/
/* MEDIA QUERIES */
@media screen and (max-width: 768px) {
    p {
        text-align: center;
    }
    .logo img {
        width: 80px;
    }
    .navbar a {
        padding: 23px 10px;
    }
    .title {
        text-align: center;
        padding-left: 0px;
        font-size: 35px;
    }
    .content-service .title{
    margin-bottom: 5px;
    margin-top: 0px;
    }
    .header {
        height: 89vh;  /* Ajusta la altura en móviles si es necesario */
        background-size: cover;
        padding: 20px;
        width: auto;
    }
    .header {
        background: url(../img/maquinaria-1.jpg) no-repeat bottom center;
        background-size: 100% cover;
        background-attachment: fixed;
        background-position: center;

    }
    
    .header-content {
        left: 50%; /* Centra horizontalmente */
        transform: translate(-50%, -40%);
    }
    .header-content p {
        font-size: 23px;
    }
    .btn-home .btn-btn {
        width: 70%;
    }
    .content-how-we-work {
        flex-direction: column;
    }
    .how-we-work-content {
        width: 100%;
        padding: 0 20px;
    }
    .content-contact .title {
        font-size: 30px;
    }
    .content-contact {
        height: auto;
    }
    .content-service, .content-about, .content-contact, .how-we-work {
        padding: 20px;
        height: auto;
    }
    .content-service{
        height: auto;
    }

    .content-about {
        height: auto;
    }
    .how-we-work .image-area {
        width: 100%;
        justify-content: center;
    }
    .carousel {
        width: 100%;
        margin: 0;
        padding-bottom: 0px;
    }
    .carousel-caption {
        width: 100%;
        text-align: left; /* Centra el texto del caption */
        position: static; /* Quita la posición absoluta */
        padding: 10px 0; /* Añade espacio alrededor del caption */
        position: relative;
        top: 40px;
    }
    .content-carousel p {
        font-size: 10px;
    }
    .content-carousel {
        bottom: 40px;
        left: 0px;
    }
    .whatsapp-btn {
        right: 20px;
    }
    iframe {
        width: 100%;
    }
    .carousel-img {
        object-fit: cover;
        width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
        height: 200px; /* Mantiene la proporción de la imagen */
    }
    .carousel-caption h1 {
        font-size: 25px;
    }
    .prev,
    .next {
    top: 30%;
    }
    @keyframes slideIn {
        from {
            right: -100px;
        }
    
        /* Empieza fuera de la pantalla */
        to {
            right: 30px;
        }
    
        /* Termina en la posición deseada */
    }
    .new-footer-content {
        flex-direction: column;
        text-align: center;
    }

    .left-content,
    .right-content {
        margin: 10px 0; /* Margen para separar los elementos verticalmente */
        margin-left: 0; /* Quita el margen izquierdo en móviles */
        margin-right: 0; /* Quita el margen derecho en móviles */
    }
    .footer-line{
        margin: 15px 0;
    }
}

/*para que quede bien con telefonos pequeños*/
@media screen and (max-width: 690px) and (max-height: 800px) {
    
    .header {
        background: url(../img/maquinaria-1.jpg) no-repeat bottom center;
        background-size: 100% cover; /* 80% del contenedor en ancho, altura auto */
        background-attachment: fixed;
        background-position: center 25px; /*solo se modifica la cantidad de pixeles que se quiere bajar la imagen*/

    }
}

/*para que quede bien con ipad-mini*/
@media screen and (min-width: 768px) and (min-height: 1024px) {

    .header {
        background: url(../img/maquinaria-1.jpg) no-repeat bottom center;
        background-size: 230%;
        background-attachment: fixed;
        background-position: center 40px;
    }
}
