@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('color.css');
@import url('button.css');
@import url('card.css');
@import url('card_product.css');
@import url('nav.css');
@import url('product.css');
@import url('form-register.css');
@import url('foot.css');
@import url('presentation.css');


body{
    margin: 0;
    color: var(--white);
    background-color: var(--red);
    background: var(--yellow);
    font-family: "Montserrat", sans-serif;
}
main{
    min-height: 60vh;
}
.text--center{
    text-align: center;
}

/* Contenedor de presentacion principal */
.main-container{
    box-sizing: border-box;
    width: 100%;
    height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.c-surface{
    padding: 25px;
}
.c-surface__btn{
    margin: 50px 0 0 40px;
    width: 40%;
    background-color: #00d300;
    color: white;
    font-size: 17px;
}
.text{
    text-align: center;
}
.text__title, .text__subtitle{
    font-weight: 900;
}
.text__paragraph{
    font-weight: 300;
}


/*Separador de secciones*/
.separator{
    box-sizing: border-box;
    margin: 30px 0;
    padding: 10px;
    display: flex;
    width: 100%;
    gap: 0 15px;
}
.separator hr{
    width: auto;
    flex-grow: 2;
    border: none;
    border-bottom: 1px solid #ccc;
}
.separator__texto{
    color: var(--white);
    font-size: 25px;
    font-weight: 700;
    text-align: center;
}
.container{
    width: 80%;
    margin: auto;
}


/* Catalogo de marcas */
.catalogo-m{
    overflow-x: hidden;
    background-color: #aaa;
}
.catalogo-marcas{
    width: 100%;
    background-color: #fff;
    padding: 15px;
    border-top: solid 1px #ddd;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-around;
}
.catalogo-marcas__aceites,
.catalogo-marcas__baterias{
    width: calc(270px*15);
}
.catalogo-marcas__aceites{
    animation: marcaAceiteBateria 23s linear infinite;
}
.catalogo-marcas__baterias{
    animation: marcaAceiteBateria 25s linear infinite;
}
.catalogo-marcas__llantas{
    animation: marcaLlantas 15s linear infinite;
    width: calc(270px*12);
    text-align: center;
}
.catalogo-marcas__img{
    width: 250px;
    border-radius: 8px;
}

/* Catalogo producto */
.catalogo-product{
    margin: auto;
    display: flex;
    flex-direction: column;
}
.catalogo-product__img{
    width: 95%;
    border-radius: 10px;
}



/* Nosotros presentacion*/
#c-presentation{
    background-image: url("../images/bussines/background-image.jpg");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.about__title{
    font-size: 25px;
    font-weight: 700;
}
.about__subtitle{
    font-size: 18px;
}
.c-presentation{
    padding-top: 30px;
    background: linear-gradient(#000d, #fff0);
}
.list-about{
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    list-style: none;
}
.list-about__item{
    box-sizing: border-box;
    min-width: 300px;
    max-width: 400px;
    margin: 15px;
    padding: 10px;
    background: linear-gradient(#0000, #000a);
}
.list-about__img{
    width: 100%;
    border-radius: 10px 10px 0 0;
}
.list-about__description{
    font-size: 15px;
    text-align: justify;
}


/* Slogan */
.slogan{
    padding-top: 30px;
    padding-bottom: 80px;
    background-color: var(--white);
}
.separator__slogan{
    text-align: center;
    color: #555;
}
.c-distinctive{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.distinctive__figure{
    background-color: var(--white);
    border-radius: 40%;
    margin: 20px;
    width: 100px;
    position: relative;
    background-color: #ddd;
}
.distinctive__img{
    width: 100%;
}
.distinctive__texto{
    text-transform: uppercase;
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    display: inline-block;
    text-align: center;
    font-weight: 700;
    color: #333;
}


.seguro__imagenes{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.seguro__img--div{
    box-sizing: border-box;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
}
.seguro__img{
    max-width:400px ;
    min-width: 300px;
}

@media (min-width:800px) {
    .card--right{
        margin: 30px auto;
        margin-left: auto;
        margin-right: 5%;
    }
    .card--left{
        margin-left:5%;
    }
}

@keyframes marcaAceiteBateria{
    
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(calc(-270.1px * 7.5));
    }
}
@keyframes marcaLlantas{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(calc(-271px*6));
    }
}
