html {
  height: 100%;
  width: 100%;
}

body {
background : #141414;
background-attachment: fixed;
background-repeat: no-repeat;                                              
font-family: 'Lato', sans-serif;
font-size: 17px;
margin: 0%;
color: #EBEBEB;
}

/* MENU */

.menu {
  position: fixed;
  width: 100%;
  z-index: 2;
}

.menu ul {
  list-style-type: none;
  position: sticky;
  padding: 0;
  margin-top: 0%;
  overflow: hidden;
  background-color: black;
}
 
.menu li {
  float: left;
}

.menu li a {
  display: block;
  color: #EBEBEB;
  text-align: center;
  padding: 16px 16px ;
  text-decoration: none;
}

.menu li a:hover:not(.active0) {
  background-color: #335C81;
}


.active0 {
  background-color: #1B2845;
  border-color: #1B2845;
}

.menu li:last-child {
  float: inline-end;
  padding-right: 4%;
}

p {
  text-align: justify;
}

/* ACCUEIL */

.accueil {
  background-image: url(images/carte.webp);
  background-size: 100%;
  background-position-y: top;
  background-repeat: no-repeat;
  padding: 50px 0px ;
}

.intro {
  margin: 0% 5%;
  font-size: 20px;
  padding: 42px 10px;
}

#decouvrir {
  padding: 42px 0px;
}

.drapeau {
  margin: 62px 30px;
  padding: 70px 32px;
  display: block;
  text-align: center;
  position: relative;
}

.drapeau img {
  width: 50%;
  border-radius: 10px;
}

#fr img , #it  img {
  transform: scale(1,0.75);
}

#fr , #it {
  padding: 12px 32px;
}

#us img {
  transform: scale(1,0.95);
}

#us {
  padding: 61px 32px;
}

.texte {
  border-radius: 10px;
  display: block;
  margin: 30px;
  margin-right: 380px;
  padding: 50px 5px 80px 5px;
  top: 40px;
  left: 350px;
  opacity: 0;
  font-size: 20px;
  position: absolute;
  color: #EBEBEB;
  background-color: rgba(10, 10, 10, 0.8);
  text-align: center;
}

.texte p {
  padding: 20px;
}

.texte a {
  text-decoration: none;
  border-radius: 10px;
  color: #EBEBEB;
  background-color: black;
  padding: 10px;
}

.texte a:hover {
  background-color: #335C81;
}

.drapeau .texte:hover {
  opacity: 1;
}

/* NOUVELLE-ZELANDE */

.nz {
  background-image: url(images/gorges.webp);
  background-size: 100%;
  background-position-y: center;
  background-repeat: no-repeat;
  padding-top: 50px;
  padding-bottom: 50px;
}

/*ETATS-UNIS*/

.usa {
  background-image: url(images/yellowstone.webp);
  background-size: 100%;
  background-position-y: center;
  background-repeat: no-repeat;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* FRANCE */

.fr {
  background-image: url(images/louvre.webp);
  background-size: 100%;
  background-position-y: top;
  background-repeat: no-repeat;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* ITALIE */

.it {
  background-image: url(images/trevi.webp);
  background-size: 100%;
  background-position-y: bottom;
  background-repeat: no-repeat;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* COMPTE-RENDU */

.cr {
  background-image: url(images/fond.webp);
  background-size: 100%;
  background-position-y: center;
  background-repeat: no-repeat;
  padding-top: 50px;
  padding-bottom: 50px;
}

/*SOMMAIRE*/

.titre {
  margin-top: 70px;
  margin-bottom: 20px;
  padding-top:20px;
  padding-bottom:20px;
  margin-right: 35%;
  margin-left: 35%;
  font-family: Impact, sans-serif;
  font-size: 45px;
  color: #EBEBEB;
  text-align: center;
  background-color: #1B2845;
  border-radius: 10px;
}

.sommaire {
  padding: 32px;
}

.sommaire a {
  margin: auto;
  margin-top: 40px;
  margin-bottom: 30px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #EBEBEB;
  background-color: black;
  width: 20%;
  padding: 7px;
  border-radius: 10px;
  font-size: 25px;
}

.sommaire a:hover {
  background-color: #335C81;
}

/* INFOS */

.info {
  padding: 30px;
  margin: 30px;
  line-height: 2em;
  text-align: justify;
}

.info img {
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  border-radius: 10px;
  width: 98%;
}

h2 {
  font-family: Lato, sans-serif;
  font-size: 35px;
  text-align: center;
  letter-spacing: 1px;
}

.container {
  padding: 32px;
}

.row {
  display: flex;
  flex-direction: row;
}

.text {
  float: left;
  width: 40%;
  padding: 20px;
  background-color: #1B2845;
  border-radius: 10px;
  margin-top: 25px;
  margin-bottom: 35px;
}

.image {
  float: left;
  width: 60%;
  padding: 20px;
}

/* COMPTE-RENDU */

#idee , #code , #esthetique , #recherches {
  padding: 32px;
  margin: auto 15%;
  font-size: 20px;
  line-height: 1.5em;
}

#idee a , #code a , #esthetique a , #recherches a {
  text-decoration: none;
  color: #335C81;
}

#idee img:not(.croquis img) {
  width: 100%;
  border-radius: 10px;
  padding: 5px;
}

.croquis {
  display: flex;
  width: 100%;
  margin: auto;
}
.croquis img {
  width: 35%;
  border-radius: 10px;
  margin: auto;
}

nsi-xyz {
  line-height: 1em;
}

code {
  font-family: monospace;
  font-size: 18px;
}

.palette {
  width: 100%;
  border-radius: 10px;
  border: solid 5px black;
}

.impact {
  font-family: Impact;
  font-size: 20px;
}

.earth {
  width: 100%;
  margin: auto;
  text-align: center;
}