﻿/* Styles pour la barre de navigation */
@font-face {
  font-family: 'CraftyGirls'; /* Nom de la police que vous souhaitez utiliser */
  src: url('../fonts/CraftyGirls.ttf') format('truetype'); /* Chemin vers le fichier .ttf */
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

}

html, body {
  height: 100%;
  
  font-family: 'CraftyGirls', sans-serif;
  
}

body {
  display: flex;
  flex-direction: column;
}

main {
  background-image: url("../img/luciole.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;  
  background-attachment: fixed;
  margin: 0; /* Pour supprimer la marge par défaut du corps */
  padding: 0; /* Pour supprimer le padding par défaut du corps */
  flex-grow: 1;
}
.titre{
  color: yellow;
  text-align: center;
  font-size: 55px;
}
.titre-accueil {
  color: white;
  text-align: center;
  font-size: 38px;
  margin-top: 80px;
  margin-bottom: 20px;
}

.espace{
  padding: 100px;
  background-color: rgba(45, 19, 197, 0.2);
}
@media (max-width: 1100px) {
  .titre{
    font-size: 30px;
  }
}


/* Styles pour le footer */
footer {
  background-color: #1F1952;
  color: white;
  padding: 20px 0;
  text-align: center;
  z-index: 15;
}

.footer-links {
  display: flex;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  color: white;
  margin: 0 20px;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  footer {
      display: none;
  }
}


/* Style pour les écrans entre 426px et 768px (tablettes) */
@media (min-width: 426px) and (max-width: 768px) {
  .titre-accueil {
      font-size: 28px; /* Ajustez la taille de la police pour les tablettes */
  }
}

/* Style pour les écrans entre 320px et 425px */
@media (min-width: 0px) and (max-width: 425px) {
  .titre-accueil {
      font-size: 24px; /* Ajustez la taille de la police pour les petits écrans */
  }
}