*


{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.logo-spinner {
  animation: spin 2s linear infinite;
}
.logo {
  max-width: 220px;
  margin-bottom: 1rem;
  animation: comicPop 0.8s ease-out both, floatComic 3s ease-in-out infinite;
}
.contenedor-logo {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente */
  height: 100vh;           /* O la altura que necesites para el contenedor */
}

/* HERO */
.hero {
    background: radial-gradient(circle, #ffcc00, #ff6600);
    text-align: center;
    padding: 3rem 1rem;
    border-bottom: 8px solid #000;
}

.hero h1 {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
	color:#27afe2;
	text-shadow:
    2px 2px 0 #000,  /* Abajo a la derecha */
    -2px 2px 0 #000, /* Abajo a la izquierda */
    -2px -2px 0 #000, /* Arriba a la izquierda */
    2px -2px 0 #000; 
	letter-spacing: 0.10em;
	
}

.hero p {
    font-size: 1.2rem;
    font-weight: bold;
}

.hero h1 {
  animation: comicPop 0.9s ease-out both;
}

.hero p {
  animation: slideComic 1s ease-out both;
  animation-delay: 0.2s;
}



/* GALERÍA */
.comic-gallery img {
  animation: slideComic 0.8s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comic-gallery img:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 12px 12px 0 #000;
}


.comic-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem;
	 overflow: visible;
}

.comic-gallery img {
    width: 100%;
    height: auto;
    border: 5px solid #000;
    box-shadow: 6px 6px 0 #000;
}
/* ===== GALERÍA ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid black;
  box-shadow: 5px 5px 0 black;
}

.btn {
  display: inline-block;
  margin: 40px auto 0;
  padding: 15px 30px;
  background: var(--red);
  color: white;
  font-family: 'Bangers';
  text-decoration: none;
  border: 4px solid black;
}
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 6px 6px 0 #000;
}

/* SECCIONES */
.section {
    padding: 2.5rem 1.5rem;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    font-family: 'Bangers', cursive;
    font-size: 2.2rem;
    margin-bottom: 1rem;
	color:#FF0000;
}

/* PANELES CÓMIC */

.panel {
  animation: comicPop 0.7s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
  animation: punch 0.3s ease;
  box-shadow: 12px 12px 0 #000;
}

.panel:nth-child(1) { animation-delay: 0.1s; }
.panel:nth-child(2) { animation-delay: 0.2s; }
.panel:nth-child(3) { animation-delay: 0.3s; }

.comic-panels {
    display: grid;
    gap: 2rem;
}

.panel {
    background: #fff;
    padding: 1.5rem;
    border: 4px solid #000;
    box-shadow: 8px 8px 0 #000;
}

.panel h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.6rem;
}

.panel ul {
    margin: 1rem 0;
    padding-left: 1.2rem;
}

/* COSTOS */
.highlight {
    background: #111;
    color: #fff;
    text-align: center;
}

.prices {
    list-style: none;
    margin: 1.5rem 0;
}

.prices li {
    margin-bottom: .5rem;
}

/* BOTÓN */
.btn {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    padding: 1rem 2rem;
    margin-top: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border: 3px solid #000;
}

.btn:hover {
    background: #ff9900;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 1rem;
    font-size: .9rem;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .comic-panels {
        grid-template-columns: repeat(3, 1fr);
    }
}
