:root {
    --primary-color: #000000; /* Preto */
    --secondary-color: #ffffff; /* Branco */
    --accent-color: #d4af37; /* Dourado */
}

body {
    font-family: 'Times New Roman', Times, serif; /* Fonte Times New Roman */
    background-color: var(--primary-color);
    color: var(--secondary-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 400px;
    width: 85%;
    background: rgba(255, 255, 255, 0.1); /* Fundo branco translúcido */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7);
}

input, select, button {
    width: 90%; /* Reduzido para 90% da largura do container */
    max-width: 350px; /* Limitação horizontal */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-size: 16px;
}


.logo {
    width: 150px;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

h1 {
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Sombra para destaque */
}
.result {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Sombra preta leve */
}

input::placeholder {
    font-style: italic;
    color: rgba(0, 0, 0, 0.6); /* Placeholder sutil */
}

.container {
    max-width: 400px;
    width: 85%;
    background: rgba(255, 255, 255, 0.1); /* Fundo branco translúcido */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7);
}

.button {
    display: inline-block;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--accent-color);
}

.button:active {
    transform: scale(0.98);
}

.menu-image {
    display: block;
    max-width: 100%; /* Garante que a imagem se ajuste ao container */
    height: auto; /* Mantém a proporção da imagem */
    margin: 20px auto; /* Centraliza a imagem */
}
.calorie-info {
    font-size: 1rem; /* Tamanho menor */
    color: var(--secondary-color); /* Branco */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Sombra preta */
    text-align: center;
    margin-bottom: 10px; /* Espaço entre o texto e o título */
}
/* Tela de carregamento */
.loading-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 1000;
}

.loading-text {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* Barra de progresso */
.progress-bar {
    width: 80%;
    height: 20px;
    background-color: #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--accent-color); /* Dourado */
    transition: width 0.1s linear;
}
