@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Happyness';
    src: url(src/fonts/happyness1.otf) format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: #fff;
    padding: 0;
    margin: 0;
}

.regular {
    font-family: 'Roboto', sans-serif;
    line-height: 28px;
    font-size: 24px;
}

.regular-black {
    text-align: center;
    font-weight: 900;
}

.regular-light {
    font-weight: 300;
}

.italico {
    line-height: 32px;
    font-size: 28px;
    font-style: italic;
}

.condensed {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
}

.happyness {
    font-family: 'Happyness', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

.press-image {
    background-image: url('src/images/QR\ CODE\ PAINEL.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pressbase{
    background: #01488F;
    background: linear-gradient(180deg, rgba(1, 72, 143, 1) 0%, rgba(1, 106, 198, 1) 100%);
}

main {
    background: #01488F;
    background: linear-gradient(180deg, rgba(1, 72, 143, 1) 0%, rgba(1, 106, 198, 1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    section {
        padding: 0 8px;
        width: 100%;
        max-width: 100%;
    }

    .hero {
        display: flex;
        flex-direction: column;

        div {
            padding: 5% 0 20% 0;

            span {
                font-weight: bold;
            }
        }

        .logo-happy {
            width: 100%;
            max-width: 90%;
            height: auto;
            object-fit: contain;
            margin: 5% auto;
            display: block;
        }

        .imagem-hub {
            margin: 1%;
            object-fit: contain;
        }
    }

    .pressrelease {
        background-color: #fff;
        color: #015BAD;

        .big-numbers {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: -70px;
            padding-bottom: 15%;

            img {
                width: 45%;
                max-width: 180px;
               
            }
        }

        p {
            color: #015BAD;

            span {
                color: #01488F;
                font-weight: bold;
            }
        }

        .regular {
            font-size: 20px;
            font-weight: 4 00;
        }

        .happyness {
            font-size: 36px;
            padding-bottom: 5%;
        }

        button {
            background-color: #015BAD;
            color: #fff;
            border: none;
            padding: 2% 5%;
            border-radius: 25px;
            margin: 5%;
            font-weight: bold;

            &:hover {
                transform: scale(1.05);
            }
        }
    }

    #collapse-themes {
        background-color: #fff;
        padding-bottom: 8%;

        >:first-child {
            margin-top: 10%;
        }

        .collapse-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 10%;

            h3 {
                flex-grow: 1;
                font-size: 28px;
            }

            .rotate-180 {
                transform: rotate(180deg);
                transition: transform 0.3s ease;
            }

            img {
                max-width: 30px;
                transition: transform 0.3s ease;
            }

        }

        p,
        h3 {
            color: #015BAD;
        }

        span {
            color: #015BAD;
            font-weight: bold;
        }

        hr {
            color: #CACACA;
            border: 2px solid #CACACA;
            margin: 0;
        }

    }

    .leadership {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        >:first-child {
            margin: 10% 0 5% 0;
            width: 80%;
        }

        >:last-child {
            padding-bottom: 10%;
        }

        p,
        h2 {
            text-align: left;
        }

        .leader {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            gap: 15px;
            padding-top: 10%;

            .about {
                width: 65%;

                >:last-child {
                    padding-top: 2%;
                }
            }

            p,
            h2,
            hr {
                margin: 0;
            }

            hr {
                border: 0;
                border: 2px solid #fff;
                font-weight: bolder
            }

            img {
                width: 103px;
                height: 103px;
                border-radius: 15%;
                object-fit: contain;
            }
        }
    }
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;

    a {
        padding: 8% 0;

        img {
            width: 40px;
            margin: 10% 0;
        }
    }
}

/* Responsividade a partir de 440px */
@media (min-width: 440px) {
    main section {
        padding: 0 5%;
    }

    .pressrelease .big-numbers {
        gap: 20px;
        margin-top: -50px;
        padding-bottom: 10%;
    }

    .pressrelease .big-numbers img {
        width: 40%;
        max-width: 160px;
    }

    .pressrelease .happyness {
        font-size: 40px;
    }

    .pressrelease button {
        padding: 1.5% 4%;
        font-size: 18px;
    }

    .leadership > :first-child {
        width: 75%;
    }

    .leadership .leader img {
        width: 140px;
        height: 140px;
    }

    .leadership .about {
        width: 60%;
    }

    #collapse-themes .collapse-header h3 {
        font-size: 30px;
    }

    footer {
        gap: 50px;
    }

    footer a img {
        width: 45px;
    }
}

/* Responsividade a partir de 768px (Tablet) */
@media (min-width: 768px) {
    .pressrelease .big-numbers {
        margin-top: -30px;
        gap: 30px;
    }

    .pressrelease .big-numbers img {
        width: 22%;
        max-width: 200px;
    }

    .pressrelease .happyness {
        font-size: 48px;
    }

    .pressrelease p {
        font-size: 22px;
        line-height: 32px;
    }

    .pressrelease button {
        font-size: 20px;
        padding: 1% 3%;
    }

    .leadership > :first-child {
        width: 60%;
    }

    .leadership .leader {
        flex-direction: row;
        gap: 30px;
        padding-top: 5%;
    }

    .leadership .leader img {
        width: 160px;
        height: 160px;
    }

    .leadership .about {
        width: 55%;
    }

    #collapse-themes .collapse-header h3 {
        font-size: 34px;
    }

    footer {
        gap: 70px;
    }

    footer a img {
        width: 55px;
    }
}

