/* anti-aliasing */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family: "Karrik";
  src:
    url("font-karrik/WOFF2/Karrik-Regular.woff2") format("woff2"),
    url("font-karrik/WOFF/Karrik-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Karrik";
  src:
    url("font-karrik/WOFF2/Karrik-Italic.woff2") format("woff2"),
    url("font-karrik/WOFF/Karrik-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
* {
  font-weight: normal;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  flex-direction: row;
  font-family: "Karrik", "Arial", sans-serif;
  line-height: 1.1;
}
.logo {
  border-right: 2px solid black;
  flex: 1 0 50px;
}
.logo > img {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
}
.logo > a {
  display: block;
  position: fixed;
  top: auto;
  left: 5px;
  bottom: 5px;
  width: 40px;
}
.logo > a img {
  display: block;
  width: 100%;
}
@media screen and (min-width: 900px) {
  .logo > img {
    width: 100px;
  }
  .logo > a {
    left: 10px;
    bottom: 10px;
    width: 80px;
  }
  .logo {
    flex: 1 0 100px;
  }
}
.slider {
  height: 356px;
  margin: auto;
  position: relative;
  width: 100%;
  flex: 1 0 300px;
  border-bottom: 2px solid black;
}

.slide1,
.slide2,
.slide3,
.slide4,
.slide5 {
  background-size: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover !important;
}

.slide1 {
  background: url(img/slide1.jpg) no-repeat center;
  animation: fade1 25s infinite;
}

.slide2 {
  background: url(img/slide2.jpg) no-repeat center;
  animation: fade2 25s infinite;
}

.slide3 {
  background: url(img/slide3.jpg) no-repeat center;
  animation: fade3 25s infinite;
}

.slide4 {
  background: url(img/slide4.jpg) no-repeat center;
  animation: fade4 25s infinite;
}

.slide5 {
  background: url(img/slide5.jpg) no-repeat center;
  animation: fade5 25s infinite;
}

@keyframes fade1 {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade2 {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade3 {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade4 {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade5 {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.bandeau-haut {
  display: flex;
  flex-direction: column;
}
.bandeau-haut h1 {
  border-bottom: 2px solid black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}
@media screen and (min-width: 900px) {
  .slider {
    min-width: 475px;
    flex: 1 0 475px;
    border-right: 2px solid black;
  }
  .bandeau-haut {
    flex-direction: row;
  }
  h1 {
    font-size: 2.5vw;
  }
  h2 {
    font-size: 2.5vw;
    margin-top: 1rem;
  }
}
.intro {
  padding: 20px;
}
a {
  color: black;
  text-decoration: underline;
}
.bandeau-infos,
.bandeau-social,
.bandeau-soutient {
  padding: 20px;
  border-bottom: 2px solid black;
}
.bandeau-soutient {
  border-bottom: none;
}
ul,
ol {
  font-size: 20px;
}
.bandeau-infos ul {
  list-style-type: none;
  padding-left: 0;
}
.bandeau-infos ul li {
  margin-bottom: 5px;
}
@media screen and (min-width: 900px) {
  ul,
  ol {
    font-size: 2vw;
  }
  .bandeau-infos ul li {
    font-size: 2.5vw;
  }
  .intro {
    padding: 20px 40px;
  }
  .bandeau-infos,
  .bandeau-social,
  .bandeau-soutient {
    padding: 20px 5%;
  }
  .bandeau-soutient p {
    font-size: 1.5vw;
  }
}
.bandeau-social ul,
.bandeau-soutient ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.bandeau-soutient ul {
  padding-top: 20px;
  justify-content: space-between;
}
section.bandeau-soutient li {
  max-width: calc(50% - 10px);
}
section.bandeau-soutient li img {
  max-width: 100%;
  height: auto;
}
.btn {
  display: inline-block;
  text-align: center;
  padding: 15px 25px;
  text-decoration: none;
  color: #fff;
  background-color: black;
  transition: all 0.3s ease;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.btn:hover {
  background-color: #333;
}

.newsletter-dialog {
  border: 0;
  padding: 0;
  max-width: min(92vw, 700px);
  width: min(92vw, 700px);
}

.newsletter-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.newsletter-dialog-content {
  padding: 20px;
  background: #fff;
}

.newsletter-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.newsletter-dialog-close {
  border: 1px solid black;
  background: white;
  color: black;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
}

.newsletter-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  min-height: 500px;
}
#newsletter-dialog-title {
  margin: 0;
}
marquee {
  border-bottom: 2px solid black;
  padding-top: 20px;
  padding-bottom: 20px;
  background: #ffff79;
}
@media screen and (min-width: 900px) {
  marquee {
    font-size: 1.5vw;
  }
}
