*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    font-family: 'Helvetica Neue', sans-serif;
}

:root{
    --color_text-primary: #fff;
    --color_text-secundary: #898989;
    --color_texto-tertiary: black;
    --main_color-primary: #7e2e8b;
    --main_color_secundary: #f0a0f8;
    --main_color_tertiary: #f1baf2;
    --main_color_cuarto: #edc3ef;
    --main_color_quinto: #fbf6fb;
    --main_color_sexto: ;
    --backgronund-color: ;
    --lowText--font-size: 16px;
    --text_size_title: 40px;
    --text_title_card: 24px;
    --text_title_cardv2: 20px;
    --text_paragraph: 16px;
    --box_shadow-primary: 0px 6px 50px -20px black (0,0,0,0.2);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --extra-light: #faf5ff;
    --max-width: 1200px;
}

html{
    scroll-behavior: smooth;
}

::-webkit-scrollbar{
    width: 1.3rem;
}
  
::-webkit-scrollbar-thumb{
    border-radius: 1rem;
    background: #797979;
    transition: all 0.5s ease-in-out;
}
  
::-webkit-scrollbar-thumb:hover{
    background: #222224;
}
  
::-webkit-scrollbar-track{
    background: #f9f9f9;
}

/*prelooder*/

/*prelooder*/

