* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
 a {
    color: #D2D97B ;
    text-decoration: none;
  }
  
  body, html {
  height: 100%;
  width: 100%;
  background-color: #4A1710;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.mobile-wrapper {
  width: 100vw;
  max-width: 430px;
  min-height: calc(100vh - 100px); /* laisse de la place pour le footer */
  background: url('../Images/1.png') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  overflow: hidden;
}

.overlay {
  width: 100%;
  padding: 0px 0px 120px; /* top | sides | bottom */
  display: flex;
  flex-direction: column;
  align-items: center;

}

.lien_entrer{
    color: #410023;
    text-decoration: none;
  }
  
.logo {
  width: 30%;
  max-width: 160px;
  padding-bottom: 2.5vw ;
    padding-top: 2.5vw ;

}
  
  .title {
    font-family: "fagun", sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 60px;
    color: #3a0a26;
    margin: 12px 0 4px;
    filter: drop-shadow(1px 1px 1px #4A1710);
  }
  
  .subtitle {
    font-size: 25px;
    font-weight: 700;
    color: #3a0a26;
    margin-bottom: 135px;
    font-family: 'fagun', cursive;
    filter: drop-shadow(1px 1px 1px #4A1710);
  }
  
.cta {
  background-color: #fba857;
  color: #3a0a26;
  border: 6px solid #4A1710;
  border-radius: 35px;
  padding: 20px 24px; 
  font-weight: 900;
  font-size: 20px; 
  margin-top: auto;
  font-family: "fagun", sans-serif;
  margin-bottom: 40px;
  cursor: pointer;
  text-align: center;
}
  
  .cta:hover {
    background-color: #fdbb74;
  }
  
.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #4A1710;
  display: flex;
  flex-direction: row;         /* AFFICHAGE HORIZONTAL */
  justify-content: space-around;
  align-items: center;
  padding: 5px 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  z-index: 99;
  height: auto;
}

  .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 15px;
  color: #efef99;
  font-family: 'fagun', sans-serif;
  font-weight: 700;
  text-align: center;
}

  
  .icon-circle {
    background-color: #efef99;
    border: 5px solid #4d1a1a;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
  }
  
    .icon-circle-actuelle {
      background-color: #ff964f;
    border: 5px solid #4d1a1a;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;

  }
  .icon-circle img {
    width: 40px;
    height: 40px;
  }
  
  button {
    text-shadow: 1px 1px 1px #4A1710;
  }
  
  #loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom right, #fefae0, #faedcd, #d4a373);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#loader img {

  width: 100px;
  height:auto;
  animation: spin 1.25s linear forwards; 
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (max-width: 375px) {
  .title {
    font-size: 44px;
  }

  .subtitle {
    font-size: 18px;
    margin-bottom: 100px;
  }

  .cta {
    font-size: 16px;
    padding: 16px 20px;
  }

  .icon-circle, .icon-circle-actuelle {
    width: 60px;
    height: 60px;
  }

  .icon-circle img {
    width: 30px;
    height: 30px;
  }

  .nav-item {
    font-size: 12px;
  }

  .logo {
    width: 40%;
  }
}

@media screen and (max-width: 430px) {
  .subtitle {
    font-size: 20px;
  }

  .title {
    font-size: 52px;
  }

  .cta {
    font-size: 18px;
  }
}

@media screen and (min-width: 431px) and (max-width: 600px) {
  .mobile-wrapper {
    max-width: 600px;
    min-height: 90vh;
  }

  .title {
    font-size: 66px;
  }

  .subtitle {
    font-size: 28px;
  }

  .cta {
    font-size: 22px;
    padding: 22px 30px;
  }

  .icon-circle, .icon-circle-actuelle {
    width: 80px;
    height: 80px;
  }

  .icon-circle img {
    width: 50px;
    height: 50px;
  }

  .nav-item {
    font-size: 17px;
  }

  .logo {
    width: 28%;
  }
}

@media screen and (min-width: 601px) and (max-width: 768px) {
  .mobile-wrapper {
    max-width: 700px;
    min-height: 90vh;
  }

  .title {
    font-size: 72px;
  }

  .subtitle {
    font-size: 32px;
  }

  .cta {
    font-size: 24px;
    padding: 24px 36px;
  }

  .nav-item {
    font-size: 18px;
  }

  .icon-circle, .icon-circle-actuelle {
    width: 90px;
    height: 90px;
  }

  .icon-circle img {
    width: 55px;
    height: 55px;
  }

  .logo {
    width: 25%;
  }
}
