:root {
    --black-main-color: #202020;
    --gray-main-color: #D3D3D3;
    --cinza2: #757575;
    --lilas: #CCB2F3;
    --salmao: #FF756B;
    --rosa: #EBCFCC;
    --verde: #2E3930;
    --verde2: #3F3F05;
    --verde3: #AFAA4E;
    --amarelo: #F8D152;
    --bege: #EDEDE0;

    --azul: #1D1C3C;
    --rosa-azul: #FCD5E6;
}

#blog-capa{
    background-color:var(--black-main-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    /* class img-parallax - usar global */
    background-size: cover;
    background-attachment: fixed; 
    background-position: center;
}

h1 {
    font-variation-settings:
    "wdth" 62;
    font-weight: 900;
    font-size: 130px;
    text-align: center;
    color: var(--bege);
    position: sticky;
    top: 20%;
    text-transform: uppercase;
    /* border-top: 1px solid var(--bege);
    border-bottom: 1px solid var(--bege); */
    /* padding: 0 70px; */
    /* line-height: 0.85; */
}


.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(450px, auto);
    background-color: var(--black-main-color);
    /* padding: 10px 20px; */
    gap: 2px;
    width: 100%;

}

.grid-destaq {
    grid-column-start: 1;
    grid-column-end: 3; 
}

.grid-img{
    width: 30%;
}
article {
    justify-content: center;
    align-content: center;
    text-align: center;
    background-color:  #f2f2eb;
    padding: 15px 50px; 
    /* border-radius: 1px; */
    /* display: flex;
    flex-direction: column;
    justify-content: center;  */
}
/* .capa-article{
    width: 250px;
} */
article>h2 {
   
    font-weight: 700;
    font-size: 33px;
    line-height: 1.1;
    /* margin: 20px auto 6px; */
    font-variation-settings:
        "wdth" 62;
}

article>h3 {
    font-weight: 300;
    font-size: 24px;
    padding: 5px 0;
    font-variation-settings:
        "wdth" 62;
    text-decoration: underline 2px var(--verde3);
}

article>p {
    line-height: 1.5;
    padding: 0 40px 20px;
}

.blog-data {
    color: grey;
    font-style: italic;
    font-variation-settings:
        "wdth" 62;
}

.blog-link {
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--verde3);
    color: black;
    font-weight: 400;
    border-radius: 3px;
    padding: 5px;
    font-variation-settings:
        "wdth" 75;
}

.blog-link:hover {
    font-style: italic;
    background-color: var(--verde2);
    color: var(--bege);
}

#menu a:hover {
    text-decoration-color: var(--verde3);
}

.copyright {
    background-color: var(--verde3);
}

.footer a:hover {
    text-decoration: underline 2px var(--verde3);
    font-style: italic;
}


/* footer */
.copyright{
    background-color: var(--verde3); 
}
.footer a:hover{
    text-decoration: underline 2px var(--verde3);
    font-style: italic;
}


@media (min-width: 481px) and (max-width: 1024px){
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    #blog-capa {
        height: 90vh;
    }
    .grid {
        display: flex;
        flex-direction: column; 
        gap: 1px;
    }
    article {
        padding: 30px;
    }
    article>h2 {
        font-size: 25px;
        margin: 20px auto 3px;
    }
    article>h3 {
        font-size: 19px;
        padding: 3px 0;
    }
    article>p {
        font-size: 12px;
        line-height: 1.3;
        padding: 0 0 10px;
    }
    .blog-data {
        font-size: 12px;
    }
    .blog-link {
        font-size: 14px;
    }
}
@media screen and (min-width: 1601px){
    .blog-capa>h1{
        font-size: 200px;
    }
    article>h2 { 
        font-size: 36px;
       width: 80%;
       margin: 0 auto;

    }
    
    article>h3 {
        font-size: 28px;
    
       
    }
    .grid-destaq>p{
        width: 60%;
        margin: 0 auto;
    }
    .grid-destaq>.blog-link{
        font-size: 18px;
    }
    article>p {
        font-size: 18px;
    }
}