/* Import des fonts */
@font-face {
  font-family: 'ABC Diatype Semi Mono';
  src: url('fonts/ABCDiatypeSemi-Mono-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Diatype Semi Mono';
  src: url('fonts/ABCDiatypeSemi-Mono-RegularItalic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* Styles généraux */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'ABC Diatype Semi Mono', 'Courier New', monospace;
  justify-content: space-around;
}

/* Styles pour le header et le logo */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  height: 120px;
  flex-shrink: 0;
}

.logo {
  text-align: center;
}

.logo img {
  max-width: 300px;
  height: auto;
}

.tagline {
  text-align: center;
  margin: 0px 0 0 0;
  margin-top: -5px;
  font-size: 18px;
  color: #333;
}

/* Main prend toute la hauteur restante */
main {
  display: flex;
  justify-content: center;
  align-items: center;
}

a {
    color: #000;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
    
/* Footer fixe */
footer {
  height: 120px;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0px;
}

footer p {
  text-align: center;
  margin: 0;
}

.footer-logo {
  max-height: 50px;
  width: auto;
  margin-bottom: -5px;
}

.monogramme {
  position: absolute;
  right: 2em;
  bottom: 2em;
}

.monogramme img {
  max-height: 60px;
  width: auto;
}

/* Styles pour le slider vertical */
.slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.slider {
  position: relative;
  width: 300px;
  height: 470px;
    overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Media query pour mobile */
@media (max-width: 768px) {
  .slider {
    width: 200px;
    height: 313px;
  }
  .monogramme {
    right: .75em;
    bottom: .75em;
  }
}