@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: 'happynessV2';
    src: url('font/happynessV2.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

#introdução {
    background-image: url('img/behappy\ hero\ image\ 1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
    text-align: center;

    header {
        font-family: "Roboto", sans-serif;
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        width: 100%;
        z-index: 5;
        font-size: 12px;
        padding: 0% 5%;
        min-height: 64px;
        background: #0C306CCC;
        color: #fff;

        img {
            width: 20%;
        }

        .links {
            .inicio {
                text-decoration: underline white;
            }

            width: 100%;

            a {
                text-decoration: none;
                color: #ffffff;
                padding: 0.9%;

            }

            a:visited {
                color: #ffffff;
            }

            .contato {
                padding: 2%;
                font-weight: 700;
                border: 1px solid #ffff;
                border-radius: 10px;
            }
        }

    }

    h1 {
        font-family: 'happynessV2';
        color: #ffff;
        font-size: 30px;
        padding-top: 20%;
    }
}

.teste {
    background-color: #ffff;
    width: 90%;
    border-radius: 0 0 20px 20px;
}

.teste-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
}

#o-que {
    display: flex;
    justify-content: center;
    min-height: 430px;


    .caixa-sobresposta {
        position: relative;
        top: -50px;
        background-color: #0C306C;
        color: #fff;
        width: 80%;
        border-radius: 20px;

        .titulo {
            text-align: center;
            padding: 5%;
            font-family: 'happynessV2';
            font-size: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;

        }

        .conteudo {
            display: flex;
            flex-direction: column;

            .escrita {
                font-family: "Roboto", sans-serif;
                text-align: center;
                font-size: 15px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;

                p {
                    padding: 5% 0%;
                    width: 80%;
                }
            }

            .video {
                display: flex;
                flex-direction: column;
                text-align: center;
                justify-content: center;
                align-items: center;

                video {
                    background-color: black;
                    width: 50%;
                }

                a {
                    padding: 2%;
                    border: 1px solid #ffff;
                    border-radius: 10px;
                    text-decoration: none;
                    width: 50%;
                    margin-bottom: 5%;
                    font-family: "Roboto", sans-serif;
                }

                a:visited {
                    color: #ffffff;
                }
            }

        }
    }
}

#mvp {

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #0C306C;
    font-family: "Roboto", sans-serif;

    img {
        width: 20%;
    }

    h2 {
        font-family: 'happynessV2';
        font-size: 20px;
    }

    img {
        padding-top: 5%;
    }

    .pilar {
        width: 80%;
        background-color: #ffff;
    }
}

#transformar {

    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 1rem;

    img {
        width: 20%;
    }

    .card {
        width: clamp(260px, 28vw, 360px);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
        background: #0C306C;
    }

    .card img {
        width: 100%;
        height: auto;
        display: block;
    }

    .card p {
        margin: 0;
        background: #0C306C;
        color: #fff;
        font: 600 1rem/1.4 "Roboto", sans-serif;
        text-align: center;
        padding: 1rem .75rem;
    }
}

#doacao {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Roboto", sans-serif;
    text-align: center;

    .cta {
        text-align: center;
        display: flex;
        align-items: center;
        width: 100%;
        padding-top: 5%;
        justify-content: center;
    }

    .cta img {
        width: 23%;
        height: auto;
        position: relative;
        margin-right: -5.3%;
    }

    .btn-doacao {
        background: #0C306C;
        color: #fff;
        padding: .75rem 1.5rem;
        border-radius: 0 8px 8px 0;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        line-height: 1;
    }

    .btn-doacao:hover {
        background: #0a2859;
    }

    .link-contato {
        font-size: 15px;
        color: #4C618C;
        text-decoration: none;
        padding-bottom: 5%;
    }

    .link-contato:hover {
        text-decoration: underline;
    }
}

#parceiros {
    color: #ffff;
    background-color: #0C306C;
    text-align: center;

    h2 {
        font-family: 'happynessV2';
    }


}

.partners {
    background: #062968;
    color: #fff;
    padding: 2rem 0;
    font-family: "Poppins", sans-serif;
    text-align: center;
}

.partners h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    letter-spacing: .5px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #062968 0%, transparent 100%);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #062968 0%, transparent 100%);
}

