/* ====================== style.css ====================== */

:root {
  --rojo: #c8102e;
  --blanco: #ffffff;
  --negro: #1a1a1a;
  --gris-claro: #f8f8f8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: var(--gris-claro);
  color: var(--negro);
  line-height: 1.6;
}

/* HEADER */
.header {
  background: linear-gradient(135deg, var(--rojo), #9c0d24);
  color: white;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.header h1 {
  font-size: 3rem;
  margin-bottom: 8px;
}

.header p {
  font-size: 1.4rem;
  font-weight: 500;
}

/* CONTENEDOR FLEX */
.contenedor {
  display: flex;
  max-width: 1200px;
  margin: 30px auto;
  gap: 25px;
  padding: 0 20px;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.sidebar h2 {
  color: var(--rojo);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--rojo);
  font-size: 1.5rem;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: var(--negro);
  font-size: 1.1rem;
  padding: 10px 14px;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sidebar ul li a:hover {
  background-color: var(--rojo);
  color: white;
  padding-left: 20px;
}

/* CONTENIDO PRINCIPAL */
.contenido {
  flex: 1;
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contenido h2 {
  color: var(--rojo);
  margin-bottom: 20px;
}

.contenido h3 {
  margin: 25px 0 10px 0;
  color: #333;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 25px;
  background-color: var(--negro);
  color: white;
  margin-top: 40px;
}

.hashtags {
  margin-top: 8px;
  font-size: 1.1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contenedor {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    position: static;
  }
}