/* 1. Configuration */
/* Custom Properties */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&family=Source+Code+Pro:wght@300&display=swap");
:root {
  /* Main colours
    --dark: #1D3557;
    --medium: #457B9D;
    --light: #A8DADC;
    --white: #F4F1DE ;
    --accent: #e47819; 

    similar as SheCodes
    --dark: #320b3d;
    --medium: #591d69;
    --light: #c866cc;
    --white: #fbecf0 ;
    --accent: #ff8124; 

    Pastels
    --dark: #288c7c;
    --medium: #b3e5da;
    --light: #ffbb66;
    --white: #fff ;
    --accent: #f85a3a; */
  --dark: #373A53;
  --medium: #6b72af;
  --light: #91caae;
  --white: #fff ;
  --accent: #EC8C83;
  --fw-reg: 300;
  --fw-bold: 700;
  --ff-body: 'Montserrat', sans-serif;
  --ff-code: 'Source Code Pro', monospace;
  --fs-h1: 2.3rem;
  --fs-h2: 2rem;
  --fs-h3: 1.3rem;
  --fs-body: 1.05rem;
  /* box-shadow */
  --bs: 0.25em 0.25em 0.75em rgba(61,64,91,.25), 
        0.125em 0.125em 0.25em rgba(61,64,91,.15);
  /* padding container */
  --bloc: 5vh 10vw;
}

@media (min-width: 900px) {
  :root {
    --fs-h1: 3em;
    --fs-h2: 2em;
    --fs-h3: 1.2em;
    --fs-body: 1.15rem;
  }
}

/* Reset */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* General Styles */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  font-family: var(--ff-body);
  color: var(--dark);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

strong {
  font-weight: var(--fw-bold);
}

:focus {
  outline: 3px solid var(--medium);
  outline-offset: 3px;
}

/* Fonts */
/* Icons */
@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon.eot");
  src: url("../fonts/icomoon.eot#iefix") format("embedded-opentype"), url("../fonts/icomoon.ttf") format("truetype"), url("../fonts/icomoon.woff") format("woff"), url("../fonts/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-she:before {
  content: "\e900";
}

.icon-twitter:before {
  content: "\ea96";
}

.icon-github:before {
  content: "\eab0";
}

.icon-linkedin2:before {
  content: "\eaca";
}

.icon-codepen:before {
  content: "\eae8";
}

/* Typography */
h1,
h2,
h3 {
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin: 0;
  padding: 0.5em 0;
}

