@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  background: linear-gradient(to bottom, #e2e2e2, rgb(167, 179, 149));
}

html, body {
  height: 100%;
}

.content {
  height: 100vh;
  position: relative;
}

.page {
  display: none;
  position: absolute;
    width: 100vw;   /* Ajouté pour éviter le débordement horizontal */
  height: 100vh;  /* Ajouté pour éviter le débordement vertical */      
    max-width: 100vw;  /* Ajouté pour éviter le débordement horizontal */
  max-height: 93vh; /* Ajouté pour éviter le débordement vertical */
  top: 0;
  left: 0;
  padding: 0;
  box-sizing: border-box;
    /* Ajoutez ces lignes : */
    overflow-y: auto;  /* Permet un défilement vertical si nécessaire */
    overflow-x: hidden; /* Évite les scrollbars horizontales inesthétiques */
}

.page.active {
  display: block;
  animation: turnPage 0.5s ease forwards;
}

@keyframes turnPage {
  from {
      transform: rotateY(-90deg);
      opacity: 0;
  }
  to {
      transform: rotateY(0deg);
      opacity: 1;
  }
}

.navbar-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 1050;
}

.navbar-bottom .nav-item {
  flex: 0 0 auto;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  text-align: center;
  flex-grow: 1;
  transition: transform 0.3s;
}

.navbar-bottom .nav-item.active {
  transform: scale(1.2);
  font-weight: bold;
}



.card {
  width: 100vw;
  height: auto;
  min-height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;

}

.card-header {
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.card-header h2 {
  font-size: 1.8rem;
  color: #333;
  margin: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  flex-grow: 1;
}

.card-body ul {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.card-body ul li {
  padding: 5px 0;
  font-size: 1.5rem;
height: 20vh;
  border-bottom: 1px dashed #ccc;
  margin-bottom: 5px;
  position: relative;
  text-align: left;
}

.card-body ul li .price {
  float: right;
  font-weight: bold;
  color: #A7C957;
    font-size: 1.5rem;
    margin-left: 10px;
    margin-top: auto;
}

#enfant .card-body ul li{
    padding: auto;
    height: 10vh !important;

}