@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');
@font-face {
    font-family: ZapfinoForteLTPro;
    src: url("./assets/font/ZapfinoExtraLT-Four.otf") format("opentype");
}

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 62.5%;
    font-size: 10px;
}
/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */

.nav {
    z-index: 999999999; /* l'art du z-index*/
    width: 100%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
}

.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}

.nav div.logo a:hover {
    color: #00E676;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: #fff;
    line-height: 65px;
    font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
    color: #00E676;
}


/* Home section */

.home {
    width: 100%;
    height: 100vh;
    background-image: url(
        "assets/fondaccueil.jpg"
        );
    background-position: center top;
	background-size:cover;
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}





/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: #111;
}

.myH2 {
	text-align:center;
	font-size: 4rem;
}

.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}

@media all and (max-width:700px){
	.myP {
		padding:2%;
	}
}

.opaque-bg {
    font-size: xx-large;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

.about {
    width: 100%;
    height: auto;
    padding-bottom: 5%;
    background-color: black;
    background-image: url(
        ./assets/montagne.JPG
        );
    background-position: center top;
	background-size:cover;
}

.portfolio-body{
    padding-top: 3%;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(3, calc(100vw/3));
	grid-template-rows: repeat(2, 1fr);
	/* grid-gap: 3rem; */
	grid-auto-flow: dense;
	

	 /* display: flex;
	 flex-wrap: wrap;
	 flex-direction: row; */
}
.img-t{
	display: block;
	width: 100%;
	height: auto;
	border-radius: 5px 5px 5px 5px;
}
.portfolio-card{
    margin: 5% 5%;
    border: 3px;
    border-bottom: outset;
    border-color: rgba(241, 9, 9, 0.771);
	border-radius: 1px 1px 1px 1px;
    text-align: center;
    bottom:0;
	transition: 500ms;
}
.portfolio-card:hover{
    cursor: pointer;
	transform: scale(1.1);
    color: #0c30ff;
    border-color: rgba(0, 82, 247, 0.771);
}
.portfolio-card:hover h3{
    color: rgb(255, 255, 255);
	transition: 500ms;
}


.portfolio-card h3{
    font-size: 200%;
	/* margin-top: 0.5rem; */
	padding: 0.5rem;
	color: rgba(240, 240, 240, 0.877);
}

.myLife{
    width: auto;
    height: auto;
}

.titre{
    padding-top: 5%;
    text-align: center;
    justify-content: center;
    justify-self: center;
    color: rgb(255, 255, 255);
    font-size: 2em;
    font-family: "Quicksand", sans-serif;
}

.subTitle {
    padding-top: 3%;
    padding-bottom: 2%;
    text-transform: uppercase;
    color: rgba(91, 0, 0, 0.664);
    font-size: 45px;
    position: relative;
    text-align: center;
  }

  
  .margin {
    margin: 25px;
  }
  
  
  @-webkit-keyframes fillAnimation {
    0% {
      -webkit-transform: rotate(-45deg);
              transform: rotate(-45deg);
    }
    50% {
      -webkit-transform: rotate(135deg);
              transform: rotate(135deg);
    }
  }
  
  @keyframes fillAnimation {
    0% {
      -webkit-transform: rotate(-45deg);
              transform: rotate(-45deg);
    }
    50% {
      -webkit-transform: rotate(135deg);
              transform: rotate(135deg);
    }
  }
  @-webkit-keyframes fillGraphAnimation {
    0% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
    }
    50% {
      -webkit-transform: rotate(180deg);
              transform: rotate(180deg);
    }
  }
  @keyframes fillGraphAnimation {
    0% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
    }
    50% {
      -webkit-transform: rotate(180deg);
              transform: rotate(180deg);
    }
  }
  
 

.containerChart {
    padding: 10px 50px;
    text-align: center;
  }
  
  .chart {
    position: relative;
    display: inline-block;
    margin: 20px 10px;
    color: #d20000;
    font-size: 14px;
    text-align: center;
  }
  .chart canvas {
    position: absolute;
    top: 0;
    left: 0;
  }

.alignCharts{
    display:grid;
	grid-template-columns: repeat(3, calc(100vw/3));
	grid-template-rows: repeat(2, 1fr);
	grid-auto-flow: dense;
}

