/* --- Reset CSS minimal --- */
html, body, div, span, p, a, img, footer, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

article, aside, footer, header, nav, section {
  display: block;
}

/* --- Body & html --- */
html {
  height: 100%;
  font-family: 'Roboto', sans-serif;
}

body {
  line-height: 2rem;
  background-color: #222327;
  color: hsla(0, 0%, 100%, .8);
  height: 100%;
}

/* --- Liens --- */
a {
  color: hsla(0,0%,100%,.8);
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  color: #609dd2;
}

/* --- Boutons généraux --- */
button {
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
}

/* --- NAVIGATION --- */
.topnav {
  box-shadow: 0 0 0.18em black;
  padding-top: 1.5%;
  margin-bottom: 3.5%;
  display: flex;
  justify-content: space-evenly;
  border: none;
  overflow: hidden;
  height: 3.5em;
  transition: .5s, background-color .01s linear;
}

.topnav a {
  color: hsla(0,0%,100%,.9);
  display: block;
  padding: 14px 16px;
  font-size: 16px;
}

#icon {
  display: none;
  width: 10%;
  color: #fefbf8;
  font-size: 1.7em;
}

#navbar_header {
  padding: 0;
}

#logo {
  position: relative;
  top: -20.6%;
  padding: 0;
}
#logo:hover {
  background-color: transparent;
}

/* --- Dropdown --- */
#dropdown {
  float: left;
  overflow: hidden;
}

#dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 10%;
  z-index: 1;
  height: 6.8125em;
  box-shadow: 0px -3.7px 0px 0px rgb(255 255 255);
}

#dropdown-content a {
  float: none;
  color: black;
  padding: 12px 14px;
  display: block;
  position: relative;
  top: -0.2em;
}
#dropdown-content a:hover {
  background-color: #ddd;
}
#dropdown:hover #dropdown-content {
  display: block;
}

.topnav a:hover,
#dropdown:hover .dropbtn {
  background-color: #609dd2;
}

nav button[id=theme-toggle] {
  color: rgb(252, 186, 0);
  font-size: 25px;
  cursor: pointer;
  transition: color ease 1s;
  position: relative;
}

/* --- NAV RESPONSIVE --- */
@media screen and (max-width: 600px) {
  .topnav {
    display: block;
    height: 3.5em;
    padding-top: 0;
  }

  .topnav a,
  #dropdown .dropbtn,
  nav button[id=theme-toggle] {
    display: none;
    margin-left: auto;
    font-size: 0.95em;
  }

  #icon {
    display: block;
  }

  .topnav #navbar_header {
    display: flex;
  }

  .topnav.responsiveheight1 {
    height: 30.3em;
  }
  .topnav.responsiveheight2 {
    height: 37.3em;
  }

  #dropdown:hover #dropdown-content {
    display: none;
  }

  .topnav.responsive a {
    float: none;
    display: block;
  }

  .topnav.responsive button[id=theme-toggle] {
    display: block;
    width: 100%;
    padding: 6px 16px;
    text-align: left;
  }

  .topnav.responsive #dropdown {
    float: none;
  }

  .topnav.responsive #dropdown-content {
    position: relative;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  }

  .topnav.responsive #dropdown .dropbtn {
    display: block;
    width: 100%;
  }

  #dropdown-content a {
    top: initial;
  }

  #logo {
    margin-left: 0;
    display: block;
    top: -0.7em;
  }
}

/* --- FOOTER / A PROPOS --- */
footer {
  text-align: justify;
  padding: 1.5%;
  box-shadow: 0 0 0.18em black;
  margin-top: auto;
}

#apropos {
  display: flex;
}

.texte_apropos {
  color: white;
}

.lien_apropos {
  color: rgb(252, 186, 0);
}

.apropos_titre,
#follow {
  color: #fefbf8;
}

@media screen and (max-width: 600px) {
  #apropos,
  .apropos_titre,
  .follow {
    flex-direction: column;
    gap: 1em;
  }
  footer {
    padding-bottom: 6%;
  }
}

/* --- Bouton retour haut --- */
#topbtn {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 1%;
  z-index: 99;
  border: none;
  color: darkgrey;
  cursor: pointer;
  padding: 0px;
  font-size: 25px;
  transition: opacity 1s;
  border-radius: 20px;
  visibility: hidden;
  pointer-events: none;
}
.fa-arrow-alt-circle-up:hover {
  color: white;
}
@media screen and (max-width: 600px) {
  #topbtn {
    font-size: 20px;
  }
}

p{
    font-size: 16px;
    line-height: 1.8rem;
}

li{font-size:16px;}

