@import url('https://fonts.googleapis.com/css2?family=Rubik+Dirt&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik+Pixels&display=swap');

/* Reset y configuración general */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #1b1b1b;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== */
/* Estilos para el Header */
/* ==================== */
.site-header {
  width: 100%;
  background-color: #222;
  background-image: url("../img/banner.jpg");
  background-attachment: fixed;
  padding: 10px 20px;
  box-sizing: border-box;
  border-radius: 20px;
}

/* Aseguramos la alineación central en el header-top */
.header-top {
  text-align: center;

}

/* Centrado del logo */
.logo {
  margin: 0 auto;
  width:150px;
  height:150px;
  border-radius: 50%;
}

/* Espacio para el título */
.header-top h1 {
  margin-top: 10px;

  font-size: 3.5rem;
  font-family: "Rubik Pixels";
  font-weight: 400;
  font-style: normal;

}
 




/* Contenedor para el subtítulo y los iconos sociales */
.sub-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Espacio entre el h2 y los iconos */
  margin-top: 10px;
}

/* Opcional: ajustar márgenes y estilos del h2 */
.sub-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color:#b80303;
  }

/* Puedes mantener o ajustar los estilos existentes para .social-contact */
.social-contact a {
  color: #fff;
  margin: 0 5px;
  font-size: 1.2rem;
  text-decoration: none;
}

.social-contact a:hover {
  color: #b80303;
}

.category-menu {
  margin-top: 30px;
  text-align: center;
}

/* ==================== */
/* Estilos para la Galería */
/* ==================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1000px;
    width: 100%;
    padding: 10% 0 10% 0;
}



.item {
    background-color: white;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    
}

.item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.item:hover img {
    transform: scale(2);
    box-shadow: 0 8px 16px rgba(0, 0, 0,0.5);
    transform: translateY(-5px);
}

.item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 1);
    transform: translateY(-5px);
}

.item p {
    margin: 10px 0 15px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #000000;    
}


/* ==================== */
/* Estilos para el Footer */
/* ==================== */
.site-footer {
  width: 100%;
  background-color: #222;
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  margin-top: 20px;
}

.tag-cloud {
  margin-bottom: 10px;
}

.tag-cloud .tag {
  display: inline-block;
  background-color: #444;
  color: #fff;
  padding: 5px 10px;
  margin: 5px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.footer-social a {
  color: #fff;
  margin: 0 5px;
  font-size: 1.2rem;
  text-decoration: none;
}

/* ==================== */
/* Estilos de Botones y Menú de Categorías */
/* ==================== */
.filter-btn {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    background-color: #444;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.filter-btn:hover {
    background-color: #666;
}

/* ==================== */
/* Responsividad */
/* ==================== */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
  }
  .titles h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 10px;
}
  .titles h2 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 10px;
  }
  .social-contact a {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
    .grid {
      grid-template-columns: 1fr;
    }
  }
  