/* Camila · web ~2004 + Frutiger Metro (burbujas + vector bloom) */

body {
  margin: 0;
  padding: 12px 8px 24px;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #003333;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(135deg, #6ec0b8 0%, #8fd0c0 30%, #d8e090 65%, #f0e8a0 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

a {
  color: #0066cc;
}

a:visited {
  color: #660099;
}

a:hover {
  color: #ff6600;
}

/* —— Fondo: vector bloom + burbujas —— */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.vector-bloom {
  position: absolute;
  inset: 0;
  background-image: url("../Modelo/frutiger-metro-2-860425130.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.72;
}

.vector-bloom-tile {
  position: absolute;
  inset: -10%;
  background-image: url("../img/vector-bloom-pattern.svg");
  background-size: 520px 520px;
  background-repeat: repeat;
  opacity: 0.45;
  mix-blend-mode: soft-light;
}

.halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1.1px, transparent 1.3px);
  background-size: 11px 11px;
  opacity: 0.28;
}

.bubbles {
  position: absolute;
  inset: 0;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.65),
    rgba(94, 200, 200, 0.12)
  );
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.35);
  animation: float-up linear infinite;
  opacity: 0.75;
}

@keyframes float-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  90% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}

/* Contenedor centrado tipo tabla 2000s */
.site-wrap {
  position: relative;
  z-index: 1;
  width: 780px;
  max-width: 100%;
  margin: 0 auto;
  background: #e8f8f0;
  border: 3px outset #a8d8d0;
  padding: 0;
  box-shadow: 4px 4px 0 rgba(0, 80, 80, 0.2);
}

.status-bar {
  background: #006666;
  color: #ffff99;
  font-size: 11px;
  padding: 4px 8px;
  font-family: "Courier New", Courier, monospace;
  border-bottom: 2px solid #003333;
}

.status-bar strong {
  color: #ffffff;
}

