* {
    font-family: 'Roboto', sans-serif;

    --c-fondo: #f5f5f5;
    --c-fondo-b-f: #b4aef9;
    --c-sub-fondo: #;

    --c-btn: #b4aef9;
    --c-texto: rgb(19, 19, 19);
    --c-tex-secu: #;
    
    --c-iconos: #;

/*  Para llamar a la función: color: var(--c-texto);  */
}

:focus{
    outline: none; /* Quitar borde de campos a rellenar */
}

html{
    scroll-behavior: smooth; /* Scroll suave */
}

body{
    background-color: #B4AEF9 !important; /* Color de todo el fondo */
}

#consejos{
    scroll-margin-top: 5ex; /*coloca el scroll en position */
}
/* ------General------ */

/* ------Inicio------ */

#inicio {
    width: 100%;
    min-width: 390px;
    height: 100%;
    margin: auto;

    background: linear-gradient( rgba(77, 77, 77, 0.7), rgba(75, 75, 75, 0.7)), url("imagenes/hero01.jpg");
    
    background-repeat: no-repeat;
    
    background-size: cover;
    background-position: center center;
    
}
#inicio .contenido header {
    background-color: var(--c-fondo-b-f);
    position: fixed;
    z-index: 100;
    top: 0;

    width: 100vw;
    min-width: 390px;
}
#inicio .contenido header .contenido-header {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
#inicio .contenido header .contenido-header img{
    width: 300px;
    height: auto;
    margin-left: 20px;
}
#inicio .contenido header .contenido-header h1{
    color: white;
    font-size: 2.2rem;
    font-family: 'Viga', sans-serif;
}
#icono-nav{
    margin-right: 20px;
    color: #fff;
    font-size: 1.5rem;
}
nav{
    display: none;
}
nav.responsive {
    display: block;
    background-color: rgba(253, 253, 253, 0.93);
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 15px 0;

}
#inicio .contenido header .contenido-header nav ul {
    list-style: none;
    display: block;
    align-items: center;
    text-align: center;
    padding: 0;
}

#inicio .contenido header .contenido-header nav ul li a {
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--c-texto);
    margin: 0 12px;
    font-weight: 500;
    transition: .5s;
    
}
#inicio .contenido header .contenido-header nav ul li a:hover {
    color: var(--c-btn);
}
#inicio .contenido .frase-1 {
    max-width: 1100px;
    height: 100vh;
    margin: auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#inicio .contenido .frase-1 h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

#inicio .contenido .frase-1 h2 span {
    font-weight: 600;
    font-size: 5.5rem;
    color: var(--c-btn);
}

/* 
----------------------------------------
            animación ES AMOR
----------------------------------------
*/
#inicio .contenido .frase-1 h2 span {
    -webkit-animation: tracking-in-expand-fwd 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand-fwd 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

    @-webkit-keyframes tracking-in-expand-fwd {
        0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px);
    transform: translateZ(-700px);
    opacity: 0;
    }
    40% {
    opacity: 0.6;
    }
    100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
    }
}
@keyframes tracking-in-expand-fwd {
    0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px);
    transform: translateZ(-700px);
    opacity: 0;
    }
    40% {
    opacity: 0.6;
    }
    100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
    }
}
/* 
----------------------------------------
            animación ES AMOR
----------------------------------------
*/

.btn-01{
    background-color: var(--c-btn);
    padding: 10px;
    border-radius: 5px;

    font-size: 1.5rem;
    text-decoration: none;
    color: #fff;

    top: 72px;
    position: sticky;
}

.btn-01:hover{
    background-color: #ffffff;
    color:var(--c-btn);
}

/* 
----------------------------------------
            animación BTN CONTACTAME!
----------------------------------------
*/
.btn-01 {
	-webkit-animation: heartbeat 2s ease-in-out infinite both;
	animation: heartbeat 2s ease-in-out infinite both;
}

@-webkit-keyframes heartbeat {
    from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    }
    10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    }
    17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    }
    33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    }
    45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    }
}
@keyframes heartbeat {
    from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    }
    10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    }
    17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    }
    33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    }
    45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    }
}
/* 
----------------------------------------
            animación BTN CONTACTAME!
----------------------------------------
*/

/* ------Inicio------ */
/* ------Cuando Consultar?------*/

#cuando-consultar{
    background-color: var(--c-fondo);
    width: 100%;
    margin: auto;
}

#cuando-consultar h2{
    font-size: 4rem;
    margin: 20px;
}

#cuando-consultar .container{

    background-color: var(--c-fondo);
    text-align: center;
    padding: 100px 5px;
}
#cuando-consultar .container h2 samp{
    font-size: 4rem;
    color: var(--c-btn);
}

#cuando-consultar .container p{
    margin: 15px;
    font-size: 1.2rem;
}
/* ------Cuando Consultar?------*/


particle {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
}

.preloader {
    position: absolute;
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/127738/mario-face.png);
}


/* ------Productos------*/

#productos h3{
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--c-fondo);
    text-decoration:overline;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 3px;

    text-align: center;
    padding: 20px;
}

#productos {
    width: 100vw;
    max-width: 1000px;
    padding: 100px 0;
    margin: auto;
    *background-color:var(--c-fondo-b-f);
}

#productos .fila {
    display: flex;
    flex-direction: column;
    justify-content: center;

    align-items: center;
    justify-items: center;
}


