@font-face {
  font-family: 'Pixelcastle';
  src: url('Pixelcastle.otf') format('opentype');
}

@font-face {
  font-family: 'Retro';
  src: url('Retrogression-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "PixelOperator"; 
    src: url("https://rebecka.xyz/fonts/PixelOperator.ttf") format("truetype");
}

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&family=Silkscreen&display=swap');

:root {
  --marquee-gap: 34px;    
  --marquee-height: 40px;  
  --marquee-speed: 25s;       
  --gif-top-height: 38px;       
  --gif-bottom-height: 45px;    
}

html,
body {
  margin: 0;
  height: 100%;
  font-size: 23px;
  padding: 10px;
  line-height: 1 rem;
  font-family: "PixelOperator";
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body:not(.page) {
  background-image: url('Thefeilds.webp');
  background-size: cover;
  background-attachment: fixed;
  background-color: black;
}

.page {
  background-size: cover;
  background-attachment: fixed;
  background-image: url('arboles.jpg');
  padding: 12px;
}

img {
  max-width: 100%;
  height: auto;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 500px;
}

.header {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #DEDEDE;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 26px 20px;
  border-radius: 10px;
  border: 3px solid #2E0018;
}

.logo,
.title {
  position: relative;
  z-index: 3;
}

.logo img {
  width: 100px;
  display: block;
  border: 2px dotted purple;
}

.title {
  margin-left: 10px;
  margin-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  height: auto;
  flex: 1;
  min-width: 0;
}

.title img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.marquee {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--marquee-height);
  overflow: hidden;
  background: #DEDEDE;
  z-index: 2;
  pointer-events: none;
}

.marquee-top {
  top: 0;
  border-bottom: 2px solid #2E0018;
}

.marquee-bottom {
  bottom: 0;
  border-top: 2px solid #2E0018;
}


.marquee-track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: max-content;
  height: 100%;
  animation: marquee-gif 20s linear infinite;
}

.marquee-track > * {
  flex-shrink: 0;
}

.marquee-track.reverse {
  animation-direction: reverse;
}

.gif-strip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding-right: 30px;
  height: 100%;
  flex-shrink: 0;
  flex: 0 0 auto;
}

.gif-strip img {
  display: block;
  width: auto;
  height: 45px;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
}

.gif-strip2 img {
  height: var(--gif-bottom-height);
}

