@keyframes appear {
    from {opacity: 0;}
}

/* HEADING AREA */

header {
	height: 130px;
	padding: 0 3rem;
	background: #ededed;
	display: flex;
  justify-content: space-between;
  }
  
  #logo {
	height: 200px;
	margin-right: 8%;
  }
	
	#logo img{
		height: 100%;
	}

/* .title {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
  }
  
.title h3 {
	display: none;
  } */
  
  header p {
	font-size: 2rem;
	margin-bottom: 0;
  }


.nav {
    width: 65%;
    padding: 3%;
    display: flex;
    flex-direction: column;
}

.nav div {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  margin-bottom: 3%;
}

.nav a {
  height: 30px;
}

#mobile {
  display: none;
}

.nav a:hover {
  /* padding-bottom: 3%; */
  border-bottom: 1px solid #25232B;
} 

/* TABLET SIZE */
  /* @media (max-width: 64rem){
	header div {
	  width: 95%;
	}
	header div p{
	  display: none;
	}
	header div h3 {
	  display: block;
	  margin: 0;
	}
  } */
  
  /* PHONE SIZE */
@media (max-width: 57rem) {
	header {
	  padding: 0;
    height: 200px;
	}
	#logo {
	  margin: 0;
	}
  .nav {
    flex-direction: column;
    /* padding: 3% 2%; */
    justify-content: space-between;
    /* transform: translateY(30%); */
  }
  .nav div {
    flex-direction: column;
  }
  .nav a:hover {
    padding-bottom: 0;
    border-bottom: 0;
  } 
  #mail {
    display: none;
  }
  #mobile{
    display: flex;
  }
}
  
  /* MAIN AREA */
  
  main {
    display: flex;
    flex-direction: column;
  }
  
  .profil {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

.first {
    display: flex;
    width: 80%;
    justify-content: space-evenly;
    margin-bottom: 5%;
}

.first .myname {
    transform: translateY(80%);
    animation: appear 5s;
    margin-bottom: 2.5rem;
}

  .mypic {
    width: 30%;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .mypic img {
    width: 100%;
  }

  .bgc {
      position: absolute;
      background-color: #fcb5ac;
      width: 100%;
      height: 300px;
      top: 30%;
      z-index: -1;
  }

  .link {
	display: flex;
	width: 100%;
    margin-top: 3%;
  }
  
  .link a:hover{
	font-weight: bold;
  }

  .link img {
	height: 25px;
  }
  
  .jesuis {
    margin-top: 10%;
    width: 60%;
    
  }
  
  /* TABLET SIZE */
  @media (max-width: 64rem){
    .profil {
      flex-direction: column;
      align-items: center;
      }
  
    .mypic {
      width: 60%;
      display: flex;
      justify-content: center;
    }

    .first {
        flex-direction: row-reverse;
    }

    .jesuis {
        width: 80%;
      }

      .link {
        flex-direction: column;
      }
  }

  /* PHONE SIZE */
  @media (max-width: 57rem){
      .first {
          width: 100%;
          flex-direction: column;
      }
      .first .mypic {
          width: 60%;
          margin: 0 auto;
          transform: translateY(40%);
      }
      .first .myname {
        margin: 1rem auto;
      }
      .first .myname h1{
          font-size: 1.5rem;
      }
      .first .myname p{
          font-size: 1rem;
      }
      .bgc {
          height: 220px;
          position:absolute;
          top: 200px;
          /* transform: translateY(-24%); */
      }
      .jesuis {
          margin-top: 20%;
          padding-top: 5%;
          border-top: 3px solid black;
      }
      .jesuis h1 {
          text-decoration: none;
      }
      .link img{
        display: none;
      }
  }


/* GALLERY AREA */

.gallery, .banner {
  padding: 2% 0;
  border-top: 1px solid grey;
  border-bottom: 1px solid black;
  margin-bottom: 2%;
}

.gallery {
  display: flex;
  width: 100%;
}
.gallery img {
  width: 25%;
}
.banner {
  display: none;
}

@media (max-width: 57rem){
  .gallery {
    display: none;
  }

  .banner {
    display: flex;
    width:300px;
    height: 406.18px;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
  }
  
  .img_box {
    width: 1800px;
  }
  
  .banner .img_box {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-300px);
  }
  
  .img_box li {
    float: left;
    list-style: none;
  }
  .img_box li img {
    width: 300px;
  }
  
  /* .left_btn, .right_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding-left: 3px;
    cursor: pointer;
    z-index: 9;
  } */
  
  /* .left_btn {
    left: 0;
  }
  
  .right_btn {
    left: 265px;
  }
  
  .left_btn img, .right_btn img {
    width: 100%;
  }
  
  .right_btn img {
    transform: rotate(180deg);
  } */
}