/* =========================================================
   PALETA DE COLORES – WHIMSYGOTH
   ---------------------------------------------------------
   Verde bosque : #15590C
   Azul noche   : #0C3B59
   Morado místico : #500C59
   Burdeo oscuro  : #592A0C
   ========================================================= */

:root {
  --verde-bosque: #15590C;
  --azul-noche: #0C3B59;
  --morado-mistico: #500C59;
  --burdeo-oscuro: #592A0C;

  --papel: rgba(229, 229, 229, 0.6);
  --negro-suave: #111;
}


/* =========================================================
   RESET BÁSICO
   ========================================================= */

* {
  box-sizing: border-box;
}


/* =========================================================
   BODY / BASE
   ========================================================= */

body {
  margin: 0;
  color: var(--negro-suave);
  font-family: "Georgia", "Times New Roman", serif;
  background-image: url("/images/fondoverde.jpg");
}


/* =========================================================
   LAYOUT PRINCIPAL (MENÚ / MAIN / SIDEBAR)
   ========================================================= */

.menu {
  float: left;
  width: 20%;
  background-color: var(--verde-bosque);
  text-align: center;
}

.menu a {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 7px;
  color: #f2f2f2;
  text-decoration: none;
  background-color: var(--verde-bosque);
}

.menu a:hover {
  background-color: var(--morado-mistico);
}

.main {
  color: #f2f2f2;
  float: left;
  width: 60%;
  padding: 0 20px;
  background-color: var(--morado-mistico);
}

.right {
  color: #f2f2f2;
  float: left;
  width: 20%;
  margin-top: 7px;
  text-align: center;
  background-color: var( --azul-noche); 
}


/* =========================================================
   HERO / HEADER
   ========================================================= */

.hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background-color: var(--papel);
  border: 2px solid var(--morado-mistico);
  box-shadow: 0 0 20px rgba(80, 12, 89, 0.5);
}

.hero-img {
  width: 120px;
  filter: drop-shadow(0 0 6px var(--burdeo-oscuro));
}

.hero h1 {
  margin: 0;
  color: var(--morado-mistico);
  font-family: "Georgia", serif;
  letter-spacing: 3px;
  text-shadow: 1px 1px 0 var(--negro-suave);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media only screen and (max-width: 620px) {
  .menu,
  .main,
  .right {
    width: 100%;
    float: none;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }
}

.aside-img {
  display: block;     
  width: 100%;
  height: auto;
}
