* {
    margin: 0; padding: 0; box-sizing: border-box;
  }
  html, body {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    background-color: #000a2f;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #ffffff;
    overflow-x: hidden;
  }

  nav.sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: 230px;
    background-image: url("2020.jpg"), linear-gradient(rgba(18,42,87,0.8), rgba(18,42,87,0.8));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 3px 0 10px #000a2f;
    padding-top: 20px;
    overflow-y: auto;

    /* TRANSIÇÃO PARA ABRIR E FECHAR */
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;

    z-index: 1000;
  }
  nav.sidebar.open {
    transform: translateX(0);
  }

  nav.sidebar ul {
    list-style: none;
  }
  nav.sidebar ul li {
    margin: 15px 0;
  }
  nav.sidebar ul li a {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 16px;
    border-left: 4px solid transparent;
    transition: background 0.3s, color 0.3s, border-left-color 0.3s;
    text-shadow: 0 0 6px rgba(255,255,255,0.4);
  }
  nav.sidebar ul li a i {
    margin-right: 12px;
    font-size: 18px;
    width: 20px;
    text-align: center;
  }
  nav.sidebar ul li a:hover,
  nav.sidebar ul li a.active {
    background: #223a8f;
    color: #ffffff;
    border-left-color: #ffffff;
  }

  #menuBtn {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 32px;
    height: 25px;
    cursor: pointer;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    user-select: none;
    border: #000a2f ;
  }
  #menuBtn span.bar {
    display: block;
    height: 4px;
    background-color: #fff;
    border-radius: 3px;
    transition: 0.3s;
  }
  #menuBtn.open span.bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  #menuBtn.open span.bar:nth-child(2) {
    opacity: 0;
  }
  #menuBtn.open span.bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  header {
    position: relative;
    top: 0; left: 0;
    height: 90px;
    width: 100%;
    background-image: url("BAGUI3.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px #000a2f;
    z-index: 900;
    padding: 0 20px;
  }
  .logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 10px #ffffff88;
    user-select: none;
    margin: 0 auto;
    text-align: center;
  }
  .search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .search-bar input[type="text"] {
    padding: 8px 14px;
    border-radius: 30px;
    border: 2px solid #ffffff;
    font-size: 1rem;
    outline: none;
    width: 180px;
    background: #2a3b6a;
    color: #ffffff;
    box-shadow: inset 0 0 6px #4e5fa0aa;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  }
  .search-bar input[type="text"]:focus {
    background: #3a4a7a;
    border-color: white;
    box-shadow: inset 0 0 8px #7d8ef5bb;
  }
  .login-btn {
    background: #223a8f;
    border: solid white 2px;
    color: #ffffff;
    padding: 7px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    user-select: none;
    transition: background 0.3s ease;
  }
  .login-btn:hover {
    background: #3356cc;
  }

  main {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
  }

main {
padding: 40px 60px;
max-width: 1400px;
margin: 0 auto;
background: rgba(18, 42, 87, 0.6);
border-radius: 15px;
}

main h2 {
font-family: 'Orbitron', sans-serif;
font-size: 3.6rem;
margin-bottom: 40px;    /* Mais espaço embaixo do título */
margin-top: 40px;
color: #aac4ff;
border-bottom: 3px solid #aac4ff;
padding-bottom: 10px;
text-shadow: 0 0 12px rgba(170, 196, 255, 0.95);
}

.videos-grid {
display: grid;
grid-template-columns: repeat(2, 1fr); /* 2 vídeos por linha fixo */
gap: 40px 60px; /* espaço vertical e horizontal */
margin-top: 5px;
}

.video-card {
background: rgba(18, 42, 87, 0.7);
border-radius: 12px;
padding: 20px;
box-shadow: 0 0 20px #3b82f6cc;
display: flex;
flex-direction: column;
align-items: center;
}

.video-card iframe {
width: 100%;
height: 320px; /* maior altura pra vídeo mais visível */
border-radius: 10px;
border: none;
}

.video-card p {
margin-top: 25px; /* espaçamento maior entre vídeo e texto */
font-size: 1.2rem;
line-height: 1.6;
color: #dde6ff;
text-align: center;
max-width: 90%; /* deixa o texto mais estreito para ficar visual melhor */
}