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

a, a:visited {
  color: #D5482C;
  font-weight: 600;
}

body, html {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    background-color: #2E2121;
    border-bottom: none;

}

body {
  background-image: url('./img/background.jpg'); /* Background image */
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  overflow: hidden;
}

body.loaded {
  overflow: scroll;
}

.home-container {
    text-align: center;
    height: 80vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.home-logo {
    max-width: 400px;
    width: 64%;
}

.links {
    color: rgba(255,255,255,0.5);
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    line-height: 1.5;
    font-size: 14px;

}

.links .links-logo {
  max-width: 90px;
}
.links .links-logo img {
  width: 100%;
}

.links a {
    color: #FFF;
    text-decoration: none;

    opacity: 0.8;
}

.links a:hover {
    text-decoration: underline;
    opacity: 1;

}

.links.links-top {
  opacity: 0;
}

.links.links-top.loaded {
  opacity: 1;
  transition: opacity 0.5s ease;

}

.links.links-scrolled {
  position: fixed;
  z-index: 100;
  opacity: 0;
  top: -40px;
  transition: all 0.3s ease;
  left: 0;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 16px;
background-color: rgba(46, 33, 33, 0.9);
backdrop-filter: blur(4px); /* flou gaussien derrière */
-webkit-backdrop-filter: blur(4px); /* compatibilité Safari */
}



.links.links-scrolled.active {
  position: fixed;
  opacity: 1;

  top: 0px;

}

.page-container {
    text-align: center;
    color: #FFF;
    transition: all 0.9s ease;
    opacity: 0;
    transform: translateY(100px);
}

.page-container.loaded {
  opacity: 1;
  transform: translateY(0px);

}

h2 {
  font-size: 2rem;
  font-weight: 300;
}

.fly-container {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* espace entre les blocs */
  justify-content: center;
  max-width: 1120px;
  margin: auto;
}

.fly {
  position: relative;
  padding: 2rem;
  text-align: center;
  flex: 1 1 calc(50% - 1rem);
}

.fly img{
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);

}

.fly-1-badge {
  position: absolute;
  left: 80%;
  top: 61%;
  width: 19%;
  height: 8.1%;
  background-image: url(./img/fika-fly-2-badge.png);
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.2s ease;
  transform: scale(1);

}

.fly-1-badge:hover {
  transform: scale(1.05);
}

.fly-1-badge:active {
  transform: scale(0.9);
}

/* Responsive : 1 colonne */
@media (max-width: 780px) {
  .fly {
    padding:2rem 4rem ;
    flex: 1 1 100%;
  }
}


/* Responsive : 1 colonne */
@media (max-width: 640px) {
  .fly {
    padding:2rem 0.5rem ;
    flex: 1 1 100%;
  }
}


.traiteur-container {
  background-color: #FFF;
  background-image: url(./img/pattern-bg.png);
  background-repeat: repeat;
  background-size: 23px;
  padding: 100px 0 0 0;
  text-align: center;
}

.traiteur-inside {
  max-width: 860px;
  padding: 10px 26px;
  margin: auto;
}

.traiteur-inside h2 {
  margin-bottom: 40px;
}

.traiteur-inside h4 {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.traiteur-inside b {
  font-weight: 600;
}

.traiteur-bg {
  margin-top: 80px;
  width: 100%;
  height: auto;

}

.traiteur-bg img {
  width: 100%;

}
