@import url('https://fonts.googleapis.com/css2?
family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900
&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none;
outline: none;
border: none;
text-decoration: none;
}
html {
width: 100vw;
height: 100vh;
font-size: 62.5%;
font-family: 'Roboto', sans-serif;
overflow-x: hidden;
scroll-behavior: smooth;
}
/* MENU */
.content {
width: 100vw;
height: 70px;
display: flex;
justify-content: space-around;
align-items: center;
background-color: #1f1e1f;
position: fixed;
padding-left: 30rem;
}
.logo {
width: 70px;
height: auto;
cursor: pointer;
display: flex;
align-items: center;
}
.logo h3 {
color: white;
font-size: 1.6rem;
.logo img {
width: 100%;
height: 100%;
}
.content .list-menu {
width: 600px;
display: flex;
align-items: center;
justify-content: space-between;
}
.content .list-menu li a{
padding-top: 3rem;
padding-bottom: 2rem;
padding-left: 1rem;
padding-right: 1rem;
color: rgb(255, 255, 255);
font-size: 1.8rem;
text-transform: uppercase;
font-weight: 500;
transition: all 200ms ease-in;
}
.content .list-menu li a:hover{
background-color: #333333;
border-bottom: 4px solid #ffc506;
color: #ffc506;
}
.first-section {
height: 100vh;
width: 100vw;
background-image: linear-gradient(rgba(29, 29, 29, 0.8), rgba(29, 29, 29,
0.8)), url(./img/fundo-salada2.jpg);
background-position: center 50px;
background-size: cover;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.first-section .conteudo-principal{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.first-section h1{
color: #ffc506;
font-size: 6rem;
text-transform: uppercase;
margin-bottom: 1rem;
font-family: 'Indie Flower', cursive;
}
.first-section h2{
color: rgb(177, 177, 177);
font-size: 3rem;
font-weight: 400;
text-transform: uppercase;
font-family: 'Indie Flower', cursive;
margin-bottom: 3rem;
}
.btn button {
width: 230px;
height: 60px;
cursor: pointer;
text-transform: uppercase;
background-color: #ffc506;
border-radius: 10px;
color: black;
font-weight: 700;
transition: all 400ms ease-in;
margin-top: 5rem;
}
.btn button:hover {
border: 1px solid #ffc506;
background-color: transparent;
color: #ffc506;
}
.btn {
width: 480px;
display: flex;
justify-content: space-between;
/* Cardápio */
.cardapio {
width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-image: linear-gradient(rgba(12, 12, 12, 0.8), rgba(15, 15, 15,
0.8)), url(/img/cardapio.jpg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
.cardapio h2 {
font-size: 5rem;
color: #e6e6e6;
text-transform: uppercase;
}
.itens-cardapio {
width: 80%;
margin-top: 2rem;
margin-bottom: 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 550px));
justify-content: center;
align-items: center;
gap: 30px;
}
.itens-cardapio .info {
background-color: rgb(221, 221, 221);
border: none;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1.5rem;
}
.itens-cardapio .info h3 {
font-size: 1.8rem;
text-transform: uppercase;
margin-bottom: 1rem;
text-decoration: underline;
}
.itens-cardapio .info h4 {
font-size: 1.4rem;
text-transform: uppercase;
margin-bottom: 0.6rem;
display: grid;
justify-content: center;
align-items: center;
grid-template-columns: 150px 150px;
margin-left: 6rem;
}
.itens-cardapio .info h4 span{
font-size: 1.6rem;
color:#585858;
margin-left: 1.5rem;
text-decoration: underline;
}
.itens-cardapio div {
background-color: #5e5252;
box-shadow: 0px 0px 4px 1px ;
}
.itens-cardapio img {
width: 100%;
height: 200px;
}
/*Botão de pedir */
.info .pedir {
width: 180px;
height: 40px;
margin-top: 10px;
background-color: #27ae60;
color: white;
border: none;
border-radius: 25px;
font-size: 1.4rem;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.info .pedir:hover {
background-color: #219653;
transform: scale(1.05);
}
/* Sobre nós */
.sobre-nos {
background-color: #1f1e1f;
width: 100%;
padding-bottom: 5rem;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
.contentsobre {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.main{
display: flex;
justify-content: space-between;
}
.sobre-nos img {
width: 400px;
height: 400px;
margin-top: 10rem;
margin-left: 10rem;
border: 2px solid rgb(155, 155, 155);
}
.contentsobre h2 {
font-size: 6rem;
margin-bottom: 1rem;
font-family: 'Indie Flower', cursive;
}
.contentsobre p {
text-align: center;
font-size: 1.8rem;
width: 600px;
}
.contatos {
width: 100%;
background-color: #1f1e1f;
display: flex;
flex-direction: column;
justify-content: Center;
align-items: center;
font-size: 1.8rem;
color: white;
padding-bottom: 4rem;
}
.contatos h3 {
font-size: 6rem;
margin-bottom: 3rem;
font-family: 'Indie Flower', cursive;
}
.contatos-secao {
width: 650px;
display: flex;
justify-content: space-between;
font-size: 2rem;
}
.contatos-secao i{
margin-right: 1rem;
.contatos-secao div{
cursor: pointer;
}
.contatos-secao div:hover{
color: #ffc506;
}
footer {
height: 25px;
background-color: #000000;
color: rgb(255, 255, 255);
font-size: 1.4rem;
display: flex;
align-items: center;
justify-content: center;
}
/* Estilos do Carrinho */
.cart-modal {
display: none;
position: fixed;
z-index: 100;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
}
.cart-content {
background-color: #1f1e1f;
margin: 5% auto;
padding: 20px;
border: 1px solid #ffc506;
width: 80%;
max-width: 600px;
color: white;
border-radius: 10px;
}
.cart-items {
max-height: 400px;
overflow-y: auto;
margin: 20px 0;
}
.cart-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: 1px solid #444;
}
.cart-item-info {
flex: 1;
}
.cart-item-actions {
display: flex;
align-items: center;
}
.cart-item-actions button {
background-color: #ffc506;
color: black;
border: none;
padding: 5px 10px;
margin-left: 10px;
cursor: pointer;
border-radius: 5px;
}
.cart-item-actions button:hover {
background-color: #e6b000;
}
.cart-total {
text-align: right;
font-size: 1.8rem;
margin: 20px 0;
padding-top: 10px;
border-top: 2px solid #ffc506;
}
.cart-actions {
text-align: center;
}
.cart-actions button {
background-color: #ffc506;
color: black;
border: none;
padding: 10px 20px;
font-size: 1.6rem;
cursor: pointer;
border-radius: 5px;
font-weight: bold;
}
.cart-actions button:hover {
background-color: #e6b000;
}
.close-cart {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close-cart:hover {
color: #ffc506;
}
/* Estilos do Checkout */
.checkout-modal {
display: none;
position: fixed;
z-index: 101;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.9);
}
.checkout-content {
background-color: #1f1e1f;
margin: 5% auto;
padding: 20px;
border: 1px solid #ffc506;
width: 80%;
max-width: 500px;
color: white;
border-radius: 10px;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
font-size: 1.6rem;
}
.form-group input,
.form-group select {
width: 100%;
padding: 10px;
font-size: 1.6rem;
border-radius: 5px;
border: none;
}
.checkout-content button[type="submit"] {
width: 100%;
padding: 12px;
background-color: #ffc506;
color: black;
border: none;
font-size: 1.6rem;
font-weight: bold;
cursor: pointer;
border-radius: 5px;
margin-top: 10px;
}
.checkout-content button[type="submit"]:hover {
background-color: #e6b000;
}
.close-checkout {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close-checkout:hover {
color: #ffc506;
}
/* Estilos da Confirmação */
.confirmation-modal {
display: none;
position: fixed;
z-index: 102;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.9);
}
.confirmation-content {
background-color: #1f1e1f;
margin: 15% auto;
padding: 20px;
border: 1px solid #ffc506;
width: 80%;
max-width: 500px;
color: white;
text-align: center;
border-radius: 10px;
}
.confirmation-content h2 {
color: #ffc506;
margin-bottom: 20px;
}
.confirmation-content p {
font-size: 1.6rem;
margin-bottom: 20px;
}
.closeConfirmation {
background-color: #ffc506;
color: black;
border: none;
padding: 10px 20px;
font-size: 1.6rem;
cursor: pointer;
border-radius: 5px;
font-weight: bold;
}
.closeConfirmation:hover {
background-color: #e6b000;
}
/* Estilos para o modal de seleção de tamanho */
.size-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.size-content {
background-color: #1f1e1f;
padding: 20px;
border-radius: 10px;
max-width: 400px;
width: 90%;
color: white;
border: 1px solid #ffc506;
}
.size-content h3 {
color: #ffc506;
font-size: 2rem;
margin-bottom: 20px;
text-align: center;
}
.size-options {
display: flex;
flex-direction: column;
gap: 10px;
margin: 20px 0;
}
.size-option {
padding: 12px;
background-color: #ffc506;
color: black;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
font-size: 1.6rem;
transition: all 0.3s;
}
.size-option:hover {
background-color: #e6b000;
}
.cancel-size {
padding: 12px;
background-color: #333;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
width: 100%;
font-size: 1.6rem;
transition: all 0.3s;
}
.cancel-size:hover {
background-color: #444;
}
/* Animação para o ícone do carrinho */
.fa-shopping-cart {
transition: transform 0.3s ease;
cursor: pointer;
}
.fa-shopping-cart.pulse {
animation: pulse 0.5s;
}
/* Carrinho flutuante */
.cart-floating {
position: fixed;
bottom: 25px;
right: 25px;
background-color: #27ae60;
color: white;
padding: 15px;
border-radius: 50%;
font-size: 2rem;
box-shadow: 0 0 10px rgba(0,0,0,0.4);
cursor: pointer;
z-index: 99;
transition: transform 0.2s ease;
}
.cart-floating:hover {
transform: scale(1.1);
}
#cartCount {
position: absolute;
top: -8px;
right: -8px;
background-color: red;
color: white;
font-size: 1.2rem;
font-weight: bold;
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.menu-categorias {
display: flex;
justify-content: center;
gap: 10px;
margin: 20px 0;
flex-wrap: wrap;
}
.menu-categorias button {
padding: 10px 20px;
background-color: #ccc;
border: none;
border-radius: 20px;
cursor: pointer;
transition: 0.3s;
}
.menu-categorias button.active {
background-color: #27ae60;
color: white;
}
.categorias-container {
overflow: hidden;
position: relative;
}
.categoria-painel {
display: none;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
transition: opacity 0.3s ease;
}
.categoria-painel.active {
display: flex;
}
.item {
background: #fff;
border-radius: 10px;
width: 200px;
padding: 10px;
text-align: center;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.item img {
width: 100%;
height: 180px;
object-fit: cover;
border-radius: 8px;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
@media (max-width: 1200px) {
.main {
display: block;
.sobre-nos img {
width: 600px;
margin-left: -2px;
}
@media (max-width: 980px) {
html {
font-size: 50%;
}
@media (max-width: 870px) {
.content {
justify-content: space-between;
padding: 0px 40px;
}
.content .list-menu{
display: none;
}
.one,
.two,
.three {
width: 100%;
height: 4px;
background-color: white;
margin: 6px auto;
transition-duration: 0.5s ;
}
.menu-toggle {
width: 40px;
height: 30px;
.content.on {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #1f1e1f;
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
}
.content.on .logo {
display: none;
}
.content.on .menu-toggle {
position: absolute;
right: 40px;
top: 20px;
}
.content.on .list-menu {
display: block;
.content.on .list-menu li {
text-align: center;
display: flex;
justify-content: center;
.content.on .list-menu li a {
font-size: 4rem;
display: block;
}
.content.on .menu-toggle .one {
transform: rotate(45deg) translate(8px, -7px);
}
.content.on .menu-toggle .two {
opacity: 0;
}
.content.on .menu-toggle .three {
transform: rotate(-45deg) translate(20px, -6px);
}
.contatos-secao {
display: block;
text-align: center;
font-size: 2rem;
.contatos-secao div {
margin: 2rem;
/*Painel admin*/
/* Estilos Gerais */
:root {
--primary: #e74c3c;
--primary-dark: #c0392b;
--secondary: #2c3e50;
--light: #ecf0f1;
--dark: #34495e;
--success: #27ae60;
--warning: #f39c12;
--danger: #e74c3c;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
}
.hidden {
display: none !important;
}
/* Header */
header {
background-color: var(--secondary);
color: white;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
header h2 {
font-size: 1.5rem;
}
nav button {
background-color: var(--primary);
color: white;
border: none;
padding: 0.5rem 1rem;
margin-left: 0.5rem;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s ease;
}
nav button:hover {
background-color: var(--primary-dark);
}
/* Abas */
.aba {
padding: 2rem;
background-color: white;
margin: 1rem;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.aba h3 {
margin-bottom: 1.5rem;
color: var(--secondary);
border-bottom: 2px solid var(--light);
padding-bottom: 0.5rem;
}
/* Formulário de Produtos */
#formProduto {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
margin-bottom: 2rem;
padding: 1rem;
background-color: var(--light);
border-radius: 8px;
}
#formProduto input {
padding: 0.5rem;
border: 1px solid #ddd;
border-radius: 4px;
}
#formProduto button {
grid-column: 1 / -1;
background-color: var(--success);
color: white;
border: none;
padding: 0.75rem;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
#formProduto button:hover {
background-color: #219653;
}
/* Lista de Produtos */
#listaProdutos {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}
.produto-item {
border: 1px solid #ddd;
padding: 1rem;
border-radius: 8px;
transition: transform 0.3s, box-shadow 0.3s;
}
.produto-item:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.produto-item img {
border-radius: 4px;
margin: 0.5rem 0;
object-fit: cover;
height: 150px;
width: 100%;
}
.produto-item button {
padding: 0.5rem 1rem;
margin-right: 0.5rem;
margin-top: 0.5rem;
border: none;
border-radius: 4px;
cursor: pointer;
transition: opacity 0.3s;
}
.produto-item button:first-of-type {
background-color: var(--warning);
color: white;
}
.produto-item button:last-of-type {
background-color: var(--danger);
color: white;
}
.produto-item button:hover {
opacity: 0.9;
}
/* Lista de Pedidos */
#listaPedidos {
display: grid;
gap: 1.5rem;
}
.pedido-item {
border: 1px solid #ddd;
padding: 1.5rem;
border-radius: 8px;
background-color: white;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.pedido-item strong {
font-size: 1.2rem;
color: var(--secondary);
}
.pedido-item ul {
margin-top: 1rem;
padding-left: 1.5rem;
}
.pedido-item li {
margin-bottom: 0.5rem;
}
/* Responsividade */
@media (max-width: 768px) {
header {
flex-direction: column;
text-align: center;
}
nav {
margin-top: 1rem;
}
nav button {
margin: 0.25rem;
}
#formProduto {
grid-template-columns: 1fr;
}
}
/* Página de Login */
.login-page {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: var(--secondary);
}
.login-container {
background-color: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
width: 100%;
max-width: 400px;
text-align: center;
}
.login-container h1 {
color: var(--primary);
margin-bottom: 2rem;
}
.form-group {
margin-bottom: 1.5rem;
text-align: left;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: var(--dark);
}
.form-group input {
width: 100%;
padding: 0.75rem;
border: 1px solid #ddd;
border-radius: 4px;
}
.login-btn {
width: 100%;
padding: 0.75rem;
background-color: var(--primary);
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
transition: background-color 0.3s;
}
.login-btn:hover {
background-color: var(--primary-dark);
}
.alert {
padding: 0.75rem;
margin-bottom: 1rem;
border-radius: 4px;
}
.alert-danger {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
@media (max-width: 720px) {
.conteudo-principal h1 {
width: 350px;
text-align: center;
}
}
@media (max-width: 645px) {
.sobre-nos img {
width: 400px;
margin-left: 10px;
}
.contentsobre p {
text-align: center;
width: 400px;
}
.btn {
flex-direction: column;
justify-content: center;
align-items: center;
}
.contatos-secao {
width: 200px;
}
.conteudo-principal h2 {
width: 200px;
text-align: center;
}
.btn {
width: 150px;
}
}
@media (max-width: 399px) {
.conteudo-principal h1 {
font-size: 3rem;
}
.conteudo-principal h2 {
font-size: 2rem;
}
.sobre-nos img {
width: 300px;
height: auto;
margin-left: 10px;
}
.contentsobre p {
text-align: center;
width: 200px;
}