/***************************************************************************************************************************************************************************************************/
/* RESET + BASIC */
/***************************************************************************************************************************************************************************************************/

html, body, div, a,
h1, h2, h3, h4, h5, h6, p, blockquote,
em, img, strong, var, caption,.articles_list, .articles_list,
table, tbody, tfoot, thead, tr, th, td,
article, aside, figcaption, footer, header,
nav, section, button {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: helvetica, sans-serif;
    vertical-align: baseline;
    box-sizing: border-box;
    overflow: auto;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    text-decoration: none;
}

:root {
  --ylw:#E9CE2C;
  --ppl:#B0228C;
}


html {
  background-color: #EBE8E7;
}

a {
  overflow: visible;
}

section {
  background-color: #EBE8E7;
}

p a {
  color:black;
}

p a:hover {
  color:var(--ppl);
  text-decoration-color:var(--ppl);
}

/***************************************************************************************************************************************************************************************************/
/* MENU */
/***************************************************************************************************************************************************************************************************/

.menu-container {
  position: fixed;
  display: flex;
  align-items: center;
  background: #EBE8E7;
  color: var(--ylw);
  padding: 10px;
  z-index: 3;
  -webkit-user-select: none;
  user-select: none;
  box-sizing: border-box;
  border-bottom : solid thick;
}

.menu-logo {
  /*overflow: auto;*/
  line-height: 0;
  margin: 0;
}

.menu-logo img {
  max-height: 110px;
  flex-shrink: 0;
}

.menu-container a {
  overflow: visible;
  text-decoration: none;
  color: #EBE8E7;
  transition: color 0.3s ease;
}

.menu-container a:hover {
  color: var(--ppl);
}

.menu-container a:active {
  color: var(--ylw);
}

.menu-container input {
  display: block;
  width: 35px;
  height: 25px;
  margin: 0;
  position: absolute;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 3; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

/***************************************************************************************************************************************************************************************************/
/* BURGER MENU */
/***************************************************************************************************************************************************************************************************/

.menu-container span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #180126;
  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;
}

.menu-container span:first-child {
  transform-origin: 0% 0%;
}

.menu-container span:nth-child(3) {
  transform-origin: 0% 100%;
}

.menu-container input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(3px,-1px);
  background: #ded9e2;
}

.menu-container input:checked ~ span:nth-child(4) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.menu-container input:checked ~ span:nth-child(3) {
  transform: rotate(-45deg) translate(-5px,11px);
}

.menu ul {
  list-style: none;
}

.menu li {
  padding: 10px 0;
  font-size: 22px;
}

/***************************************************************************************************************************************************************************************************/
/* INDEX */
/***************************************************************************************************************************************************************************************************/



.index_main {
  background-color: #EBE8E7;
  max-width:100%;
  overflow:hidden;
  z-index: 1;
}

.main_image {
  width:200%;
  margin-top:130px;
  display:inline-flex;
}

.main_image img {
  width:100%;
  border-bottom: solid thick var(--ppl);
  animation: scrolling 40s linear infinite;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.index_main h1 {
  margin:10vh;
  text-align:center;
  font-size: 5em;
  border-bottom: 5vh;
}



/***************************************************************************************************************************************************************************************************/
/* CVS */
/***************************************************************************************************************************************************************************************************/

.CVs {
  margin:auto;
  margin-top: 2em;
  display:flex;
  justify-content: space-around;
  width: 60%;
  padding: 0;
}

.CVs li {
  display: inline-block;
}

.CVs button {
  font-size: 110%;
  border: solid black 3px;
  padding: 0.5em 2em 0.5em 2em;
  border-radius: 10px;
}

#ENCV {
  background: var(--ppl);
}

#ENCV:hover {
  background-color:#EBE8E7;
  border-color: var(--ppl);
  transform: scale(115%);
}

#FRCV {
  background: var(--ylw);
}

#FRCV:hover {
  background-color:#EBE8E7;
  border-color: var(--ylw);
  transform: scale(115%);
}

.CVs + p {
  font-size: 105%;
  text-align:center;
  margin-top:2em;
}

