@charset "UTF-8";
@font-face {
  font-family: 'Sentient-Regular';
  src: url('/fonts/Sentient-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Sentient-Bold';
  src: url('/fonts/Sentient-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'GeneralSans-Regular';
  src: url('/fonts/GeneralSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'GeneralSans-Bold';
  src: url('/fonts/GeneralSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'GeneralSans-Variable';
  src: url('../fonts/GeneralSans-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}

body {
  margin: 0 auto;
}

h1, h2 {
  font-family: 'GeneralSans-Bold';
}

p, a {
  font-family: 'GeneralSans-Regular';
}

footer {
  position: relative;
  bottom: 0;
  margin-top: 50px;
  width: 100%;
  height: 80px;
  background-color: lightblue;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

footer p {
  color: black;
  margin: 0;
  font-family: 'GeneralSans-Variable';
  font-weight: 500;
}

.navbar .menu-hamburger {
  display: none;
}

main {
  margin-top: 50px;
}

main h1 {
  text-align: center;
  color: #FBCE9E;
}

main .valid {
  text-align: center;
  color: green;
}

.gestion {
  width: 70vw;
  background-color: lightblue;
  border-radius: 10px;
  border: 5px solid black;
  margin: 0 auto;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gestion label {
  font-family: 'GeneralSans-Variable';
  font-weight: 500;
}

.gestion img {
  width: 100%;
  height: 200px;
  size: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.gestion input {
  width: 60%;
  height: 20px;
  border: 2px solid black;
  background-color: white;
  margin-top: 5px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.gestion select {
  width: 60%;
  height: 25px;
  border: 2px solid black;
  background-color: white;
  margin-top: 5px;
  margin-bottom: 10px;
  border-radius: 5px;
}

#photo {
  height: 20px;
  padding: 10px;
}

#envoyer {
  background-color: #FBCE9E;
  color: black;
  width: 50%;
  height: 50px;
  border: 2px solid black;
  margin-bottom: 10px;
  border-radius: 5px;
}

@keyframes apparition {
  from {
    height: 0;
  }
  to {
    height: 200px;
  }
}

@keyframes apparition_text {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.navbar {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background-color: lightblue;
}

.nav-links {
  display: none;
}

.nav-links.mobile-menu {
  background-color: lightblue;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  position: absolute;
  width: 100%;
  height: 200px;
  top: 80px;
  display: flex;
  justify-content: end;
  animation: 0.5s ease apparition;
}

.nav-links.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: end;
  list-style: none;
  margin-right: 20px;
  animation: 1s ease apparition_text;
}

.nav-links ul li {
  font-size: 1.2em;
  margin-top: 10px;
}

.nav-links ul li a {
  font-size: x-large;
  color: black;
  font-family: 'GeneralSans-Regular';
}

.navbar .nav-links ul li.active a {
  color: #F88F52;
  font-family: 'GeneralSans-Bold';
}

.nav-links.mobile-menu {
  display: block;
}

.navbar .menu-hamburger {
  display: block;
  width: 35px;
  margin-right: 15px;
}

.navbar a {
  color: black;
  text-decoration: none;
}

.navbar .logo img {
  width: 70px;
  margin-left: 15px;
}

#banniere {
  width: 100%;
  height: 92vh;
  background-size: cover;
  background-image: url(../images/paris.jpeg);
}

#villes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.ville {
  margin-top: 40px;
  width: 85vw;
  height: 300px;
  background-color: lightblue;
  border-radius: 20px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.ville img {
  width: 45%;
  size: cover;
  border-radius: 20px;
}

.ville .description {
  width: 45%;
  height: 250px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.ville .description h2, .ville .description p{
  margin-top: 10px;
  margin-bottom: 10px;
}

#alea {
  display: flex;
  justify-content: center;
}

#tirage {
  margin-top: 40px;
  padding-bottom: 40px;
  width: 80vw;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  border: 3px solid black;
  box-shadow: 4px 4px black;
  background-color: lightblue;
}

#tirage h2 {
  width: 90%;
}

#tirage span {
  width: 50%;
  height: 40px;
  background-color: beige;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 2px solid black;
  box-shadow: 4px 4px black;
}

#ville_tire {
  display: none;
  width: 80%;
  height: 400px;
  margin-top: 40px;
}

#ville_tire img {
  width: 100%;
  height: 200px;
  border-radius: 20px;
  border: 5px solid black;
  size: cover;
}

#ville_tire.tirer {
  display: block;
}

table {
  margin: 0 auto;
  margin-top: 50px;
  width: 80%;
  height: 500px;
  border: 2px solid black;
  border-radius: 20px;
  border-collapse: collapse;
  font-size: 10px;
  font-family: 'GeneralSans-Regular';
  overflow-x: scroll;
  display: block;
}

table td {
  padding: 20px;
  font-family: 'GeneralSans-Variable';
  font-weight: 500;
  font-size: 14px;
}

table td img{
  width: 25px;
}

table th {
  padding: 20px;
  font-family: 'GeneralSans-Variable';
  font-weight: 700;
  font-size: 18px;
}

/* Lignes impaires */
table tbody tr:nth-child(odd) {
  background-color: #F88F52;
}

table thead tr {
  background-color: lightblue;
}

.fleche_retour {
  width: 30px;
  margin-left: 30px;
}

.ajouter {
  display: block;
  background-color: #F88F52;
  border-radius: 20px;
  width: 200px;
  height: 40px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  text-decoration: none;
  color: black;
  font-family: 'GeneralSans-Variable';
  font-weight: 500;
}

#choix_table {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.bouton {
  display: inline-block;
  background-color: #F88F52;
  font-family: 'GeneralSans-Regular';
  border-radius: 20px;
  width: 150px;
  height: 40px;
  margin: 20px;
  text-align: center;
  padding-top: 20px;
  text-decoration: none;
  color: black;
}

.catalogue {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#liste {
  width: 400px;
  background-color: lightblue;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-radius: 10px;
  margin-top: 40px;
  border: 5px solid black;
}

#liste img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#liste h3 {
  font-family: 'GeneralSans-Bold';
  font-size: xx-large;
  margin: 10px;
}

#liste_description {
  width: 90%;
  display: flex;
  justify-content: center;
  padding: 10px;
}

#liste_description p {
  font-family: 'GeneralSans-Variable';
  font-weight: 600;
}

#liste_description div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 45%;
}

#desc_d {
  margin-left: 50px;
}






/*Version ordinateur*/

@media screen and (min-width: 576px) {
  .ville {
    width: 60vw;
    height: 500px;
  }

  table {
    width: 60%;
  }

  .gestion {
    width: 50vw;
  }

  #banniere {
    background-image: url(../images/tour_eiffel.jpg);
  }

  .nav-links {
    display: flex;
    align-items: center;
  }

  .nav-links ul {
    display: flex;
    align-items: end;
    list-style: none;
  }
  
  .nav-links ul li {
    margin-right: 30px;
  }
  
  .navbar .menu-hamburger {
    display: none;
  }
}