body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f2f2f2;
  color: #333;
}

@font-face {
  font-family: "openrunde"; /* Nom de la police personnalisée */
  src: url("fonts/OpenRunde-Medium.woff") format("woff");
}

/* Base styles for all devices */
main {
  margin: 10% 5%;
  width: calc(100% - 10%); /* Default width for larger screens */
  text-align: center;
}

h1 {
  font-size: calc(9vw + 9vh);
  margin: 0;
}

a {
  font-size: calc(3vw + 3vh);
  font-family: "openrunde", sans-serif;
  color: mediumblue;
}
a:hover {
  background-color: #fff300;
  color: #f21905;
  padding: 0 3%;
  text-decoration: none;
}

.pied-de-page {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px;
}
p {
  font-size: 0.8em;
}

/* Media queries for responsiveness */

@media (max-width: 1800px) {
  main {
    margin: 15% auto; /* Adjust margins for smartphones */
  }
}

/* Tablet portrait and smaller screens */
@media (max-width: 1024px) {
  main {
    margin: 40% auto; /* Adjust margins for smaller screens */
    width: 80%; /* Adjust width for smaller screens */
  }
  h1 {
    font-size: calc(5vw + 5vh); /* Adjust font size for smaller screens */
  }
  a {
    font-size: calc(2vw + 2vh); /* Adjust font size for smaller screens */
  }
}

/* Smartphones in portrait mode (optional, adjust breakpoints as needed) */
@media (max-width: 480px) {
  main {
    margin: 65% auto; /* Adjust margins for smartphones */
  }
}