.aboutme_main, .iwh_main {
  position: relative;
  height:100%;
  width:100%;
  overflow-y:hidden;
  background-color: #EBE8E7;
  margin-top:110px;
  padding-bottom:10px;
}

/***************************************************************************************************************************************************************************************************/
/* GRADIENT-TOGGLED-BORDER */
/***************************************************************************************************************************************************************************************************/


.gt_border_ext{
  background: linear-gradient(140deg, var(--ylw) 0%, var(--ppl) 100%);
  padding: 5px;
  max-width: 60vw;
  margin: auto;
  margin-bottom: 5em;
  margin-top:5em;
  overflow: visible;
}

.gt_border_ext *{
  overflow:visible;
}

.gt_border_int {
  background-color:#EBE8E7;
  padding: 4em 2em 4em 2em;
}

.gt_border_int p, .gt_border_int h2 {
  font-size: 150%;
}

.gt_border_int h2 {
  font-size: 200%;
  padding-left:2.5em;
  margin-bottom:0.5em;
}

/***************************************************************************************************************************************************************************************************/
/* POSITIONING ELEMENTS IN ABOUTME AND IWASHERE PAGES */
/***************************************************************************************************************************************************************************************************/


/*****************/
/* About me page */
/*****************/

/* Who I am */

#aboutme_coucou{
  margin-top:7vh;
  rotate:2deg;
}

#aboutme_coucou p, #aboutme_coucou h2{
  rotate:-2deg;
}

/* My cursus */

#aboutme_cursus{
  margin:auto;
  rotate: -5deg;
}

#aboutme_cursus p, #aboutme_cursus h2, #aboutme_cursus img {
  rotate: 5deg;
}

#isima_logo {
  max-height:6em;
  margin-left:4em;
}

/* Computer science */

#aboutme_cs {
  margin:auto;
  margin-top:10vh;
  rotate: 5deg;
}

#aboutme_cs p, #aboutme_cs h2, #aboutme_cs img {
  rotate:-5deg;
}

#java_logo {
  max-height:7em;
  margin:0 0 -1em 40vw;
}

/* Philosophy */

#aboutme_philo {
  margin-top: 9vh;
  rotate:-2deg;
}

#aboutme_philo p, #aboutme_philo h2 {
  rotate:2deg;
}

/* Music */

#aboutme_music {
  margin-top: 9vh;
  rotate:8deg;
}

#aboutme_music p, #aboutme_music h2 {
  rotate:-8deg;
}

/******************/
/* I was here page*/
/******************/

/* Credit Agricole Centre France */

#iwh_cacf {
  margin:auto;
  margin-top:8vh;
  rotate: 1deg;
}

#iwh_cacf p, #iwh_cacf h2 {
  rotate: -1deg;
}

/* Lebon */

#iwh_lebon {
  margin-top:8em;
  rotate: -7deg;
}

#iwh_lebon h2, #iwh_lebon p {
  rotate:7deg;
}

/* GaZZette */

#iwh_gazzette {
  margin-top:15vh;
  rotate:8deg;
}

#iwh_gazzette p {
  padding: 0em 0em 0em 0em;
}

#iwh_gazzette h2, #iwh_gazzette p,  #iwh_gazzette img {
  rotate:-8deg;
}

#gazzette_logo {
  max-height: 13em;
  margin: -4em 0 -2em 42vw;
  overflow: visible;
}

/* FedEA */

#iwh_fedea {
  rotate:-4deg;
  margin-top:14vh;
}

#iwh_fedea p, #iwh_fedea h2, #iwh_fedea img {
  rotate:4deg;
}

#fedea_logo {
  max-height:20em;
  margin: -6em 0 -8em 4em;
}

/* Enigma */

#iwh_enigma {
  margin:auto;
  rotate:1deg;
}

#iwh_enigma p, #iwh_enigma h2, #iwh_enigma img {
  rotate:-1deg;
}

#enigma_logo {
  max-height: 12em;
  margin: 0 0 -2em 40vw;
}

/* TelluZZEon */

#iwh_telluzzeon {
  rotate:11deg;
  margin-top:14vh;
}

#iwh_telluzzeon p, #iwh_telluzzeon h2, #iwh_telluzzeon img {
  rotate:-11deg;
}

