*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
:root{
    --color1: hsl(233, 26%, 24%);
    --color2: hsl(136, 65%, 51%);
    --color3:  hsl(192, 70%, 51%);
    --color4: hsl(233, 8%, 62%);
    --color5:  hsl(220, 16%, 96%);
    --color6: hsl(0, 0%, 98%);
    --color7: hsl(0, 0%, 100%);
}
.contenedor{
    margin:0 auto;
    max-width:1100px;
}
header{
    padding:20px;
    border-bottom: 1px solid #f4f9f7;
    position:relative;
    z-index:2;
}
.btn{
    padding:15px 20px;
    color:white;
    background:linear-gradient(to right top, #30cc7b, #00ca94, #00c6a8, #00c1b8, #2bbcc1);
    border:none;
    border-radius:20px;
    cursor:pointer;

}
.btn2{
    display:none;

}
body{
    font-family: 'Public Sans';
}
p{
    font-weight:300;
}
h1{
    font-weight:700;
    margin-bottom:30px;
}
h2{
    font-weight:400;
    flex: 0 1 100%;
    margin-top:20px;
}
h3{
    font-weight:200;
    margin-bottom:15px;
    margin-right:45px;
    text-align:center;
    font-size:16px;
    transition: all 1s ease-in-out;
}
h3:hover{
    color:var(--color2);
    cursor:pointer;
}
.filter-green{
    filter: invert(100%) sepia(93%) saturate(0%) hue-rotate(201deg) brightness(106%) contrast(106%);

}


a{
    text-decoration:none;
    font-family: 'Public Sans';
    font-weight:300;
    color:var(--color4);
}

.enlaces a{
    margin:10px;
}
.imagen-mockup{
    background:url(images/bg-intro-desktop.svg);
    height:80vh;
    background-position:left;
}


.texto-mock{
    text-align:center;
}
button{
    margin-top:20px;
    margin-bottom:50px;
    padding:15px 20px;
    color:white;
    background:linear-gradient(to right top, #30cc7b, #00ca94, #00c6a8, #00c1b8, #2bbcc1); 
    border:none;
    border-radius:20px;
    cursor:pointer;
    font-weight:700;
}
.imagen-mockup{
    display:flex;
    justify-content: center;
}
.imagen-mockup img{
    max-width:100%;
}
.elegir{
    text-align:center;
    background:var(--color5);
    padding:20px;
}
.elegir h2{
    margin-bottom:30px;
    margin-top:20px;
}
.banners img{
    margin-top:30px;
}
.articulos{
    text-align:center;
}
.cardp{
    font-size:13px;
    text-align:center;
    margin-bottom:15px;
    color:#bababa;
}

img{
    max-width:100%;
}
.cartas{
    background:var(--color6)
}
.entrada{
    background: white;

}
.entrada img{
    width:400px;
    height:300px;
    padding-left:30px;
    padding-right:20px;
}
.contenido{
    padding:1rem;
}
.cartas h2{
    text-align:center;
    padding-bottom:20px;

}
footer{
    background: var(--color1);
    padding:1rem;
}
footer p{
    color:white;
    cursor:pointer;
}
footer p:hover{
    color:var(--color2);
}
i{
    color:white;
    font-size:20px;
    margin-top:20px;
    margin-bottom:20px;
    margin:10px;
    cursor:pointer;
}
i:hover{
    color:var(--color2);
}
span{
    color:white;
    font-size:13px;
    font-weight:200;
    text-align:center;
    display:flex;
    margin-left:100px;
    color:var(--color4);
}
footer{
    text-align:center;
}
.textof p{
    margin-top:20px;
}
.ham{
    display:block;
    position:absolute;
    top:15px;
    right:25px;
    cursor:pointer;
}
.ham span{
    display:block;
    background: black;
    height:3px;
    width:28px;
    margin: 10px auto;
}
.enlaces-menu{
    margin:0;
    padding:0;
    display:none;
}
.enlaces-menu li{
    text-align:center;
    margin:10px;
    list-style-type: none;
}
.enlaces-menu.activado{
    display:flex;
    flex-direction:column;
    margin:45px;
}
.enlaces-menu li a:hover{
    border-bottom: 2px solid #30cc7b; 
}


@media (min-width:768px){
    .ham{
        display:none;
    }
    .btn2{
    display:block;
    margin-bottom:30px;
    }
    nav{
        display:flex;
        justify-content: space-around;
        align-items: center;
    }
    .enlaces-menu{
        display:flex;
        flex-direction:row;
        align-items: center;
    }
    li{
        list-style-type: none;
    }
    .enlaces-menu a{
        margin:20px;
    }

    .elegir{
        text-align:left;
    }
    .elegir-texto{
        margin:0 auto;
        width:90%;
    }
    .parrafo{
        width:50%;
    }
    .mockup{
        display:flex;
        align-items:center;
    }
    .imagen-mockup{
        order: 1;
        align-items:center;
    }
    .imagen-mockup img{
        position:relative;
        top:70px;
    }
    .entrada img{
        height:200px;
        padding: 0 ;
        border-radius:6px;
    }
    .razon{
        display:flex;
        align-items:center;
        gap:2rem;
        margin-left:50px;
        margin-bottom:30px;
    }
    .contenido-principal{
        display:flex;
        gap:3rem;
}
    .cartas h2{
        margin-bottom:30px;
        text-align:left;
        padding:0;
    }
    .cardp{
        font-size:13px;
        text-align:left;
        margin-bottom:15px;
        color:#bababa;
    }
    .entrada{
        margin-bottom:60px;
    }
}
@media (min-width:768px){
    footer{
        display:grid;
        grid-template-columns:repeat(3, 1fr)
    }
    .footerblog{
        display: flex;
        flex-direction: column;
        align-items: center
    }
    .textof{
        display: flex;
        gap: 5rem;
    }
    .textof p{
        margin-top:15px;
    }
    span{
        display:flex;
    }
    .redes{
        margin-top:50px;
    }
  

}