.carousel {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 1rem 4rem;
    margin: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.carousel li {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.carousel img {
    width: 180px;
    height: 90px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, .08);
    transition: transform .3s;
}

.carousel img:hover {
    transform: scale(1.05);
}


.carousel {
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.dsk {
    display: none;
}

.background {
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

    #dsk {
        display: none;
    }

    .bkg-img {
        padding-top: 10%;
        z-index: 2;
        position: absolute;
        width: 100%;
    }


    .background-card {
        background-color: #ffff;
        padding-top: 5%;
        margin: 5% 0%;
        border-radius: 20px;
        width: 90%;
        position: relative;

    }

    #envolva-se {
        position: relative;
        z-index: 3;
        background-size: cover;
        color: #fff;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;


        h1 {
            font-family: 'happynessV2';
            font-size: 30px;
            padding: 2% 0% 50% 0%;
        }

        .cards {
            z-index: 6;
            position: absolute;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            margin-bottom: -10%;

            .como-podemos {
                font-family: "Roboto", sans-serif;
                border-radius: 25px;
                font-weight: 700;
                width: 90%;
                background-color: #0C306C;
                text-align: center;
                margin-bottom: 2%;

                .escrita {
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    h2 {
                        padding-top: 3%;
                        font-size: 25px;
                    }

                    p {
                        font-size: 15px;
                        width: 80%;
                        padding: 5%;
                    }


                }

                a {
                    margin: 2%;
                    padding: 2%;
                    border-radius: 10px;
                    border: #fff solid 2px;
                    text-decoration: none;
                }

                a:visited {
                    color: #ffffff;
                }


                .imagem {
                    align-items: center;
                    text-align: center;
                    display: flex;
                    flex-direction: column;

                    img {
                        width: 50%;
                    }
                }

            }

            .parceiros {
                font-family: "Roboto", sans-serif;
                border-radius: 25px;
                font-weight: 700;
                width: 90%;
                background-color: #0C306C;
                text-align: center;

                a {
                    margin: 2%;
                    padding: 2%;
                    border-radius: 10px;
                    border: #fff solid 2px;
                    text-decoration: none;
                }

                a:visited {
                    color: #ffffff;
                }

                .imagem {
                    align-items: center;
                    text-align: center;
                    display: flex;
                    flex-direction: column;

                    img {
                        width: 50%;
                    }
                }

                .escrita {
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    h2 {
                        padding-top: 3%;
                        font-size: 25px;
                    }

                    p {
                        font-size: 15px;
                        width: 80%;
                        padding: 5%;
                    }


                }
            }
        }

    }
}



#acolher {
    font-family: "Roboto", sans-serif;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 15%;
    color: #0C306CCC;

    h1 {
        font-size: 20px;
        padding-bottom: 5%;
        width: 90%;
    }
}

footer {
    background-color: #0C306C;
    min-height: 90px;

    display: flex;
    justify-content: center;
    align-items: center;

    .contato {
        display: flex;
        gap: 20px;
        padding: 5%;
        justify-content: center;
        align-items: center;
        font-size: 15px;

        .logo-happy {
            width: 20%;
        }

        .logo-insta {
            width: 90%;
        }

        a {
            font-family: "Roboto", sans-serif;
            text-decoration: none;
        }

        a:visited {
            color: #ffffff;
        }
    }
}

@media(min-width:768px) {
    #introdução {
        header {
            img {
                width: 15%;
            }

            a {
                font-size: 17px;
            }

            .links {
                a {
                    padding: 5%;
                }

                .contato {
                    padding: 1%;
                }
            }
        }
    }

    #o-que {
        min-height: 600px;

        .conteudo {
            .escrita {
                .video {
                    a {
                        padding: 0px;
                        margin: 0px;
                    }
                }
            }
        }
    }

    #doacao {
        .link-contato {
            font-size: 15px;
        }

        .cta {
            a {
                font-size: 20px;
            }
        }

    }

    footer {
        text-align: center;

        .contato {
            font-size: 25px;

            a {
                max-width: 150px;
            }
        }
    }
}

@media(min-width:1024px) {
    .dsk {
        display: block;
    }

    #introdução {
        min-height: 600px;

        h1 {
            font-size: 60px;
        }

        header {
            min-height: 100px;

            a {
                font-size: 25px;
            }
        }
    }

    #o-que {
        .caixa-sobresposta {
            margin-top: -10%;
            min-height: 850px;

            .titulo {
                font-size: 50px;
            }

            .conteudo {
                .escrita {
                    font-size: 25px;
                }

                .video {
                    a {
                        font-size: 25px;
                    }
                }
            }

        }
    }

    #mvp {
        margin-top: 10%;


        .pilar {
            width: 50%;

            h2 {
                font-size: 40px;
            }

            p {
                font-size: 25px;
            }
        }
    }

    #transformar {
        .card {
            p {
                font-size: 25px;
            }
        }
    }

    #doacao {
        .cta {
            img {
                width: 15%;
                margin-right: -3%;
            }

            a {
                font-size: 25px;
            }
        }

        .link-contato {
            font-size: 20px;
        }
    }

    #parceiros {
        h2 {
            font-size: 40px;
        }

    }


    .background {
        #mobile {
            display: none;
        }

        #dsk {
            display: block;
        }

        .background-card {


            #envolva-se {
                align-items: flex-start;

                h1 {
                    font-size: 50px;
                    padding: 5% 0% 5% 5%;
                }

                .cards {
                    flex-direction: row;
                    justify-content: center;
                    gap: 5%;
                    padding: 0% 5%;

                    .como-podemos {
                        display: flex;
                        flex-direction: row;
                        width: 400px;
                        min-height: 390px;
                        margin-bottom: -60px;

                        .escrita {
                            padding-top: 5%;
                            width: 55%;
                            text-align: end;

                            h2 {
                                font-size: 40px;
                                line-height: 1.2;
                                padding-bottom: 2%;
                            }

                            p {
                                font-weight: 400;
                                line-height: 1.3;
                                font-size: 25px;
                            }
                        }

                        .imagem {
                            width: fit-content;
                            justify-content: center;
                            margin: -70px;
                            width: 100%;

                            a {
                                font-size: 20px;
                            }

                            img {
                                margin-bottom: 10%;
                            }
                        }
                    }

                    .parceiros {
                        display: flex;
                        flex-direction: row;
                        width: 400px;
                        min-height: 390px;
                        margin-bottom: -60px;

                        .escrita {
                            padding-top: 5%;
                            width: 55%;
                            text-align: end;

                            h2 {
                                font-size: 40px;
                                line-height: 1.2;
                                padding-bottom: 2%;
                            }

                            p {
                                text-align: end;
                                font-weight: 400;
                                line-height: 1.3;
                                font-size: 25px;
                            }

                        }

                        .imagem {
                            width: fit-content;
                            justify-content: center;
                            margin: -70px;
                            width: 100%;

                            a {
                                font-size: 17px;
                            }

                            img {
                                margin-bottom: 10%;
                            }
                        }
                    }
                }
            }
        }
    }




    #acolher {
        margin-top: 20%;

        h1 {
            font-weight: 400;
            font-size: 45px;
            padding-bottom: 5%;
            width: 90%;
        }
    }

    footer {
        .contato {
            height: 10px;
            gap: 90px;
            font-size: 25px;
        }
    }

}

