@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;700&display=swap');

:root {
    --color-blue-950: hsl(233, 26%, 24%);
    --color-green-500: hsl(136, 64%, 51%);
    --color-cyan-400: hsl(192, 69%, 51%);

    --color-gray-600: hsl(233, 8%, 62%);
    --color-gray-100: hsl(220, 16%, 96%);
    --color-gray-50: hsl(0, 0%, 98%);
    --color-white: hsl(0, 100%, 100%);

    --gradient-primary: linear-gradient(135deg, var(--color-green-500) 0%, var(--color-cyan-400) 100%);

    --font-main: 'Public Sans', sans-serif;

    --fs-body: 1.125rem;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    color: var(--color-gray-600);
    line-height: 1.5;
    overflow-x: hidden;
    display: grid;
    justify-content: center;
    align-items: center;

}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.topo {
    background-color: var(--color-white);
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    padding: 1rem;

}

.button-topo {
    display: none;
    background-image: var(--gradient-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 2rem;
    border: none;


}

#menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;


    gap: 1rem;
}

#menu li {
    padding: 0.5rem;
    text-shadow: 1px 0px;
}

#menu {
    display: none;
    position-anchor: --meu-botao;
    top: anchor();
    left: anchor();
    margin: 5px 0 0 0;
    background-color: var(--color-white);
    border-radius: 1rem;
    width: 90%;
    margin: auto;
    bottom: 25%;
    padding: 2rem;
    text-align: center;
    border: none;
}

#menu li:hover {
    background-image: var(--gradient-primary);
    border-radius: 10rem;
}

#burguer {
    anchor-name: --meu-botao;
}

#conteudo-principal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    background-color: var(--color-white);
    width: 100%;
    max-width: 1440px;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 100%;


}

.hero img {
    background-image: url(images/bg-intro-mobile.svg);
    background-repeat: no-repeat;
    background-size: cover;

}

.txt-hero p {
    font-size: 1rem;
    padding-bottom: 1rem;
}

.hero button {
    background-image: var(--gradient-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 2rem;
    border: none;

}

.hero a {
    font-size: 12px;
    font-weight: bold;
}

p {
    color: var(--color-gray-600);
}

h1,
h3,
h2 {
    color: var(--color-blue-950);
}

.icons {
    display: grid;
    justify-items: center;
    gap: 2rem;
    font-size: 1rem;
    padding: 0 .5rem;

}

.icons img {
    margin: auto;
    padding-bottom: 2rem;

}

.icons h2 {
    padding-bottom: 1rem;
}

.cards {
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.rodape {
    background-color: var(--color-blue-950);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
}

.incons-rodape {
    display: flex;
    flex-direction: row;
    gap: 1rem;

}

.icons-links {
    list-style: none;
    text-align: center;
}

.rodape a {
    color: var(--color-white);
}

.rodape button {
    border: none;
    background-image: var(--gradient-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 2rem;

}

.rodape button>a {
    font-weight: bold;
}

.rodape p {
    color: var(--color-gray-50);
    font-size: 10px;
}

@media (min-width:768px) {

    .topo{
        justify-content: space-evenly;
        max-width: 1440px;
        position: sticky;

    }
    #menu{
        display: contents;

    }

#menu ul {
        list-style: none;
        display: flex;
        flex-direction: row;


        gap: 1rem;
    }

    #menu li {
        padding: 0.5rem;
        text-shadow: 1px 0px;
    }




    #burguer {
        display: none;

    }




    .hero{
        width: 100%;

        display: grid;
        grid-template-columns: 1fr 1fr;

    }
    .hero img {
        background-image: url(images/bg-intro-desktop.svg);
        background-repeat: no-repeat;
        background-size: cover;
        order: 2;
    }

    .button-topo {
        display: block;


    }
    .hero .txt-hero{
        display: flex;
        margin: auto;
        width: 55%;
        flex-direction: column;
        align-items: flex-start;
        text-align:start;
    }

    .icons{
        display: flex;
        text-align: start;
        padding: 2rem;



    }
    .icons img{
        margin: 0;
    }
    .topo-icons{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: start;
        padding-bottom: 2rem;
        gap: 1rem;
        font-size: 1rem;
        width: 40%;
        padding: 2rem;
    }
    .titulo-cards{
        display: flex;
    }
    .cards{
        justify-content: center;
        align-items: center;
        grid-auto-flow: column;

    }
        .rodape {
            background-color: var(--color-blue-950);
            display: grid;
            grid-template-columns: auto auto auto;
            justify-content: space-evenly;
        }

        .incons-rodape {
            display: flex;
            flex-direction: row;

        }

        .icons-links {
            list-style: none;
            text-align: center;
            display: grid;
            grid-template-columns: auto auto;



        }

        .rodape ul {
            color: var(--color-white);
            grid-column: 2/3;
            grid-row: 1/4;
            gap: .5rem;
        }
        .rodape button{
            grid-column: 3/4;
            grid-row: 1/3;

        }
        .rodape>p{
            grid-column: 3/4;
                grid-row: 2/4;
        }


}
