/* Importando a fonte Gilroy Regular no formato .ttf */
@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/gilroy-regular.ttf') format('truetype');
    font-weight: 600; /* Regular */
    font-style: normal;
}

/* Aplicando estilos gerais ao body */
body {
    font-family: 'Gilroy', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1000px;
}

header {
    margin-bottom: 20px;
}

.logo {
    width: 240px;
    height: 125px;
    margin-bottom: 10px;
    object-fit: contain; /* Garante que o logotipo mantém suas proporções */
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

.botoes-container {
    margin-top: 20px;
}

.btn {
    margin: 10px;
    padding: 12px 24px;
    background-color: #E9592C;
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #c94924; /* Cor mais escura para hover */
}

main {
    margin-bottom: 20px;
}

/* Layout responsivo para os itens sorteados */
.itens-display {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    justify-items: center;
}

.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
}

.item-name {
    margin-top: 5px;
    font-size: 14px;
    color: #555;
}

/* Estilizando o rodapé */
footer {
    font-size: 0.8em;
    color: #777;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Ajustes para dispositivos menores */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    .btn {
        font-size: 14px;
        padding: 8px 16px;
    }
    .itens-display {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}