body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f4f4f4;
    }

    .header {
      background-color: #007BFF;
      padding: 20px;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    #logo { height: 80px; width: auto; }

    .search-bar {
      width: 100%;
      max-width: 400px;
      margin-left: 20px;
      position: relative;
    }

    .search-bar input {
      width: 100%;
      padding: 10px;
      border-radius: 20px;
      border: none;
      outline: none;
    }

    .search-bar img {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 24px;
      height: 24px;
    }

    .user-icon { cursor: pointer; }
    .user-icon img {
      border-radius: 50%;
      width: 40px;
      height: 40px;
      transition: all 0.3s ease;
    }
    .user-icon:hover img { box-shadow: 0 0 10px 2px #fff; transform: scale(1.1); }

    .vestibular-list {
      background-color: #0056b3;
      padding: 10px;
      color: white;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
    }

    .vestibular-list span {
      margin: 0 15px;
      font-weight: bold;
      position: relative;
    }
    .vestibular-list span::after {
      content: '';
      display: block;
      width: 100%;
      height: 3px;
      background: white;
      margin: 0 auto;
      position: absolute;
      bottom: -5px;
      left: 0; right: 0;
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }
    .vestibular-list span:hover::after { transform: scaleX(1); }

    .card-container { margin: 20px auto; width: 90%; max-width: 1200px; }
    .card {
      background-color: white;
      border-radius: 10px;
      margin: 10px;
      padding: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      transition: transform 0.2s;
      cursor: pointer;
    }
    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 10px;
    }
    .card:hover { transform: scale(1.05); }
    .card-content { margin-top: 15px; }
    .card-content h2 { margin: 10px 0; font-size: 20px; }
    .card-content p { color: #555; }

    /* --- OVERLAY FULLSCREEN --- */
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.85);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 2000;
      color: #fff;
      padding: 40px;
    }
    .overlay.active { display: flex; }

    .overlay-content {
      background: #fff;
      color: #333;
      border-radius: 15px;
      padding: 30px;
      max-width: 800px;
      width: 90%;
      text-align: left;
      box-shadow: 0 5px 20px rgba(0,0,0,0.3);
      animation: fadeIn 0.4s ease;
    }
    .overlay-content img {
      width: 100%;
      max-height: 250px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 20px;
    }
    .close-btn {
      background: #007BFF;
      color: white;
      border: none;
      padding: 8px 15px;
      border-radius: 8px;
      cursor: pointer;
      float: right;
    }

    @keyframes fadeIn {
      from { transform: scale(0.95); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    .footer {
      position: fixed;
      left: 0; bottom: 0;
      width: 100%;
      background-color: #0056b3;
      color: white;
      text-align: center;
    }
    .footer a:visited {
      color: white;
    }
    .footer a:hover {
      color: cornflowerblue;
    }