body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #181818;
  background-attachment: fixed;
  color: #fff;
}

#themeToggle {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 10;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

#themeToggle:hover {
  background: rgba(255,255,255,0.85);
  color: #222;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}

.container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(300px, auto));
  gap: 100px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  min-height: 80vh;
}

section,
#dashboard,
#todo,
#notes,
#gallery {
  background: rgba(0,0,0,0.7) !important;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  transition: box-shadow 0.2s;
  color: #fff;
}

section:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

h1, h2,
#clock,
#weather-text,
#quote,
#taskList li,
#gallery .card p {
  color: #fff;
  text-shadow: 0 2px 8px #000;
}

h1, h2 {
  text-align: center;
}

#clock {
  font-size: 2.5em;
  font-weight: bold;
  letter-spacing: 2px;
  text-align:center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .container-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  section {
    min-height: 200px;
  }
}

#dashboard{
    color:#fff;
    width:250px;
    height:140px;
    padding-bottom: 70px;
    padding-right: 30px;
    margin-left:80px;
    margin-bottom:0;
}

#todo{
    width: 95%;
    min-width: 350px;
    max-width: 600px;
    min-height: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: 0;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top:50px;
}
#taskInput{
  width: 70%;
  max-width: 340px;
  padding: 12px 16px;
  border: 1.5px solid #ffe8e8;
  border-radius: 8px;
  font-size: 1.1em;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  margin-right: 10px;
  box-shadow: 0 1px 4px rgba(255,179,179,0.08);
}
#taskInput:focus {
  border: 1.5px solid #000000;
  box-shadow: 0 2px 8px rgba(254, 200, 200, 0.18);
}
#todoButton{
  padding: 12px 22px;
  background: linear-gradient(90deg, #000000 0%, #fbfbfb 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255,179,179,0.12);
  margin-left: 10px;
}
#todoButton:hover {
  background: linear-gradient(90deg, #efefef 0%, #000000 100%);
  box-shadow: 0 4px 16px rgba(255,179,179,0.18);
}
#taskList {
  width: 90%;
  max-width: 400px;
  margin: 18px auto 0 auto;
  padding: 0;
  list-style: none;
}
#taskList li {
  background: #fff6f6;
  border-radius: 7px;
  margin-bottom: 10px;
  padding: 10px 16px;
  font-size: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 4px rgba(255,179,179,0.08);
}
#taskList li button {
  background: #ffd6e0;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 0.95em;
  transition: background 0.2s;
}
#taskList li button:hover {
  background: #fbfbfb;
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 1;
  pointer-events: none;
}

#notes button {
  padding: 10px 22px;
  background: linear-gradient(90deg, #f6f6f6 0%, #949494 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255,179,179,0.12);
  margin-bottom: 10px;
}
#notes h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.3em;
  letter-spacing: 1px;
}
#noteInput {
  width: 100%;
  min-height: 60px;
  max-width: 340px;
  padding: 12px 14px;
  border: 1.5px solid #ffffff;
  border-radius: 8px;
  font-size: 1.05em;
  background: rgba(255,255,255,0.12);
  color: #fff;
  resize: vertical;
  margin-bottom: 10px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
#noteInput:focus {
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(255,179,179,0.18);
}
#notes button {
  padding: 10px 22px;
  background: linear-gradient(90deg, #ffffff 0%, #3e3e3e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255,179,179,0.12);
  margin-bottom: 10px;
}
#notes button:hover {
  background: linear-gradient(90deg, #ffffff 0%, #1c1c1c 100%);
  box-shadow: 0 4px 16px rgba(255,179,179,0.18);
}
#noteContainer {
  width: 100%;
  max-width: 340px;
  background: rgba(255,255,255,0.10);
  border-radius: 7px;
  padding: 10px 14px;
  color: #fff;
  font-size: 1em;
  min-height: 30px;
  margin-top: 8px;
  word-break: break-word;
}
#gallery {
  width: 95%;
  max-width: 700px;
  min-height: 160px;
  background: rgba(0,0,0,0.7) !important;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  padding: 28px 24px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
#gallery h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.3em;
  letter-spacing: 1px;
}
#gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  width: 100%;
}
#gallery .card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255,255,255,0.06);
  padding: 16px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
#gallery .card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(255,255,255,0.13);
  background: rgba(255, 255, 255, 0.184);
}

#gallery .card img {
  width: 100%;
  max-width: 180px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  object-fit: cover;
}

#gallery .card p {
  color: #fff;
  font-size: 1em;
  text-align: center;
  margin: 0;
  margin-top: 4px;
  word-break: break-word;
}

#weather {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3em;
  margin-top: 8px;
  margin-bottom: 22px
}
#weather-text {
  font-size: 1.1em;
  font-weight: 500;
  color: #fff;
  font-style:bold;
}
#weather-emoji {
  font-size: 2.2em;
  margin-right: 6px;
}
#quote {
  margin-top: 0;
  color: #fff;
  font-size: 1.1em;
  text-align: center;
  text-shadow: 0 2px 8px #222;
}

/* 🌸 Modo Primavera (predeterminado) */
body.primavera {
  background: #f5f5f5 !important;
  color: #222 !important;
}

body.primavera section,
body.primavera #dashboard,
body.primavera #todo,
body.primavera #notes,
body.primavera #gallery {
  background: rgba(255,255,255,1) !important;
  color: #222 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

body.primavera h1,
body.primavera h2,
body.primavera #clock,
body.primavera #weather-text,
body.primavera #quote,
body.primavera #taskList li,
body.primavera #gallery .card p {
  color: #222 !important;
  text-shadow: none !important;
}

