@import url(/css/main.css);

.home {
  width: 100%;
  height: 100vh;
  position: fixed; 
  background-image: url(/images/batiment/batiment.rot.-1.5deg.jpg); /* Recuperation de l'image originale du projet */
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.container-fluid {
  top: 4rem;
}

.footer {
  /* height: 9vh; */
  height: 2.2rem;
  bottom: 0;
  position: fixed;
  width: 100%;
  background-color: #addae0;
  z-index: 98;
}

nav li:nth-of-type(1) {
  background-color: rgba(173, 218, 224, 0.9);
}

nav li:nth-of-type(2) {
  background-color: rgba(222, 167, 209, 0.9);
}

nav li:nth-of-type(3) {
  background-color: rgba(209, 222, 167, 0.9);
}

nav li:nth-of-type(4) {
  background-color: hsla(26, 95%, 83%, 0.9);
}

nav li:nth-of-type(5) {
  background-color: hsla(118, 19%, 66%, 0.9);
}

nav li:nth-of-type(6) {
  background-color: hsla(197, 18%, 20%, 0.9);
}


/* Gestion des Photos de la MAM dans where.html.twig */

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 33%;
  max-width: 33%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
