/*
Folha de Estilo Principal
*/

:root {
    --cor-primaria: #2c3e50;
    --cor-secundaria: #3498db;
    --cor-fundo: #ecf0f1;
    --cor-texto: #34495e;
    --sombra-caixa: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

header {
    margin-bottom: 40px;
    border-bottom: 2px solid #bdc3c7;
    padding-bottom: 20px;
}

header h1 {
    color: var(--cor-primaria);
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.link-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: var(--cor-primaria);
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    aspect-ratio: 1 / 1; /* Garante que o botão seja sempre quadrado */
    border-radius: 8px;
    box-shadow: var(--sombra-caixa);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    overflow: hidden; /* Garante que a imagem não saia dos cantos arredondados */
    padding: 15px;
    box-sizing: border-box; /* Garante que padding não afete o tamanho final */
}

.link-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    color: var(--cor-secundaria);
}

footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #bdc3c7;
    font-size: 0.9em;
    color: #7f8c8d;
}

.link-button img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    display: block;
    margin-bottom: 15px;
}

.link-button video {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
    margin-bottom: 15px;
}
