*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

h1{ 
    font-size: 3em;
    font-family: 'Nunito Sans', sans-serif;
    font-style: italic;
}
h2{ 
    font-size: 2em;
    font-family: 'Nunito Sans', sans-serif;
    font-style: italic;
    color:#002E6D;
    font-weight:700px;
}
h3{ 
    font-size: 1.75em;
}
h4{
    font-size: 1em;
    font-family: 'Nunito Sans', sans-serif;

    
}
p{ 
    font-size: 1.5em;
    color:#002E6D;
}
li{
    font-size: 1.75em;
    font-family: 'Nunito Sans', sans-serif;
    line-height: 40px;
    list-style: disc;
    color:#002E6D;
}

.container{
    padding: 30px 30px;
    margin: auto;
}
body{
    font-family: 'Roboto', sans-serif;
    margin: 0;
    height: 100vh;
}

.color-acento{ 
    color: rgb(36, 48, 95);
}

header{
    background-color: rgb(255, 255, 255);
    position: fixed;
    width: 100%;
    height: 35px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
    z-index: 2;
    padding: 0%;
    display: flex;
    justify-content: center;
}

header .logo{
    margin: 0;
    align-content: center;

}
.logo img{
    padding-left: 0;
}
.contact{
    font-size: 13px;
    padding: 0%;
}

header .container{
    padding: 5px 0 0 0;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content:space-between;
    width: 100%;
    height: 100%;
    margin: 0px 10px;
}  

header nav{
    display: flex;
    flex-direction: row; 
    text-align: center;
    align-items: center;
    justify-content: space-around;
    

}
.soc-svg{
    height: 15px;
    margin-right: 6px;
}
header a{
    text-decoration: none;
    font-weight: bold;
    color: rgb(0, 0, 0);
    transition: all 0.2s ease;    /* Animación suave */
}

header a:hover{
    color: #2796ff;
}

.apps img {
    transition: filter 0.3s ease;
}

.apps:hover img {
    filter: invert(49%) sepia(91%) saturate(1692%) hue-rotate(189deg) brightness(99%) contrast(101%);
}

.logo-svg {
    height: 27px;
    margin-left: 0;
    padding-left: 0;
}

#hero .swiper{
  height: 50vh;
  width: 100%;
  padding-top: 20px;
}
#hero .panel{
  font-size: .5em;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  font-size: .5em;
}

.swiper-slide {
  height: 100%;
}

#hero .slide-1{
  background-image: linear-gradient(to top, #002E6D, transparent 50%), 
  url("media/WhatsApp\ Image\ 2024-11-05\ at\ 7.41.09\ PM.jpeg");
  justify-content: center;
  text-align: center;
  align-items: center;
  padding-left: 50px;
  padding-bottom: 25px;
}

#hero .slide-2{
  background-image: linear-gradient(to top, #002E6D, transparent 50%), 
  url("media/barco_contenedores.webp");
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 0;
}

#hero .slide-3{
  background-image:
  url("media/Barco_largo_bajo.webp");
  justify-content: center;
  text-align: center;
  align-items: center;
   padding: 0;
}

#hero .slide-3 h1{
  margin: 0%;
  padding: 0%;
}
#hero .slide-3 p{
  margin: 0%;
  padding: 0%;
  color: white;

}

#hero .slide-4{
  background-image:
  url("media/barco_desde_arriba\ copy.webp");
  justify-content: center;
  text-align: center;
  align-items: center;
}
#hero .slide-5{
  background-image: linear-gradient(to top, #002E6D, transparent 50%), 
  url("media/barco_rojonegro.webp");
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 0;
}

#hero .swiper-pagination-bullet {
  background-color: white;     /* Color blanco */
  width: 20px;                  /* Largo de la barra */
  height: 6px;                  /* Grosor de la barra */
  border-radius: 3px;           /* Bordes redondeados (como píldora) */
  opacity: 0.5;                 /* Transparencia por defecto */
  transition: all 0.3s ease;    /* Animación suave */
}

/* Estilo para la bala activa */
#hero .swiper-pagination-bullet-active {
  opacity: 1;                   /* Totalmente visible */
  background-color: white;      /* También blanca */
  width: 30px;                   /* Un poco más larga para destacar */
}

#main-text{
    display: flex;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 30px;
    align-items: center;
    justify-content: center;

}
#main-text .container{
    align-items: center;
    box-shadow: 7px 7px 12px 2px rgba(20,20,20,0.3);
    border-radius: 15px;
    margin-top: 0;
    background-color: white;
    margin: 0 30px;
}
#main-text h2{
    font-size: 1.5em;
    margin-top: 0;

}
#main-text p{
    font-size: 1.2em;
}

#info-grid{
    padding-top: 0px;
    text-align: center;
    padding-bottom: 50px;
}

#info-grid p{
    display: none;
}

