/* --- ABSTRACTS --- */

/* tailles des boites */
*,
*::before,

*::after {
    box-sizing: border-box;
}

/* images responsive */
img{
    display: block;
    height: auto;
    width: 100%;
}

* {
    list-style: none;
    text-decoration: none;
}

/* ------------------------- */

/* --- TEXTES --- */

/* --- BOUTONS & CTA --- */


.btn-menu{
    border: none;
    background-color: transparent;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

@media(min-width:760px){
    .btn-menu{
        font-size: 3.5rem;
    }
}

.menu-behance{
    display: flex;
    align-items: center;
    margin: 0;
    width: 47px;
    height: auto;
}

/* --- NAVIGATIONS --- */
nav ul{
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

nav .nav-list .nav-items{
    cursor: pointer;
    height: 100%;
    padding: 0 30px;
    transition: .4s;
}

#menu a img{
    align-items: center;
}

#menuToggle
{
  display: block;
  position: relative;
  top: 50px;
  left: 50px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  text-align: center;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: #619fff;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  height:902px ;
  width: 300px;
  margin: -100px 0 0 -92px;
  padding: 50px;
  padding-top: 125px;
  
  background: #ffdfd1;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 16px 0;
  font-size: 2rem;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

/* --- FORMULAIRES --- */

/* ------------------------- */

/* --- PAGE HEADER --- */

.img-me{
    margin-top: 50px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    width: 200px;
    height: auto;
}

@media(min-width:760px){
    .img-me{
        border-radius: 500px;
        width: 300px;
    }
}


@media(min-width:1100px){
    .img-me{
        border-radius: 500px;
        width: 364px;
    }
}

.main-pres{
    align-items: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    
}

@media(min-width:760px){
    .title-pres{
      font-size: 2rem;  
    }
}


@media(min-width:1100px){
    .title-pres{
        font-size: 3rem;
    }
}

.txt-pres{
  padding-bottom: 50px;
    text-align: center;
    font-size: 1.5rem;
}

@media(min-width:760px){
    .txt-pres{
      font-size: 1.5rem;  
    }
}


@media(min-width:1100px){
    .txt-pres{
        font-size: 2rem;
    }
}


/* --- PAGE FOOTER --- */

/* --- MAIN INDEX --- */

.img-background{
    background: url(../images/fond+portfolio.png) no-repeat;
    background-size: cover;
    height: 100%;
    overflow: overlay;
    overflow-x: hidden;
}

.social-menu{
  display: flex;
  flex-direction: row;
  margin-top: 50px;
}

.social-media{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.menu-behance{
  width: 61px ;
  padding-right: 10px;
}

.social-behance{
  padding-right: 20px;
  width: 93px;
}

.social-linkedin{
  width: 75px;
}

.social-email{
  width: 75px;
  margin-left: 20px;
}

.title-projet{
  padding-top: 50px;
  text-align: center;
  color: #fff;
  font-size: 2rem;
}

.img-kangaroo{
  padding-top: 50px;
  width: 296px;
  height: auto;
}

.art-kangaroo{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-project{
  font-size: 1.4rem;
  font-weight: bolder;
  
}