:root {
  --dark-green: #61892f;
  --light-green: #86c232;
  --black: #222629;
  --orange: #e85620;
  --light-gray: #707070;
  --very-light-green: #eaf8d9;
}

body {
  color: var(--black);
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  margin: 0 auto;
}

.container {
  max-width: 80%;
  margin: 0 auto;
  font-size: 0;
  box-sizing: border-box;
}

.container p,
.container a,
.container div,
.container address,
.container span {
  font-size: 16px;
  vertical-align: middle;
}

img {
  max-width: 100%;
}

.dark-green {
  color: var(--dark-green);
}

.capitalize {
  text-transform: capitalize;
}

.bold {
  font-weight: bold;
}

span.big {
  font-size: 65px;
  vertical-align: inherit;
}

.center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.hidden{
    display: none;
}

/*-------------------------*/
/* BUTTONS         
/*-------------------------*/
img.turn-page {
  width: 5%;
  filter: invert(1) sepia(1) saturate(5) hue-rotate(175deg);
}

.btn-white {
  background: linear-gradient(
    180deg,
    #60892f 0%,
    rgba(37.64705882352939%, 53.72549019607843%, 18.43137254901961%, 0.64)
      0.5957063418826912%,
    rgba(37.3734010537647%, 54.02580901115171%, 17.471742763229063%, 0.64)
      61.714430940865675%
  );
  border: 0.3rem solid;
  border-radius: 20px;
  color: white;
  padding: 15px 100px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin-left: 30px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 5px;
}

.btn-green {
  background: linear-gradient(
    180deg,
    #60892f 0%,
    #314518 39.19700608860878%,
    #61892f 99.60089180339313%,
    rgba(37.3734010537647%, 54.02580901115171%, 17.471742763229063%, 0.64)
      99.60089180339313%
  );
  border: 0.3rem solid;
  border-radius: 20px;
  color: white;
  padding: 15px 200px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
  margin-left: 5%;
  font-weight: bold;
  letter-spacing: 5px;
}

.btn-green:hover {
  background: linear-gradient(
    180deg,
    #61892f 0%,
    #61892f 39.19700608860878%,
    #61892f 99.60089180339313%,
    rgba(37.3734010537647%, 54.02580901115171%, 17.471742763229063%, 0.64)
      99.60089180339313%
  );
  color: var(--black);
  border: 0.3rem solid black;
}

.btn-white:hover {
  background: white;
  color: var(--black);
  border: 0.3rem solid var(--dark-green);
}

/*-------------------------*/
/* TITLES AND LINKS         
/*-------------------------*/
h1 {
  font-family: "Roboto", sans-serif;
  color: white;
  font-size: 55px;
  letter-spacing: 2px;
}

h2 {
  font-family: "Playfair Display";
  color: var(--dark-green);
  text-transform: uppercase;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 20px;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

/*-------------------------*/
/* HEADER LOGO NAVIGATION         
/*-------------------------*/
a.logo {
  width: 20%;
  display: inline-block;
}

a.linkedin img {
  width: 3%;
  display: inline-block;
  vertical-align: middle;
}

header {
  padding-top: 10px;
  padding-bottom: 10px;
}

nav#main-navigation {
  display: inline-block;
  text-align: right;
  width: 80%;
  text-transform: uppercase;
  vertical-align: middle;
}

nav#main-navigation a {
  margin: 0 14px;
}

.green-on-hover:hover {
  color: var(--dark-green);
  filter: invert(51%) sepia(16%) saturate(1627%) hue-rotate(44deg)
    brightness(90%) contrast(85%);
}

/*-------------------------*/
/* MAIN SLIDER         
/*-------------------------*/
section#slider.container {
  height: 800px;
  position: relative;
}

h1.header-h1 {
  padding-left: 5%;
}

p.html-tag {
  margin-top: 0%;
}

section#slider {
  background-image: url(images/kg-portfolio-main-header-pro-main-image-resized.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-origin: content-box;
  height: 600px;
}

span#text-change {
  font-size: 55px;
  letter-spacing: 2px;
  vertical-align: initial;
}

/*-------------------------*/
/* CODE TEXT OVER WEBSITE :before :after            
/*-------------------------*/
h1:before {
  content: "<h1>";
  font-weight: 400;
  font-size: 16px;
  color: var(--very-light-green);
  display: block;
  padding-bottom: 1%;
  letter-spacing: normal;
}

