/*-- fonts --*/

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Light.woff") format("woff"),
  url("../fonts/Satoshi-LightItalic.woff") format("woff")
  ,url("../fonts/Satoshi-Regular.woff") format("woff")
  ,url("../fonts/Satoshi-Italic.woff") format("woff")
  ,url("../fonts/Satoshi-Medium.woff") format("woff")
  ,url("../fonts/Satoshi-MediumItalic.woff") format("woff")
  ,url("../fonts/Satoshi-Bold.woff") format("woff")
  ,url("../fonts/Satoshi-BoldItalic.woff") format("woff")
  ,url("../fonts/Satoshi-Black.woff") format("woff")
  ,url("../fonts/Satoshi-BlackItalic.woff") format("woff");
}

/*-----------------------------------------------*/

/* ====================================
// css variables
// ==================================== */

:root {

  --primary-color: #000D1F;
  --secondary-color: #DA1527;

}

/* ====================================
// reset rules
// ==================================== */

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

html {
  font-size: 20px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: "Satoshi";
  font-weight: 500;
  color: var(--primary-color);

  font-size: 1rem;
  line-height: 1.25;
}

p {
  margin: 0;
  padding: 0;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

@media all and (max-width: 820px) {
  a {
    color: var(--secondary-color);
    text-decoration: none;
  }
}

img,
video {
  max-inline-size: 100%;
  block-size: auto;
  vertical-align: middle;
}

/* ====================================
// base rules
// ==================================== */

/*---------- home page ----------*/

/* header */

.container {
  padding: 20px;
}

header {
  width: 100%;
  height: 15vh;
  position: relative;
  top: 0;
  left: 0;
}

nav {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  width: 120px;
}

.toggle {
  display: none;
}

.menu {
  width: 500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

ul, li, a {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

@media all and (max-width: 820px) {
  .toggle {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 20;
    color: var(--secondary-color);
  }

  .ouvrir {
    display: block;
  }

  .fermer {
    display: none;
  }

  .open .ouvrir {
    display: none;
  }

  .open .fermer {
    display: block;
  }

  .menu {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    flex-direction: column;
    justify-content: space-around;
    transform: translatex(-100%);
    z-index: 10;
  }

  .menu li a {
    font-size: 2rem;
  }

  .open .menu {
    transform: translateX(0);
  }

  .button-container {
    padding-top: 25px;
  }

}

.dropdown {
  display: none;
  position: absolute;
}

li:hover li {
  display: block;
}

a:hover {
  color: var(--secondary-color);
}

.toggle:hover {
  color: var(--secondary-color);
}

/* intro */

.intro {
  width: 100vw;
}

.intro-container {
  width: 100%;
  height: 100%;
  padding: 0;
  padding-bottom: 50px;
}

.intro-row {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: start;
}

/* selection 2023 */

.selection {
  padding-bottom: 25px;
}

.title {
  font-size: 3rem;
  text-transform: uppercase;
  padding-bottom: 25px;
  font-weight: 700;
}

.col-12 {
  padding: 20px;
}

.img-container {
  width: 100%;
  height: 650px;
}

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

/* text book */

.archives{
  padding-bottom: 25px;
}

h2 {
  font-size: 2.5rem;
  margin: 0px;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  margin: 0px;
  font-weight: 700;
}



/* slider */

.slider-container {
  width: 100%;
}

.carousel {
  height: 420px;
}

.carousel-item {
  width: 100%;
  height: 350px;
}


.carousel-item img, video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-indicators {
  display: flex;
  justify-content: space-between;
}

/* button */

.button-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-top: 25px;
  padding-bottom: 25px;
}