html {
    font-family: var(--main-font);
    font-size: var(--base-font-size);
    background-color: var(--off-white-100);
}

.container {
    display: flex;
    width: var(--desktop-content-container-width);
}

/* margens */

    .section-margin-top {
        margin-top: var(--section-margin-top-bottom);
    }

    .section-margin-bottom {
        margin-bottom: var(--section-margin-top-bottom)
    }


/* fontes */

    h1 {
        font-size: 2.5rem; /*40px*/
        line-height: 3.03125rem; /*48.5px*/
    }

    h2 {
        font-size: 2rem; /*32px*/
    }

    h3 {
        font-size: 1.5rem; /*24px*/
        line-height: 2.15rem; /*34.4px*/
    }

    p {
        font-size: 1.25rem; /*20px*/
        line-height: 1.875rem; /*30px*/
    }

    .p-small {
        font-size: 1.125rem; /*18px*/
        line-height: 1.35rem /*21.6px*/;
    }

    .p-nav {
        font-size: 0.75rem; /*12px*/
    }

/* cores */

    .vermelho {
        background-color: var(--vermelho-500);
    }

    .amarelo{
        background-color: var(--amarelo-500);
    }

    .verde {
        background-color: var(--verde-500);
    }

    .rosa {
        background-color: var(--rosa-500);
    }

    .azul {
        background-color: var(--azul-800);
    }

    .off-white {
        background-color: var(--off-white-100);
    }

    .preto {
        background-color: var(--preto-100);
    }

/* botão */

    .botao-branco, .botao-azul {
        width: 270px;
        height: 60px;
        background-color: transparent;
        border-radius: 3.5rem;
        font-size: 1.125rem;
        text-transform: uppercase;
        transition: background-color 0.3s, color 0.3s;
    }

    .botao-branco {
        border: 2px solid var(--off-white-100);
        color: var(--off-white-100);
    }

    .botao-branco:hover {
        background-color: var(--off-white-100);
        color: var(--azul-800);
        cursor: pointer;
    }

    .botao-azul {
        border: 2px solid var(--azul-800);
        color: var(--azul-800);
    }

    .botao-azul:hover {
        background-color: var(--azul-800);
        color: var(--off-white-100);
        cursor: pointer;
    }

/* img comtainer */

.img-container, main {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* media-queries */

.desktop-hidden {
    display: none !important;
}

.desktop-hidden-2 {
    display: none;
}

/* pagination dots */

 .pagination-dots {
    display: flex;
    gap: 0.25rem;
}

    .pagination-dots .dot {
        height: 8.8px;
        width: 8.8px;
        background-color: #bdbdbd;
        border-radius: 50%;
    }

        .pagination-dots .dot:hover {
            width: 21.5px;
            background-color: var(--azul-800);
            border-radius: 3.5rem;
        }

/* seção apresentação - economia criativa e eixos */

.apresentacao {
    background-color: var(--preto-950);
    color: var(--off-white-100);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .apresentacao .container {
        flex-direction: column;
        gap: var(--spacing-40);
    }

        .apresentacao a {
            text-decoration: none;
        }

            .apresentacao a h3 {
                text-transform: uppercase;
            }


/* transparência, notícias, oportunidades e publicações */

/* seção de grids - cards */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2.683rem var(--base-grid-spacing); /* 42.93px 19.89px espaço entre os cards */
    width: 100%;
    justify-content: space-between;  
}

/* Card individual */
.card {
    display: flex;
    flex-direction: column;
}

/* Imagem do card */
.card-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Título do card (link) */
.card-title {
    display: flex;
    align-items: center;
    width: auto;
    height: 35px;
    margin: 2.031rem 0 0.313rem; /* 32.5px 5px */
    text-decoration: none;
    font-size: 1.5rem; /*24px*/
    line-height: 2.147rem; /*34.35px*/
    color: var(--azul-800);
    text-transform: uppercase;
    font-weight: 700;
}

.card-icon {
    width: 12px;
    height: 12px;
    margin-right: 0.719rem; /*11.5px*/
}

/* Texto do card */
.card-text {
    width: auto;
    margin: 8px 0;
    color: var(--preto-950)
}

/* Rodapé do card */
.card-footer {
    margin-top: 2.031rem;
}

/* Linha amarela do rodapé */
.card-footer-line {
    width: 100%;
    height: 2px;
    background-color: var(--amarelo-500);
    margin-bottom: 0.458rem; /*7.33px*/
}

/* Container flex da data e link */
.card-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Data do card */
.card-footer-date {
    height: 32px;
    font-size: 1.125rem; /*18px*/
    color: var(--preto-950);
    line-height:2.147rem; /*34.35px*/
}

/* Link LER MAIS */
.card-footer-link {
    height: 32px;
    font-size: 1.125rem; /*18px*/
    color: var(--azul-800);
    text-decoration: none;
    line-height: /*31.961rem;*/ 31.37px;
}

.card-footer-link:hover {
    text-decoration: underline;
}
