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: 40px 60px;
}

.comunidad h1 {
  font-size: 26px;
}

.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;
}


.capturas {
    display: grid
;
    grid-template-columns: repeat(auto-fill, minmax(324px, 1fr));
    gap: 20px;
    place-content: center;
}

.card {
    background-color: #141414;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.card img {
     width: 100%;
    height: 180px;
    object-fit: cover;
}
.card:hover {
  transform: translateY(-5px);
}

.card p {
  padding: 10px;
  margin: 0;
}

.card span {
  display: block;
  padding: 0 10px 10px;
  color: #999;
}


.discusiones {
  margin-top: 30px;
  background: #111;
  border-radius: 8px;
  padding: 10px;
}

.post {
  border-bottom: 1px solid #222;
  padding: 10px 0;
}

.post span {
  display: block;
  color: #999;
  font-size: 12px;
}

.resenas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.review {
  background: #111;
  padding: 15px;
  border-radius: 8px;
  flex: 1;
  min-width: 250px;
}

.review h4 {
  margin: 0 0 5px;
}

.vermas {
  text-align: center;
  margin: 30px 0;
}

.vermas a {
  color: white;
  text-decoration: none;
  background: #222;
  padding: 10px 20px;
  border-radius: 8px;
}

.mision {
    display: grid;
    place-content: center;
  text-align: center;
  background-color: #02020273;
  padding: 80px 60px;
}

.logo-mision {
  font-family: cursive;
  font-size: 40px;
  color: white;
  margin-bottom: 15px;
}

.mision h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.mision p {
  max-width: 700px;
  margin: 0 auto;
  color: #ccc;
  font-size: 14px;
  line-height: 1.7;
}


footer {
  background-color: #000000;
  padding: 30px 60px;
  font-size: 13px;
  border-top: 1px solid #1a1a1a;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.links a {
  color: #bbb;
  text-decoration: none;
  margin-right: 20px;
}

.links a:hover {
  color: white;
}

.logo-footer {
  text-align: right;
  color: #777;
}
