body {
    font-family: 'Roboto', sans-serif;
    background: url('/img/arinar_background2023.png') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header h1 {
    font-family: 'Monda', sans-serif;
    color: #000; /* Preto */
    font-size: 2.5rem;
    margin: 0;
}

.intro {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.intro-text {
    position: relative;
    padding: 20px;
    color: #fff;
    background: none; /* Remove a cor de fundo */
    text-align: center;
    max-width: 600px;
    box-shadow: none; /* Remove qualquer sombra que possa estar criando bordas */
}

.intro-text h1 {
    font-family: 'Monda', sans-serif;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.6;
}

.info-section {
    padding: 20px;
    margin-top: -50px; /* Ajusta a margem superior para subir a seção */
    position: relative; /* Adiciona contexto para z-index */
    z-index: 1; /* Coloca a seção atrás da intro */
}

.info-section h2 {
    font-family: 'Monda', sans-serif;
    color: #000; /* Preto */
    text-align: center;
    margin-bottom: 20px;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.info-item {
    flex: 1 1 calc(20% - 20px); /* Ajuste conforme necessário */
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 95px; /* Ajuste a altura conforme necessário */
    overflow: hidden;
    transition: background-color 0.3s; /* Adiciona uma transição suave */
}

.info-item:hover {
    background-color: #d0d0d0; /* Cor de fundo ao passar o mouse */
}

.info-item h3 {
    font-family: 'Roboto', sans-serif;
    color: #000; /* Preto */
    margin-bottom: 10px;
}

.info-item p {
    font-size: 0.9rem;
    color: #666; /* Cinza */
    margin: 0; /* Remove margem padrão */
}

@media (max-width: 480px) {
    .info-item {
        flex: 1 1 100%;
    }
}

/* Adiciona a visibilidade condicional para dispositivos móveis */
.hidden-mobile {
    display: none;
}

/* Estilo geral para o botão (já existente) */
.site-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #fff;
    color: #000;
    border: 2px solid #333;
    border-radius: 5px;
    padding: 14px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 21px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all .3s;
    cursor: pointer;
}

.site-button.hidden-mobile {
    display: none;
}

.site-button:hover {
    background-color: #d0d0d0; /* Fundo cinza claro */
    color: #000; /* Texto preto */
    border-color: #000000; /* Borda cinza mais clara */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer {
    background-color: #f1f1f1; /* Cor de fundo do rodapé */
    padding: 20px;
    text-align: center; /* Centraliza o texto */
    border-top: 1px solid #ddd; /* Linha de separação acima do rodapé */
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil superior */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espaçamento entre os itens */
    margin-bottom: 20px;
}

.footer-item {
    text-align: center;
}

.footer-item i {
    font-size: 3rem; /* Tamanho dos ícones */
    color: #333; /* Cor dos ícones */
    display: block;
    margin-bottom: 10px;
}

.footer-item p {
    font-size: 1rem;
    margin: 5px 0;
}

.footer-separator {
    font-size: 2rem;
    color: #333;
}

.footer-rights {
    font-size: 0.8rem;
    color: #666; /* Cor do texto dos direitos autorais */
}

/* Adiciona a animação de digitação */
.typing {
    font-family: 'Monda', sans-serif;
    font-size: 2.5rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: .15em solid #fff; /* Cor do cursor */
    animation: typing 3.5s steps(40, end) 1s forwards, blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #fff; }
}

/* Remove o cursor após a digitação */
.typing.finished {
    border-right: none;
}

/* Animação de tremulação */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Adicione um atraso de animação para cada item */
.info-item:nth-child(1) .shake {
    animation-delay: 5s;
}
.info-item:nth-child(2) .shake {
    animation-delay: 6s;
}
.info-item:nth-child(3) .shake {
    animation-delay: 7s;
}
.info-item:nth-child(4) .shake {
    animation-delay: 8s;
}
.info-item:nth-child(5) .shake {
    animation-delay: 9s;
}
.info-item:nth-child(6) .shake {
    animation-delay: 10s;
}
.info-item:nth-child(7) .shake {
    animation-delay: 11s;
}
.info-item:nth-child(8) .shake {
    animation-delay: 12s;
}
.info-item:nth-child(9) .shake {
    animation-delay: 13s;
}
.info-item:nth-child(10) .shake {
    animation-delay: 14s;
}

/* Estilo para os ícones de redes sociais */
.social-icons {
    margin-top: 10px;
    text-align: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
    color: #333; /* Cor do ícone */
    text-decoration: none;
    font-size: 1.0rem; /* Tamanho do ícone */
}

.social-icon i {
    margin-right: 5px; /* Espaçamento entre o ícone e o texto */
}

.social-icon:hover {
    color: #007bff; /* Cor ao passar o mouse */
}

/* Exemplo de cor para Facebook e Instagram */
.social-icon.facebook:hover {
    color: #3b5998; /* Cor do Facebook ao passar o mouse */
}

.social-icon.instagram:hover {
    color: #e4405f; /* Cor do Instagram ao passar o mouse */
}

/* Overlay para escurecer o fundo */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Cor preta com opacidade */
    pointer-events: none; /* Permite clicar através do overlay */
    z-index: 999; /* Garante que o overlay fique acima do conteúdo */
}

/* Componente de Tradução no Lado Esquerdo */
.translations {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #1e0b2a;
  border-radius: 10px;
  border: 1px solid #5b1486;
  padding: 6px;
  position: absolute;
  top: 20px; /* Ajuste a posição vertical conforme necessário */
  left: 10px; /* Ajusta a posição horizontal para a direita */
}

.translations > span {
  text-align: center;
  color: darkgray;
  text-shadow: -1px -1px 0 rgb(0 0 0 / 50%), 1px -1px 0 rgb(0 0 0 / 50%), -1px 1px 0 rgb(0 0 0 / 50%), 1px 1px 0 rgb(0 0 0 / 50%);
  font-size: 8pt;
}

.translations > ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.translations > ul > li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.translations > ul > li > button {
  width: 46px;
  height: 30px;
  cursor: pointer;
  border: none;
  background: transparent url('/img/languages.png') no-repeat;
}

.translations > ul > li > button:hover {
  background-position-y: -34px;
}

.translations button[data-lang="en"] {
  background-position: 0 0;
}

.translations button[data-lang="pt"] {
  background-position: -50px 0;
}

.translations button[data-lang="es"] {
  background-position: -100px 0;
}

/* Adiciona suporte para dispositivos móveis */
@media (max-width: 1200px) {
    .container {
        padding: 10px;
    }
    .header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .intro-text {
        margin-top: 20px; /* Ajuste a margem superior conforme necessário */
    }
    .intro-text h1 {
        font-size: 2rem;
    }
    .intro-text p {
        font-size: 0.9rem;
    }
   .info-item {
        flex: 1 1 calc(50% - 20px);
    }
    .footer-items {
        display: flex;
        flex-direction: row; /* Muda a direção dos itens para linha */
        justify-content: center; /* Centraliza os ícones horizontalmente */
        gap: 10px; /* Adiciona um espaço entre os ícones */
    }
    .site-button {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .intro-text {
        margin-top: 10px; /* Ajuste a margem superior conforme necessário */
    }
    .intro-text h1 {
        font-size: 1.5rem;
    }
    .intro-text p {
        font-size: 0.8rem;
    }
    .info-item {
        flex: 1 1 calc(50% - 20px); /* Dois itens por linha */
    }
    .footer-items {
        flex-direction: column; /* Alinha os ícones verticalmente */
        gap: 10px; /* Adiciona um espaço entre os ícones */
    }
    .site-button {
        top: 5px;
        right: 5px;
        padding: 8px 12px;
        font-size: 10px;
    }
}

/* Para dispositivos muito pequenos */
@media (max-width: 320px) {
    .intro-text h1 {
        font-size: 1.2rem;
    }
    .intro-text p {
        font-size: 0.7rem;
    }
    .info-item {
        flex: 1 1 100%; /* Um item por linha */
    }
    .site-button {
        top: 2px;
        right: 2px;
        padding: 6px 10px;
        font-size: 8px;
    }
}

/* Para smartphones em modo retrato */
@media (max-width: 425px) {
    .intro-text h1 {
        font-size: 1.3rem;
    }
    .intro-text p {
        font-size: 0.75rem;
    }
    .info-item {
        flex: 1 1 50%; /* Dois itens por linha */
    }
    .site-button {
        top: 5px;
        right: 5px;
        padding: 8px 12px;
        font-size: 10px;
    }
}

/* Para tablets em modo paisagem e dispositivos com tela pequena */
@media (max-width: 1024px) {
    .intro-text h1 {
        font-size: 1.8rem;
    }
    .intro-text p {
        font-size: 0.85rem;
    }
    .info-item {
        flex: 1 1 calc(33.33% - 20px); /* Três itens por linha */
    }
    .site-button {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 12px;
    }
}


@media (max-width: 500px) {
    .intro-text h1 {
        font-size: 1.5rem; /* Ajusta o tamanho do título */
    }
    .intro-text p {
        font-size: 0.8rem; /* Ajusta o tamanho do texto */
    }
    .info-item {
        flex: 1 1 calc(50% - 20px); /* Mantém dois itens por linha */
        font-size: 0.8rem; /* Ajusta o tamanho da fonte dentro do item */
    }
    .site-button {
        top: 5px;
        right: 5px;
        padding: 8px 12px;
        font-size: 10px;
    }
    .footer-item i {
        font-size: 1.5rem; /* Ajusta o tamanho dos ícones no rodapé */
    }
    .footer-item p {
        font-size: 0.7rem; /* Ajusta o tamanho do texto no rodapé */
    }
}

@media (max-width: 540px) {
    .intro-text {
        padding: 10px; /* Reduz o padding para se ajustar melhor */
        font-size: 0.8rem; /* Ajusta o tamanho da fonte */
    }
    .intro-text h1 {
        font-size: 1.5rem; /* Ajusta o tamanho do título */
    }
    .intro-text p {
        font-size: 0.75rem; /* Ajusta o tamanho do texto */
    }
    .info-item {
        flex: 1 1 calc(50% - 10px); /* Ajusta o tamanho dos itens para 2 por linha */
        padding: 10px; /* Ajusta o padding interno */
    }
    .footer-items {
        flex-direction: row; /* Mantém a direção dos itens como linha */
        flex-wrap: wrap; /* Permite que os itens se ajustem em múltiplas linhas */
        gap: 10px; /* Espaço entre os ícones */
    }
    .footer-item {
        flex: 1 1 50%; /* Ajusta a largura dos itens do footer */
        margin: 5px 0; /* Ajusta a margem */
    }
    .social-icons {
        font-size: 1.2rem; /* Ajusta o tamanho dos ícones sociais */
    }
    .translations {
        top: 10px; /* Ajusta a posição vertical */
        left: 10px; /* Ajusta a posição horizontal */
    }
    .translations > ul > li > button {
        width: 36px; /* Ajusta a largura dos botões */
        height: 24px; /* Ajusta a altura dos botões */
    }
    .site-button {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 10px;
    }
}



.hidden {
    display: none;
}


@media (max-width: 480px) {
    .intro-text h1 {
        font-size: 1.5rem;
    }
    .intro-text p {
        font-size: 0.8rem;
    }
    .site-button {
        top: 5px;
        right: 5px;
        padding: 8px 12px;
        font-size: 10px;
    }
    .footer-item i {
        font-size: 2rem;
    }
    .footer-item p {
        font-size: 0.8rem;
    }
    .translations {
        top: 10px; /* Ajuste a posição vertical conforme necessário */
        left: 5px; /* Ajusta a posição horizontal para a direita */
    }
    .translations > ul > li > button {
        width: 40px;
        height: 25px;
    }
}
