body {
  font-family: 'Fredoka', sans-serif;
  background: linear-gradient(135deg, #F4D35E, #FFF6D1);
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}

.section-title {
  font-weight: bold;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  text-align: center;
}

.tile-square {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 0.3rem;
  transition: transform 0.25s;
  font-size: 0.85rem;
}

.tile-square:hover {
  transform: scale(1.05);
}

.tile-square img {
  width: 28px;
  margin-bottom: 0.5rem;
}



.favorite-section, .category-section, .highlight-section {
  margin-bottom: 3rem;
}

.tile-science {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;

}

.tile-science:hover {
  transform: translateY(-5px);
}

.tile-science img {
  object-fit: contain;
  padding: 10px;
  max-height: 150px;
  width: auto;
  margin: auto;
}

.tile-science .card-content {
  padding: 1rem;
}

.bg-yellow { background: #0059AB; color: #000; }
.bg-orange { background: #ff9800; }
.bg-ble { background: #5D3FD3; }
.bg-blue { background: #2962ff; }
.bg-green { background: #43a047; }
.bg-purple { background: #6A0DAD; }
.bg-dark { background: #000000 }
.bg-beige { background: #fff6d1; color: #000; }
.bg-denim{ background: #275DAD; color: white;}
.bg-arts{background: #BA55D3; }
.bg-sport{ background: #0059AB; }
.bg-techno{ background: #1E90FF;}
.bg-loisirs{ background: #9B59B6;}
.bg-mnq{ background: #FF553F;}

.highlight-tile {
  width: 100%;
  border-radius: 20px;
  padding: 1.2rem;
  text-align: center;
  font-size: 1rem;
  color: #fff;
}


@media (max-width: 768px) {
  .tile-square {
    width: 100px;
    height: 100px;
    font-size: 0.9rem;
  }
}


.navbar {
  background-color: #F3EBAF;
  padding: 0.6rem 0.6rem;
}

.home-bg{
    background-image: url(img/hero-img.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
}

.hero-arts{
  background-image: url(img/log-arts.webp);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 60vh;
}

.hero-loisirs{
  background-image: url(img/hero-loisirs.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
}

.hero-musique{
  background-image: url(img/hero-musique.webp);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 60vh;
}

.hero-techno{
  background-image: url(img/hero-techno.webp);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 60vh;
}

.hero-actualite{
  background-image: url(img/hero-actualites.webp);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 60vh;
}

.hero-jeux {
  background-image: url('img/hero-jeux.webp'); 
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-sciences {
  background-image: url('img/sciences-hero.webp'); /* remplace par ton image */
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-jeux .overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 3rem;
}


.hero-nature{
  background-image: url(img/hero-nature.webp);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 60vh;
}

.hero-quiz{
  background-image: url(img/hero-quiz.webp);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 60vh;
}

.overlay {
    background-color: rgba(0,0,0, 0.5);
    min-height: 60vh;
}    

.narrow-columns {
  max-width: 800px;
  margin: 0 auto;
}



.small-card {
  width: 500px;
  margin: auto;
}


.gap-20 {
  gap: 20px;
}

.img-sport {
  max-width: 900px;
  width: 200%;
  height: 400px;
}

.compte-section {
  background-color: #fef3b3;
  padding: 2rem;
  margin-top: 2rem;
  border-top: 5px solid #f3d55b;
}

.content-left {
  max-width: 60%;
}

.content-right {
  max-width: 35%;
}

.icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}




.hero.is-blue {
  background-color: #3434ff;
  color: white;
}

.category-box {
  background-color: #3434ff;
  color: white;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}
.category-box:hover {
  transform: scale(1.05);
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.movie-box {
  background-color: #ccc;
  height: 100px;
  border-radius: 16px;
}

.section-title {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.btn-random {
  background: white;
  color: #3434ff;
  font-weight: bold;
  border-radius: 9999px;
}

footer {
  background-color: #000;
  color: white;
  padding: 1rem;
  text-align: center;
}

.hidden {
  display: none;
}

.card-movie {
  transition: transform 0.2s ease-in-out;
}
.card-movie:hover {
  transform: scale(1.05);
}


.jeux-section {
  background-color: #fff9db;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 4px solid #fcd34d;
  border-bottom: 4px solid #fcd34d;
}


.hidden-card {
  display: none;
}

.hidden-card {
  display: none;
}

body {
  font-family: 'Fredoka', sans-serif;
}

.category-box {
  background-color: #f0f8ff;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  height: 100%;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.card-movie img {
  border-radius: 10px;
  object-fit: cover;
}


/* --- STYLE SPÉCIFIQUE LOISIRS CRÉATIFS --- */

body {
  font-family: 'Fredoka', sans-serif;
  margin: 0;
  padding: 0;
}

/* Titres de section */
.section-title {
  font-weight: bold;
  font-size: 2rem;
  margin: 2rem 0 1rem;
  text-align: center;
  color: #333;
}

/* Tuiles carrées */
.tile-square {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  transition: transform 0.3s;
  font-size: 0.9rem;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin: 0 auto;
}

.tile-square:hover {
  transform: scale(1.08);
}

.tile-square img {
  width: 34px;
  margin-bottom: 0.5rem;
}

/* Couleurs personnalisées pour les tuiles */
.bg-orange { background-color: #FFA726; }
.bg-purple { background-color: #AB47BC; }
.bg-blue { background-color: #42A5F5; }
.bg-green { background-color: #66BB6A; }

/* Boîtes d'inspiration */
.box {
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  font-size: 1rem;
  transition: transform 0.2s;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  height: 450px;
}

.box:hover {
  transform: scale(1.02);
}

/* Bouton de création de compte */
.button.is-warning {
  background-color: #FFC107;
  border: none;
  font-weight: bold;
}

.button.is-warning:hover {
  background-color: #ffb300;
}

/* Responsive */
@media (max-width: 768px) {
  .tile-square {
    width: 100px;
    height: 100px;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}



.footer {
  padding: 2rem 1.5rem;
  background-color: #ffe08a;
  font-family: 'Fredoka', sans-serif;
  border-top: 2px solid #ffdd57;
}

.footer .icons a {
  color: #333;
  margin: 0 0.5rem;
  transition: transform 0.2s;
}

.footer .icons a:hover {
  transform: scale(1.2);
  color: #000;
}

.footer .extra-icons img {
  margin: 0 8px;
  transition: transform 0.2s;
}

.footer .extra-icons img:hover {
  transform: scale(1.1);
}


.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.navbar-item img, .navbar-item svg {
  max-height: 45px;
}





body {
  font-family: 'Fredoka', sans-serif;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

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

.hidden-card {
  display: none;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2rem;
}




body {
  font-family: 'Fredoka', sans-serif;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

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

.hidden-card {
  display: none;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2rem;
}



.columns.is-multiline {
  align-items: stretch;
}

.card.tile-science {
  height: 100%;
  display: flex;
  flex-direction: column;
}

