@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

@keyframes slide {
    from
    {
        transform: translateX(0);
    }
    to
    {
        transform: translateX(-100%);
    }
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Poppins', sans-serif; 
}

body {
    background-color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

footer{
    background-color: #262623;
    color: white;
    font-size: 1.1vw;
    text-align: center;
}

/* Index.html*/

/* #region Encabezado */

#text {
    position: absolute;
    font-size: 7vh;
    color: white;
}

#check {
    display: none;
}

.encabezado {
    position: relative;
}

.encabezado header{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 11vh;
    padding: 0vw 8vw ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.encabezado header::before{
    backdrop-filter: blur(10px);
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.navigation a{
    text-decoration: none;
    color: #0C2E87;
    padding: 0.5vw 1vw;
    border-radius: 5vh;
    margin: 0 1px;
    font-weight: 600;
}

.navigation a:hover,
.navigation a.active{
    background-color: #0C2E87;
    color: white;
}

.logo{
    display: flex;
    background: rgba(12, 46, 135, .25);
}

.logo img{
    height: 10vh;
    margin: 10px;
}

.icons {
    color: white;
    cursor: pointer;
    display: none;
    margin-top: 1vh;
    font-size: 5vh;
    margin-right: 3vw;
}

/* #endregion Encabezado */

/* #region Parallax */

.parallax{
    color: white;
    display: list-item;
    position: relative;
    vertical-align: middle;
    text-align: center;
    height: 100vh;
    background-image: url(../img/fotos/Transportador.jpg);
    background-size:cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 2;
}

.intro {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}

.introcont {
    padding: 2vw;
    width: 100%;
    height: auto;
    text-align: center;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.2) 1px 0 50px;
    background-color: #0c2f8735;
    backdrop-filter: blur(10px);
}

.introcont h1 {
    font-size: 6.3vw;
    line-height: 1em;
}

.introcont h2 {
    font-size: 4vw;
    line-height: 1em;
}

.introcont p {
    margin-top: 2vw;
    font-size: 1.4vw;
    line-height: 1em;
}
/* #endregion Parallax */

/* #region Marcas */

.marcas {
    position: relative;
    background-color: white;
    overflow: hidden;
    padding: 2vw 0;
    white-space: nowrap;
}

.marcas:before,
.marcas:after {
    position: absolute;
    top: 0;
    width: 10vw;
    height: 100%;
    content: "";
    z-index: 1;
}

.marcas:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255 , 0), white);
}

.marcas:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255 , 0), white);
}

.marcasimg{
    display: inline-block;
    animation: 35s slide infinite linear;
}

.marcasimg img {
    height: 10vw;
    margin-left: 10vw;
}

/* #endregion Marcas */

/* #region Distribuidor */

.distribuidor {
    display: flex;
    height: 40vw;
}

.tech {
    display: flex;
    width: 50%;
    height: 100%;
    background-color: #0C2E87;
    align-items: center;
}

.techcont {
    padding-left: 4vw;
    padding-right: 2vw;
    width: 100%;
    height: auto;
    text-align: center;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.476) 1px 0 50px;
}

.techcont h1 {
    font-size: 4vw;
    line-height: 0.9em;
}

.techcont p {
    font-size: 2vw;
    margin-top: 4vh;
}

.dis {
    display: flex;
    width: 50%;
    height: 100%;
    background-color: #C6C5CA;
    align-items: center;
}

.discont {
    padding-left: 2vw;
    padding-right: 4vw;
    width: 100%;
    height: auto;
    text-align: center;
    color: #393A35;
    text-shadow: rgba(0, 0, 0, 0.2) 1px 0 50px;
}

.discont h1 {
    font-size: 4vw;
    line-height: 0.9em;
}

.discont p {
    font-size: 2vw;
    margin-top: 4vh;
}

/* #endregion Distribuidor */

/* #region Equipos */

.equipos {
    display: flex;
    width: 100%;
    height: fit-content;
    padding: 3vw;
    background-color: white;
    align-items: center;
}

.eqcont {
    width: 100%;
    height: auto;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.2) 1px 0 50px;
}

.eqcont h1 {
    font-size: 5vw;
    
    color: #0C2E87;
}

.eqcont p {
    font-size: 1.4vw;
    
    color: #a1a1a1;
}

/* #endregion Equipos */

/* #region Galeria */

.galeria{
    position: relative;
    background-color: white;
    overflow: hidden;
    padding: 2vw 0;
    white-space: nowrap;
}

.galeria:before,
.galeria:after {
    position: absolute;
    top: 0;
    width: 5vw;
    height: 100%;
    content: "";
    z-index: 1;
}

.galeria:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255 , 0), white);
}

.galeria:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255 , 0), white);
}

.slide{
    display: inline-block;
    animation: 120s slide infinite linear;
    &:hover {
        animation-play-state: paused;
    }
}

