:root {
  --bg-color: #1a1a1a;
  --text-color: #ffffff;
  --accent-color: #ffc107;
  --sidebar-width: 250px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background-color: #000;
  padding: 2rem;
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-weight: 600;
  transition: transform 0.3s ease-in-out;
}

.sidebar ul li {
  position: relative;
}

.sidebar ul li::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 0%;
  height: 2px;
  background-color: #fbff00;
  transition: width 0.3s ease-in-out;
}

.sidebar ul li:hover::after {
  width: 25px;
}

.icon-link {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  position: absolute;
}

.icon-link-fim {
  color: var(--text-color);
  font-size: 1.5rem;
  position: absolute;
  margin-left: 30%;
}

.icon-link-fim:hover {
  color: var(--accent-color);
}

.logo {
  margin-bottom: 3rem;
  text-align: center;
}

.logo-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
}

nav ul {
  list-style: none;
}

nav ul li {
  margin-bottom: 1rem;
}

nav ul li a {
  color: var(--text-color);
  font-size: 1rem;
  display: block;
  padding: 0.5rem;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent-color);
}

.social-links {
  margin-top: auto;
  padding: 1rem 0;
}

.social-links a:hover {
  color: var(--accent-color);
}

.social-links a {
  color: var(--text-color);
  text-decoration: none;
  display: inline-block;
  margin-right: 1rem;
}

.sidebar-footer {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin-top: 1rem;
}

/* Main Content */
main {
  padding: 150px 50px 30px 150px;
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
}

main video {
  border-radius: 10px;
  margin-bottom: 20px;
}

.project-header {
  margin-bottom: 3rem;
}

.project-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.badge {
  background-color: #333;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-left: 1rem;
}

.back-button,
.website {
  border: 1px solid #666;
  color: var(--text-color);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: border-color 0.3s;
  display: inline-block;
  margin-top: 10px;
}

.website {
  background-color: #000;
  float: right;
}

.website:hover {
  background-color: var(--accent-color);
}

.back-button:hover {
  border-color: var(--accent-color);
}

.project-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-info p {
  color: #999;
  line-height: 1.6;
}

.technologies h3 {
  margin-bottom: 1.5rem;
}

.tech-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tech-icons img {
  width: 40px;
  height: 40px;
}

.credits {
  margin-top: 4rem;
  text-align: center;
  color: #666;
}

.credits p {
  margin-bottom: 0.5rem;
}

/* 📌 Responsividade 📌 */
@media (min-width: 1024px) and (max-width: 1160px) {
  main {
    margin-left: 15%;
    overflow-x: hidden;
    z-index: 1000 !important;
    margin-top: -100px;
  }

  video {
    width: 120%;
  }
}
@media (max-width: 1024px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-100%);
  }

  .sidebar.active {
    transform: translateY(0);
  }

  .logo-img {
    width: 100px;
    height: 100px;
  }

  .sidebar ul {
    display: none;
  }

  .social-links {
    display: none;
  }

  .menu-toggle {
    display: block;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
  }

  main {
    padding: 20px;
    margin-left: 0;
    width: 100%;
  }

  .border-video {
    width: 100%;
  }

  .project-header h1 {
    font-size: 2rem;
  }

  .tech-icons {
    justify-content: center;
  }
  /* aside {
    display: none !important;
  } */
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-100%);
  }

  .sidebar.active {
    transform: translateY(0);
  }

  .logo-img {
    width: 100px;
    height: 100px;
  }

  .sidebar ul {
    display: none;
  }

  .social-links {
    display: none;
  }

  .menu-toggle {
    display: block;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
  }

  main {
    padding: 20px;
    margin-left: 0;
    width: 100%;
  }

  .border-video {
    width: 100%;
  }

  .project-header h1 {
    font-size: 2rem;
  }

  .tech-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo-img {
    width: 80px;
    height: 80px;
  }

  .back-button,
  .website {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 10px;
  }

  .website {
    margin-bottom: 10px;
  }

  .project-header h1 {
    font-size: 1.5rem;
  }

  .tech-icons img {
    width: 30px;
    height: 30px;
  }

  .credits {
    font-size: 0.8rem;
  }
}
