:root{
  --background-color: #ebebeb;
  --font-family: Open Sans; /*system-ui*/
  --background-image: url(../assets/background_top.jpeg)
}

body {
  margin: 0;
  padding: 0;
  background: var(--background-color);
  /*font-family: var(--font-family);*/
}

/* Barre de navigation */
nav {
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  height: 100px;
  background-image: var(--background-image);
  background-position: top left;
  background-repeat: repeat;
  border-bottom: 3px solid #eb4224;
  border-top-width: 0;
  border-top-style: none;
  border-right-width: 0;
  border-right-style: none;
  border-left-width: 0;
  border-left-style: none;

  display: flex;
  justify-content: space-around;
  align-items: center;

  font-family: var(--font-family);
}

.titre{
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.titre span{
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.titre span a {
  color: #fff;
  text-decoration: none;
  line-height: 40px;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 700;
  font-style: normal;
}

.titre span p {
  margin: 0;
}

.titre img {
  width: 64px;
}

nav .menu-items{
  display: flex;
  gap: 100px;
  align-items: center;
  font-family: system-ui;
}

nav .menu-items ul{
  display: flex;
  gap: 20px;
  align-items: center;
  list-style: none;
}

nav .menu-items ul a{
  color: white;
  text-decoration: none;
  padding: 10px;
  /*border-radius: 6px;*/
  transition: all .5s;
}

nav .menu-items ul a:hover{
  background: #eb4224;
}

nav .active_tab {
  background-color: #e25050;
}

nav .open-mobile-menu{
  width: 30px;
  fill: white;
  display: none;
}

.mobile-menu{
  display: none;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 100px;
}

.mobile-menu .menu-items ul{
  display: flex;
  align-items: center;
  flex-direction: column;
  list-style: none;
  gap: 30px;
}

.mobile-menu .menu-items ul a {
  font-size: 30px;
  color: white;
}

.close-mobile-menu{
  position: fixed;
  color: white;
  width: 50px;
  height: 50px;
  top: 50px;
  right: 50px;
}

/* Style du main */
main {
  padding: 0px;
  margin-left: auto;
  margin-right: auto;
  width: 900px;
  font-family: system-ui;
}

/* Style du footer */
footer {
  background-image: var(--background-image);
  background-position: top left;
  background-repeat: repeat;
  border-top: 3px solid #eb4224;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  gap: 30px;
  font-family: var(--font-family);
}

footer svg{
  height: 30px;
  width: 30px;
}

/* Formatage du texte */
.rouge {
  color: rgb(178, 41, 16);
}

.gris {
  color: #777;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.underline {
  text-decoration: underline;
}


/* RESPONSIVE */

@media screen and (max-width: 1250px) {
  nav .open-mobile-menu{
    display: block;
  }

  nav .menu-items{
    display: none;
  }

  nav{
    height: fit-content;
    padding: 20px;
  }
}

@media screen and (max-width: 500px) {
  nav{
    flex-direction: column;
  }
}
