@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

* {
    box-sizing: border-box;
    user-select: none;
}

html {
    background: #FFDD00;
    background: radial-gradient(circle, rgba(255, 221, 0, 1) 0%, rgba(255, 186, 0, 1) 100%);
}

body {
    font-size: 16px;
    color: #105b2a;
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    overflow-x: hidden;
    accent-color: #105b2a;
    padding: 50px 0;
}

main {
    max-width: 1400px;
    margin: 0 auto;
}

#topo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 50px;
}

#topo div:nth-child(1) {
    translate: 100px 0;
}

#topo div:nth-child(3) {
    translate: -100px 0;
}

h1 {
    text-align: center;
    color: #105b2a;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.destaque {
    padding: 15px 30px;
    border-radius: 50px;
    text-align: center;
    background: #006427;
    color: #fff;
    font-size: 2rem;
    text-wrap: balance;
    box-shadow:
        inset 3px 5px 0px #26a42b,
        inset -3px -5px 0px #004510;
    margin-bottom: 50px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

nav a {
    padding: 15px 30px;
    border-radius: 50px;
    text-align: center;
    background: #006427;
    color: #fff;
    font-size: 1.4rem;
    text-wrap: balance;
    box-shadow:
        inset 3px 5px 0px #26a42b,
        inset -3px -5px 0px #004510;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

nav a:hover {
    box-shadow:
        inset 3px 5px 0px #004510,
        inset -3px -5px 0px #26a42b;
    color: #fff;
}

h1 strong {
    display: block;
    font-size: 4rem;
}

#rodape {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

#rodape img {
    max-width: 400px;
}

#rodape p {
    color: #105b2a;
    font-size: 2rem;
    font-weight: 600;

}

@media screen and (max-width: 1400px) {
    main {
        margin: 0 30px;
    }
}

@media screen and (max-width: 1245px) {
    nav a {
        font-size: 1rem;
        width: 300px;
    }

    nav {
        gap: 30px;
    }
}

@media screen and (max-width: 980px) {
    #topo div:nth-child(1) {
        translate: 50px 0;
    }

    h1 {
        font-size: 2.4rem;
        text-wrap: balance;
    }

    h1 strong {
        font-size: 3rem;
    }

    .destaque {
        font-size: 1.4rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 30px;
    }

    #rodape img {
        max-width: 250px;
    }

    #rodape p {
        color: #105b2a;
        font-size: 1.2rem;
        font-weight: 600;

    }

}

@media screen and (max-width: 705px) {
    #topo div:nth-child(1) {
        display: none;
    }

     #topo div:nth-child(3) {
        translate: -50px 0;
    }

    nav{
        gap: 20px;
    }

    nav a {
        width: 100%;
    }
}

@media screen and (max-width: 560px) {
     #topo div:nth-child(3) {
        display: none;
    }

    #topo, .destaque, h1, nav{
        margin-bottom: 30px;
    }

    h1{
        font-size: 1.6rem;
    }

    h1 strong{
        font-size: 1.8rem;
    }

    .destaque{
        font-size: 1.1rem;
        padding: 15px 20px;
        border-radius: 30px;
    }

    #rodape{
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 30px;
    }
}