body{
    line-height: 1.4;
    color: var(--dark);
}
img{
    width: 100%;
    display: block;
}
.container{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

header{
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 25px -22px black;
    z-index: 4;
}

.header-content{
    max-width: 2000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.LOGOTIPO{
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.LOGOTIPO img{
    height: px;
    width: 190px;
    margin-top: 17px;
}

.menu{
    height: 80px;
}

.menu nav{
    height: 100%;
}

.menu nav ul{
    height: 100%;
    display: flex;
    list-style: none;
}
.menu nav ul li{
    height: 100%;
    margin: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu-selected:before{
    content: '';
    width: 100%;
    height: 4PX;
    background: #f0a0f8;
    position: absolute;
    top: 0;
    left: 0;

}
.menu nav ul li a:hover{
    color: #f0a0f8;
}

.menu nav ul li a{
    color: #898989;
    font-size: 18px;
    transition: color 300ms;
}

.menu nav ul li .text-menu-selected{
    color: #f0a0f8;
}

.menu nav ul li a i{
    display: none;
}

#icono-menu{
width: 50px;
height: 50px;
right: 20px;
top: 16px;
font-size: 27px;
background: #7e2e8b;
border-radius: 100%;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
display: none;
}

.fi-rr-menu-burger{
    margin-bottom: -6px;
    z-index: 2;
}

#icono-menu:hover{
    opacity: 0.8;
}
/**/

.header-cover{
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('..img/portada-blog/pexels-olly-3769021.jpg') center/cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.banner{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.banner-title{
    font-size: 3rem;
    line-height: 1.2;
}
.banner-title span{
    color: var(--exDark);
}
.banner p{
    padding: 1rem 0 2rem 0;
    font-size: 1.2rem;
    text-transform: capitalize;
    font-weight: 300;
    word-spacing: 2px;
}
.banner form{
    background: #fff;
    border-radius: 2rem;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: space-between;
}
.search-input{
    font-size: 1.1rem;
    width: 100%;
    outline: 0;
    padding: 0.6rem 0;
    border: none;
}
.search-input::placeholder{
    text-transform: capitalize;
}
.search-btn{
    width: 40px;
    font-size: 1.1rem;
    color: var(--color_text-secundary);
    border: none;
    background: transparent;
    outline: 0;
    cursor: pointer;
}

/*articulo de Blog */

.container__card{
    max-width: 1200px;
    margin: auto;
    margin-top: 100px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card__father{
    margin: 20px;
    perspective: 1000px;
}

.card__father:hover .card{
    transform: rotateY(180deg);
}

.card{
    width: 350px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 600ms;
}

.card__front{
    background-size: cover;
    background-position: center;
}

.card__front,
.card__back{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    border-radius: 20px;
}

.card__back{
    transform: rotateY(180deg);
    background: white;
}

.body__card_front{
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transform: translateZ(60px);
}

.bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
}

.body__card_back{
    padding: 40px;
    text-align: center;
    transform: translateZ(60px);
}

.body__card_back p{
    margin-top: 30px;
    font-size: 18px;
}

.body__card_back a .button{
    padding: 10px 40px;
    margin-top: 30px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: white;
    background: #f0a0f8;
    box-shadow: 1px 1px 30px -5px #e8bcc3;
    border-radius: 40px;
    transition: box-shadow 600ms;
}

.body__card_back a .button:hover{
    box-shadow: 1px 1px 30px 0px #f0a0f8;
}

/*articulo de Blog */

/* design */


.design{
    padding: 4.5rem 0;
}
.title{
    text-align: center;
    padding: 1rem 0;
}
.title h2{
    font-size: var(--text_size_title);
    color: var(--main_color_secundary);
}
.title p{
    text-transform: uppercase;
    padding: 0.6rem 0;
    color: var(--color_text-secundary);
}
.design-content{
    margin: 2rem 0;
}
.design-item{
    cursor: pointer;
    margin: 1.5rem 0;
}
.design-img{
    position: relative;
    overflow: hidden;
}
.design-img::after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}
.design-img img{
    transition:  all 0.5s ease;
}
.design-item:hover img{
    transform: scale(1.2);
}
.design-img span:first-of-type{
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 10px;
    background: var(--exDark);
    color: #fff;
    padding: 0.25rem 1rem;
}
.design-img span:last-of-type{
    position: absolute;
    z-index: 1;
    bottom: 10px;
    right: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}
.design-title{
    padding: 1rem;
    font-size: 1.2rem;
    text-align: center;
    width: 70%;
    margin: 0 auto;
}
.design-title a{
    color: var(--dark);
    text-decoration: none;
    text-transform: capitalize;
    
}

/* blog */
.fondo-blog{
    background: linear-gradient(0deg, rgba(255,255,255,1) 
    5%, rgba(126,46,139,0.39581853693181823) 
    30%, rgba(126,46,139,0.7480912642045454) 
    40%, rgba(126,46,139,0.7367276278409092) 
    50%, rgba(126,46,139,0.7509321732954546) 
    60%, rgba(126,46,139,0.41002308238636365) 
    70%, rgba(255,255,255,1) 95%);
}

.blog{
    
    padding: 4.5rem 0;
}
.blog-content{
    margin: 2rem 0;
}

.blog-img{
    cursor: pointer;
    margin: 1.5rem 0;
}
.blog-img{
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.blog-img::after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}
.blog-img img{
    transition:  all 0.5s ease;
    border-radius: 20px;
}
.blog-item:hover img{
    transform: scale(1.2);
}

.blog-img img{
    position: relative;
    border-radius: 20px ;
}
.blog-img span fi-rr-heart{
    position: absolute;
    bottom: 50px;
    right: 10px;
    background: #f9f9f9;
    color: #7f1616;
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
}
.blog-text{
    margin: 2.2rem 0;
    padding: 0 1rem;
}
.blog-text span{
    font-weight: 300;
    display: block;
    padding-bottom: 0.5rem;
}
.blog-text h2{
    padding: 1rem 0;
    font-size: 1.65rem;
    font-weight: 500;
}
.blog-text p{
    font-weight: 300;
    font-size: 1.1rem;
    opacity: 0.9;
    padding-bottom: 1.2rem;
}
.blog-text a{
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    color: white;
    background: #a780b9;
    box-shadow: 1px 1px 30px -5px #7e2e8b;
    padding: 0.55rem 1.2rem;
    transition: all 0.5s ease;
    border-radius: 40px;
}
.blog-text a:hover{
    background: var(--main_color-primary);
    box-shadow: 1px 1px 30px 0px #d2b4e2;
}

/* about */

.about{
    padding: 4.5rem 0;
}
.about-text{
    margin: 2rem 0;
}
.about-text > p{
    font-size: 1.1rem;
    padding: 0.6rem 0;
    opacity: 0.8;
}

/*about*/

/*footer - pie de pagina*/

.container-footer{
    width: 100%;
    padding: 40px;
    background: #fcfcfc38;
    margin-top: 50px;
}

.container-footer footer{
    max-width: 1200px;
    margin: auto; 
}

.container-footer footer .logo-footer{
    text-align: center;
}

.container-footer footer .logo-footer img{
    width: 180px;
    height: auto;
    display: inline;
}

.container-footer footer .redes-footer{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.container-footer footer .redes-footer .icon-redes-footer{
    font-size: 20px;
    margin: 20px;
    background: #d3d3d3;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    color: #fff
}

footer .redes-footer .fi-brands-instagram:hover{
    background: linear-gradient(to top right, #fcde30, #e9712a, #d2313b, #ae4198, #7540a1, #5443a8);
    color: #fff ;
}

footer .redes-footer .fi-brands-whatsapp:hover{
    background: linear-gradient(to top left,  #dcf8c6, #25d366, #11b66467);
    color: #ffffff;
}
footer .redes-footer .fi-brands-telegram:hover{
    background:linear-gradient(to top right,#0088cc, #23a7e9) ;
    color: #ffffff;
} 

footer .redes-footer .fi-brands-facebook:hover{
    background: linear-gradient(360deg, #3b5998,#6d84b4,#afbdd4,#d8dfea,#ffffff);                                                                                         
    color: #fff;
}

footer .redes-footer .fi-brands-linkedin:hover{
    background: linear-gradient(360deg, #0072b1,#ffffff);
    color: #fff;
}

footer .redes-footer .fi-brands-tik-tok:hover{
    background: linear-gradient(90deg, #00f2ea,#000000,#ff0050);                                                                                                                                                                             
    color: #fff;
}

footer .redes-footer .fi-brands-youtube:hover{
    background: linear-gradient(339deg, #c4302b,#c4302b,#f4b8b8);
    color: #fff;                            
}

.container-footer footer hr{
    margin-top: 20px;
    border: none;
    height: 2px;
    background: #a8a8a87a;
}

.container-footer h4{
    text-align: center;
    margin-top: 40px;
    color: #dfdfdf;
    font-weight: 500;
}
/*footer - pie de pagina*/



/* Media Queries */
@media screen and (min-width: 540px){
    .navbar-nav a{
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }
    .banner-title{
        font-size: 5rem;
    }
    .banner form{
        margin-top: 1.4rem;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 768px){
    .navbar .container{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .search-input{
        padding: 0.8rem 0;
    }
    .design-content{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .design-item{
        margin: 0;
    }
    .blog-content{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (min-width: 992px){
    .blog-content{
        grid-template-columns: repeat(3, 1fr);
    }
    .about-content{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
        align-items: center;
    }
}

@media screen and (min-width: 1200px){
    .design-content{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1220px){
    
    .header-content,
    .container-content,
    .container-footer footer{
        max-width: 2000px;
        padding: 0 20px;
    }

}

@media screen and (max-width: 1020px){
    .container-content{
        width: 100%;
        flex-direction: column;
    }
    .text__cover{
        margin-top: -86px;
    }
}

@media screen and (max-width: 800px){
    
    body{
        overflow-x: hidden ;
    }

    .container-all{
        transition: all 300ms cubic-bezier(1,0,0,1);
    }

    .move-container-all{
        transform: translateX(165px);
    }

    .menu{
        width: 0px;
        height: 100vh;
        position: fixed;
        top: 80px;
        left: 0;
        background: #fff;
        overflow: hidden;
        transform: translateX(-165px);
        box-shadow: 10px 0 20px -25px black;
        transition: all 300ms cubic-bezier(1,0,0,1);
    }

    .show-lateral{
        width: 165px;
        transform: translateX(0px);
    }

    .menu nav ul{
        flex-direction: column;
    }

    .menu nav ul li{
        max-width: 200px;
        height: 50px;
        justify-content: flex-start;
    }

    .menu-selected:before{
        width: 0;
    }

    .menu nav ul li a{
        margin-top: 40px;
        color: #898989;
    }

    .menu nav ul li a i{
        width: 20px;
        display: inline-block;
        margin-right: 10px;
        color: #7e2e8b;
    }

    #icono-menu{
        display: flex;
        margin-top: 15px;
    }
}