.banner {
  background: linear-gradient(90deg, #009999 0%, #66cccc 35%, #ffe066 70%, #99cc66 100%);
  border-bottom: 3px solid #006666;
  padding: 10px 12px;
  text-align: center;
}

.banner h1 {
  margin: 0;
  display: inline;
  font-family: "Comic Sans MS", "Trebuchet MS", cursive, sans-serif;
  font-size: 36px;
  color: #ffffff;
  text-shadow: 2px 2px 0 #006666, -1px -1px 0 #003333;
  letter-spacing: 2px;
}

.banner .tagline {
  margin: 4px 0 0;
  font-size: 12px;
  color: #003333;
  font-weight: bold;
}

.banner .orb {
  display: inline-block;
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin: 0 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #66cccc 40%, #006666 100%);
  border: 2px solid #ffffff;
}

.nav-bar {
  background: #99cccc;
  border-top: 2px solid #ccffff;
  border-bottom: 2px solid #336666;
  padding: 6px 4px;
  text-align: center;
}

.nav-bar a {
  display: inline-block;
  margin: 2px 3px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  color: #003333;
  background: #cceeee;
  border: 2px outset #88bbbb;
}

.nav-bar a:hover,
.nav-bar a.active {
  background: #ffe066;
  border-style: inset;
  color: #003333;
}

.main {
  padding: 12px;
}

.welcome-box {
  background: #ffffcc;
  border: 2px solid #cc9900;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.welcome-box h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #006666;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  border-bottom: 1px dashed #cc9900;
  padding-bottom: 4px;
}

.welcome-box p {
  margin: 6px 0;
}

.blink {
  animation: blink 1.2s step-start infinite;
  color: #cc0000;
  font-weight: bold;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hr-stars {
  text-align: center;
  color: #009999;
  font-size: 14px;
  letter-spacing: 4px;
  margin: 10px 0;
}

.section-title {
  text-align: center;
  font-size: 16px;
  color: #006666;
  margin: 8px 0 10px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.portals {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
}

.portals td {
  width: 33%;
  vertical-align: top;
}

.portal {
  display: block;
  text-decoration: none;
  color: #003333;
  background: #ffffff;
  border: 3px outset #66aaaa;
  padding: 0;
  height: 100%;
}

.portal:hover {
  border-style: inset;
  background: #f0ffff;
}

.portal-top {
  text-align: center;
  padding: 14px 8px 10px;
  border-bottom: 2px solid #66aaaa;
  font-size: 32px;
  line-height: 1;
}

.portal-flora .portal-top {
  background: linear-gradient(180deg, #b8e8a0, #66aa66);
}

.portal-aero .portal-top {
  background: linear-gradient(180deg, #99dddd, #339999);
}

.portal-aurora .portal-top {
  background: linear-gradient(180deg, #ffe680, #66bbbb);
}

.portal-body {
  padding: 8px 10px 12px;
}

.portal-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #006666;
  text-align: center;
  text-decoration: underline;
}

.portal-body p {
  margin: 0 0 8px;
  font-size: 11px;
  text-align: center;
}

.portal-go {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  color: #0066cc;
  text-decoration: underline;
}

.portal:hover .portal-go {
  color: #ff6600;
}

.page-banner {
  background: #66cccc;
  border: 2px inset #99eeee;
  padding: 8px;
  margin-bottom: 12px;
  text-align: center;
}

.page-banner h1 {
  margin: 0;
  font-size: 22px;
  color: #003333;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.page-banner .sub {
  margin: 4px 0 0;
  font-size: 11px;
  color: #336666;
}

.content-box {
  background: #ffffff;
  border: 2px solid #009999;
  padding: 12px;
  margin-bottom: 12px;
}

.content-box h2 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #ffffff;
  background: #009999;
  padding: 4px 8px;
}

.content-box p {
  margin: 8px 0;
}

.content-box ul {
  margin: 8px 0 8px 20px;
  padding: 0;
}

.content-box li {
  margin-bottom: 4px;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.mini-table th,
.mini-table td {
  border: 1px solid #66aaaa;
  padding: 6px;
  font-size: 11px;
  text-align: center;
}

.mini-table th {
  background: #99dddd;
  color: #003333;
}

.mini-table td {
  background: #f5fffa;
}

.mini-orb {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: radial-gradient(circle at 30% 30%, #ffffff, #66cccc 45%, #006666);
  vertical-align: middle;
}

.mini-orb.lime {
  background: radial-gradient(circle at 30% 30%, #ffffff, #99cc66 45%, #336633);
}

.mini-orb.sun {
  background: radial-gradient(circle at 30% 30%, #ffffff, #ffe066 45%, #cc9900);
}

.nav-bottom {
  text-align: center;
  margin: 14px 0 6px;
  font-size: 12px;
}

.btn-old {
  display: inline-block;
  padding: 5px 14px;
  margin: 2px 4px;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #003333;
  text-decoration: none;
  background: #99dddd;
  border: 2px outset #66aaaa;
}

.btn-old:hover {
  border-style: inset;
  background: #ffe066;
  color: #003333;
}

.btn-old.sun {
  background: #ffe066;
  border-color: #ccaa33;
}

.btn-old.lime {
  background: #99cc66;
  border-color: #669933;
}

.site-footer {
  background: #006666;
  color: #ccffff;
  font-size: 10px;
  text-align: center;
  padding: 8px;
  border-top: 3px solid #003333;
}

.site-footer a {
  color: #ffff99;
}

.site-footer .hit {
  font-family: "Courier New", monospace;
  background: #000000;
  color: #00ff00;
  padding: 2px 6px;
  border: 1px inset #333333;
  display: inline-block;
  margin: 4px 0;
}

.side-deco {
  text-align: center;
  font-size: 20px;
  letter-spacing: 6px;
  margin: 4px 0;
  color: #009999;
}

/* Guestbook / comentarios */
.comment-form label {
  font-weight: bold;
  color: #006666;
  font-size: 12px;
}

.comment-form input,
.comment-form textarea {
  width: 95%;
  max-width: 520px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  padding: 5px;
  border: 2px inset #99cccc;
  background: #ffffee;
  color: #003333;
}

.comment-form textarea {
  resize: vertical;
  min-height: 80px;
}

.comment-form button {
  cursor: pointer;
}

.comment-thanks {
  margin-top: 10px;
  padding: 6px 10px;
  background: #ccffcc;
  border: 2px solid #66aa66;
  color: #006600;
  font-weight: bold;
  text-align: center;
}

.comment-list {
  margin-top: 8px;
}

.comment-empty {
  text-align: center;
  color: #666666;
  font-style: italic;
  font-size: 12px;
}

.comment-entry {
  background: #f5fffa;
  border: 2px solid #66aaaa;
  border-left: 6px solid #009999;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.comment-entry .comment-meta {
  font-size: 11px;
  color: #006666;
  margin-bottom: 4px;
  border-bottom: 1px dashed #99cccc;
  padding-bottom: 3px;
}

.comment-entry .comment-meta strong {
  color: #003333;
}

.comment-entry .comment-text {
  font-size: 12px;
  margin: 6px 0 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Galería de trabajos */
.gallery-hint {
  font-size: 11px;
  color: #336666;
  margin: 0 0 12px !important;
}

.gallery-hint code {
  background: #ffffcc;
  border: 1px solid #cc9900;
  padding: 1px 4px;
  font-size: 11px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.gallery-item {
  width: calc(50% - 12px);
  min-width: 200px;
  max-width: 340px;
  margin: 0;
  background: #f5fffa;
  border: 3px outset #66aaaa;
  padding: 6px;
  box-sizing: border-box;
}

.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ddeeee;
  border: 2px inset #99cccc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.gallery-frame img[src=""],
.gallery-frame img:not([src]),
.gallery-frame img.broken {
  display: none;
}

.gallery-placeholder {
  position: relative;
  z-index: 0;
  text-align: center;
  color: #668888;
  font-size: 12px;
  font-weight: bold;
  padding: 10px;
  line-height: 1.4;
}

.gallery-placeholder small {
  font-weight: normal;
  color: #99aaaa;
}

.gallery-item figcaption {
  margin-top: 6px;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  color: #006666;
}

@media (max-width: 800px) {
  .gallery-item {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 800px) {
  .site-wrap {
    width: auto;
  }

  .portals,
  .portals tbody,
  .portals tr,
  .portals td {
    display: block;
    width: auto;
  }

  .portals td {
    margin-bottom: 8px;
  }

  .banner h1 {
    font-size: 26px;
  }
}
