html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: rgb(255, 252, 232);
}

nav {
    background-color: rgb(170, 30, 30);
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 18vh;
    width: 100%;
    box-sizing: border-box;
}

.logo2 {
    height: 25vh;
    width: auto;
    max-width: 100%;
    display: block;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button-a {
    background-color: azure;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button-a:hover {
    transform: translateY(-2px);
    cursor: pointer;
    box-shadow: 1px 1px 10px #333;
}

/* Borda inferior mais fina */
.nav-background {
    width: 100%;
    height: 8px; /* diminua para 6px ou 4px se quiser ainda mais fina */
    background-image: url("../imagens/bordaNav.png");
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
}

/* ================= CELULAR ================= */

/* ================= CELULAR ================= */

@media screen and (max-width: 600px) {

    nav {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        min-height: auto;
    }

    .logo2 {
        height: 90px;
        margin: 10px 0;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0;
        margin: 10px 0;
        width: 100%;
    }

    li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .button-a {
        width: 180px;
        font-size: 16px;
    }

    .nav-background {
        height: 4px;
    }
    .container-tierList{
        width: 60%;
        flex-wrap: wrap;
        word-wrap: break-word;
        margin: 0;
    }
    .container-icons img{
        width: 40%;
    }
}


/* ================= TABLET ================= */

@media screen and (min-width: 601px) and (max-width: 1024px) {

    nav {
        flex-wrap: wrap;
        padding: 10px;
    }

    .logo2 {
        height: 130px;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0;
    }

    .button-a {
        font-size: 18px;
        padding: 8px 12px;
    }

    .nav-background {
        height: 6px;
    }
}


/* ================= DESKTOP ================= */

@media screen and (min-width: 1025px) {

    nav {
        flex-direction: row;
    }

    .logo2 {
        height: 170px;
    }

    nav ul {
        display: flex;
        gap: 12px;
    }

    .button-a {
        font-size: 20px;
    }

    .nav-background {
        height: 8px;
    }
       footer {
        padding: 20px;
    }

    footer p {
        font-size: 18px;
        display: block;
    }
}