@font-face {
    font-family: "Nexa";
    src: url("../font/Nexa-ExtraLight.ttf");
}

body {
  margin: 0;
  font-family: "Nexa";
}

header {
  height: 80px;
  padding-left: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header, nav {
  background-color: #6cd4b2;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: bold;
  color: white;
}

nav {
  display: flex;
  justify-content: space-around;
}

nav a {
  text-decoration: none;
  color: white;
}

#logo-header {
  width: 300px;
}

#logo-footer {
  width: 100px;
}

.banniere {
  color: white;
  height: 360px;
  padding: 50px;
  background-repeat: no-repeat;
  background-size: cover;
  font-weight: bold;
}

/*INDEX*/
#banniere-accueil {
  background-image: url('../assets/imgs/banner4.png');
  display: flex;
  flex-direction: column;
}

#banniere-accueil p {
  margin: 0;
  width:450px;
  font-size: 25px;
  padding-top: 80px;
  padding-bottom: 50px;
}

#banniere-accueil a {
  margin: 10px;
}

.button {
  color: white;
  text-decoration: none;
  padding: 15px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
}

.reserver {
  background-color: #6cd4b2;
}

.proposer {
  outline: solid white 5px;
  outline-offset: -5px;
}

.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 100px;
margin-bottom: 200px;
}

.block-accueil {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 100%;

}

.block {
  margin: 30px;
  width: 420px;
  border-radius: 3%;
  background-color: #F6F6F6;
  padding: 15px;
  color: #505762;
}

.picto-accueil {
  color: #505762;
  width: 180px;
}

footer {
  position: fixed;
  bottom:0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  height: 55px;
  background-color: #505762;
  color: white;
  width: 100%;
}


footer ul {
  list-style-type: none;
}

/*Trajet*/
#banniere-trajets {
  background-image: url('../assets/imgs/banner2-crop.png');
  display: flex;
  flex-direction: column;
}
#banniere-trajets div {
  display: flex;
}

#banniere-trajets h1 {
  margin-top: 180px;
}

#banniere-trajets a {
  margin: 10px;
}

.button-trajet {
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 30px;
  margin-right: 20px;
  text-align: right;
  margin-left: 310px;
  font-weight: bold;
}

.trajet {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

/*Parking*/

/*Contact*/
form {
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-weight: bold;
  font-size: 20px;
  color: #505762;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.10);
  background-color: white;
}

input, textarea, select {
  background-color: #f6f6f6;
  border: solid 2px #505762;
  text-indent: 20px;
}

input, select {
  border-radius: 30px;
  line-height: 50px;
}

input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator{
  margin-right: 20px;
}

select {
  height: 50px;
  margin-bottom: 50px;
}

textarea {
  border-radius: 7px;
  height: 100px;
}

.label-radio {
  text-align: center;
}

.label {
  margin-top: 20px;
}

#banniere-contact {
  background-image: url('../assets/imgs/banner5.png');
}

.envoyer {
  border: none;
}

.banniere-form h1, #banniere-parkings h1 {
  margin-top: 280px;
}

/*Connexion*/
#body-connexion {
  background: url('../assets/imgs/banner.jpg') no-repeat center fixed;
  background-size:cover;
}

#body-connexion h1 {
  color: white;
  margin-top: 150px;
  margin-right: 280px;
  text-align: center;
}

#container-connexion {
  margin-top: 30px;
}

/*Inscription*/
#banniere-inscription {
  background-image: url('../assets/imgs/banner6.png');
}

/*Profil*/
#container-profil {
  color: #505762;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 200px;
}

.block-button {
  margin: 20px;
}

#container-profil .block-button a {
  margin: 10px;
}

.desinscription {
  outline: solid #505762 5px;
  outline-offset: -5px;
  color: #505762
}

.reservation {
  margin-left: 280px;
}

#photo-profil {
  width: 350px;
  border-radius: 50%;
}

/*Modif profil*/
.banniere-modifprofil h1 {
  text-align: center;
  margin-right: 100px;
}

/*formrecherche*/
#banniere-recherche {
  background-image: url('../assets/imgs/banner2-crop.png');
}

#form-recherche {
  text-align: center;
}

#form-recherche .label {
  text-align: left;
}

.flag {
 width: 50px;
}

/*Parkings*/
#banniere-parkings {
  background-image: url('../assets/imgs/banner3.png');
}

/*Parking*/
#maps {
  width: 420px;
  height: 420px;
  margin-top: 30px;
  border-radius: 5px;
}

.parkings {
  font-size: 25px;
  font-weight: bold;
}


/*Styles*/
.erreur {
  text-align:center;
  font-size:16px;
}

.highlight{
  background-color:#6cd4b2;
}

.bold {
  font-weight: bold;
}

.mentions {
  color: white;
}

/*------------------------------------*\
$Version Mobile (portrait)
\*------------------------------------*/
@media screen and (max-width: 1024px) {
  header {
    display: flex;
    justify-content: center;
  }

  nav {
    padding: 20px;
      display: grid;
      grid-template-columns: 100%;
      grid-template-rows: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
    }

    nav * {
      margin-top: 20px;
    }

    #banniere-accueil {
      background-image: url('../assets/imgs/banner4-mobile.png');
    }

    #banniere-trajets {
      background-image: url('../assets/imgs/banner2.jpg');
    }

    #banniere-accueil p {
      padding-top: 80px;
      padding-bottom: 60px;
      font-size: 25px;
    }

    #banniere-contact {
      background-image: url('../assets/imgs/banner5-mobile.jpg');
    }

    #banniere-inscription {
      background-image: url('../assets/imgs/banner6-mobile.jpg');
    }

    #banniere-recherche {
      background-image: url('../assets/imgs/banner2.jpg');
    }

    #banniere-parkings {
      background-image: url('../assets/imgs/banner3-mobile.jpg');
    }
}

@media screen and (min-width: 1024px) {
.banniere-form h1 {
  text-align: center;
  margin-right: 300px;
}

.banniere-modifprofil h1 {
  margin-right: 80px;
}

#banniere-recherche h1 {
  margin-left: 280px;
}

}