h1:after {
  content: "</h1>";
  font-weight: 400;
  font-size: 16px;
  color: var(--very-light-green);
  display: block;
  padding-top: 1%;
  letter-spacing: normal;
}

p.html-tag:before {
  content: "<html>";
  font-weight: 400;
  font-size: 16px;
  color: var(--very-light-green);
  display: block;
  padding-top: 3%;
  letter-spacing: normal;
}

p.html-tag:after {
  content: "<body>";
  font-weight: 400;
  font-size: 16px;
  color: var(--very-light-green);
  display: block;
  padding-top: 3%;
  letter-spacing: normal;
  padding-left: 3%;
}

h2:before {
  content: "<h2>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  text-transform: lowercase;
  font-family: "Roboto", sans-serif;
  padding-bottom: 1%;
}

h2:after {
  content: "</h2>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  text-transform: lowercase;
  font-family: "Roboto", sans-serif;
  padding-top: 1%;
}

p.under-h2-text:before {
  content: "<p>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-bottom: 1%;
}

p.under-h2-text:after {
  content: "</p>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-top: 1%;
}

.contact-form:before {
  content: "<form>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-bottom: 1%;
}

.contact-form:after {
  content: "</form>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-top: 1%;
}

section.articles:before {
  content: "<section>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-bottom: 1%;
}

section.articles:after {
  content: "</section>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-top: 1%;
  padding-bottom: 1%;
}

div.right-column-one:before {
  content: "<img>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-top: 1%;
  padding-bottom: 1%;
  text-align: left;
  margin-left: 10%;
}

div.right-column-one:after {
  content: "</img>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-top: 1%;
  padding-bottom: 1%;
  text-align: left;
  margin-left: 10%;
}

div.skills:before {
  content: "<section>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-bottom: 1%;
}

div.skills:after {
  content: "</section>";
  font-weight: 300;
  font-size: 16px;
  color: var(--light-gray);
  display: block;
  padding-top: 1%;
}

/*-------------------------*/
/* PORTFOLIO             
/*-------------------------*/
section#portfolio {
  padding-top: 2%;
  padding-bottom: 5%;
  position: relative;
}

section#portfolio h2 {
  text-align: left;
}

article.single-article {
  display: inline-block;
  width: calc((100% / 3) - 20px);
  margin: 0 20px 20px 0;
  vertical-align: top;
  border: 1px solid #d2d2d2;
  border-radius: 8px;
  box-sizing: border-box;
}

section.all-articles {
  margin: 0 auto;
  width: 80%;
}

.single-article {
  position: relative;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: 0.7s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
}

.single-article:hover .image {
  opacity: 0.3;
}

.single-article:hover .middle {
  opacity: 1;
}

div.middle .text a {
  background-color: var(--dark-green);
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

/*-------------------------*/
/* ABOUT             
/*-------------------------*/
section#about {
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
  padding-top: 4%;
  padding-bottom: 5%;
}

section#about .left-column-one {
  display: inline-block;
  width: 60%;
}

section#about .right-column-one {
  display: inline-block;
  width: 40%;
  text-align: center;
}

img#karla-sketch {
  width: 60%;
}

/*-------------------------*/
/* SKILLS             
/*-------------------------*/
section#skills {
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
  padding-top: 4%;
  padding-bottom: 5%;
}

div.right-column-skills {
  width: 40%;
  color: var(--black);
  margin-right: 3%;
  display: inline-block;
  margin-left: 5%;
}

div.left-column-skills {
  width: 40%;
  color: var(--black);
  display: inline-block;
  margin-right: 10%;
}
.skills li {
  margin: 20px 0;
}

.bar {
  background: var(--very-light-green);
  display: block;
  height: 2px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 10px var(--very-light-green);
}

.bar span {
  height: 2px;
  float: left;
  background: var(--dark-green);
}

.html {
  width: 90%;
  animation: html 2s forwards 2;
}

.css {
  width: 80%;
  animation: css 2s;
}

.js {
  width: 50%;
  animation: js 2s;
}

.symfony {
  width: 80%;
  animation: symfony 2s;
}