.rejilla{
    display: grid;
    width:max-content;
    height: 100%;
    margin: 0 auto;

    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow:column;
    gap: 20px;
}

.item-rej{
    display: inline-block;
    position: relative;
    background-color: white;
    overflow: hidden;
}

.rejilla .item-rej img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.rejilla .item-rej:hover img{
    transform: scale(1.1);
}

.rejilla .item-rej a{
    cursor: zoom-in;
}

.rejilla .item-rej:nth-child(3n - 2){
    grid-column: span 2;
    grid-row: span 2;
}

/* #endregion Galeria */

/* #region PQNosotros */

.pqnosotros{
    display: block;
    width: 100%;
    height: fit-content;
    background-color: #f4f4f4;
    padding: 3vw;
    color:#393A35
}

.titulo h1{
    text-align: center;
    font-size: 5vw;
    padding-bottom: 3vw;
}

.icon{
    display: flex;
    text-align: center;
    width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
    
}

.icon div{
    font-size: 1.5vw;
    width: 20%;
    padding: 1vw;
    padding-bottom: 2vw;
}

.icon i {
    font-size: 5vw;
    padding-bottom: 2vw;
}

/* #endregion PQNosotros */

/* #region Reconocimientos */

.reconocimientos{
    display: flex;
    width: 100%;
    height: 30vw;
}

.gator{
    display: flex;
    width:33%;
    height: 100%;
    background-color: #0C2E87;
    align-items: center;
    padding-left: 4vw;
    padding-right: 4vw;
}

.gatorcont{
    width: 100%;
    height: auto;
    text-align: center;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.476) 1px 0 50px;
}

.gatorcont h1 {
    font-size: 2vw;
    line-height: 1.1em;
}

.gatorcont p {
    font-size: 1vw;
    margin-top: 2vh;
}

.mc{
    display: flex;
    text-align: center;
    width: 34%;
    height: 100%;
    background-color: #6979a8;
    align-items: center;
    padding-left: 4vw;
    padding-right: 4vw;
}

.mccont{
    width: 100%;
    height: auto;
    text-align: center;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.476) 1px 0 50px;
}

.mccont h1 {
    font-size: 2vw;
    line-height: 1.1em;
}

.mccont p {
    font-size: 1vw;
    margin-top: 2vh;
}

.hardox{
    display: flex;
    text-align: center;
    width: 33%;
    height: 100%;
    background-color: #C6C5CA;
    align-items: center;
    padding-left: 4vw;
    padding-right: 4vw;
}

.hardoxcont{
    width: 100%;
    height: auto;
    text-align: center;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.476) 1px 0 50px;
}

.hardoxcont h1 {
    font-size: 2vw;
    line-height: 1.1em;
}

.hardoxcont p {
    font-size: 1vw;
    margin-top: 2vh;
}

/* #endregion Reconocimientos */

/* #region Pllave */

.pllave{
    display: flex;
    width: 100%;
    height: fit-content;
    padding: 5vw;
    background-color: white;
    align-items: center;
}

.pcont {
    width: 100%;
    height: auto;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.2) 1px 0 50px;
}

.pcont h1 {
    font-size: 4vw;
    color: #0C2E87;
    line-height: 1em;
}

.pcont p {
    font-size: 3vw;
    color: #393A35;
    line-height: 1em;
}

/* #endregion Pllave */

/* #region Parallax2 */

.parallax2{
    height: 50vw;
    overflow: hidden;
}

.wrapper{
height: 100%;
overflow: hidden;
perspective: 1px;
}

.parallax_section{
min-height: 100vw;
padding: 50px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
position: relative;
overflow: hidden;
transform-style: preserve-3d;
}

.parallax_bg{
    background-image: url(../img/fotos/22.jpg);
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    z-index: -1;
    min-height: 100%;
    transform:translate3d(0,0,-1px) scale(2);
    overflow: hidden;
}




/* #endregion Parallax2 */

/* #region Foot */

.foot{
    display: block;
    width: 100%;
    height: fit-content;
    padding: 3vw;
    background-color: #262623;
    align-items: center;
    color: white;
}

.fconti h1{
    text-align: center;
    font-size: 5vw;
}

.fconti p{
    text-align: center;
    font-size: 1.5vw;  
}

.info{
    display: flex;
    text-align: center;
    width: 100%;
    padding-left: 7vw;
    padding-right: 7vw;
}

.info div{
    align-items: center;
    display: flex;
    width: 33.3%;
   padding: 3vw;
    justify-content:space-between;
    
}

.info i{
    font-size: 4vw;
    padding-right: 1vw;
}

.info p{
    font-size: 1vw;
}

.maps{
    padding-top: 1vw;
    padding-left: 8vw;
    padding-right: 8vw;
}
.maps iframe{
    width: 100%;
    height: 30vw;
    border-radius: 10px;
    border-style: none;
}

/* #endregion Footer */


