html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  color: white;
  font-family: "Poppins", sans-serif;
  
}

header {
  position: sticky;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  padding: 8px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}


.logo img {
    width: 50px;
    height: 50px;
    margin-left: 25px;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

nav a:hover {
  color: white;
}


.user {
  position: relative;
}

.user img {
  width: 24px;
  cursor: pointer;
  border-radius: 50%;
}

.user .menu {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background-color: #0e0e0e;
  border-radius: 5px;
  list-style: none;
  padding: 10px;
  width: 140px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.user:hover .menu {
  display: block;
}

.menu li {
  margin: 6px 0;
}

.menu a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
}

.menu a:hover {
  color: white;
}

main {
  padding: 120px 60px 60px 60px;
}

.tabs {
  display: flex;
  gap: 10px;
  background: #111;
  padding: 10px;
  border-radius: 6px;
  margin-top: 20px;
}

.tabs a {
  color: #ccc;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
}

.tabs a.active, .tabs a:hover {
  background: #222;
  color: white;
}

h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

.descripcion {
  color: #aaa;
  margin-bottom: 30px;
}

.tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.tabs a {
  color: #ccc;
  background: #111;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
}

.tabs a.active {
  background: #222;
  color: #ffffff;
}

.contenido {
  display: flex;
  gap: 40px;
}

.categorias {
  background: #111;
  padding: 20px;
  border-radius: 8px;
  width: 25%;
}

.categorias h3 {
  margin-bottom: 15px;
}

.categorias ul {
  list-style: none;
  padding: 0;
}

.categorias li {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  color: #ccc;
}

.hilos {
  background: #111;
  padding: 20px;
  border-radius: 8px;
  flex: 1;
}

.hilos-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.hilos-top button {
  background: #202020;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.hilo {
  border-top: 1px solid #222;
  padding: 12px 0;
}

.hilo:first-child {
  border-top: none;
}

.hilo p {
  margin: 0;
  color: #fff;
}

.hilo span {
  color: #aaa;
  font-size: 14px;
  margin-right: 10px;
}

.hilo .respuestas {
  float: right;
  color: #888;
}


.mision {
  text-align: center;
  background: #0c0c0c;
  padding: 60px 40px;
}

.mision img {
  width: 70px;
}

.mision h3 {
  margin-top: 10px;
}

footer {
  background: #000;
  padding: 20px 40px;
  color: #aaa;
  font-size: 14px;
}

footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .links a {
  color: #aaa;
  margin-right: 15px;
  text-decoration: none;
}

footer .links a:hover {
  color: #fff;
}
.btn-coment{
  text-decoration: none;
}