/* Reset padrão */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
    margin: 0;
    padding: 0;
    background: black;
    color: white;
    font-family: 'Press Start 2P', sans-serif;
  }

  nav {
    width: 100%;
    padding: 1.5rem 0;
}

.menu-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Quicksand", sans-serif;
    font-size: 1.2rem;
}

.menu{
    width: 60%;
}

.logo{
    padding-left: 4rem;
    width: 25%;
}

.logo img{
    width: 25%;
    height: auto;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.2rem;
    position: relative;
}

nav a:hover {
    text-decoration: underline;
}

/* Menu Toggle (hamburger) */
.menu-toggle {
    display: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    padding: 0.6rem;
    background: #5500D4;
    background: -webkit-linear-gradient(0deg, rgba(85, 0, 212, 1) 0%, rgba(123, 228, 255, 1) 50%);
    background: -moz-linear-gradient(0deg, rgba(85, 0, 212, 1) 0%, rgba(123, 228, 255, 1) 50%);
    background: linear-gradient(0deg, rgba(85, 0, 212, 1) 0%, rgba(123, 228, 255, 1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5500D4", endColorstr="#7BE4FF", GradientType=0);
    border-radius: 4px;
    margin-right: 2rem;
    color: white;
    font-size: 1.8rem;
}

/* Estilo do ícone */
.menu-toggle .material-icons {
    font-size: 1.5rem;
    font-family: 'Press Start 2P', sans-serif;
}
  
  #hero {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
    background-color: black;
  
    background-image:
      url('img/stars.png'),
      radial-gradient(
        circle at center,
        rgba(2, 12, 71, 1) 0%,
        rgba(2, 12, 71, 0.4) 16.5%,
        rgba(0, 0, 0, 0.8) 41.3%,
        rgba(0, 0, 0, 1) 70%
      );
  
    background-repeat: repeat, no-repeat;
    background-size: 2000px auto, cover;
    background-position: 0 0, center;
    background-blend-mode: normal;
    animation: moveStars 60s linear infinite;
  }
  
  @keyframes moveStars {
    from {
      background-position: 0 0, center;
    }
    to {
      background-position: 0 -1000px, center;
    }
  }
  
  
  .container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .orbit {
    position: absolute;
    width: 45px;        
    opacity: 0.6; 
    z-index: 0;         
    pointer-events: none;
  }
  
  .orbit-1, .orbit-2, .orbit-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .title {
    width: 450px;
    max-width: 100%;
    display: none;
    z-index: 2;
    transition: transform 0.5s ease;
  }
  
  .options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    position: relative;
  }
  
  .option {
    font-size: 20px;
    line-height: 1;
  }
  
  .option.selected {
    position: relative;
  }
  
  .arrow {
    position: absolute;
    left: -20px; /* mantém afastada para não encostar no texto */
    top: 32px;   /* valor exato para alinhar com a linha do "2ª edição" */
    height: 1em;
    width: auto;
  }
  

  .spaceship {
    width: 80px;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    z-index: 2;
  }
  
  .bullets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
  }
  
  .bullet {
    position: absolute;
    width: 12px;
    height: 20px;
  }
  
  .message {
    font-size: 16px;
    display: none;
    margin-top: 20px;
    text-align: center;
    z-index: 1;
  }


  /* Botões de ação */
  .action {
    width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5%;
}

.action a{
  padding: 4% !important;
}