/* Responsividade a partir de 1024px (Desktop) */
@media (min-width: 1024px) {
    .regular{
        font-size: 32px;
        line-height: 34px;
    }

    .hero{
        display: flex;
        align-items: center;
        >:first-child {
            width: 60%;
            height: auto;
            object-fit: contain;
        }

        .logo-happy{
            margin: 5% !important;
            width: 60% !important;
            max-width: 90% !important;
            height: auto;
            object-fit: contain;
            margin: 5% auto;
            display: block;
        }

        div{
        padding: 5% 0 !important; 
     }
    }

    .pressrelease .big-numbers {
        margin-top: -45px !important;
        gap: 40px;
        padding-bottom: 5% !important;
    }

    .pressrelease .big-numbers img {
        width: 20%;
        max-width: 220px;
    }

    .pressrelease .happyness {
        font-size: 56px;
    }

    .pressrelease p {
        font-size: 24px;
        line-height: 36px;
    }

    .pressrelease button {
        font-size: 22px;
        padding: 0.8% 2.5%;
    }

    .leadership > :first-child {
        width: 50%;
        margin-top: 5% !important;
    }

    .leadership > div:first-of-type{
        padding-top: 2% !important;     
    }

    .leadership .leader{
        padding-top: 5% !important;
        width: 100%;
    }

    .leadership .leader img {
        width: 180px;
        height: 180px;
    }

    .leadership .about {
        width: 50%;
    }

    #collapse-themes .collapse-header h3 {
        font-size: 38px;
    }

    footer {
        gap: 80px;
    }

    footer a img {
        width: 60px;
    }
}

/* Responsividade a partir de 1440px (Desktop grande / Widescreen) */
@media (min-width: 1440px) {
    .pressrelease .big-numbers {
        gap: 50px;
    }

    .pressrelease .big-numbers img {
        width: 18%;
        max-width: 240px;
    }

    .pressrelease .happyness {
        font-size: 64px;
    }

    .pressrelease .regular {
        font-size: 26px;
        line-height: 38px;
    }

    .pressrelease button {
        font-size: 24px;
        padding: 1% 2%;
    }

    .leadership > :first-child {
        width: 45%;
    }

    .leadership .leader img {
        width: 200px;
        height: 200px;
    }

    .leadership .about {
        width: 50%;
    }

    .leadership .about h2 {
        font-size: 36px;
    }

    .leadership .about p {
        font-size: 20px;
        line-height: 28px;
    }

    #collapse-themes .collapse-header h3 {
        font-size: 42px;
    }

    footer {
        gap: 100px;
    }

    footer a img {
        width: 65px;
        height: auto;
    }
}