.wordpress {
  width: 70%;
  animation: wordpress 2s;
}

.php {
  width: 70%;
  animation: wordpress 2s;
}

.mysql {
  width: 70%;
  animation: wordpress 2s;
}

.photoshop {
  width: 70%;
  animation: wordpress 2s;
}

.adobe-xd {
  width: 70%;
  animation: wordpress 2s;
}

.adobe-ill {
  width: 70%;
  animation: wordpress 2s;
}

li {
  list-style-type: none;
}

@keyframes html {
  from {
    width: 0%;
  }
  to {
    width: 90%;
  }
}

@keyframes css {
  from {
    width: 0%;
  }
  to {
    width: 90%;
  }
}

@keyframes js {
  from {
    width: 0%;
  }
  to {
    width: 65%;
  }
}

@keyframes symfony {
  from {
    width: 0%;
  }
  to {
    width: 80%;
  }
}

@keyframes wordpress {
  from {
    width: 0%;
  }
  to {
    width: 70%;
  }
}

@keyframes wordpress {
  from {
    width: 0%;
  }
  to {
    width: 70%;
  }
}

@keyframes wordpress {
  from {
    width: 0%;
  }
  to {
    width: 70%;
  }
}

@keyframes wordpress {
  from {
    width: 0%;
  }
  to {
    width: 70%;
  }
}

@keyframes wordpress {
  from {
    width: 0%;
  }
  to {
    width: 70%;
  }
}

@keyframes wordpress {
  from {
    width: 0%;
  }
  to {
    width: 70%;
  }
}

/*-------------------------*/
/* CONTACT             
/*-------------------------*/
section#contact {
  background-image: url(images/kg-portfolio-contact-background-image-envelope-resized.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-origin: content-box;
  height: 100%;
  padding-top: 4%;
  padding-bottom: 4%;
}

/* FORM */
form {
  margin: 0 auto;
  width: 60%;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  opacity: 0.5;
}

/* submit button */
input[type="submit"] {
  background-color: var(--dark-green);
  color: white;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 2%;
}

/* When moving the mouse over the submit button, add a lighter green color */
input[type="submit"]:hover {
  background-color: var(--light-green);
}

label {
  color: var(--light-gray);
}

label.checkbox{
  position:relative;
  padding: 0 0 0 2rem;
}

input[type=checkbox] {
  position: absolute;
  
}

/*-------------------------*/
/* FOOTER           
/*-------------------------*/
section.footer-content {
  text-align: center;
}

img#logo-footer {
  width: 12%;
  display: inline-block;
}

span.mentions-legales {
  text-transform: capitalize;
}

footer {
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
  padding-top: 1%;
  padding-bottom: 1%;
}

.container span a {
  vertical-align: baseline;
}

footer .container a {
  vertical-align: baseline;
}

.container .footer-font {
  font-size: 12px;
}

.mentions-legales a:hover {
  text-decoration: underline;
}

/*-------------------------*/
/* MENTIONS LEGALES             
/*-------------------------*/
section#mentions {
  padding-top: 1%;
  padding-bottom: 5%;
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
}

/*-------------------------*/
/* POLITIQUES CONFIDELITY              
/*-------------------------*/
section#politique {
  padding-top: 1%;
  padding-bottom: 5%;
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
}

ul.a {
  list-style-type: circle;
  color: var(--black);
  font-size: 16px;
}

.container ul li {
  list-style-type: circle;
  padding-bottom: 1%;
}

/*-------------------------*/
/* COOKIES BANNER    (done with PureCookie - JavaScript library that i found online)     
/*-------------------------*/
.cookieConsentContainer {
  z-index: 999;
  width: 300px;
  min-height: 20px;
  box-sizing: border-box;
  padding: 15px 15px 15px 15px;
  background: #232323;
  overflow: hidden;
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
}

.cookieConsentContainer .cookieTitle a {
  font-family: OpenSans, arial, "sans-serif";
  color: #ffffff;
  font-size: 18px;
  line-height: 20px;
  display: block;
}

.cookieConsentContainer .cookieDesc p {
  margin: 0;
  padding: 0;
  font-family: OpenSans, arial, "sans-serif";
  color: #ffffff;
  font-size: 13px;
  line-height: 20px;
  display: block;
  margin-top: 10px;
}
.cookieConsentContainer .cookieDesc a {
  font-family: OpenSans, arial, "sans-serif";
  color: #ffffff;
  text-decoration: underline;
}

