:root {
    --brand: #792595;
    --primary: #f68738;
    --secondary: #00b8e6;
    --dark: #0e0d0d;
    --white: #fff;
    --lightPurple: #bf00ff;
    
    
    
  }
  * {
    box-sizing: border-box;
    margin: 0;
   
  }
  
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
   
  }

  
  .site-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand); 
    color: var(--white);
    position: fixed;
    width: 100%;
    height: 8%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    gap: 0.5rem;
   
    
    
  }

  .menu-icon {
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
  }

  header h1 {
    font-size: 1.2rem;
    margin-right: auto;
    justify-content: center;
    text-align: center;
  }

  .main-nav {
    display: none;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 200px;
    height: 100%;
    background-color: var(--lightPurple);
    padding-top: 20%;
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  .sidebar.active {
    left: 0;
  }
  
  .menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
  }
  
  .menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
  }
  
  .menu a:hover {
    color: var(--brand);
  }

  
  .banner {
    width: 100%;
    margin-top: 14%;
   
  }
  .banner img{
    width: 100%;
    object-fit: cover;
    max-height: 400px;

   
  }
  
  nav a {
    color:var(--white);
    text-decoration: none;
    font-weight: bold;
  }
  
.content {
 display: flex;
 flex-direction: column;
 align-items :flex-start;
 margin-top: 1rem;
 
 
}
   
  section {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 95%;
    margin:1rem;
    background-color:var(--white);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    justify-content: center;
    align-items: center;
  }

  section p {
    text-align: justify;
    margin: 10px;
  } 

   #sobre img,  #modalidades img, #regras img, #informacoes img, #programacao img, #camisetas img {
    width: 90%;
    height: auto;
    margin-top: 1rem; 
   border-radius: 1rem;
    object-fit: cover;
   }

    #informacoes{
    display: flex;
    flex-direction: column;
    align-items: center;
   } 
  
    #informacoes p, #informacoes ul {
    text-align: center;
   } 

   #informacoes h3 {
    margin-top: 1rem;
  }
  table {
    width: 80%;
    border-collapse: collapse;
    margin-top: 1em;
  }
  
  th, td {
    border: 1px solid #ccc;
    padding: 0.5em;
    text-align: center;
  }
  
  th {
    background-color: #f2f2f2;
  }
  
  #programacao ul {
    list-style-type: none;
    padding: 0;
  }
  h2{
    background-color: var(--brand);
    border-radius: 8px;
    text-align: center;
    padding: 5px;
    width: 90%;
    color: var(--white);
    font-size: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
  }
  p, a{
    font-size: 0.9375rem;
   
  }
  .buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    align-items: center;
  }
  .btn {
    display: inline-block;
    background-color: var(--brand);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
  }
  
  footer {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 10px;
    width: 100%;
    
  }
  footer img {
    width: 20%;
    height: 20%;
    
  }
  

  @media (min-width: 900px) {

    .site-header {
      justify-content: space-between;
      padding: 0 2rem;
    }
  
    .main-nav {
      display: flex;
      gap: 2rem;
    }
  
  
    .menu-icon {
      display: none;
    }
  
    .banner {
      width: 100%;
     margin-top: 4%;
     
    }
    .banner img{
     max-height: 700px;
      object-fit: cover;
     
    }
  
    .sidebar {
      display: none; 
    }
    header {
      justify-content: space-between;
    }
    header h1 {
      font-size: 1rem;
    }
    header nav a {
      font-size: 1rem;
      padding: 0.5rem;
    }

    header nav a:hover {
      text-decoration: underline;
      text-decoration-color: var(--customDark);
      text-decoration-thickness: 2px;
    }
 
   
  section {
    width: 100%;
    padding: 2rem;
   
   
  }
  .content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    
  }

  section h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  section p {
    font-size: 1.1rem;
    line-height: 1.8;
  }

  section ul {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
  }

  #informacoes p,
  #informacoes ul {
    font-size: 1.1rem;
  }


  .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
  }
  
  .btn {
    font-size: 1.1rem;
    padding: 14px 24px;
  }

  footer {
    font-size: 1rem;
  }

  footer img {
    width: 10%;
  }
  }