* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

@font-face {
  font-family: "Avenida LET";
  src: url(Font/avenida-regular.ttf);
}

@font-face {
  font-family: "Avenir Light";
  src: url(Font/Avenir\ Light.ttf);
}

/* Positionnement du bouton en haut à droite */
.lang-switch {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
  }

  .lang-button {
    background-color: #40b840;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    font-family: inherit;
    border-radius: 6px;
    transition: background-color 0.3s;
  }

  .lang-button:hover {
    background-color: #bbb;
  }

  [lang] {
    display: none;
  }

  [lang].active {
    display: block;
  }

body {
  font-family: "Avenir Light";
  background-size: 100% 100%;
  background-position: 0px 0px;
  background-image: linear-gradient(180deg, #922416FF 0%, #3B25ACFF 100%);
 
}

.titre-concept-art h1 {
  text-align: center;
}

h1 {
    color: #f371e8;
    font-family: "Avenida LET";
    font-size: 80px;
    padding: 4%;
    padding-left: 160px;
    text-shadow: #ee4ede 0px 0px 10px;
    padding-top: 10%;
    text-align: center;
}

h2 {
  color: #71bff3;
    font-family: "Avenida LET";
    font-size: 50px;
    padding-top: 10%;
    padding-bottom: 4%;
    text-align: center;
}

h3 {
  color: #d9f1b2;
  font-family: "Avenir Light";
  font-size: 20px;
  text-align: center;
}

ul {
  list-style: none;
}

a, .logo {
  color: rgb(218, 131, 230);
  text-decoration: none;
  font-family: "Avenida LET";
  font-size: 2.5em;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
}

.nav-container .logo {
  font-size: 2rem; 
  font-weight: bold;  
}


.nav--ul__one {
  margin: 0 auto;
  display: flex;
  gap: 6rem;
  font-size: 1.2rem;
}

.logo {
  font-size: 1em;
}

.column_escape, .column_palace, .column_sanctuary, .column_river, .column_concept, .column_river, .column_city, .column_city_3D{
    padding-top: 10%;
    padding-bottom: 15%;
    text-align: center;
    display: flex;
    flex-direction: row;
  }

.gallery_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
}

.gallery_container img {
  width: 50%;
  align-items: center;
  vertical-align: bottom;
  object-fit: cover;
  padding: 5%;
}

img {
  align-items: center;
  vertical-align: bottom;
  object-fit: cover;
}

.concept-intro {
    color:  #dd9e55;
    font-family: "Avenir Light";
    font-size: 1.5em;
    text-align: center;
    padding: 5%;
}

.concept-description {
    width: 40%;
    min-width: 280px;
    text-align: left;
    padding-right: 8%;
    font-size: 1rem;
    color:  #dd9e55;
    line-height: 1.6;
  }

  .concept-description h3 {
    margin-top: 0;
  }

  .concept-description-wrapper_river,  .concept-description-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 35%;
    min-width: 300px;
    padding: 2rem;
  }


.close {
    visibility: hidden;
}

footer {
  text-align: end;
  color: white;
  background-color: #3D9BE9;
  padding-right: 1%;
  font-family: "Avenir Light";
  font-size: .7em;
}


@media screen and (max-width: 479px) {

  @font-face {
    font-family: "Avenida LET";
    src: url(Font/avenida-regular.ttf);
  }

  @font-face {
    font-family: "Avenir Light";
    src: url(Font/Avenir\ Light.ttf);
  }

  html, body {
    width: 100%;
  }

  /* Positionnement du bouton en haut à droite */
.lang-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}

.lang-button {
  background-color: #56cc56;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  font-family: inherit;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.lang-button:hover {
  background-color: #bbb;
}

[lang] {
  display: none;
}

[lang].active {
  display: block;
}


  h1{
    color: #f371e8;
    font-family: "Avenida LET";
    font-size: 60px;
    padding: 4%;
    text-shadow: #ee4ede 0px 0px 10px;
    padding-top: 10%;
  }


  
h2 {
  color: #71bff3;
    font-family: "Avenida LET";
    font-size: 30px;
    padding-top: 10%;
    padding-bottom: 4%;
    text-align: center;
}

h3 {
  color: #d9f1b2;
  font-family: "Avenir Light";
  font-size: 20px;
  text-align: center;
}

ul {
  list-style: none;
}

  .nav-container .logo {
    font-size: 1.2rem;
    z-index: 6;
}

.nav-container {
    flex-direction: column;
    gap: 2rem;
}

.nav--ul__one {
    padding-top: 10%;
    flex-direction: column;
    gap: .6rem;
}

