@font-face {
    font-family: 'anonymous_proregular';
    src: url('webfont/anonymouspro-regular-webfont.woff2') format('woff2'),
         url('webfont/anonymouspro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'anonymous_probold';
    src: url('anonymouspro-bold-webfont.woff2') format('woff2'),
         url('anonymouspro-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
  font:1.063em anonymous_proregular;
  cursor:crosshair;
  background:black;
  color: white;
  transition: 1s;
}

/* 

hr {
  width: 92%;
  border:0.2px solid;
  margin: -1vh 8% -1vh;
}

.separe {
    margin: 5vh 0% -5vh;
}

 */

.container_gallery {
  position: fixed;
	width: 100%;
	height: 100vh;
	display: inline-block;
  overflow: auto;
  justify-content: center;

}

.gallery {
  position: relative;
  display: grid;
  grid-auto-flow: row;
  gap: 10vh;
  height: auto;
  width: 70%;
  margin-bottom:10vh;
  transform: translate(-50%,0%);
  left: 55%;
  scroll-behavior: smooth;

}

.gallery img {
  width: 100%;
  object-fit: contain;
  display: block;
  max-height: 85vh;
  scroll-behavior: smooth;
  padding-top: 10.5vh;
}

.menu {
	width: 15vw;
	height: auto;
	display: block;
	min-width: 200px;
  position: fixed;
  padding-left: 2vw;
}


.title {
   position: relative;
   width: 100%;
   min-height: 8vh;
   font-size: max(1.2vw,19px);
   padding-top: 2vh;
}

.title a{
  text-decoration: none;
  color: white;
}

.navigation {
	position: relative;
	width: 100%;
	height: auto;
  max-height: 85vh;
  overflow: auto;
  font-size: max(1.2vw,17px);

}

/* Vanish pas compris rajouté par papa*/

.level {
  text-decoration: none;
  color:white;
}

.level a{
  display: none;
  

}

.level:hover {
  color:#8A2BE2;
}

.year27, .year26, .year25, .year24, .year23, .year22, 
.year21 {

  margin-bottom: 1vh;


}

.contactlink {

  margin-top: 3.5vh;
}

.year27 {
  color:grey;
}

.year26 {
  color:grey;
}



.contactlink:hover,.year25:hover,.year24:hover,.year23:hover,.year22:hover,.year21:hover {
  color:#8A2BE2;
}


.imgFile {
 height: 2vh;
 position: relative;
}

.submenu a {
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: white;
  color: white;
  line-height: 0px;
  text-decoration: none;
}

/* hover behaviour for links inside .submenu */
.submenu a:hover {
  color: #8A2BE2;
}

.submenu a:focus {
  color: #8A2BE2;
}

.active {color:#8A2BE2 !important;}




/* this is the initial state of all submenus.
  we set it to max-height: 0, and hide the overflowed content.
*/
.submenu {
  -webkit-transition: all 0.5s ease-out;
  display: none;
  height: auto;
}

ul {
	list-style-type: none;
}


.contact {
  position: fixed;
  display: none;
  flex-direction: row;
  height: 75vh;
  width: 70%;
  margin-top: 10vh;
  margin-bottom:10vh;
  transform: translate(-50%,0%);
  left: 51%;


}

.contact img{
  
  height: 75vh;
  flex:1;

}

.txt_contact {
  max-height: 50vh;
  flex:2;
  padding-left: 40px;

}

.txt_contact a {
  color: white;
}

.burger {
  display: none;
}

.header-nav {
  display: none;
}

/* Responsive smartphone */

@media screen and (max-width:821px)

 {
.year24 {
	margin-top: 36vh;
}
  
 
 /* burger menu */ 

 
.navigation {
  display: none;
  text-align: center;
  font-size: 19px;

}

.imgFile {
  height: 2.3vh;
}


.navigation.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.97);
  z-index: 10;
  opacity: 1;
  -webkit-transition: opacity 0.6s linear;
  transition: opacity 0.6s linear;
  max-height: 100%;
}

.navigation.active .navigation__inner {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  align-content: center;
  height: 100%;
  overflow: auto;
}


nav.active ul {
  width: 100%;
  text-align: center;
  padding: 0;
  overflow: hidden;
  display: block;
}

nav.active ul li {
  padding: 10px 0;
}

nav ul {
  padding: 8px 0 0 0;
  display: flex;
}

nav ul li {
  padding: 0 0 0 13px;
  list-style: none;
}

nav ul li a {
  display: inline-block;
  font-size: 14px;
  line-height: 17px;
  color: white;
  padding: 5px 8px;
  position: relative;
  text-decoration: none;
}


/* icone burger div */
.device-menu {
  position: fixed;
  padding-top: 2vh;
  right: 10px;
  width: 55px;
  height: 50px;
  z-index: 11;
  width: 45px;
  height: 40px;
  display: block;
}

/* icone burger div dans la div */

.device-menu .device-menu__inner {
  width: 24px;
  height: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  
}

/*lignes menu burger*/
.device-menu span {
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  background-color: white;
  top: 5px;
  left: 0;
  /*     -webkit-transform: rotate(45deg);
  transform: rotate(45deg); */
}

.device-menu span:nth-child(1) {
  top: 0;
  -webkit-transition: rotate, 0.3s;
  transition: rotate, 0.3s;
}

.device-menu span:nth-child(2) {
  top: 50%;
  /*     -webkit-transform: translate(0, -50%); */
  /*     transform: translate(0, -50%); */
}

/* .device-menu.open span:nth-child(2) {
opacity: 0;
} */

.device-menu span:nth-child(3) {
  top: 100%;
  -webkit-transition: rotate, 0.3s;
  transition: rotate, 0.3s;
}

.device-menu.open span:nth-child(1) {
  top: 10px;
  right: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.device-menu.open span:nth-child(2) {
  opacity: 0;
}

.device-menu.open span:nth-child(3) {
  top: 10px;
  right: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.title {
   position: relative;
   width: 100%;
   min-height: 9vh;
   font-size: max(1.2vw,22px);
   padding-top: 2vh;
   z-index: 11;
}

.contact {

  overflow-y: scroll;
  overflow-x: hidden;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  width: 90%;
  left: 50.5%;  
}


 .contact img{
  object-fit: cover;
  height: 54vh;
}



.txt_contact{
  padding-left: 2vw;
  padding-top: 2vh;
  overflow: visible;

}

.gallery {
  position: relative;
  display: grid;
  grid-auto-flow: row;
  gap: 0vh;
  height: auto;
  width: 80%;
  margin-bottom:10vh;
  transform: translate(-50%,0%);
  left: 42.9%;
  top: 2vh;
}

.container_gallery {

 width: 112vw;
 

}

.year27, .year26, .year25, .year24, .year23, .year22, .year21 {
  margin-bottom: 1vh;

}


/* Filet qui sépare les années
.separe {
    margin: 4vh 0% -4vh;
}

hr {
  width: 88%;
  border: 0.2px solid;
  margin: -1vh 12% -1vh;
}
*/

}

