* {
  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);
}


header {
  background: linear-gradient(to right, #FDCC89, #3D9BE9);
  color: #BEFFC5;
  padding: .5em 0;
}

body {
  font-family: "Avenir Light";
}

body.photo-hover {
  color: yellow;
}

.concept-intro {
  display: none;
}

.concept-intro.active {
  color: rgb(80, 14, 9);
  font-family: "Avenir Light";
  display: block;
  text-align: center;
  max-width: 800px; /* optionnel, pour limiter la largeur du texte */
  margin: 1em auto; /* centre et espace au dessus et en dessous */
}

.lang-switch {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
  }

  .lang-button {
    background-color: #e9877a;
    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;
  }
  
nav a {
    color: #BEFFC5;
    /* margin-right: 120px;
    background-color: #3D9BE9;  */
}

a {
    font-family: "Avenida LET";
    text-decoration: none;
    color:white;
  }

.titre-magazine {
    color: rgb(228, 195, 106);
    font-family: "Avenida LET";
    font-size: 80px;
    padding: 4%;
    text-shadow: rgb(236, 208, 155) 0px 0px 15px;
    text-align: center;
    margin: 0 auto;
}

ul {
  list-style: none;
}

a, .logo {
  color: #3D9BE9;
  font-family: "Avenida LET";
  font-size: 2em;
}

.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;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
}

.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%;
  }
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
  }
  
  /* Create four equal columns that sits next to each other */
.column {
    width: 25%;
    padding: 2%;
  }
  
.column img {
    margin-top: 20px;
    vertical-align: middle;
  }

.row:after {
    content: "";
    display: table;
    clear: both;
  }

body {
  background-size: 100% 100%;
  background-position: 0px 0px;
  background-image: linear-gradient(355deg, rgb(44, 109, 230) 0%, rgb(42, 148, 235) 100%);
}

.photo-hover {
  color: #ffeafb;
}

.close {
  visibility: hidden;
}

footer {
  text-align: end;
  color: rgb(6, 7, 58);
  background-color: #dfa437;
  padding-right: 1%;
  font-family: "Avenir Light";
}

@media screen and (max-width: 844px) {

  @font-face {
    font-family: "Avenida LET";
    src: url(Font/avenida-regular.ttf);
  }

  @font-face {
    font-family: "Avenir Light";
    src: url(Font/Avenir\ Light.ttf);
  }

    .titre-magazine {
      font-size: 3em; 
    text-align: center;   
    margin: 0 auto;
    padding-top: 30%;
  }


.concept-intro.active {
  color: rgb(80, 14, 9);
  font-family: "Avenir Light";
  font-size: 1.2em;
  display: block;
  text-align: center;
  max-width: 90%; 
  margin: 0 auto; 
}

.lang-switch {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
  }

  .lang-button {
    background-color: #e9877a;
    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;
  }

  .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(132, 218, 244) 0%, #e9aa57 100%);

    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;
    text-decoration: none;
  }
  
  .column {
    width: 100%;
    padding: 2%;
  }
    

footer {
  text-align: end;
  color: white;
  background-color: #3D9BE9;
  padding-right: 1%;
  font-family: "Avenir Light";
}

}

@media screen and (max-width: 1100px) {

      .titre-magazine {
      font-size: 4em; 
    text-align: center;   
    margin: 0 auto;
  }

.column {
  width: 50%;
  padding: 2%;
}

}

@media screen and (min-width: 600px) and (max-width: 1023px) {

       .titre-magazine {
      font-size: 5em; 
    text-align: center;   
    margin: 0 auto;
  }

  .column {
    width: 50%;
  }
}


/*

body {
    background-size: 100% 100%;
    background-position: 0px 0px;
    background-image: linear-gradient(180deg, #FED4FF 0%, #354FA1 100%);
    }


.lien-conteneur-photo {
    position: relative;
  }
  
.photo-hover {
    position: absolute;
    display: grid;
    grid-template-columns: 100% 100%;
    width: 100%;
  height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: rgb(189, 83, 199);
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
  }
  
  .lien-conteneur-photo:hover .photo-hover {
    display: flex;
  }
  
*/