h1 {
  font-size: var(--fs-h1);
  color: var(--light);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

.section__title {
  font-size: var(--fs-h2);
  color: var(--medium);
}

.section__subtitle {
  margin: 0;
  font-size: var(--fs-h3);
  color: var(--accent);
  font-family: var(--ff-code);
}

a {
  font-size: inherit;
  font-weight: var(--fw-bold);
  text-decoration: none;
  color: var(--medium);
}

a:hover {
  color: var(--dark);
  text-decoration: underline;
}

/* 2. Layout-related sections */
/* Header */
.header {
  background-color: var(--dark);
  color: var(--light);
  padding: 3vh 10vw 0;
}

.intro__text {
  padding: 2rem 0;
}

@media (min-width: 600px) {
  .intro {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .intro__text {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -ms-flex-negative: 1;
        flex-shrink: 1;
    max-width: 600px;
  }
  .intro__img {
    -ms-flex-item-align: end;
        align-self: flex-end;
    -ms-grid-column-align: center;
        justify-self: center;
    -webkit-box-flex: 2;
        -ms-flex-positive: 2;
            flex-grow: 2;
  }
  .intro__img > img {
    margin: auto;
  }
}

/* Navigation */
.nav-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 1em;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.logo {
  max-width: 100px;
}

.nav {
  position: fixed;
  background: var(--dark);
  color: var(--light);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  -webkit-transform: translatex(100%);
          transform: translatex(100%);
  /*create a full-screen nav with an ease-out transition */
  -webkit-transition: -webkit-transform 250ms cubic-bezier(0.5, 0, 0.5, 1);
  transition: -webkit-transform 250ms cubic-bezier(0.5, 0, 0.5, 1);
  transition: transform 250ms cubic-bezier(0.5, 0, 0.5, 1);
  transition: transform 250ms cubic-bezier(0.5, 0, 0.5, 1), -webkit-transform 250ms cubic-bezier(0.5, 0, 0.5, 1);
}

.nav__list {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: inherit;
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--accent);
}

.nav-toggle {
  padding: .5em;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: absolute;
  top: 1.8em;
  right: 1.5em;
  z-index: 1000;
}

@media (min-width: 600px) {
  .nav-toggle {
    top: 4vh;
    right: 10vw;
  }
}

/* .nav-open is added in js, allow the menu to appear, fix the hamburger to the top*/
.nav-open .nav {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.nav-open .nav-toggle {
  position: fixed;
}

.nav-open .hamburger {
  -webkit-transform: rotate(0.625turn);
          transform: rotate(0.625turn);
}

.nav-open .hamburger::before {
  -webkit-transform: rotate(90deg) translate(-8px);
          transform: rotate(90deg) translate(-8px);
}

.nav-open .hamburger::after {
  opacity: 0;
}

.hamburger {
  display: block;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  background: var(--light);
  width: 2em;
  height: 4px;
  border-radius: 1em;
  -webkit-transition: -webkit-transform 250ms ease-in-out;
  transition: -webkit-transform 250ms ease-in-out;
  transition: transform 250ms ease-in-out;
  transition: transform 250ms ease-in-out, -webkit-transform 250ms ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
}

.hamburger::before {
  top: 8px;
}

.hamburger::after {
  bottom: 8px;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--medium);
  text-align: center;
  padding: 1.5em 0;
  font-size: var(--fs-h3);
}

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

.footer__link {
  font-weight: var(--fw-bold);
}

.footer__link:hover,
.social-list__link:hover {
  color: var(--light);
}

.footer__link:hover {
  text-decoration: underline;
}

.social-list {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 1em 0 0;
  padding: 0;
}

.social-list__item {
  margin: 0 .5em;
}

/* 3. Components */
.btn {
  display: inline-block;
  padding: .5em 1.5em;
  background: var(--accent);
  color: var(--dark);
  text-decoration: none;
  cursor: pointer;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: var(--fw-bold);
  -webkit-transition: -webkit-transform 200ms ease-in-out;
  transition: -webkit-transform 200ms ease-in-out;
  transition: transform 200ms ease-in-out;
  transition: transform 200ms ease-in-out, -webkit-transform 200ms ease-in-out;
  border-radius: 5px;
}

.btn:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  background: var(--dark);
  color: var(--accent);
}

/* 4. Page-specific styles// 4. Page-specific styles */
/* Homepage */
/* About Me Section */
.about-me {
  max-width: 10000px;
  margin: 0 auto;
  padding: var(--bloc);
}

.about-me__img {
  background-color: white;
  border-top-left-radius: 3%;
  border-top-right-radius: 3%;
  margin-top: 20px;
}

.section__title--about {
  text-align: center;
}

.section__subtitle--about {
  background-color: var(--dark);
  padding: 0.5rem;
  text-align: center;
}

.about-me__column img {
  min-width: 145px;
  height: auto;
  cursor: pointer;
  -webkit-animation: beat .5s infinite alternate;
          animation: beat .5s infinite alternate;
  -webkit-transform-origin: center;
          transform-origin: center;
  margin: 5px 0 -5px;
}