.boxes{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.boxes .caja{
    height: 200px;
    width: 80%;
    background-size: cover;
    background-position: center center;
    padding: 0%;
    margin: 15px;
    border-radius: 15px;
    color: white;
    transition: all 300ms;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.caja:first-child{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ), url(media/tuberia.webp);
}

.caja:first-child + .caja{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ), url(media/electrico.webp);
}
.caja:first-child + .caja + .caja{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ), url(media/hidraulico.webp);
}
.caja:first-child + .caja + .caja + .caja{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ), url(media/Lastre.webp);   
}
.caja:first-child + .caja + .caja + .caja + .caja{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ), url(media/ingenieria.webp);  
}
.caja:first-child + .caja + .caja + .caja + .caja + .caja{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ), url(media/motor.webp);  
}

.boxes .caja:hover{
    transform: scale(1.05);
} 

#sec-list{
    padding-top: 20px;
    padding-bottom: 40px;
    padding-left: 30px;
    background-image: linear-gradient(to right, #002E6D, transparent 300%), url("media/mar.png");

    background-size: cover;
    background-position: center center;
}

#sec-list h2{
    color: aliceblue;
}

#sec-list li{
    color: aliceblue;
}

#main-list{
    padding: 30px 30px;
    align-items: center;
}

#main-list .container{
    box-shadow: 7px 7px 12px 2px rgba(20,20,20,0.3);
    border-radius: 15px;
    margin-top: 0;  
}
#main-list li{
    list-style: none;
}
li::marker{
    color: #2796ff;
}

#main-list .left-right{
    display: flex;
}

#main-list .right{
    display: none;
}

footer{
    padding-top: 0px;
    padding-bottom: 10px;
    width: 100%;
    background-color: #002E6D;
}

footer .container{
    display: flex;
    flex-direction: column;
    margin-bottom: 0%;
    padding-bottom: 10px;
    width: 100%;
}

footer .down{
    display: flex;
    padding-top: 20px;
    padding-bottom: 0%;
    list-style: none;
    color: azure;
    font-size: .75em;
    justify-content: center;
    align-items: center;
}
footer h3{
    line-height: 0%;
}
footer b{
    font-size: 1em;
    line-height: 15px;
}

footer .foot{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 220px;
}
footer .imagen{
    justify-content: end;
    padding-right: 30px;
}
footer .line{
    background-color: aliceblue;
    width: 2px;
    height: 80%;
}

footer .contacto{
    padding-left: 30px;
    font-size: .65em;
    color: aliceblue;
    list-style: none;
    line-height: 20px;
}
footer a{
    text-decoration: none;
    color: aliceblue;
}

footer a:hover{
    text-decoration: underline;
    color: aliceblue;
}

@media (min-width: 790px){

    .container{
        max-width: 1000px;
        margin: auto;
    }

    header{
        position: fixed;
        width: 100%;
        height: 56px;
    }

    header nav{
        flex-direction: row;
        padding-bottom: 0;
    }

    .logo-svg {
        height: 45px;
    }
    
    .soc-svg{
    height: 20px;
    margin-right: 20px;
    }
    .contact{
    font-size: 18px;
    }

    #hero .container{
        height: 100vh;
        padding-top: 0;
    }
    #hero .swiper{
        height: 100vh;
        padding-top: 0;
    }
    #hero .panel{
        font-size: .75em;
    }
    #hero .slide-1{
        justify-content: end;
        text-align: left;
        align-items: start;
        padding-left: 50px;
        padding-bottom: 25px;
    }
    #hero .slide-2{
        justify-content: end;
        text-align: left;
        align-items: end;
        padding-right: 70px;
        padding-bottom: 30px;
    }
    #hero .slide-3{
        justify-content: center;
        text-align: center;
        align-items: center;
        padding-bottom: 100px;
    }
    #hero .slide-5{
        justify-content: end;
        text-align: center;
        align-items: end;
        padding-right: 70px;
        padding-bottom: 30px;
    }

    #main-text h2{
        font-size: 2em;
    }
    #main-text p{
        font-size: 1.5em;
    }

    #info-grid .container{
        padding: 0;
    }

    .boxes{
        display: grid;
        grid-template-columns: auto auto auto;
        max-width: none;
    }
    .boxes .caja{
        margin-top: 25px;
        padding: 10px;
    } 
    .boxes .caja:hover{
        transform: scale(1.15);
    } 

    #sec-list{
        padding-left: 0%;
    }

    #main-list{
        align-items: center;
    }

    #main-list .left-right{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 50px;
    }
    #main-list .right{
        display: flex;
        padding-top: 50px;
        background-image: url("media/Barco.webp");
        background-size: cover;
        background-position: center center;
        height: 400px;
        width: 500px;
        border-radius: 15px;
    }
    footer h3{
        line-height: 0%;
        font-size: 1.5em;
    }
    footer b{
        font-size: 1.25em;
        line-height: 20px;
    }

}