.action a, .actioni a, .inscricao {
    font-size: 1rem;
    text-decoration: none;
    color: white;
    background: #5500D4;
    background: -webkit-linear-gradient(0deg, rgba(85, 0, 212, 1) 0%, rgba(123, 228, 255, 1) 50%);
    background: -moz-linear-gradient(0deg, rgba(85, 0, 212, 1) 0%, rgba(123, 228, 255, 1) 50%);
    background: linear-gradient(0deg, rgba(85, 0, 212, 1) 0%, rgba(123, 228, 255, 1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5500D4", endColorstr="#7BE4FF", GradientType=0);
    padding: 1%;
    margin: 0%;
    font-family: 'Press Start 2P', sans-serif;
}

.action img {
    vertical-align: bottom; 
}

/* Conteúdos do site */
.content{
  padding-top: 2%;
  color: #fff;
}

.news {
  padding: 2rem 0;
}

/*Programação*/
.schedule {
  padding: 2rem;
  background-color: #0b0b1a;
  color: white;
}

.schedule-date {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.event-card {
  display: flex;
  align-items: center;
  background-color: #1a1a2e;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  gap: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.event-icon img {
  width: 32px !important;
  height: 32px !important;
  color:#fff;
}

.event-details {
  display: flex;
  flex-direction: column;
  color: #fff;
}

.event-details strong {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.event-details span {
  color: #aaa;
  font-size: 0.9rem;
}


/* Container para centralizar e limitar a largura do conteúdo*/
.news-container {
  width: 80%;
  margin: 0 auto; 
}

.news-content p, .grid-item p, .event-details{
  font-family: "Quicksand", sans-serif;
  font-size: 1.2rem;
}

.news h1, .header h1, .grid-item h1 {
  text-align: center;
  margin-bottom: 4rem;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  letter-spacing: 0.1rem;
  font-size: 3rem;
  color: #fff;
}

.news h2{
  text-align: left;
}

.news h2, .header h2{
  margin-bottom: 2rem;
  font-family: 'Press Start 2P', sans-serif;
  font-size: 1.3rem;
  color: #fff;
}

.news-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background-color: rgba(107, 22, 159, 0.1);
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #6B169F;
}

.news-item h3 {
  margin-bottom: 0.5rem;
}

.header {
  text-align: center;
  padding-top: 2%;
}


.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-item {
  background-color: #2c2c2c;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
  background-color: rgba(107, 22, 159, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #6B169F;
}

.grid-item h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #fff;
}

.grid-item h3{
  color: #fff;
  font-family: "Quicksand", sans-serif;
}

.grid-item a, .news-content a{
  color: #fff;
  font-weight: bold;
}

.grid-item p {
  font-size: 1em;
  color: #ccc;
}

.grid-item:hover {
  transform: scale(1.05);
}


.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.grid-apoio{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.grid-item img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.grid{
  width: 50%;
  height: auto;
}

.thumb{
  width: 50% !important;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 10%;
  margin: 0 auto;
}

footer{
  width: 100%;
  border-top: 2px solid #1c1c1c;
  margin-top: 2%;
  min-height: 100px;
  padding: 2%;
  text-align: center;
  color: #fff;
}

.expo{
  width: 40%; 
}
  
  /* Media Queries para Tablets (entre 768px e 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

  .expo{
      width: 100%; 
  }

  /* Ajuste da navegação */
  .menu-container {
      padding: 0 10px;
  }

  .menu {
      width: 80%; /* Reduz a largura do menu */
      justify-content: space-around;
  }

  nav a {
      font-size: 1.4rem; /* Aumenta ligeiramente o tamanho da fonte para tablets */
      margin: 0 0.8rem;
  }

  .inscricao {
      padding: 1.5%; /* Ajusta o padding do botão de inscrição */
      margin: 0;
  }

  .logo {
      padding-left: 2rem; /* Ajuste menor no espaçamento da logo */
  }

  /* Ajuste do bloco 'hero' */
  .hero {
      height: 60vh; /* Ajusta a altura da hero */
  }

  .hero h1 {
      font-size: 5rem; /* Reduz o tamanho do título */
  }

  .hero p {
      font-size: 1.8rem;
  }

  /* Ajuste da ação com imagens e botão */
  .action {
      width: 60%; /* Ajusta a largura */
      padding-top: 3%;
  }

  .actioni{
      width: 60%;
      padding-top: 3%;
      width: 50%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      padding-top: 10%;
  }

  .action a, .actioni a {
      font-size: 1.6rem;
      padding: 1.2%;
  }

  .action img {
      width: 40px;
  }

  .content {
      padding-top: 1.5%;
  }


  .news-container {
      width: 85%;
  }

  .news h1, .header h1, .grid-item h1 {
      font-size: 2.5rem;
  }

  .news h2, .grid-item h2 {
      font-size: 1.8rem;
  }

  .news-content p, .grid-item p {
      font-size: 1.1rem;
  }

  .grid-container {
      gap: 15px;
  }

  .grid-item {
      padding: 15px;
  }

  footer {
      padding: 1.5%;
  }
}

/* Media Queries para Tablets (entre 768px e 1024px) */
@media (min-width: 1020px) and (max-width: 1680px) {

  .menu {
      position: absolute;
      top: 80px;
      right: 0;
      width: 100%;
      background-color: #161616;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      height: 0;
      overflow: hidden;
      opacity: 0;
      transition: all 0.4s ease-in-out;
  }

  .menu.active {
      height: auto;
      opacity: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-end; /* Alinha os itens ao centro */
      z-index: 1000;
      padding-bottom: 4%;
      padding-right: 4%;
  }

  nav a {
      display: block;
      margin: 1rem 0; /* Espaçamento entre os links no menu toogle */
      font-size: 1.5rem;
      text-align: center;
  }

  .link{
      padding-right: 2%;
  }

  .inscricao{
      margin: 0;
      padding: 1.5% !important;
      margin-right: 1.6rem !important;
  }
  
  
  .logo{
      padding-left: 4%;
  }

  /* Exibe o ícone do menu toggle */
  .menu-toggle {
      display: flex;
      margin-right: 4.5rem !important;
  }

  /* Ajuste da ação com imagens e botão */
  .action, .actioni {
      width: 100%; /* Ajusta a largura */
      padding-top: 3%;
  }

  .action a, .actioni a {
      font-size: 1.6rem; /* Reduz o tamanho do texto no botão */
      padding: 1.2%; /* Ajusta o padding */
  }

}

/* Responsividade para Desktop */
@media (max-width: 1680px) {
  .menu-container {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
  }

  .menu {
      width: 80%;
  }
}

/* Media Queries para Tablets */
@media (max-width: 1024px) {
  .menu-container {
      padding: 0 20px;
  }

  .menu {
      width: 100%;
  }

  nav a {
      font-size: 1.4rem;
      margin: 0 0.8rem;
  }

  .hero {
      height: 60vh;
  }

  .hero h1 {
      font-size: 5rem;
  }

  .hero p {
      font-size: 1.8rem;
  }

  .action {
      width: 60%;
  }

  .news-container {
      width: 90%;
  }

  .header h1, .grid-item h1 {
      font-size: 2.5rem;
  }

  .news h2, .grid-item h2 {
      font-size: 1.8rem;
  }

  .grid-container {
      gap: 15px;
  }

  .grid-item {
      padding: 15px;
  }

  footer {
      padding: 1.5%;
  }
}

/* Responsividade smartphones */
@media (max-width: 768px) {
  .expo{
      width: 100%; 
  }

  .menu-container {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
  }

  /* Esconde o menu por padrão */
  .menu {
      position: absolute;
      top: 80px;
      right: 0;
      width: 100%;
      background-color: #161616;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      height: 0;
      overflow: hidden;
      opacity: 0;
      transition: all 0.4s ease-in-out;
  }

  .menu.active {
      height: auto;
      opacity: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-end; /* Alinha os itens ao centro */
      z-index: 1;
      padding-bottom: 4%;
      padding-right: 4%;
  }

  nav a {
      display: block;
      margin: 1rem 0; /* Espaçamento entre os links no menu toogle */
      font-size: 1.5rem;
      text-align: center;
  }

  .link{
      padding-right: 4%;
  }

  .inscricao{
      margin: 0;
      padding: 2% !important;
  }
  
  
  .logo{
      padding-left: 0;
  }

  /* Exibe o ícone do menu toggle */
  .menu-toggle {
      display: flex;
      margin-right: 0;
  }

  .action {
      flex-direction: column; /* Alinha os itens um abaixo do outro */
      width: 100% !important;
  }

  .action a {
      margin: 5% !important; /* Adiciona espaço em volta do botão "Inscreva-se" */
  }

  .hero{
      height: 50vh !important;
  }

  .hero-container {
      width: 90%; /* Mais espaço em telas pequenas */
  }

  .hero h1 {
      font-size: 2.5rem;
  }

  .hero p {
      font-size: 1rem;
  }

  .btn-download {
      font-size: 1rem;
  }

  .news-container {
      width: 90%; /* Mais espaço em telas pequenas */
  }

  .header h1, .grid-item h1{
      font-size: 2em;
  }

  .imgtitle {
      width: 100%;
  }

  .header h1, .grid-item h1 {
      font-size: 2em;
  }

  .grid-container {
      gap: 10px;
  }

  .grid-item img {
      width: 100%;
      height: auto;
  }

  footer {
      padding: 1.5%;
  }
}