/* Heart beat animation */
@-webkit-keyframes beat {
  to {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
@keyframes beat {
  to {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: white;
  border: solid 2px var(--medium);
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--medium);
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: 35px;
  left: 95%;
}

.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%;
  /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent var(--medium) transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.about-me__btn {
  margin: 20px 0 0;
}

@media (min-width: 600px) {
  .about-me {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 280px 1fr;
        grid-template-columns: 280px 1fr;
        grid-template-areas: "img title " "img subtitle " "img text-intro" "text text" "button button";
    grid-column-gap: 2em;
    padding-top: 2vh;
  }
  .section__title--about {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    grid-area: title;
    text-align: left;
    padding: 75px 0 10px;
  }
  .section__subtitle--about {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
    grid-area: subtitle;
    grid-column: 1 / -1;
    /* from the beginning to the last column of the grid */
    -ms-grid-row: 2;
    grid-row: 2;
    /* set up the subtitle to go behind the image and strech all over the page */
    position: relative;
    left: -1em;
    width: calc(100% + 2em);
    padding-right: 1em;
    padding-left: calc(280px + 2.7em);
    text-align: left;
    font-size: var(--fs-h3);
    padding-bottom: 0;
    border-radius: 5px;
    font-weight: bold;
  }
  .about-me__img {
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    -ms-grid-column: 1;
    grid-area: img;
    position: relative;
    z-index: 2;
    border-radius: 3%;
    -webkit-box-shadow: none;
            box-shadow: none;
    margin-bottom: 20px;
    border: var(--medium) 3px solid;
  }
  .about-me__text-intro {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
    grid-area: text-intro;
  }
  .about-me__body {
    -ms-grid-row: 4;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-area: text;
    grid-column: 1 / -1;
  }
  .about-me__btn {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-area: button;
    margin: 40px auto 0;
  }
  .shecodes_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@media (min-width: 1000px) {
  .about-me__columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1600px;
    margin: 40px auto 0;
    width: 100%;
  }
  .about-me__column {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    /* with flex: 1 all the columns use the same space */
  }
  .about-me__column + .about-me__column {
    margin-left: 2em;
  }
  .shecodes_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }
}

/* Projects Section */
.projects__gallery {
  background-color: var(--light);
  padding: var(--bloc);
  text-align: center;
}

.section__title--projects {
  color: var(--dark);
}

.section__title--projects span {
  display: block;
}

/* Fallback layout */
.projects {
  max-width: 500px;
  margin: 0 auto;
}

.projects > article {
  margin: 1rem;
}

@supports (display: grid) {
  .projects {
    max-width: 10000px;
    margin: 0;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(300px, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* repeat as many column as possible in the page with a minimum of 300px and a max of the same portion for all */
  }
  .projects > article {
    margin: 0;
  }
}

.project {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  padding: 2rem;
  text-align: center;
  border-radius: 3%;
}

.project__item {
  background-color: var(--medium);
  overflow: hidden;
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  /* image displayed first */
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  width: 100%;
  border-radius: 3%;
}

.project__img {
  -webkit-transition: opacity 250ms linear, -webkit-transform 750ms cubic-bezier(0.5, 0, 0.5, 1);
  transition: opacity 250ms linear, -webkit-transform 750ms cubic-bezier(0.5, 0, 0.5, 1);
  transition: transform 750ms cubic-bezier(0.5, 0, 0.5, 1), opacity 250ms linear;
  transition: transform 750ms cubic-bezier(0.5, 0, 0.5, 1), opacity 250ms linear, -webkit-transform 750ms cubic-bezier(0.5, 0, 0.5, 1);
  width: 100%;
  border: 3px solid var(--medium);
  border-radius: 3%;
}

.project__item:focus {
  position: relative;
  z-index: 2;
  border-radius: 3%;
}

.project__img:hover,
.project__item:focus .project__img {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
  opacity: .5;
  border-radius: 3%;
}

/* Animation */
#animation_container {
  max-width: 440px !important;
  max-height: 260px !important;
}

#canvas {
  max-width: 440px !important;
  max-height: 260px !important;
}

@media (min-width: 600px) {
  .section__title--projects span {
    display: inline-block;
  }
}

.intro-recipe {
  min-height: calc(100vh - 158px);
}

.video__recipe {
  min-width: 77vw;
}

.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.iframe-responsive {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.contact-form {
  min-height: calc(100vh - 500px);
  max-width: 420px;
  margin: 3vh auto 7vh;
  padding: var(--bloc);
}

@media (min-width: 600px) {
  .contact-form {
    padding: 0;
  }
}

.feedback-input {
  font-size: var(--fs--body);
  color: var(--dark);
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border: 2px solid var(--accent);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: 0;
}

.feedback-input:focus {
  border: 2px solid var(--medium);
}

.contact-form__btn {
  width: 100%;
  border: 0;
}

.intro__text-contact {
  max-width: 10000px;
}

.social-list-contact {
  margin: 0;
}
/*# sourceMappingURL=styles.css.map */