#telluzzeon_logo {
  max-height: 11em;
  margin: 0 0 -3em 45vw;
}

/* Clermont ISFF */

#iwh_isff {
  margin-top:15vh;
  rotate:-2deg;
}

#iwh_isff h2, #iwh_isff p,  #iwh_isff img {
  rotate:2deg;
}

#isff {
  max-height:12em;
  margin-left:2em;
  margin-top:1em;
}

/***************************************************************************************************************************************************************************************************/
/* COOL TEXT */
/***************************************************************************************************************************************************************************************************/

@import url(https://fonts.googleapis.com/css?family=Montserrat);

.cool_text {
  margin-top:5vh;
  display: flex;
  height: 100%;
  align-items: center;
}

svg {
    display: block;
    font: 10.5em 'Montserrat';
    max-height:20vh;
    margin: 0 auto;
}

.text-copy {
    fill: none;
    stroke: white;
    stroke-dasharray: 6% 29%;
    stroke-width: 5px;
    stroke-dashoffset: 0%;
    animation: stroke-offset 5.5s infinite linear;
}

.text-copy:nth-child(1){
  stroke: black;
  animation-delay: -1;
}

.text-copy:nth-child(2){
  stroke: var(--ppl);
  animation-delay: -2s;
}

.text-copy:nth-child(3){
  stroke: #687ec9;
  animation-delay: -3s;
}

.text-copy:nth-child(4){
  stroke: #4ecdb4;
  animation-delay: -4s;
}

.text-copy:nth-child(5){
  stroke: var(--ylw);
  animation-delay: -5s;
}

@keyframes stroke-offset{
  100% {stroke-dashoffset: -35%;}
}

/***************************************************************************************************************************************************************************************************/
/* DASHED LINE */
/***************************************************************************************************************************************************************************************************/

.animated_dashed_line {
  height:2px;
  width:100vw;
  display:inline-flex;
}

.animated_dashed_line span {
  overflow:visible;
  width:25vw;
  height:4px;
}

.animated_dashed_line + div {
  height:0px;
  width:100%;
  border-bottom: 4px dashed #EBE8E7;
  border-top: 4px dashed #EBE8E7;
  transform: translateY(-8px);
}

.animated_dashed_line span:nth-child(1) {
  animation: first 4s infinite;
  animation-timing-function: steps(1);
}
.animated_dashed_line span:nth-child(2) {
  animation: second 4s infinite;
  animation-timing-function: steps(1);
}
.animated_dashed_line span:nth-child(3) {
  animation: third 4s infinite;
  animation-timing-function: steps(1);
}
.animated_dashed_line span:nth-child(4) {
  animation: fourth 4s infinite;
  animation-timing-function: steps(1);
}

@keyframes first {
  0% { background-color: var(--ppl); }
  25% { background-color: #687ec9; }
  50% { background-color: #4ecdb4; }
  75% { background-color: var(--ylw) }
  100% { background-color: var(--ppl); }
}

@keyframes second {
  0% { background-color: #687ec9; }
  25% { background-color: #4ecdb4; }
  50% { background-color: var(--ylw) }
  75% { background-color: var(--ppl); }
  100% { background-color: #687ec9; }
}

@keyframes third {
  0% { background-color: #4ecdb4; }
  25% { background-color: var(--ylw) }
  50% { background-color: var(--ppl);}
  75% { background-color: #687ec9; }
  100% { background-color: #4ecdb4; }
}

@keyframes fourth {
  0% { background-color: var(--ylw) }
  25% { background-color: var(--ppl); }
  50% { background-color: #687ec9; }
  75% { background-color: #4ecdb4; }
  100% { background-color: var(--ylw) }
}



/***************************************************************************************************************************************************************************************************/
/* ARTICLES & RESEARCH */
/***************************************************************************************************************************************************************************************************/

/* both */

.articles_main, .research_main {
  position: relative;
  min-height:100vh;
  height:100%;
  width:100%;
  overflow-y:hidden;
  background-color: #EBE8E7;
  margin-top:110px;
  padding-bottom:10px;
}

.intro {
  width:100%;
  margin:auto;
  text-align:center;
  font-size:130%;
  padding: 0 18vw 0 18vw;
}

/***************************************************************************************************************************************************************************************************/
/* RESEARCH */
/***************************************************************************************************************************************************************************************************/

.research_work h2 {
  font-size:250%;
  margin:1em 0em 1em 4em;
}

.research_work h3 {
  font-size:180%;
  margin:0 18vw 1em 18vw;
  text-align:justify;
}

.research_work p,.research_work ul  {
  font-size:120%;
  margin:0 18vw 0 18vw;
  text-align:justify;
}

.research_work p {
  margin-bottom:1.5em;
}



/***************************************************************************************************************************************************************************************************/
/* ARTICLES */
/***************************************************************************************************************************************************************************************************/

.gzzt_btn {
  border: solid var(--ylw) 3px;
  padding: 0.5em 2em 0.5em 2em;
  border-radius: 10px;
  background: transparent;
  display:block;
  margin-left:auto;
  margin-right:auto;
  margin-top:2em;
  max-width:12em;
  text-decoration: none;
  color:black;
  transition: transform 200ms ease-in-out;
}

.gzzt_btn a {
  text-decoration: none;
  color:black;
}

.gzzt_btn:hover {
  overflow:visible;
  border: solid var(--ppl) 3px;
  transform: scale(120%);
}

.articles_main h1 {
  margin: 0.5em 0 0.5em 0;
  text-align: center;
  font-size:400%;
}

.articles_list {
  overflow:hidden;
}

.article {
  box-sizing: border-box;
  width:100%;
  display:inline-flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5em 15em 0.5em 15em;
}

.article_presentation {
  max-width:50vw;
}

.article_presentation h2 {
  font-size:170%;
  margin-bottom:0.7em;
}

.article_presentation p {
  font-size:110%;
}


.article_img {
  max-height:20vh;
}

.article_btn {
  height:4em;
  width:4em;
  border: solid 2px black;
  border-radius:50%;
  background:var(--ppl);
  color:black;
  text-align: center;
  vertical-align: bottom;
}

.article_btn:hover {
  background:var(--ylw);
}

/***************************************************************************************************************************************************************************************************/
/* Contact *
/***************************************************************************************************************************************************************************************************/

.contact_main {
  min-height : 100vh;
  padding:200px 25vw 0 25vw;
  background-color: #ebe8e7;
  
}

.contact_list {
  display: flex;
  flex-direction: column;
}

.contact_list li {
  margin: 1em 0 0.5em 0;
  display: inline-flex;
  align-items: center;
}

.icon {
  max-height:2em;
  margin-right:2em;
}

.contact_list li a {
  text-decoration: none;
  font-weight: bold;
  color: var(--ppl);
}

.contact_list li a:hover {
  text-decoration: none;
  color: var(--ylw);
}




/***************************************************************************************************************************************************************************************************/
/* DESKTOP ONLY STYLE*/
/***************************************************************************************************************************************************************************************************/

@media only screen and (min-width: 768px) { 
  .menu-container {
    width: 100%;
  }

  .menu-container a {
    color: #180126;
  }

  .menu-container input {
    display: none;
  }

  /* Burger menu */
  .menu-container span {
    display: none;
  }

  .menu {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .menu ul {
    display: flex;
    padding: 0;
  }

  .menu li {
    padding: 0 20px;
  }

  .welcome_images * {
    height:100vh;
  }

  .index_main {
    top:200vh;
  }

  #aboutme_coucou, #iwh_enigma {
    margin-left:15vw;
    width:55vw;
  }

  #aboutme_cursus, #iwh_fedea {
    margin-right:10vw;
  }
  
  #aboutme_cs {
    width:65vw;
    margin-left:12vw;
  }

  #iwh_gazzette {
    margin-left:9vw;
  }

  #iwh_isff, #aboutme_philo {
    width:70vw;
    margin-right:8vw;
  }

  #aboutme_music{
    width:80vw;
    margin-right:25vw;
  }

  #aboutme_music p{
    padding-bottom:1.5em;
  }

  #iwh_lebon {
    margin-left:25vw;
    width:52vw;
  }

}
