/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*




/* ==========================================================================
   Basic setup
   ========================================================================== */

::selection{
  color: #161616;
  background: rgba(255, 140, 0, 0.8);
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #161616;
  color: #cccccc;
  font-family: 'Lato', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 18px;
  text-rendering: optimizeLegibility;
}





.externalink{
  color: #cccccc;
  text-decoration: none;
  border-bottom: 2px solid #b05d14;"
}

.externalink:hover,
.externalink:active{
  border-bottom: 3px solid #cf6d17;
}




/* ------------------------------ Top Bar infos ----------------------------- */

.navbar{
  text-align: right;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0, 0.5);
  backdrop-filter: blur(20px);
  z-index: 9999;
}

.logo{
  position: absolute;
  left: 5%;
  margin-top: 3px;
  height: 45px;
  width: auto;
  float: left;
}

.navbar a{
  display: block;
  list-style: none;
  border-bottom: 3px solid rgba(0, 0, 0, 0);
}



.navbar li a:link,
.navbar li a:visited{
  color: #cccccc;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 90%;
  transition: border-bottom 0.2s;
  padding-bottom: 5px;
}

.navbar li {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 5px;
  margin-right: 40px;
}

.navbar li:last-child{
  padding-right: 5%;
}

.navbar li a:hover,
.navbar li a:active{
  border-bottom: 3px solid #cf6d17;
}
























/* ==========================================================================
   Headers - Top of home page
   ========================================================================== */

header{
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://i.imgur.com/CRj0gt9.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.hero-text-box{
  position: absolute;
  top: 40%;
  left: 10%;
}
























/* ==========================================================================
   Reusable components
   ========================================================================== */

.row {
  /*max-width: 1500px;*/
  margin: 0 5% 0;
  text-align: center;
}

section {
  padding: 50px 0;
}
























/* ==========================================================================
   Heading
   ========================================================================== */












/* ------------------------------ Main Title -------------------------------- */
h1{
  margin: 0;
  color: aliceblue;
  font-size: 350%;
  font-weight: 300;
}

.test-2title {
  margin-top: 0;
  margin-bottom: 20px;
  color: lightgray;
  font-size: 250%;
  font-weight: 300;
}


/* --------------------- Buttons under the Main Title ---------------------- */

.btn:link,
.btn:visited {
  display: inline-block;
  padding: 10px 30px;
  font-weight: 300;
  text-decoration: none;
  border-radius: 200px;
  color: #cccccc;
  transition: background-color 0.3s, border 0.3s, color 0.3s;

}

.btn-gradient:link,
.btn-gradient:visited {
  background-color: #cf6d17;
  border: 1px solid #cf6d17;
  margin-right: 7px;
}
.btn-ghost:link,
.btn-ghost:visited {
  border: 1px solid #cf6d17;
  color: #cf6d17;
}

.btn:hover,
.btn:active {
  background-color: #b05d14;
  border: 1px solid #b05d14;
}

.btn-ghost:hover,
.btn-ghost:active {
  color: #cccccc;
}



















/* -----------------------------------------------------------------------*/
/* -------------------- AboutMe &  section-features ------ -------------- */
/* -----------------------------------------------------------------------*/



h3{   /* About Me Title*/
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
  color: lightgray;
  font-size: 250%;
  font-weight: 300;
}

h3:after{
  display: block;
  height: 2px;
  background-color: #cf6d17;
  content: " ";
  width: 100px;
  margin: 20px auto 0;
}


.long-copy{   /* Subtitle under About me*/
  line-height: 130%;
  font-size: 110%;
  width: 84%;
  margin-left: 8%;
}

/* --------------- About Me Boxes -----------------*/
.span-1-of-3{   /* 3 About me boxes */
  margin-bottom: 40px;
  text-align: left;
}

h4 {    /* About Me Boxes Title*/
  font-size: 120%;
  margin-bottom: 10px;
}

.box{    /* About Me Boxes*/
  padding: 1%;
}

.box p{
  line-height: 130%;
}

.icon-boxes{
  font-size: 200%;
  display: block;
  color: #cf6d17;
  margin-bottom: 7px;
}
.section-features i {
  margin-top: 50px;
}



















/* -----------------------------------------------------------------------*/
/* ---------------------------- Pictures Section -------------------------*/
/* -----------------------------------------------------------------------*/


