@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --blue: #005296;
    --mediumblue: #18a8fb;
    --lightBlue: #BFD3E4;
    --yellow: #F7C200;
    --white: #ffffff;
    --black: #000000;
    --gray: #C4C4C4;
    --purple: #3F148D;
}

* {
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    list-style: none;
    box-sizing: border-box;
    transition-property: all;
    transition-duration: 0.25s;
    scroll-behavior: smooth;
}

section:first-of-type {
    background-color: var(--blue);
}

section:first-of-type > div {
    max-width: 1440px;
    margin: auto;
    padding: 96px 135px 96px 135px;
}

section:first-of-type > div > h2 {
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--yellow);
}

section:first-of-type > div > h1 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--white);
}

@media (max-width: 1023px) {
    section:first-of-type > div {
        padding: 48px 24px 48px 24px;
    }
}

#solucoes > h2 {
    margin-bottom: 8px;
}

/* Ultimas Notícias */

#ultimasNoticias {
    max-width: 1440px;
    margin: auto;
    padding: 48px 135px 96px 135px;
}

#ultimasNoticias > h4 {
    font-weight: 500;
    font-size: 3rem;
    text-align: center;
    padding-bottom: 48px;
}

#ultimasNoticias > div {
    display: flex;
    gap: 0 32px;
}

#ultimasNoticias > div > div {
    width: 33%;
}

#ultimasNoticias > div > div > img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    margin-bottom: 16px;
    object-fit: cover;
}

#ultimasNoticias > div > div > p:first-of-type {
    color: var(--yellow);
    background-color: var(--blue);
    font-weight: 500;
    margin-bottom: 24px;
    border-radius: 10px;
    padding: 3px 30px;
    width: min-content;
}

#ultimasNoticias > div > div > h5 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

#ultimasNoticias > div > div > p:last-of-type {
    font-size: 0.875rem;
    margin-bottom: 24px;
}

#ultimasNoticias > div > div > a {
    color: var(--yellow);
    text-decoration: underline;
}

@media (max-width: 1023px) {
    #ultimasNoticias {
        padding: 48px 24px 96px 24px;
    }
}

@media (max-width: 767px) {
    #ultimasNoticias > div {
        flex-direction: column;
        gap: 32px 0;
    }

    #ultimasNoticias > div > div {
        width: 100%;
    }
}