*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  scroll-behavior: smooth;
}
@font-face {
 font-family: "Poppins Regular";
 src: url("./../fonts/Poppins-Regular.ttf");
 font-display: swap;
}
@font-face {
 font-family: "Dyslexic";
 src: url("./../fonts/OpenDyslexic-Regular.otf");
 font-display: swap;
}
@font-face {
 font-family: "Franklin Gothic Heavy";
 src: url("./../fonts/franklin-gothic-heavy.ttf");
 font-display: swap;
}
@font-face {
 font-family: "Wendelin";
 src: url("./../fonts/Wendelin.otf");
 font-display: swap;
}
html::-webkit-scrollbar
{
  width: 0 !important;
}
section
{
  background-color: #0A0A0A;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100vh;
  font-family: 'Franklin Gothic Heavy';
}
/*=======================Home=======================*/
#home
{
	position: relative;
	background-color: #0A0A0A;
}
.title
{
	font-size:7rem;
	position:absolute; 
	top: 40vh; 
	left: 27vw;
	color: transparent;
	-webkit-text-stroke: 3px white;
  transition: 0.5s;
  font-family: 'Franklin Gothic Heavy';
}
.title2
{
	font-size:4rem;
	position:absolute; 
	top: 50vh; 
	left: 43vw;
	color: white;
}
.click
{
	font-size: 1rem;
	position:absolute; 
	top: 95vh; 
	left: 45vw; 
	color: white;
  font-family: 'Poppins Regular';
}
.downsizing
{
  font-size:3rem;
  -webkit-text-stroke: 1px white;
  transition: 10s;
  position: fixed;
  top: 47%;
  left: 36%;
}
.disappear
{
  transition: 0.5s;
  opacity: 0;
}
/*FR-EN-Dysléxie*/
.lg
{	
	color: white;
	font-size: 1rem;
	text-decoration: none;
  cursor: pointer;
}
.lg1
{	position: absolute;
	top: 20px;
	left: 30px;
}
.lg2
{	position: absolute;
	top: 20px;
	left: 60px;
}
.lg3
{	position: absolute;
	top: 20px;
	left: 90px;
}
/*============================Menu==========================*/
/* MENU STYLES */
.menu_list
{
  font-family: 'Franklin Gothic Heavy';
}
.menu-wrap {
  position: fixed;
  top: 5px;
  right: 100px;
  z-index: 2;
}

.menu-wrap .toggler {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 0;
}

.menu-wrap .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 60px;
  height: 60px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Line */
.menu-wrap .hamburger > div {
  position: relative;
  flex: none;
  width: 100%;
  height: 2px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/* Hamburger Lines - Top & Bottom */
.menu-wrap .hamburger > div::before,
.menu-wrap .hamburger > div::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: -10px;
  width: 100%;
  height: 2px;
  background: inherit;
}

/* Moves Line Down */
.menu-wrap .hamburger > div::after {
  top: 10px;
}

/* Toggler Animation */
.menu-wrap .toggler:checked + .hamburger > div {
  transform: rotate(135deg);
}

/* Turns Lines Into X */
.menu-wrap .toggler:checked + .hamburger > div:before,
.menu-wrap .toggler:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}

/* Rotate On Hover When Checked */
.menu-wrap .toggler:checked:hover + .hamburger > div {
  transform: rotate(225deg);
}

/* Show Menu */
.menu-wrap .toggler:checked ~ .menu {
  visibility: visible;
}

.menu-wrap .toggler:checked ~ .menu > div {
  transform: scale(1);
  transition-duration: 0.75s;
}

.menu-wrap .toggler:checked ~ .menu > div > div {
  opacity: 1;
  transition:  opacity 0.4s ease 0.4s;
}

.menu-wrap .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-wrap .menu > div {
  background-color: rgba(15, 15, 15 , 1);
  border-radius: 50%;
  width: 200vw;
  height: 200vw;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all 0.4s ease;
}

