:root {
    --primary-color: #007bff;
    --secondary-color: #f0f0f0;
    --accent-color: #ff5722;
    --text-color: #333;
}

.footer-icon {
    vertical-align: middle;
    margin-right: 5px;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

footer a:hover {
    text-decoration: underline;
}

/* Estilização do conteúdo dos Termos de Serviço */
.terms-container {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.terms-container h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.terms-container h2 {
    font-size: 20px;
    color: #444;
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-container p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.terms-container ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.terms-container ul li {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.terms-container strong {
    font-weight: bold;
}


body, html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    max-height: 100vh;
    max-width: 100vw;
    position: relative;
}

header {
    width: 100vw;
    background-color: black;
    color: white;
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}
h1{
    margin-top: 100px; 
    color: black; 
    padding: 10px; 
    text-align: center; 
    font-family: 'Exo 2', sans-serif;
    max-width: 100vw;
}
#eventos-em-destaque{
    max-width: 100vw;
}
.logo {
    max-width: 110px;
    margin-left: 1.5em;
}

.header-links {
    margin-right: 20px;
    display: flex;
}

.header-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
}

.header-links a:hover {
    background-color: var(--accent-color);
    color: white;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.menu-button div {
    width: 30px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.menu-button.open div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-button.open div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    max-width: 100vw;
    height: calc(100vh - 60px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    overflow-y: auto;
    z-index: 1001;
    padding-top: 20px;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.menu.show {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.menu a {
    display: block;
    color: black;
    text-decoration: none;
    margin: 15px 20px;
    font-size: 18px;
    text-align: center;
}

.menu a:hover {
    text-decoration: underline;
}

main {
    max-width: 100vw;
    margin: 0 auto;
    padding-top: 100px;
}

.event-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 2em;
}

.event-card {
    flex-basis: 22%;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease forwards;
    background-color: white;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.event-card img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.event-card h2 {
    margin-top: 10px;
    font-size: 18px;
}
.event-card p {
    font-size: 14px;
    color: #555;
    flex-grow: 1;
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 5px;
    text-align: center;
    font-size: 14px;
    position: relative;
    bottom: 0;
    max-width: 100vw;
}
footer p {
    margin: 5px 0;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    display: inline-block;
}

footer a:hover {
    text-decoration: underline;
}
.cart-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-button:hover {
    background-color: #e64a19;
}


/* Media Queries */
/* Media Queries */
/* Media Queries */
/* Media Queries */
@media (max-width: 768px) {
.header-links {
display: none;
}
.menu-button {
display: flex;
}
/* Estilos quando o botão está aberto */
.menu-button.open div:nth-child(1) {
transform: rotate(-45deg) translate(-5px, 6px); /* Animação de rotação e deslocamento */
}

.menu-button.open div:nth-child(2) {
opacity: 0; /* Segundo traço desaparece */
}
.menu-button.open div:nth-child(3) {
transform: rotate(45deg) translate(-5px, -6px); /* Animação de rotação e deslocamento */
}

.menu {
display: none;
position: fixed; /* Garante que o menu sobreponha outros elementos */
top: 100px; /* Ajusta a posição do menu abaixo do cabeçalho */
left: 0; /* Alinha o menu à borda esquerda da tela */
width: 100vw; /* Ocupa toda a largura da tela */
height: calc(100vh - 60px); /* Ocupa toda a altura da tela menos a altura do cabeçalho */
background-color: rgba(255, 255, 255, 0.95); /* Fundo branco semi-transparente */
box-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Sombra mais forte para destaque */
overflow-y: auto; /* Adiciona rolagem vertical se necessário */
z-index: 1001; /* Garante que o menu fique acima de outros elementos */
padding-top: 20px; /* Espaço acima dos links */
opacity: 0; /* Inicialmente invisível */
transition: opacity 0.3s ease-in-out; /* Animação suave para a opacidade */
}
.menu.show {
display: block; /* Exibe o menu */
opacity: 1; /* Torna o menu visível */
}

.menu a {
display: block;
color: black;
text-decoration: none;
margin: 15px 20px; /* Espaço entre os links */
font-size: 18px; /* Tamanho da fonte dos links */
text-align: center; /* Alinha o texto ao centro */
}

.menu a:hover {
text-decoration: underline; /* Sublinha os links ao passar o mouse */
}
.event-card {
width: calc(46% - 20px); /* Aproximadamente 46% para 2 eventos por linha */
}
}

@media (max-width: 480px) {
    .logo {
        max-width: 80px;
    }
    .header-links a {
        font-size: 14px;
    }
    .event-card {
        width: 100%; /* Ocupa toda a largura disponível em telas muito pequenas */
        margin-bottom: 20px; /* Espaço entre os cartões */
    }
    .event-card img {
        max-height: 120px; /* Reduz a altura máxima da imagem */
    }
    .event-card h2 {
        font-size: 16px; /* Ajusta o tamanho da fonte do título */
    }
    .event-card p {
        font-size: 12px; /* Ajusta o tamanho da fonte do parágrafo */
    }
    footer {
        font-size: 14px; /* Ajusta o tamanho da fonte do rodapé */
    }
}