#productos .fila .productos {
    max-width: 450px;

    background-color: #fff;
    border-radius: 15px;

    margin: 10px 20px;
    position: relative;
    overflow: hidden;
}

#productos .fila .productos img {
    width: 100%;
    height: 100%;
    padding: 20px;
}

#productos .fila .productos h4{
    font-weight: 400;
    text-align: center;
    color: var(--c-texto);
}

#productos .fila .productos a{
    background-color: var(--c-btn);
    border-radius: 5px;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;

    text-decoration: none;
    display:block;
    text-align: center;
    padding: 10px;
    margin: 25px;
}

#productos .fila .productos a:hover{
    transition: .5s;
    scale: 1.1;
}

#productos .fila .productos .info {
    position: absolute;
    left: 0px;
    background-color: rgba(228, 228, 228, 0.8);
    color:#565476;
    width: 100%;
    padding: 10px;
    opacity: 0;
    bottom: -40px;
    transition: .5s;
}

#productos .fila .productos:hover .info {
    opacity: 1;
    bottom: 0;
}
/* ------Productos------*/

/* ------Consejos------*/

#consejos{
    background-color: var(--c-fondo);
    width: 100%;
    margin: auto;
}

#consejos .carrucel-consejos{
    width: 100%;
    max-width: 1000px;
    height: auto;

    padding-bottom: 60px;
    margin: auto auto;
}

#consejos h3{
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--c-texto);
    text-decoration:overline;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 3px;

    text-align: center;
    padding: 50px;
}
#consejos img{
    filter: brightness(0.7);
}
.carousel-caption h5{
    font-size: 1.5rem;
}
.carrucel-1 {
    color:#d9d6f7;
    text-shadow: 2px 2px 4px rgba(11, 11, 11, 0.8);
}

.consejos {
    display: flex;
    flex-direction: column;
    justify-content: center;


    align-items: center;
    justify-items: center;
}
.card{
    margin-bottom: 20px;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: var(--c-btn) !important;
    
}

button{
    font-size: 1.3rem !important;
}

/* ------Consejos------*/

/* ------Contacto------*/
#contacto {
    width: 100%;
    height: auto;
    margin: auto;
    background-color: #B4AEF9;
}
#contacto figure{
    display: flex;
    justify-content:center;
    align-items: center;
}
#contacto img{
    width: 100px;
    height: 100px;
    opacity: .9;

    margin: 15px;
}

#contacto h3{
    font-size: 1.5rem;
    color: #fff;
    padding-top: 15px;
}
#contacto p{
    font-size: 1rem;
    color: #fff;
}

#contacto .red-social{
    display: flex;
    flex-direction: row;
    justify-content: center;

    padding: 1px 20px 20px 20px;
}
#contacto .red-social a{
    width: 50px;
    height: 50px;
    background-color: rgb(245, 245, 245);
    color: #B4AEF9;
    font-size: 1.8rem;

    border-radius: 50%;

    text-decoration: none;

    margin-right: 20px;

    line-height: 50px;
    text-align: center;
    transition: all 300ms ease;
}
#contacto .red-social a:hover{
    background-color: #B4AEF9;
    color: whitesmoke;

    transition: .3s;
    transform: scale(1.4); 
}
/* ------Contacto------*/

/* ------Footer------*/

footer{
    width: 100%;
    height: auto;
    margin: auto;

    background-color: whitesmoke;
    text-align: center;
    font-size: 1rem;
    color: gray;
    padding: 20px;
}
footer p a{
    color: gray;
    text-decoration: none;
}


/* ------Footer------*/

/* ------------------Responsive------------------ */
/* ------------------Responsive------------------ */


@media screen and (min-width: 800px) {
    
/* @----@ sección INICIO */
    #inicio{
        background-attachment: fixed;
    }
    nav{
        display: block;
    }
    #icono-nav{
        display: none;
    }

    .contenido-header img{
        width: 100px;
    }

    #inicio .contenido header .contenido-header nav ul{
        display: flex;
        flex-direction: row-reverse;

        margin: auto auto;
    }
    .selec-none-1{
        display: none;
    }

    #inicio .contenido header .contenido-header nav ul li a{
        color: #fff;
        text-transform: uppercase;
        font-size: 1.2rem;
    }
    #inicio .contenido header .contenido-header nav ul li a:hover {
        color: var(--c-texto);
    }
    #inicio .contenido .frase-1 br{
        display: none;
    }
/* @----@ sección INICIO */

/* @----@ sección PRODUCTO */
    #productos .fila {
        flex-direction: row;
        justify-content: space-around;
    }
/* @----@ sección PRODUCTO */

/* @----@ sección CONSEJOS */

/* @----@ sección CONSEJOS */

/* @----@ sección CONTACTO */
    #contacto .container {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .box{
        margin: auto auto;
        padding: 5px;
    }

/* @----@ sección CONTACTO */

/* @----@ sección FOOTER */

/* @----@ sección FOOTER */

}

@media screen and (max-width: 1050px) {
    #inicio .contenido header .contenido-header nav ul li a{
        font-size: .7rem;
    }
}

@media screen and (max-width: 800px) {
    #inicio .contenido header .contenido-header nav ul li a{
        font-size: 1.2rem;
    }
}


/* ------------------Responsive------------------ */
/* ------------------Responsive------------------ */