.menu-wrap .menu > div > div {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-wrap .menu > div > div > ul > li {
  list-style: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 1rem;
}

.menu-wrap .menu > div > div > ul > li > a {
  color: transparent;
  text-decoration: none;
  transition: color 0.4s ease;
  -webkit-text-stroke: 0.7px white;
  font-size: 3rem;
}
.menu-wrap .menu > div > div > ul > li > a:hover
{
	color: white;
}

/*=======================à propos=======================*/
.part
{
	font-size:6.7rem;
	position:absolute; 
	top: 45vh;
  left: -5vw;  
	color: transparent;
	transform: rotate(-90deg);
	-webkit-text-stroke: 3px white;
  font-family: 'Franklin Gothic Heavy';
}
.about_section
{
  display: flex;
  justify-content: center;
  align-items: center;
}
.about_img
{
  padding-left: 350px;
}
.CGR
{
  height: 42vh;
  width: auto;
  filter: grayscale(100%);
}
.CGR:hover
{
  filter: grayscale(0%);
}
.bio
{
  font-size: 1.2rem;
  width: 75%;
  color: white;
  font-family: 'Poppins Regular';
  text-align: justify;
  line-height: 32px;
  margin: 30px -100px 0 0;
}
.logo_hufflepuff
{
  width: 1.3vw; 
  height: auto;
}
.CV
{
  color: white;
  width: 200px;
  text-decoration: none;
  border: 2px solid rgb(255, 255, 255);
  padding: 10px 23px;
  margin-top: 20px;
}
.about_info
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60vw;
  margin-left: -7vw; 
  margin-top: 2vh;
}
/*==================Skills=================*/
.part2
{ 
  top: 45vh;
  left: -190px;
  font-size: 6.4rem;
}
#skills>div:nth-child(2)
{
  display: flex;
  width: 70%;
  margin-left: 250px;
}
.overlay-container {
  position: relative;
}
.overlay
{
  position: absolute;
  top: 0;  
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.45);
}
.imageBox .dev
{
  position: absolute;
  top: 110px;
  left: 0px;
}
.imageBox h2
{
  color: white;
  z-index:1;
  position: absolute;
  top: 110px;
  left: 45px;
  font-size: 2.1rem;
  text-align: center;
}
.skills_log_dev
{
  height: 65px;
  width: auto;
  padding: 7px 10px 0 10px;
}
.skills_log_dev:last-child
{
  height: 70px;
  width: auto;
  transform: translateY(-30px);
}
.skills_log_langues
{
  height: 60px;
  width: auto;
  padding: 0 0 0 10px;
}
/*==============Overlay==============*/
.skills_box
{
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.skills_box li
{
  list-style: none;
}
.imageBox
{
  width: 300px;
  height: 300px;
  padding: 0 10px;
  margin: 15px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
figure
{
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
figure:before,
figure:after
{
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background-color: rgba(38,38,38,0.8);
  transition: .5s;
}
figure:before
{
  left: -50%;
  position: absolute;
  top: 0;
  background-color: rgba(38,38,38,0.45);
  z-index: 1;
}
.imageBox:hover figure:before
{
  left: 0;
}
figure:after
{
  right: -50%;
  position: absolute;
  top: 0;
  background-color: rgba(38,38,38,0.45);
}
.imageBox:hover figure:after
{
  right: 0;
}
figcaption img
{
  height: 70px;
  width: auto;
  padding: 0 5px;
}
figcaption
{
  position: absolute;
  top: 7px;
  left: 7px;
  bottom: 7px;
  right: 7px;
  text-align: center;
  opacity: 0;
  transition: .5s;
  transition-delay: .5s;
  transform: translateY(20px);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: rgba(38,38,38,1);
}
.imageBox:hover figcaption
{
  opacity: 1;
  transform: translateY(0);
}

/*==============Réalisations==============*/
.part3
{
  position:absolute; 
  top: 45vh;
  left: -170px;
  font-size: 6.4rem;
}
.projects
{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-left: 250px;
}
.project_photo, .project_audio,.project_info
{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: #0A0A0A;
}
.project_audio img,.project_info img,.project_photo img 
{
  height: 200px;
  width: auto;
  padding: 10px 20px;
}
.project_rea h1, .project_rea p
{
  color: white;
  text-align: center;
}
.project_rea
{
  height: 300px;
  width: auto;
}
.project_rea p
{
  font-size: 0.8rem;
  font-family: 'Wendelin';
}
.project_rea h1
{
  font-size: 1rem;
  margin-bottom: 5px;
}
.project_rea:last-child
{
  text-align: center;
}
/*Pop Up*/
.cubeclick 
{
  width: 300px;
  height: 300px;
  background-repeat: no-repeat;
  background-size: 300px 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 2.5px;
  cursor: pointer;
  z-index: 1;
}
.popup 
{
  display: flex;
  flex-wrap: wrap;
  height: 80%;
  width: 80%;
  background-color: #0A0A0A;
  position: absolute;
  justify-content: center;
  align-items: center;
  z-index: 0;
  opacity: 0;
  transition: 0.3s;
}
.popup > div 
{
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-open 
{
  z-index: 2 !important;
  opacity: 1 !important;
  transition: 0.3s;
}
.close 
{
  width: 50px;
  height: 50px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.closebtn1 
{
  width: 30px;
  height: 2px;
  background-color: white;
  transform: rotate(45deg) translateY(1px);
}
.closebtn2 
{
  width: 30px;
  height: 2px;
  background-color: white;
  transform: rotate(-45deg) translateY(-1px);
}
/*==============Flèches==============*/
.fa-chevron-down, .fa-chevron-up
{
  color: white;
  position: absolute;
  bottom: 5vh;
  left: 50vw;
}
/*==============Contact==============*/
.contact_info
{
  color: white;
  display: flex;
  justify-content: center;
  width: 100vw;
}
.contact_info a
{
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  font-family: 'Poppins Regular';
}
.contact_info>div
{
  padding: 0 70px;
}
.contact_info h2  
{
  padding-bottom: 15px;
  font-size: 2rem;
}
.contact_info>div>div
{
  display: flex;
}
.contact_info>div>div>i
{
  padding-right: 15px; 
}
/*==============Mentions Légales=============*/
#mentions
{
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Poppins Regular';
}


/*==============Responsives==============*/
@media only screen and (max-width: 420px){
  /*===========Parties===========*/
      .part
      {
        font-size: 3rem;
        position: absolute;
        top: 5vh;
        left: 10vw;
        transform: rotate(0deg);
        -webkit-text-stroke: 2px white;
      }
      section
      { width: 100vw;
        height: 100vh;     
      }
  /*==============Home==============*/
      .title
      {
        font-size: 4rem;
        -webkit-text-stroke: 2px white;
        position:absolute; 
        top: 30vh; 
        left: 15vw; 
      }
      .title2
      {
        font-size: 2rem;
        position:absolute; 
        top: 52vh; 
        left: 30vw; 
      }
      .click
      {
        visibility: hidden;
      }
    /*===========Menu===========*/
      .menu-wrap
      {
        position: absolute;
        right: 90px;
      }
      .menu-wrap .menu > div > div > ul > li > a {
        -webkit-text-stroke: 0.5px white;
        font-size: 2rem;
      }
      /*============Flèches===========*/
      .fa-chevron-down, .fa-chevron-up
      {
        position: absolute;
        bottom: 2vh;
        left: 45vw;
      }
    /*===========À propos===========*/
      .bio
      {
        font-size: 0.7rem;
        width: 80vw;
        height: 30vh;
        text-align: justify;
        line-height: 20px;
        margin-top: 10px;
      }
      .about_section
      {
        display: flex;
        flex-direction: column;
        padding-left: 40px;
      }
      .logo_hufflepuff
      {
        height: 3.5vw;
        width: auto;
      }
      .about_img
      {
        padding: 0;
        display: flex;
        justify-content: center;
        padding: 65px 0 0 60px;
      }
      .CGR
      {
        height: 25vh;
      }
      .CV
      {
        width: 48vw;
        margin-top: 0;
        font-size: 0.8rem;
        margin-top: 60px;
        margin-left: 100px;
      }
      /*===========Compétences===========*/
      #skills
      {
        height: 120vh;
      }
      .part2
      {
        font-size: 2.8rem;
      }
      #skills>div:nth-child(2)
      {
        margin-left: 0;
      }
      .skills_box {
          margin-top: 20px;
          margin-left: 100px;
      }
      .imageBox 
      {
        width: 150px;
        height: 140px;
        padding: 0 10px;
        margin: 0;
     }
      .imageBox h2
      {
        font-size: 1rem;
        position: absolute;
        top: 55px;
        left: 20px;
      }
      .imageBox .dev
      {
        position: absolute;
        top: 55px;
        left: 0px;
      }
      figure
      {
        height: 140px;
        width: 200px;
      }
      figcaption 
      {
        height: 125px;
        width: 115px;
      }
      figcaption>img
      {
        height: 30px;
        padding: 0 2px;
      }
      .skills_log_dev
      {
        height: 30px;
        padding: 5px 5px 0 5px;
      }
      .skills_log_dev:last-child
      {
        height: 40px;
        transform: translateY(-10px);
      }
      .skills_log_langues
      {
        height: 25px;
      }
      /*===========Réalisations===========*/
      #project
      {
        position: relative;
      }
      .projects {
        margin-left: 0;
      }
      .project_rea
      {
        height: 250px;
        text-align: center;
      }
      .project_rea img
      {
        height: 150px;
        width: auto;
      }
      .photo
      {
        margin-top: 100px;
      }
      .cubeclick
      {
        width: 150px;
        height:150px;
        background-size:  150px 150px;
      }
      .popup {
        width: 100%;
        height: 100%;
        top: 35px;
      }
      .popup-open
      {
        height: inherit;
      }
      .project_rea h1
      {
        font-size: 0.8rem;
      }
       .project_rea p
      {
        font-size: 0.7rem;
      }
      .project_rea:last-child {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 440px;
        width: 90vw;
      }
      /*==============Contact==============*/
      .contact_info
      {
        flex-direction: column;
      }
      .contact_info a
      {
        font-size: 1rem;
      }
      .contact_info>div
      {
        padding: 30px 90px;
      }
      .contact_info h2  
      {
        padding-bottom: 5px;
        font-size: 1.5rem;
      }
}
@media only screen and (min-height : 700px ){
   /*==============Home==============*/
      .title
    {
      position:absolute; 
      top: 35vh; 
      left: 22vw;
    }
    .title2
    {
      position:absolute; 
      top: 50vh; 
      left: 40vw;
    }
    .downsizing
    {
      position: fixed;
      top: 47%;
      left: 39%;
    }
    .click
    {
      position:absolute; 
      top: 95vh; 
      left: 41.5vw; 
    }
}