#javascript{
    color:black;
}

.footer{
    margin-top: 10%;
    display:flex;
    padding: 1% 0% 1% 0%;
    align-items: center;
    justify-content: center;
    color:grey;
    background-color: black;
}

.textFooter{
    flex:center;
    text-align: center;
    font-size: large;
}


.resLink{
    text-decoration:none;
    color:black;
    flex:right;
    font-size: large;
}


.portfolio-card-res{
    margin: 6% 6%;
    border: 3px;
    border-bottom: outset;
    text-align: center;
    transition: 500ms;
    text-align: center;
    
}
.portfolio-card-res:hover{
    cursor: pointer;
	transform: scale(1.1);
    color: #0c30ff;
    
}

.portfolio-card-res h3{
    font-size: medium;
    overflow-wrap: break-word;
    /* margin-top: 0.5rem; */
    padding: 0.5rem;
    max-width: 300px;
    color: rgba(0, 0, 0, 0.37);
    text-align: center;
    flex:center;

}

.portfolio-body-res{
    padding-top: 3%;
	box-sizing: content-box;
	display: grid;
	grid-template-columns: repeat(6, calc(97vw/6));
    grid-auto-flow: dense;
    margin-right: 50%;
    text-align: center;
    
}
.img-t-res{
	display: block;
	width: 100%;
	height: auto;
    border-radius: 5px 5px 5px 5px;
    background-size: cover;
}

.blinking-cursor {
    line-height: 17px;
    margin-left: 3px;
    -webkit-animation: blink 0.8s infinite;
    width: 7px;
    height: 15px;
  }
  
  @-webkit-keyframes blink {
    0% {color: rgb(247, 6, 6)}
    50% {color: rgba(0, 255, 0, 0)}
    100% {color: rgb(225, 0, 0)}
  }
  #holder {
      color: white;
  }


@media screen and (max-width: 1024px) {
    .container {
        margin: 0;
    }
    .portfolio-body-res{
        padding-top: 3%;
        box-sizing: content-box;
        display: grid;
        grid-template-columns: repeat(2, calc(97vw/2));
        grid-auto-flow: dense;
        margin-right: 50%;
        text-align: center;
        
    }
    .portfolio-body{
        padding-top: 3%;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: repeat(2, calc(100vw/2));
        grid-template-rows: repeat(2, 1fr);
        /* grid-gap: 3rem; */
        grid-auto-flow: dense;
        text-align: center;
    
         /* display: flex;
         flex-wrap: wrap;
         flex-direction: row; */
    }
    .badge{
        width: 75%;
    }
    .portfolio-card-res h3{
        font-size: medium;
        overflow-wrap: break-word;
        padding: 0.5rem;
        color: rgba(0, 0, 0, 0.37);
        margin-left: 10%;
    }
    .portfolio-card-res{
        margin: 6% 6%;
        border: 3px;
        border-bottom: outset;
        text-align: center;
        transition: 500ms;
        text-align: center;
    }
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #111;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
    }
    .nav div.media_button {
        display: block;
    }
    .portfolio-card-res h3{
        font-size: medium;
        overflow-wrap: break-word;
        padding: 0.5rem;
        color: rgba(0, 0, 0, 0.37);
    }

}


  
  .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
  }
  
  button {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #02b875;
    border-radius: 50%;
    color: #02b875;
    width: 99px;
    height: 99px;
    margin-right: 1rem;
    outline: 0;
    cursor: pointer;
    filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.05));
    transform: scale(1);
    transition: all 0.1s ease-in;
  }
  button:hover {
    -webkit-animation: pulse 2s infinite;
            animation: pulse 2s infinite;
  }
  button:active {
    outline: 0;
    filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0));
    transform: scale(0.75);
    transition: all 0.05s ease-in;
  }
  
  button svg {
    fill: #02b875;
  }
  
  @-webkit-keyframes pulse {
    0% {
      box-shadow: 0 0;
    }
    70% {
      box-shadow: 0 0 5px 10px rgba(255, 255, 255, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0;
    }
    70% {
      box-shadow: 0 0 5px 10px rgba(255, 255, 255, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
  }