html,
body {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-image: url(../img/fundopizza.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0px;
}

header {
    display: flex;
    width: 100%;
    /* height: 120px; */
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    top: 10px;
    position: -webkit-sticky;
    position: sticky;
    text-align: center;
    z-index: 3;
    gap: 6%;
}

nav {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-weight: 10px;
    background-color: rgba(0, 0, 0, 0.558);
    border-radius: 40px;
    margin: 0px;
    display: flex;
    position: sticky;
    position: -webkit-sticky;
}

img>div.container-logo {
    justify-content: center;
}

.container-logo {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
}

#nome {
    color: white;
    margin-right: 20px;
}

.container-logo h1 {
    width: 300px;
    margin: 0;
    text-align: center;
    color: white;
}

.container-logo h2 {
    color: white;
}

.under-list {
    display: flex;
    justify-content: center;
    margin: 20px;
    gap: 50px;
    color: white;
    padding: 0px;
    white-space: nowrap;
}

.under-list li {
    list-style: none;
}

.under-list a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bolder;
    border-radius: 30px;
    padding: 10px;
    text-decoration: none;
    color: white;
}

.under-list a:hover {
    color: black;
    background: rgb(255, 255, 255);
    border-radius: 30px;
}

section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: white;
}

.main {
    display: flex;
    padding: 0px 30px 0px 30px;
    justify-content: center;
    align-items: center;
    width: 90vw;
    margin-left: 40px;
}

.sobreNos h1 {
    text-align: center;
    color: rgb(255, 208, 0);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
}

.container {
    display: flex;
    flex-wrap: nowrap;
}

.img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.text {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
}

.text h2 {
    color: rgb(255, 208, 0);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
}

.text p {
    font-weight: bolder;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: rgb(255, 255, 255);
}

.depoimentos {
    width: 90%;
    display: flex;
    margin: 0 auto;
    text-align: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.depoimento {
    width: 220px;
    height: 310px;
    background-color: white;
    margin: 0 auto;
    text-align: center;
    padding: 12px;
    margin-bottom: 30px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.459);
}

.secaodepoimentos h2 {
    text-align: center;
    color: rgb(255, 208, 0);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    margin: 20px 0px 15px 0px;
}

.usuario {
    width: 80px;
    height: auto;
    border-radius: 50%;
}

.depoimento h3,
.depoimento p {
    background-color: white;
    color: black;
    margin: 1px;
}

.estrelas {
    background-color: white;
}

section>.container>.img>picture>img {
    height: 450px;
    width: 225px;
    width: 100%;
}

::-webkit-scrollbar {
    background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
    background: rgb(255, 255, 255);
    border: 1px solid white;
    border-radius: 15px;
}

/*@media nav bar*/
@media (max-width:860px) {
    .under-list {
        margin: 13px;
        gap: 18px;
    }
}

@media (max-width:750px) {
    .under-list {
        margin: 10px;
        gap: 13px;
    }
}

@media (max-width:720px) {
    .under-list a {
        font-size: 17px;
        padding: 6px;
    }
}

@media (max-width:630px) {
    .container-logo img {
        width: 150px;
      
    }
}

@media (max-width:620px) {
    .sticky0 {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width:570px){
    .under-list a {
        font-size: 14px;
        padding: 4px;
    }
}

@media (max-width:450px) {
    .under-list a {
        font-size: 12px;
        padding: 3px;
    } 
    .under-list {
        margin: 8px;
        gap: 5px;
    } 
}

@media (max-width:400px) {
    header h2 {
        top: 3px;
        font-size: 20px;
    }
}

@media (max-width:370px) {
    .under-list a {
        font-size:9px;
        padding: 3px;
    }
}

@media (max-width:290px) {
    .under-list a {
        font-size: 8px;
        padding: 0px;
    }
}

/*@media formulario*/
 @media (max-width:750px) {
          .formulario{
            max-width: 400px;
          }
        }
        
        @media (max-width:400px) {
          .formulario{
            max-width: 250px;
          }
        }


/* @media imagens */
@media (max-width: 840px) {
    section>.main>div.img> {
        width: 0px;
        height: 0px;
    }
    section>div.main>.text {
        width: 100%;
        text-align: center;
        margin: 0px;
        padding: 0px;
    }
    section>.main {
        margin: 0px;
        padding: 0px;
    }
    section>.container>.img>picture>img {
        width: 0px;
        height: 0px;
    }
    .container>.text {
        width: 100%;
        text-align: center;
        margin: 0px;
        padding: 0px;
    } .main>.text>h2{
        font-size: 18px;
    }
}