@keyframes marquee-gif {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.main {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  min-height: 540px;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.side {
  border-right: 4px solid #610000;
  width: 200px;
  padding: 12px;
  color: white;
  background-image: url("lateral1.png");
  height: 500px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 3px solid #2E0018;
}

.side2{
  border-right: 4px solid #610000;
  width: 180px;
  padding: 12px;
  background-image: url("lateral1.png");
  color: white;
  height: 500px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 3px solid #2E0018;
}


.content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 495px;
  background: #E6F1EE;
  border-radius: 10px;
  border: 3px solid #2E0018;
}

iframe.content {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 495px;
  border: 0;
  display: block;
}

.contenedor {
  display: flex;
  align-items: center;
  gap: 30px;
}

.contenedor1 {
  display: flex;
  align-items: center;
  gap: 30px;
}


.button {
  display: block;
  line-height: 40px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 17px;
  background-image: url("boton.gif");
  border-radius: 5px;
  color: #FFF;
  text-decoration: none;
  text-shadow: 0 0 3px #FFF;
  letter-spacing: 1px;
  font-family: serif;
  background-size: 170.67px 40px;
}

.button:hover {
  background: none;
  background-size: auto;
}

.botonesgifs {
  display: block;
}

.delfin {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.delfin img {
  display: block;
  margin: 0 auto;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: visible;
  max-width: 100%;
  border: 0;
  pointer-events: auto;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: auto;
}

.comments-section {
  background: none;
  margin: 12px auto 0 auto;
  max-width: auto;
  border-radius: 5px;
  border: 2px solid #fffdfa;
  padding: 20px 8vw 20px 8vw;
  font-family: "Times New Roman", serif;
}

@keyframes showcomments {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comments-section h2 {
  font-family: "Pixelcastle", "Pixel", Arial, sans-serif;
  color: #4F101D;
  text-align: left;
  font-size: 1.8em;
  margin-top: 0;
  letter-spacing: 1px;
}

h1 {
  font-family: "Retro";
  font-size: 50px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 4px;
  color: #4F101D;
}

h2 {
  font-family: "Pixelcastle";
  font-size: 26px;
  font-weight: 700;
  font-style: normal;
  color: #4F101D;
}

h2:before {
  content: "\0021B3";
  color: white;
  padding-right: 15px;
}

h3 {
  font-family: "PixelOperator";
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  color: #4F101D;
}

a {
  color: #24b0ae;
}

table {
  border-collapse: collapse;
}

th,
td {
  padding: 6px 12px;
  vertical-align: middle;
  border: 1px solid #000;
}

th {
  background: cyan;
  color: #ff0097;
}

.width-50 {
  width: 20%;
}

* {
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 0px;
}

.footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #79E5CB;
  margin-top: auto;
}

.footer a {
  text-decoration: none;
  color: #79E5CB;
}

.footer a:hover {
  text-decoration: line-through;
}

        .gallery-container {
            display: flex;
            gap: 20px;
            width: 100%;
            max-width: 1000px;
            margin: 0 auto;
            background: #DEDEDE;
            padding: 20px;
            border-radius: 10px;
            border: 3px solid #2E0018;
            height: 455px;
        }


        .image-section {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
            border: 3px solid #2E0018;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
        }


        .overlay-buttons {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .circle-button {
            position: absolute;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 3px solid #2E0018;
            background: none;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            color: #4F101D;
            font-size: 16px;
            font-family: "Pixelcastle", Arial, sans-serif;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            pointer-events: auto;
        }

        .circle-button:hover {
            background: url("arcoiris.gif");
            background-size: 60px;
            transform: scale(1.15);
            box-shadow: 0 0 15px rgba(255, 0, 151, 0.5), inset 0 0 10px rgba(255, 0, 151, 0.3);
        }

        .circle-button.active {
            background: url("arcoiris.gif");
            background-size: 60px;
            transform: scale(1.2);
            box-shadow: 0 0 20px rgba(255, 0, 151, 0.8), inset 0 0 15px rgba(255, 0, 151, 0.5);
        }
        
.circle-button:nth-child(1):hover {
    background: url("photo_2026-04-04_01-16-38.jpg");
    background-size: cover;
}

.circle-button.active:nth-child(1) {
    background: url("photo_2026-04-04_01-16-38.jpg");
    background-size: cover;
}

.circle-button:nth-child(2):hover {
    background: url("photo_2026-04-04_01-16-36.jpg");
    background-size: cover;
}

.circle-button.active:nth-child(2) {
    background: url("photo_2026-04-04_01-16-36.jpg");
    background-size: cover;
}

.circle-button:nth-child(3):hover {
    background: url("WhatsApp Image 2026-02-08 at 17.48.51.jpeg");
    background-size: cover;
}

.circle-button.active:nth-child(3) {
  background: url("WhatsApp Image 2026-02-08 at 17.48.51.jpeg");
  background-size: cover;
}

.circle-button:nth-child(4):hover {
    background: url("photo_2026-04-04_01-16-33.jpg");
    background-size: cover;
}

.circle-button.active:nth-child(4) {
  background: url("photo_2026-04-04_01-16-33.jpg");
    background-size: cover;
}

.circle-button:nth-child(5):hover {
    background: url("photo_2026-04-04_01-16-40.jpg");
    background-size: cover;
}

.circle-button.active:nth-child(5) {
  background: url("photo_2026-04-04_01-16-40.jpg");
    background-size: cover;
}

.circle-button:nth-child(6):hover {
    background: url("photo_2026-04-04_01-16-44.jpg");
    background-size: cover;
}

.circle-button.active:nth-child(6) {
      background: url("photo_2026-04-04_01-16-44.jpg");
    background-size: cover;
}
  

.circle-button:nth-child(7):hover {
    background: url("photo_2026-04-04_01-16-42.jpg");
    background-size: cover;
}

.circle-button.active:nth-child(7) {
  background: url("photo_2026-04-04_01-16-42.jpg");
    background-size: cover;
}

.circle-button:nth-child(8):hover {
    background: url("photo_2026-04-04_01-16-24.jpg");
    background-size: cover;
}

.circle-button.active:nth-child(8) {
  background: url("photo_2026-04-04_01-16-24.jpg");
    background-size: cover;
}

.circle-button:nth-child(9):hover {
    background: url("photo_2026-04-04_01-16-22.jpg");
    background-size: cover;
}

.circle-button.active:nth-child(9) {
  background: url("photo_2026-04-04_01-16-22.jpg");
    background-size: cover;
}
  

        .circle-button:nth-child(1) {
            top: 36%;
            left: 11.5%;
        }

        .circle-button:nth-child(2) {
            top: 30%;
            right: 12%;
        }

        .circle-button:nth-child(3) {
            bottom: 36%;
            left: 18%;
        }

        .circle-button:nth-child(4) {
            bottom: 52%;
            right: 17%;
        }

        .circle-button:nth-child(5) {
            top: 28%;
            left: 33%;
        }
        
        .circle-button:nth-child(6) {
            top: 24%;
            left: 22%;
        }
        
        .circle-button:nth-child(7) {
            top: 28%;
            left: 17%;
        }
        
        .circle-button:nth-child(8) {
            bottom: 10%;
            left: 18%;
        }
        
        .circle-button:nth-child(9) {
            bottom: 10%;
            left: 27%;
        }


        .content-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 12px;
            overflow-y: auto;
        }

        .content-section::-webkit-scrollbar {
            width: 8px;
        }

        .content-section::-webkit-scrollbar-track {
            background: #E6F1EE;
            border-radius: 5px;
        }

        .content-section::-webkit-scrollbar-thumb {
            background: #2E0018;
            border-radius: 5px;
        }

        .content-section::-webkit-scrollbar-thumb:hover {
            background: #4F101D;
        }

        .default-text {
            text-align: center;
            color: #4F101D;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 300px;
            font-family: "Pixelcastle", Arial, sans-serif;
            padding: 20px;
        }

        .content-panel {
            min-height: 250px;
            padding: 20px;
            background: #E6F1EE;
            border-radius: 5px;
            border: 3px solid #2E0018;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease;
            display: none;
            flex-shrink: 0;
        }

        .content-panel.active {
            opacity: 1;
            transform: translateY(0);
            display: block;
        }

        .content-panel h2 {
            font-family: "Pixelcastle", Arial, sans-serif;
            color: #4F101D;
            font-size: 22px;
            margin: 0 0 15px 0;
            letter-spacing: 1px;
        }

        .content-panel h2:before {
            content: "\0021B3";
            color: #2E0018;
            padding-right: 12px;
        }

        .content-panel p {
            color: #4F101D;
            line-height: 1.6;
            font-size: 14px;
            margin: 0 0 12px 0;
            font-family: "PixelOperator", monospace;
        }

        .content-panel ul {
            margin: 0 0 0 25px;
            padding: 0;
            color: #4F101D;
            font-family: "PixelOperator", monospace;
            font-size: 14px;
        }

        .content-panel li {
            margin-bottom: 8px;
            line-height: 1.5;
        }


        .content-panel table {
            width: 100%;
            border-collapse: collapse;
            margin: 12px 0;
        }

        .content-panel th,
        .content-panel td {
            padding: 6px 12px;
            border: 2px solid #2E0018;
            text-align: left;
        }

        .content-panel th {
            background: #24b0ae;
            color: #ff0097;
            font-weight: bold;
        }


@media (max-width: 600px) {
  :root {
    --marquee-gap: 20px; 
    --marquee-height: 31px;
    --marquee-speed: 12s;
    --gif-top-height: 25px;
    --gif-bottom-height: 28px;
  }

  html,
  body {
    padding: 1px;
    margin: 0;
    height: 100%;
    font-size: 18px;
    line-height: 1rem;
  }

  h1 {
    font-family: "Retro";
    font-size: 30px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 4px;
    color: #4F101D;
  }

  h2 {
    font-family: "Pixelcastle";
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    color: #4F101D;
  }

  .wrapper {
    gap: 10px;
    margin-top: 10px;
    max-width: 100%;
    padding: 0 8px 8px 8px;
  }

  .header {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 140px;
    padding: 35px 15px;
    gap: 8px;
    display: flex;
    align-items: center;
  }

  .logo img {
    max-width: 62px;
    min-width: 10px;
    height: auto;
  }

  .title {
    margin-left: 6px;
    padding-right: 8px;
    padding-top: 0;
    padding-bottom: 0;
    flex: 1;
    min-width: 0;
  }

  .title img {
    width: 160px;
    max-width: 100%;
    height: auto;
    min-height: auto;
    display: block;
  }
  
  .marquee {
  height: var(--marquee-height);
  overflow: hidden;
  }

.marquee-track {
  will-change: transform;
  transform: translateZ(0);
}
.gif-strip {
  gap: var(--marquee-gap);
  padding-right: var(--marquee-gap);
  min-width: max-content;
}

.gif-strip img {
  height: var(--gif-top-height);
}

.gif-strip2 img {
  height: var(--gif-bottom-height);
}

  .main {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .side {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
    border-bottom: 6px;
    padding: 10px 5px;
    height: auto;
    max-width: 100%;
  }

  .side br {
    display: none;
  }
  
  .side2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
    border-bottom: 6px;
    padding: 10px 5px;
    height: auto;
    max-width: 100%;
  }
  
  .side2 br {
    display: none;
  }

  .side .menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 7px;
  }

  .side .button {
    display: inline-block;
    line-height: 28px;
    font-size: 11px;
    padding: 0 8px;
    margin-bottom: 0;
    border-radius: 4px;
    text-align: center;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
  }

  .side img,
  .side iframe {
    margin: 6px auto;
    display: block;
  }
  
  .botonesgifs {
  display: flex;
  justify-content: center;
  align-items: center; 
  flex-wrap: wrap;
  height: auto;
  gap: 0px;
  margin-bottom: 7px;
}

  .content {
    min-height: auto;
    height: auto;
    max-height: none;
    background: #E6F1EE;
    width: 100%;
    max-width: 100%;
    overflow: visible;      
    flex-basis: auto;       
  }

  iframe.content {
    min-height: auto;
    height: auto;
    max-height: none;
    width: 100%;
    display: block;
  }
  
  .content * {
    height: auto;
    max-height: none;
  }

  body:not(.page) {
    background-image: url('BoilerBackground.webp');
    background-size: cover;
    background-attachment: fixed;
    background-color: black;
  }

  .page {
    background-size: cover;
    background-attachment: fixed;
    background-color: #c4adb2;
    padding: 12px;
    overflow-y: hidden;
    overflow-x: hidden;
  }

  .img-responsive {
    max-width: 220px;
    height: auto;
  }

  .side a[href*="carrd"] {
    display: block;
    margin-top: 7px;
    margin-bottom: 7px;
  }

  .side a[href*="mailto"] {
    display: block;
    margin-top: 7px;
    margin-bottom: 15px;
  }

  .side img[src="cancion.gif"] {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .side iframe {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
  }
  
.botonesgifs img {
  width: 152px;
  height: auto;
}
.delfin {
  display: none;
}

.contenedor {
flex-direction: column;
}

.contenedor1 {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer {
    font-size: 0.85em;
    padding: 15px;
  }
  
.gallery-container {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    height: auto;       
    max-height: none;       
}

.image-section {
    flex: 0 0 250px;
    max-height: 250px;  
}

.content-section {
    height: auto;     
    max-height: none;         
    overflow-y: visible;   
    min-height: auto;        
}

.content-panel {
    padding: 12px;
    min-height: auto;
    height: auto;        
    max-height: none;          
}

.default-text {
    height: auto;    
    min-height: 100px;       
    padding: 20px;
}
}