.section-pic{
  padding: 0;
  margin-bottom: 30px;
}
.photo-show{
  list-style: none;
  width: 100%;
}

.photo-show li{
  display: block;
  float: left;
  width: 25% ;
}

.photo-display{
  width: 100%;
  margin: 0;
  overflow: hidden;
  background-color: black;
}
.photo-display img{
  opacity: 0.7;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.5s, opacity 0.5s;
}
.photo-display img:hover{
  opacity: 1;
  transform: scale(1.15);
}

















/* -----------------------------------------------------------------------*/
/* --------------------------------- Resume ------------------------------*/
/* -----------------------------------------------------------------------*/

.section-resume{
  margin-top: 18%;
}


.section-resume p{
  margin-bottom: 10px;
  line-height: 1.3;
}

.downloadbtn{
  text-align: center;
}

.btn-download:link,
.btn-download:visited {
  border: 1px solid #cb134e;
  color: #cb134e;
  font-weight: bold;


}
.btn-download:hover,
.btn-download:active {
  color: #cccccc;
  background-color: #cb134e;
}


.btn-download:hover::after {
  content: "           Download            ";
}

.btn-download::after {
  content: "📄 CHAVANEL Yohann - Resume.pdf";
}

.downloadbtn{
  margin-top: 20px;
}






/* -----------------------------------------------------------------------*/
/* ------------------------------- Chronology ----------------------------*/
/* -----------------------------------------------------------------------*/

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #2d2d2d;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: #2d2d2d;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}


.left {
  left: 0;
}


.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #2d2d2d;
}


.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #2d2d2d;
  border-width: 10px 10px 10px 0;
  border-color: transparent #2d2d2d transparent transparent;
}

.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: #2d2d2d;
  position: relative;
  border-radius: 15px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}










/* -----------------------------------------------------------------------*/
/* --------------------------------- Skills ------------------------------*/
/* -----------------------------------------------------------------------*/

.section-skills {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://i.imgur.com/R2T2Srx.jpg);
  background-size: cover;
  background-attachment: fixed;
}



.section-skills p,
.section-skills h4{
  text-align: center;
}











/* -----------------------------------------------------------------------*/
/* --------------------------------- Projects ------------------------------*/
/* -----------------------------------------------------------------------*/

.section-projects{
  margin-bottom: 100px;
}

.section-projects h4{
  margin-top: 30px;
}
















/* -----------------------------------------------------------------------*/
/* --------------------------------- Footer ------------------------------*/
/* -----------------------------------------------------------------------*/
footer{
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(https://i.imgur.com/hA6Afl2.jpg);
  background-size: cover;
  background-position: bottom;
  padding: 30px;
}

.social-list{
  list-style: none;
  font-size: 120%;
  float: right;
  padding-right: 15%;
}


.footer-nav li,
.social-list li {
  display: inline-block;
  margin-right: 10px;
}


.social-list li:last-child {
  margin-right: 0;
}
.footer-nav li:last-child{
  margin-left: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-list li a:link,
.social-list li a:visited{
  text-decoration: none;
  border: none;
  color: #7A7A7A;
  transition: color 0.2s;
}

footer p{
  color: #515151;
  margin-top: 30px;
  margin-bottom: 0;
}


.footer-nav li a:hover,
.footer-nav li a:active,
.social-list li a:hover,
.social-list li a:active{
  color: #B7B7B7;
}

.footertext a:link,
.footertext a:visited{
  text-decoration: none;
  border: none;
  color: #515151;
  transition: color 0.2s;
}










.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0, 0.5);
}
.modal-content {
  margin: auto auto;
  width: 60%;
}
form {
  padding: 5%;
  margin: 5%;
  border-radius: 20px;
  background: rgba(0,0,0, 0.5);
  backdrop-filter: blur(20px);
}
.close {
  color: #353535;
  float: right;
  margin-right: 7%;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #d8d8d8;
  text-decoration: none;
  cursor: pointer;
}
button.button {
  background: none;
  border-top: none;
  outline: none;
  border-right: none;
  border-left: none;
  color: #515151;
  cursor: pointer;
}
button.button:hover {
  color: #cf6d17;
}













/* ==========================================================================
   Scroll Bar
   ========================================================================== */

/* width */
::-webkit-scrollbar {
  width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 0 grey;
  border-radius: 50px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #a15512;
  border-radius: 10px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #cf6d17;
}






























