@font-face {
  font-family: 'Berlin Sans FB';
  font-style: normal;
  font-weight: normal;
  src: local('Berlin Sans FB'), url('../fonts/BRLNSR.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Berlin Sans FB Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Berlin Sans FB Bold'), url('../fonts/BRLNSB.woff') format('woff');
  }

html, body {
  font-family: 'Berlin Sans FB';
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  background: linear-gradient(to bottom, #000000 0%, #9d1019 25%);
}

.page-content {
  flex: 1;
}

.backgroundcity {
  min-height: 100vh;
  background: url("../img/background/city.png") repeat-x center top;
  animation: slide 35s linear infinite;
  animation-direction: reverse;
  background-size: auto 100%;
}

@keyframes slide {
  from {
    background-position: 0px 0px;
  }
  to {
    background-position: 1920px 0px;
  }
}

.cadre-association {
  max-width: 900px;
  margin: auto;
  background-color: #000000 !important;
}

 /* EFFECT BOUTON SOUTENIR ASSOCIATION */

.glow-on-hover {
  width: 221px;
  height: 50px;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #9d1019,#000000);
  position: absolute;
  top: -2px;
  left:-2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #000
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

.logo-background {
  position: absolute;
  width: 100px;
  opacity: 0.3;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

footer {
  background-color: #000000;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

footer a {
  color: #aaa;
  text-decoration: none;
  margin: 0 8px;
  display: inline-block;
  word-break: break-word;
}

@media (max-width: 576px) {
  footer p {
    margin-bottom: 0.5rem;
    padding: 0 1rem;
    font-size: 0.8rem;
  }

  footer a {
    display: block;
    margin: 4px auto;
  }
}

/* Responsivité pour mobiles */
@media (max-width: 576px) {
  .cadre-association {
    padding: 1.5rem;
  }

  .logo-background {
    width: 60px;
    opacity: 0.2;
  }

  .glow-on-hover {
    width: 100%;
    max-width: 300px;
    height: 45px;
    font-size: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .backgroundcity {
    padding: 1rem;
  }
}