body.primavera #noteInput,
body.primavera #taskInput {
  background: #f9f9f9 !important;
  color: #222 !important;
  border-color: #ffffff !important;
}

body.primavera #noteContainer {
  background: #f2f2f2 !important;
  color: #222 !important;
}

body.primavera #gallery .card {
  background: #fafafa !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

body.primavera #themeToggle {
  background: rgba(255,255,255,0.85) !important;
  color: #222 !important;
  border: 1px solid #ddd !important;
}

body.primavera #themeToggle:hover {
  background: #222 !important;
  color: #fff !important;
}


/* ❄️ Modo Invierno (antes era modo oscuro) */
body.invierno {
  background: #121212 !important;
  color: #f5f5f5 !important;
}

body.invierno section,
body.invierno #dashboard,
body.invierno #todo,
body.invierno #notes,
body.invierno #gallery {
  background: rgba(0,0,0,0.92) !important;
  color: #f5f5f5 !important;
  box-shadow: 0 2px 12px rgba(255,255,255,0.08);
}

body.invierno h1,
body.invierno h2,
body.invierno #clock,
body.invierno #weather-text,
body.invierno #quote,
body.invierno #taskList li,
body.invierno #gallery .card p {
  color: #f5f5f5 !important;
}

body.invierno #noteInput,
body.invierno #taskInput {
  background: #1e1e1e !important;
  color: #f5f5f5 !important;
  border-color: #333 !important;
}

body.invierno #noteContainer {
  background: #2a2a2a !important;
  color: #f5f5f5 !important;
}

body.invierno #gallery .card {
  background: #1f1f1f !important;
  box-shadow: 0 2px 8px rgba(255,255,255,0.06);
}

body.invierno #themeToggle {
  background: rgba(0,0,0,0.85) !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}

body.invierno #themeToggle:hover {
  background: #fff !important;
  color: #000 !important;
}


/* 🍂 Modo Otoño (copiado de primavera) */
body.otono {
  background: #f5f5f5 !important;
  color: #222 !important;
}

body.otono section,
body.otono #dashboard,
body.otono #todo,
body.otono #notes,
body.otono #gallery {
  background: rgba(255,255,255,1) !important;
  color: #222 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

body.otono h1,
body.otono h2,
body.otono #clock,
body.otono #weather-text,
body.otono #quote,
body.otono #taskList li,
body.otono #gallery .card p {
  color: #222 !important;
  text-shadow: none !important;
}

body.otono #noteInput,
body.otono #taskInput {
  background: #f9f9f9 !important;
  color: #222 !important;
  border-color: #ffffff !important;
}

body.otono #noteContainer {
  background: #f2f2f2 !important;
  color: #222 !important;
}

body.otono #gallery .card {
  background: #fafafa !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

body.otono #themeToggle {
  background: rgba(255,255,255,0.85) !important;
  color: #222 !important;
  border: 1px solid #ddd !important;
}

body.otono #themeToggle:hover {
  background: #222 !important;
  color: #fff !important;
}


/* ☀️ Modo Verano (copiado de invierno) */
body.verano {
  background: #121212 !important;
  color: #f5f5f5 !important;
}

body.verano section,
body.verano #dashboard,
body.verano #todo,
body.verano #notes,
body.verano #gallery {
  background: rgba(0,0,0,0.92) !important;
  color: #f5f5f5 !important;
  box-shadow: 0 2px 12px rgba(255,255,255,0.08);
}

body.verano h1,
body.verano h2,
body.verano #clock,
body.verano #weather-text,
body.verano #quote,
body.verano #taskList li,
body.verano #gallery .card p {
  color: #f5f5f5 !important;
}

body.verano #noteInput,
body.verano #taskInput {
  background: #1e1e1e !important;
  color: #f5f5f5 !important;
  border-color: #333 !important;
}

body.verano #noteContainer {
  background: #2a2a2a !important;
  color: #f5f5f5 !important;
}

body.verano #gallery .card {
  background: #1f1f1f !important;
  box-shadow: 0 2px 8px rgba(255,255,255,0.06);
}

body.verano #themeToggle {
  background: rgba(0,0,0,0.85) !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}

body.verano #themeToggle:hover {
  background: #fff !important;
  color: #000 !important;
}


/* 🌐 Transiciones comunes */
body,
section,
#dashboard,
#todo,
#notes,
#gallery,
#bgVideo {
  transition: background 0.6s cubic-bezier(.4,0,.2,1),
              color 0.6s cubic-bezier(.4,0,.2,1),
              opacity 0.6s cubic-bezier(.4,0,.2,1);
}

/* Menú lateral */
#sideMenu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 240px;
  height: 100vh;
  background: rgba(0,0,0,0.92);
  box-shadow: -2px 0 16px rgba(0,0,0,0.18);
  transition: right 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#sideMenu.open {
  right: 0;
}

#sideMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

#sideMenu li {
  margin: 28px 0;
}

#sideMenu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.25em;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.2s;
}

#sideMenu a:hover {
  color: #ffb3b3;
}
/* Botón Menú */
#btnAccion {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 11;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

#btnAccion:hover {
  background: rgba(255,255,255,0.85);
  color: #222;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}

/* Botón Tema (ajustado para quedar debajo del menú) */
#themeToggle {
  position: fixed;
  top: 25px; /* Debajo del botón menú */
  right: 30px;
  z-index: 10;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-right:150px;
}

#themeToggle:hover {
  background: rgba(255,255,255,0.85);
  color: #222;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}