* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background-image: url('../image/fond_carreau.jpeg');
  background-repeat: repeat;
}

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.page {
  height: 100vh;
  scroll-snap-align: start;
  /* scroll-snap-stop: always;  ← supprime cette ligne */
  display: flex;
  justify-content: center;
  align-items: center;
}



#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center; /* liens centrés */
  align-items: center;
  height: 60px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#nav-logo {
  position: absolute; /* ← sort du flux pour ne pas décaler les liens */
  left: 20px;
  height: 50px;
  width: auto;
  color: #A54646;
  font-size: 30px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #A54646;
  text-decoration: none;
  font-size: 1.2rem;
  transition: opacity 0.2s;
  font-family: 'lib';
  margin: 100px;
  letter-spacing: 1.20px;
}

.nav-links a:hover {
  opacity: 0.6;
}

.nav-logo {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

@font-face {
  font-family: 'chole';
  src: url('../font/chole/CHOLE.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'lib';
  src: url('../font/lib/LiberationSansNarrow-Regular.ttf') format('truetype');
  font-weight: normal;
}

#current{
    text-decoration:underline;
    text-underline-offset: 5px; /* plus grand = plus bas */
}

.contact{
    display: flex;
    flex-direction: column;
    background-color: aliceblue;
    padding: 10%;
    text-align: center;
    border-radius: 10px;
}

.contact > *{
    transform: scale(2);
    margin: 20px;
    font-family: "lib";
}

.contact > h2{
    font-family: "chole";
}