/* || General setup */
html {
  background-image: linear-gradient(white, #add8e6);
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Poppins", sans-serif;
  color: #2a2a2a;
  font-size: 16px;
}

li {
  list-style-type: none;
}

body {
  width: 70%;
  margin: 0 auto;
}

.language {
  float: right;
  margin-right: 5px;
}

.center {
  text-align: center;
}

.language img {
  max-width: 40px;
  height: auto;
}

.back {
  text-align: center;
  margin: 30px 0;
}

.drop-language {
  visibility: hidden;
  position: absolute;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 5px;
  overflow: visible;
  text-align: left;
  border: 1px solid grey;
  margin-top: 0px;
  z-index: 1;
  background: #daf2f9;
  opacity: 0;
  transition: opacity 700ms, visibility 700ms;
}

.language:hover .drop-language {
  visibility: visible;
  opacity: 1;
}

.wrapper {
  display: flex;
  flex-flow: column;
}

.wrapper > * {
  flex: 1 100%;
}

.equipement-icons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 5%;
}

.equipement-icons i {
  padding: 5px 10px;
  border: #add8e6 solid 2px;
  border-radius: 20%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.equipement-icons i:hover {
  transform: scale(1.1);
}

.equip-images {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* || Parking */

.parking {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.zone-rouge {
  box-shadow: 0 0 2.2em rgba(25, 0, 58, 0.15);
  border: solid 1px;
  border-radius: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgb(238, 57, 96);
  padding: 0 10px;
}

.zone-verte {
  box-shadow: 0 0 2.2em rgba(25, 0, 58, 0.15);
  border: solid 1px;
  border-radius: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgb(57, 209, 78);
  padding: 0 10px;
}

.zone-rose {
  box-shadow: 0 0 2.2em rgba(25, 0, 58, 0.15);
  border: solid 1px;
  border-radius: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgb(240, 135, 193);
  padding: 0 10px;
}

.zone-jaune {
  box-shadow: 0 0 2.2em rgba(25, 0, 58, 0.15);
  border: solid 1px;
  border-radius: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgb(224, 240, 135);
  padding: 0 10px;
}

.bold {
  font-weight: 600;
}
/* || typography */

a {
  color: #2a2a2a;
  text-decoration: none;
}

a:hover {
  color: grey;
}

p,
input {
  text-align: justify;
}

.header {
  display: flex;
  padding: 10px;
  margin-bottom: 10px;
  align-items: center;
}

h1 {
  font-size: 3rem;
  text-align: center;
  color: #add8e6;
  text-shadow: 2px 2px 10px black;
  flex: 2;
}

h2 {
  font-size: 2rem;
  text-align: center;
  width: 100%;
}

h3 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.5;
}

/* || navigation layout */

nav,
article {
  padding: 1%;
}

nav {
  margin-bottom: 10px;
  position: relative;
}

.nav i {
  margin-right: 5px;
}

nav > ul {
  padding: 0;
  display: flex;
  margin: auto;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 10px 50px;
}

nav .search img {
  max-width: 100%;
  height: auto;
}

.drop-form {
  visibility: hidden;
  position: absolute;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 5px;
  margin-right: 5%;
  right: -10px;
  overflow: visible;
  text-align: left;
  transition: opacity 700ms, visibility 700ms;
  background: #daf2f9;
  border: 1px solid grey;
  opacity: 0;
}

input[type="search"] {
  width: 300px;
}

.dropdown:hover .drop-form {
  visibility: visible;
  opacity: 1;
}

.drop-menu li {
  margin-top: 10px;
}

.drop-menu li a:hover {
  padding-left: 10px;
  border-left: 2px solid rgb(59, 177, 55);
  transition: all 0.3s ease;
}

input {
  font-size: 1rem;
  height: 32px;
  text-align: center;
}

input[type="submit"] {
  flex: 1;
  margin-left: 1rem;
  background: white;
  border: 1px solid grey;
  border-radius: 1px;
  color: black;
}

/* || main layout */

main {
  display: flex;
}

.header img {
  max-width: 100%;
  height: auto;
}

article {
  flex: 1;
}

footer {
  text-align: center;
  font-size: 0.75rem;
  margin-top: 10px;
}

.main img {
  max-width: 100%;
  height: auto;
}

/* Mobile Layout */

@media all and (max-width: 820px) {
  .nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    gap: 50px;
    order: 1;
    padding: 2%;
    align-items: center;
  }

  .main {
    flex: 5;
    order: 2;
    margin-right: 5%;
  }
  .wrapper {
    flex-direction: row;
  }

  body {
    width: 100%;
  }

  .mobile-header {
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
    align-items: center;
    margin-top: 5%;
  }

  .mobile-header img {
    max-width: 100%;
  }

  .row {
    gap: 0px;
  }

  .drop-language {
    right: 10px;
  }

  .equip-images img {
    max-width: 350px;
    height: auto;
    width: auto;
  }
}

@media all and (min-width: 821px) {
  .mobile-nav {
    display: none;
  }

  .mobile-header {
    display: none;
  }
}