@media(min-width:1440px) {
    #introdução {
        min-height: 800px;

        header {

            min-height: 70px;

            a {
                font-size: 25px;
            }

            img {
                width: 10%;
            }
        }

        h1 {
            font-size: 70px;
        }
    }


    #o-que {
        min-height: 500px;

        .caixa-sobresposta {
            width: 95%;
            min-height: 100px;
            max-height: 600px;

            .titulo {
                padding: 2% 0%0%0%;

                h1 {
                    font-size: 70px;
                }
            }

            .conteudo {
                display: flex;
                flex-direction: row;
                margin-top: 2%;

                .escrita {
                    padding-top: 0.5%;
                    width: 55%;

                    p {

                        font-size: 26px;
                        padding: 1%;
                    }
                }

                .video {
                    margin: 0%5%;
                    width: 26%;
                    display: flex;
                    justify-content: start;

                    video {
                        margin: 5%;
                        width: 170%;
                    }

                    a {
                        width: 300px;
                        padding: 5%;
                        font-size: 25px;
                        font-weight: 700;
                        font-style: italic;
                        margin-bottom: 1%;
                    }

                }
            }
        }
    }

    #mvp {
        margin-top: 0%;
        flex-direction: row;
        justify-content: center;
        padding-bottom: 5%;
        gap: 5%;

        .pilar {
            min-height: 390px;
            width: 30%;

            h2 {
                padding: 5%;
            }

            img {
                width: 40%;
            }
        }
    }

    .carousel img {
        width: 290px;
        height: 190px;
        object-fit: contain;
        background: #fff;
        border-radius: 10px;
        padding: 1rem;
        box-shadow: 0 0 8px rgba(0, 0, 0, .08);
        transition: transform .3s;
    }

    #doacao {
        .cta {
            img {
                width: 25%;
                position: relative;
                left: 12px;
            }

            a {
                height: 35px;
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }
    }

    .background {
        .background-card {
            #envolva-se {

                .cards {
                    width: 90%;

                    .como-podemos {
                        width: 500px;

                        .imagem {
                            img {
                                margin-bottom: 0%;
                            }
                        }
                    }

                    .parceiros {
                        width: 500px;

                        .imagem {
                            img {
                                margin-bottom: 0%;
                            }
                        }
                    }
                }
            }
        }

    }

    footer {

        .contato {
            height: 200px;
            padding: 0.1%;
            gap: 40%;

            .logo-happy {
                width: 250px;
            }

            a {
                max-width: 200px;
            }

            .info {
                display: flex;
                flex-direction: column;
                gap: 20px;
                font-size: 20px;
                font-weight: 200;
            }
        }
    }
}

@media(min-width:1920px) {
    #introdução {
        min-height: 900px;

        header {

            min-height: 50px;

            img {
                width: 10%;
                padding: 0.5%;
            }

            a {
                font-size: 25px;
            }

            .contato {
                padding: 1%;
                margin: 1%;
            }
        }


    }

    #o-que {
        .caixa-sobresposta {
            min-height: 670px;

            .conteudo {
                margin-top: 2%;

                .escrita {
                    padding-top: 0%;
                    justify-content: start;

                    p {
                        font-size: 26px;
                        padding: 0%;
                        padding-bottom: 2%;
                    }
                }

                .video {
                    video {
                        margin: 0%;
                        margin-bottom: 5%;
                    }
                }
            }
        }
    }

    #transformar{
        display: flex;
        .card{
            width: 40%;
        }
    }
    #doacao{
        width: 50%;
        .cta{
            img{
                width: 17%;
                margin-right: -2.5%;
                margin-top: 9px;
            }
            a{
                font-size: 40px;
                height: 7.5vh;
                width: 35%;
                font-weight: 400;
            }
        }
    }
}