.nav-container {
    position: absolute;
    display: block;
    top: 0;
    left: -100%;
    bottom: 0;
    width: 100%;
    height: 35%;
    padding-top: 1rem;

    align-items: center;
    text-align: center;
    background-size: 100% 100%;
    background-position: 0px 0px;
    background-image: linear-gradient(90deg, rgb(109, 128, 236) 0%, #64f0aa 100%);
    color: white;

    transition: 0.15s ease-in-out;
}

    .nav-container.active {
      position: absolute;
      left: 0;
      z-index:6;
    }

    .close {
        visibility: visible;
      }

      .nav-container .close {
        position: absolute;
        top: 0;
        left: 0px;
        font-size: 36px;
      }

      .burger-icon span {
        display: block;
        width: 35px;
        height: 5px;
        background-color: rgb(255, 149, 88);
        margin: 6px 0;
        margin-left: 20px;
      }

      
  a {
    font-size: 1.5em;
  }

  body {
    justify-content: center;
    vertical-align: bottom;
    text-align: center;
  }

  .column_escape, .column_palace, .column_sanctuary, .column_river, .column_concept, .column_river, .column_city, .column_city_3D {
    flex-direction: column;
    align-items: center;
  }

  .titre-concept-art {
    margin-top: 10%;
    padding: 5%;
    font-size: 3em;
    text-align: center;
  }

  .concept-intro {
    color: #99db92;
    font-family: "Avenir Light";
    font-size: .4em;
    text-align: center;
}

.concept-description {
    text-align: center;
    padding-right: 8%;
    font-size: .9rem;
    color: #99db92;
    line-height: 1.6;
  }

  .concept-description-wrapper {
    justify-content: center;
    text-align: center;
    vertical-align: bottom;
  }

       .row {
          display: flex;
          flex-wrap: wrap; /* permet de passer en colonne sur petit écran */
          width: 100%;
          max-width: 100vw;
          box-sizing: border-box;
        }


      .gallery_container {
             width: 100%;    /* Ou un % fixe selon ta mise en page */
             margin: 0 auto; /* Centrer éventuellement */
      }

      .gallery_container img {
            width: 100%;      /* L'image prend toute la largeur du conteneur */
            display: block;
            object-fit: contain; /* Optionnel, éviter que l'image soit coupée */
      }

}


@media screen and (max-width: 820px) {

  @font-face {
    font-family: "Avenida LET";
    src: url(Font/avenida-regular.ttf);
  }

  @font-face {
    font-family: "Avenir Light";
    src: url(Font/Avenir\ Light.ttf);
  }

  html, body {
    width: 100%;
  }

  /* Positionnement du bouton en haut à droite */
.lang-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}

.lang-button {
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  font-family: inherit;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.lang-button:hover {
  background-color: #bbb;
}

[lang] {
  display: none;
}

[lang].active {
  display: block;
}


  h1{
    color: #f371e8;
    font-family: "Avenida LET";
    font-size: 60px;
    padding: 4%;
    text-shadow: #ee4ede 0px 0px 10px;
    padding-top: 10%;
  }


  
h2 {
  color: #71bff3;
    font-family: "Avenida LET";
    font-size: 30px;
    padding-top: 10%;
    padding-bottom: 4%;
    text-align: center;
}

h3 {
  color: #d9f1b2;
  font-family: "Avenir Light";
  font-size: 20px;
  text-align: center;
}

ul {
  list-style: none;
}

  .nav-container .logo {
    font-size: 1.2rem;
    z-index: 6;
}

.nav-container {
    flex-direction: column;
    gap: 2rem;
}

.nav--ul__one {
    padding-top: 10%;
    flex-direction: column;
    gap: .6rem;
}

.nav-container {
    position: absolute;
    display: block;
    top: 0;
    left: -100%;
    bottom: 0;
    width: 100%;
    height: 35%;
    padding-top: 1rem;

    align-items: center;
    text-align: center;
    background-size: 100% 100%;
    background-position: 0px 0px;
    background-image: linear-gradient(90deg, rgb(109, 128, 236) 0%, #64f0aa 100%);
    color: white;

    transition: 0.15s ease-in-out;
}

    .nav-container.active {
      position: absolute;
      left: 0;
      z-index:6;
    }

    .close {
        visibility: visible;
      }

      .nav-container .close {
        position: absolute;
        top: 0;
        left: 0px;
        font-size: 36px;
      }

      .burger-icon span {
        display: block;
        width: 35px;
        height: 5px;
        background-color: rgb(255, 149, 88);
        margin: 6px 0;
        margin-left: 20px;
      }

      
  a {
    font-size: 1.5em;
  }

  body {
    justify-content: center;
    vertical-align: bottom;
    text-align: center;
  }

  .titre-concept-art {
    margin-top: 10%;
    padding: 5%;
    font-size: 3em;
    text-align: center;
  }

  .concept-intro {
    color: #99db92;
    font-family: "Avenir Light";
    font-size: .4em;
    text-align: center;
}

.column_river, .column_concept, .column_river, .column_city, .column_city_3D {
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.concept-description {
    text-align: center;
    font-family: "Avenir Light";
    font-size: 1rem;
    color: #99db92;
  }

  .concept-description-wrapper {
    justify-content: center;
    text-align: center;
    vertical-align: bottom;
  }



  /*
  .column {
    width: 50%;
    padding: 1%;
  }

  .Luminous_Cave {
    padding-bottom: 15%;
  }

  .photo-hover { 
    margin-top: 5%;
    font-size: 20px;
  }
    */
}
.text-pop-up-top {
  -webkit-animation: text-pop-up-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: text-pop-up-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2024-7-5 11:21:18
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation text-pop-up-top
 * ----------------------------------------
 */
 @-webkit-keyframes text-pop-up-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-transform-origin: 30% 30%;
            transform-origin: 30% 30%;
    text-shadow: none;
  }
  100% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
    -webkit-transform-origin: 30% 30%;
            transform-origin: 30% 30%;
  }
}

@keyframes text-pop-up-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-transform-origin: 30% 30%;
            transform-origin: 30% 30%;
    text-shadow: none;
  }
  100% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
    -webkit-transform-origin: 30% 30%;
            transform-origin: 30% 30%;
  }
}