.cookieConsentContainer .cookieButton a {
  display: inline-block;
  font-family: OpenSans, arial, "sans-serif";
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  margin-top: 14px;
  background: #000000;
  box-sizing: border-box;
  padding: 15px 24px;
  text-align: center;
}

.cookieConsentContainer .cookieButton a:hover {
  cursor: pointer;
  background: var(--dark-green);
}

@media (max-width: 980px) {
  .cookieConsentContainer {
    bottom: 0px !important;
    left: 0px !important;
    width: 100% !important;
  }
}

/*-------------------------*/
/* SCROLL TO TOP BUTTON             
/*-------------------------*/
#myBtn {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--dark-green);
  color: white;
  cursor: pointer;
  padding: 6px;
  border-radius: 12px;
}

#myBtn:hover {
  background-color: var(--light-green);
}

/*-------------------------*/
/*-------------------------*/
/* CV PAGE
/*-------------------------*/
/*-------------------------*/

/* SECTION HEADER GREEN */
section#slider-cv {
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
  padding-bottom: 4%;
  padding-top: 2%;
  background-color: var(--dark-green);
}
#cv-karla-sketch {
  width: 70%;
}

section#slider-cv .right-column-cv {
  vertical-align: bottom;
  display: inline-block;
  width: 70%;
}

section#slider-cv .left-column-cv {
  display: inline-block;
  width: 30%;
}

a.linkedin-logo-cv img {
  width: 3%;
  display: inline-block;
  vertical-align: middle;
  filter: invert(99%) sepia(0%) saturate(6659%) hue-rotate(121deg)
    brightness(120%) contrast(100%);
}

a.linkedin-logo-cv img:hover{
    filter: invert(0%) sepia(79%) saturate(6421%) hue-rotate(33deg) brightness(93%) contrast(112%);
}

section#slider-cv .right-column-cv .h1-cv {
  padding-top: 4%;
  margin: 0;
  font-size: 40px;
  font-family: "Playfair Display", serif;
}

section#slider-cv .right-column-cv .h1-cv:before {
  content: "";
}

section#slider-cv .right-column-cv .h1-cv:after {
  content: "";
}

.h3-cv {
  margin: 0;
  padding: 0;
  color: white;
  font-weight: bold;
}

div.col-left {
  display: table-cell;
  color: white;
}

.h4-cv {
  padding-right: 50px;
  margin-top: 15%;
  margin-bottom: 15%;
}

/* COMPETENCES */
section#competences {
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
  padding-top: 2%;
  padding-bottom: 5%;
}

/* EXPERIENCES PROFESSIONELLES */
section#experiences-pro {
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
  padding-top: 4%;
  padding-bottom: 5%;
}

ol.pro {
  list-style-type: none;
  font-size: 14px;
}

li.pro {
  position: relative;
  margin: 0;
  padding-bottom: 2em;
  padding-left: 20px;
}

li.pro:before {
  content: "";
  background-color: var(--dark-green);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 6px;
  width: 3px;
}

li.pro:after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 32 32' focusable='false'%3E%3Ccircle stroke='none' fill='var(--dark-green)' cx='16' cy='16' r='10'%3E%3C/circle%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  height: 15px;
  width: 15px;
}

/* COMPETENCES PERSONNELLES */
section#competences-pro {
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
  padding-top: 4%;
  padding-bottom: 10%;
}

.competences-image {
  width: 8%;
  vertical-align: middle;
}

/* FORMATION / LANGUES / CENTRE D'INTERET */
section#formation {
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
  padding-top: 4%;
  padding-bottom: 5%;
}

.flags {
  width: 5%;
  vertical-align: bottom;
}

.column {
  float: inline-start;
  width: 33.33%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.col-4 {
  float: inline-start;
  width: 33.33%;
}

img.size {
  width: 50%;
}

.education-image {
  width: 5%;
  vertical-align: bottom;
}

span.education {
  font-family: "Playfair Display", serif;
  font-weight: bold;
}

/* FOOTER CV */
footer {
  box-shadow: rgba(0, 0, 0, 0.2) 0px -6px 6px -6px;
}

