@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --laranja: #f0a316;
    --laranjaEscuro: #e79d12;
    --vermelho: #ba1621;
    --fundo: #ebe4d8;
    --borderRadius: 12px;
    --backgroundBtn: #f3f0eb;
    --negrito: 600;
    --textoPequeno: 14px;
    --textoMedio: 16px;
    --textoGrande: 20px;
    --textoTipos: 28px;
    --sombra: 0px 0px 10px rgba(0, 0, 0, 0.1);
    --borda: 1px solid rgba(0, 0, 0, 0.1);
    --sobrareforcada: 0px 4px 6px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: none;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;

}

html {
    background-color: var(--fundo);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background-image: url("https://t4.ftcdn.net/jpg/07/62/13/47/360_F_762134721_en7K8iDoBbqH6tlMNqVU4GNWflV52ago.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

}

header {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}


header img {
    width: 110px;
    margin-left: 5%;
    border-radius: 50%;
}

header button {
    width: 150px;
    padding: 20px;
    background-color: var(--laranja);
    color: white;
    font-weight: var(--negrito);
    border-radius: var(--borderRadius);
    margin-right: 5%;
    cursor: pointer;
    box-shadow: var(--sombra);
    font-size: 15px;
    border: 2px solid black;

}

header button:hover {
    background-color: var(--laranjaEscuro);
    box-shadow: var(--sobrareforcada);
}

main {
    width: 90%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    top: 50%;
    animation: aparecer 1s forwards;

}

#Titulo {
    font-size: var(--textoTipos);
    font-weight: var(--negrito);
}

#Titulo span {
    color: var(--laranja);
    font-style: italic;
}

#subTitulo {
    font-size: var(--textoMedio);
    font-style: italic;

}

#divContatos {
    margin: 15px auto 10px auto;
    display: flex;
    justify-content: space-between;
    width: 220px;
}

/* cardapio */

#divContatos a {
    width: 160px;
    border-radius: var(--borderRadius);
    background-color: var(--backgroundBtn);
    font-size: var(--textoMedio);
    box-shadow: var(--sombra);
    cursor: pointer;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;

    
}

/* zap */

#divContatos img {
    width: 40px;
    padding: 5px;
    aspect-ratio: 1/1;
    background-color: var(--backgroundBtn);
    box-shadow: var(--sombra);
    cursor: pointer;
    border-radius: var(--borderRadius);
}

#divTelefone {
    width: 220px;
    height: 50px;
    margin: auto;
    display: flex;
    align-items: center;
    background-color: var(--backgroundBtn);
    box-shadow: var(--sombra);
    cursor: pointer;
    border-radius: var(--borderRadius);
    overflow: hidden;
}

#divTelefone div {
    height: 100%;
    aspect-ratio: 1/1;
    background-color: var(--laranja);
    box-shadow: var(--sombra);
    display: flex;
    align-items: center;
    justify-content: center;
}

#divTelefone div img {
    width: 30px;
    height: 30px;
}

#divContatos a:hover, #divContatos img:hover, #divTelefone:hover {
    box-shadow: var(--sobrareforcada);
    transition: .2s;
}

#divTelefone p {
    font-size: var(--textoMedio);
    padding-left: 20px;
}

#pCardapio {
    font-size: var(--textoTipos);
    color: var(--laranja);
    font-weight: var(--negrito);
    margin: 50px auto 0px auto;
    padding: 20px;
    border-top: var(--borda);

}

#divItens {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 200px);
    gap: 15px;

}

.divItem {
    margin: auto;
    background-color: var(--backgroundBtn);
    border-radius: var(--borderRadius);
    overflow: hidden;
    box-shadow: var(--sombra);
    position: relative;
}

.pOrdemItem {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--laranja);
    color: var(--vermelho);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: var(--negrito);
    position: absolute;
    left: 5px;
    top: 5px;

}

.divItem img {
    width: 100%;
    height: 130px;          /* altura fixa */
    object-fit: cover;     /* mantém proporção */
    display: block;
    box-shadow: var(--sombra);
}

.divItem div {
    padding: 5px 10px 10px 10px;

}
.divItem div p:first-child {
    font-size: var(--textoGrande);
    padding-bottom: 10px;
    border-bottom: var(--borda);
    width: 120px;
    margin: auto;

}

.divItem div p:nth-child(2) {
    font-size: var(--textoPequeno);
    padding-top:  10px 0px;

}

.divItem div p:last-child {
    font-size: var(--textoGrande);
    font-weight: var(--negrito);
    margin-top: 5px;
}

#pAvaliacoes {
    font-size: var(--textoTipos);
    color: var(--laranja);
    font-weight: var(--negrito);
    margin: 20px auto 40px auto;
    padding: 20px;
    border-bottom: var(--borda);
    width: fit-content;
}

#divavaliacoes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.divavaliacao {
    box-sizing: border-box;
    margin: auto;
    background-color: var(--backgroundBtn);
    border-radius: var(--borderRadius);
    box-shadow: var(--sombra);
    padding: 10px;
    display: flex;
}

.divconteudoavaliacao {
    text-align: start;

}

.divEstrelas {
    display: flex;
}

.estrela {
    clip-path: polygon(
    50% 0%,
    61% 35%, 
    98% 35%, 
    68% 57%, 
    79% 91%, 
    50% 70%, 
    21% 91%, 
    32% 57%, 
    2% 35%, 
    39% 35%
    );
    width: 20px;
    height: 20px;
    background-color: var(--laranja);
}
.divimgavaliacao{
    min-height:  100%;
    border-right: --borda;
    padding-right: 10px;
    margin-right: 10px;
}



.divavaliacao div img {
    width: 35px;
    aspect-ratio: 1/1;
}

.nomeamanda {
    font-size: var(--textoMedio);
    font-weight: var(--negrito);
    padding: 5px 0px;

}

.descricaoamanda {
    font-size: var(--textoPequeno);

}

footer {
    border-top: var(--borda);
    padding: 40px; /* aumenta o tamanho interno */
    width: 100%;
    margin: 0 auto; /* remove espaço em cima */
    display: flex;
    justify-content: center;
    background-color: rgb(77, 77, 77);
}


footer img {
    width: 100px;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

@keyframes aparecer {
    0% {
        transform: translateX(-10%);
        opacity: 0.3;
    }

    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}
