/* Variables générales */

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

html {
  scroll-behavior: smooth;
}

:root {
  --menuLinks-color: #ffb453;
  --background-color: #003a42;
  --background-color-light: #01444d;
  --contactButton-color: #69d6de;
  --primary-color: #5ccba6;
  --primary-color2: #269a91;
  --secondary-color1: #ffcbb8;
  --secondary-color2: #c4350b;
  --secondary-color3: #ff8392;

  --ff-primary: 'Montserrat', sans-serif;
  --fw-regular: 400;
  --fw-bold: 700;
  --fw-light: 300;
  --fw-extralight: 200;

  --fs-h1: 2rem;
  --fs-h2: 1.5rem;
  --fs-h3: 1.2rem;
  --fs-body: 1rem;
}

@media (min-width: 1400px) {
  :root {
    --fs-h1: 3rem;
    --fs-h2: 2.5rem;
    --fs-h3: 2.2rem;
    --fs-body: 1.5rem;
  }
}

/* General sizes */

body {
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  line-height: 1.6rem;
}
img {
  display: block;
  max-width: 100%;
}

/* Typography---------------------------------- */
h1,
h2,
h3 {
  line-height: 1.2rem;
  margin: 0;
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.5rem;
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.5rem;
}

.hero-content {
  color: var(--background-color);
  font-size: 1.5rem;
  line-height: 2rem;
  padding-bottom: 1em;
}

.hero-content2 {
  color: var(--background-color);
  font-size: 1rem;
  line-height: 1.2rem;
  padding-top: 1em;
}
.hero-title {
  color: var(--background-color);
  font-size: 2.4rem;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  padding: 1em 0 0.2em 0;
}

.section-about-title {
  text-align: center;
  color: var(--primary-color2);
  margin: 0;
  padding: 2em 0 1em 0;
}
.section-about-subtitle {
  text-align: center;
  font-size: var(--fs-h2);
  color: var(--contactButton-color);
  font-weight: var(--fw-regular);
  padding: 0 0 2em 0;
}
.section-parcours-title {
  text-align: center;
  color: var(--secondary-color2);
  padding: 1em 0;
}

.section-skills-title {
  text-align: center;
  color: var(--background-color-light);
  padding: 1em 0;
  margin-bottom: 1em;
}

.skills--title {
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  padding: 0.5em 0;
  text-align: left;
  color: var(--background-color-light);
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  position: relative;
  z-index: 99;
  max-width: 65em;
  margin: 0 auto;
  padding: 2rem 2rem;
}
.flex {
  position: relative;
  z-index: 99;
  max-width: 65em;
  margin: 0 auto;
  padding: 2rem 2rem 0;
}

/* End general sizes */

/* Header */
#header {
  width: 100%;
  background: var(--background-color);
  position: fixed;
  z-index: 999;
  box-shadow: 0px 3px 8px rgba(0, 39, 44, 0.4);
}
nav {
  width: 100%;
  position: relative;
  z-index: 999;
}
/* .current-page {
  color: var(--contactButton-color);
  border: 1px solid var(--contactButton-color);
  background-color: var(--background-color);
  border-radius: 4px;
  margin: 0 1em;
} */

nav .container {
  display: flex;
  justify-content: space-between;
  height: 6em;
  align-items: center;
}
.logo svg {
  width: 150px;
  align-items: center;
  position: relative;
  z-index: 999;
  cursor: pointer;
}
.navbar-links {
  position: fixed;
  background: radial-gradient(
    101.78% 101.78% at 120.56% 127.58%,
    #2e8a91 0%,
    #003a42 100%
  );
  color: var(--contactButton-color);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;

  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(0.5, 0, 0.5, 1);
}
.menu {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  margin: 16em 0;

  margin: 0;
  padding: 8em 0 2em;
}

.navbar-links a {
  display: inline-block;
  padding: 1em 1.3em;
  color: var(--menuLinks-color);
  font-weight: bold;
  font-size: 1.56rem;
  line-height: 1;
  transition: 0.3s;
}

.navbar-links a.active {
  color: var(--contactButton-color);
  border: 1px solid var(--contactButton-color);
  background-color: var(--background-color);
  border-radius: 4px;
  margin: 0 1em;
  font-size: 1.5em;
  padding: 0.8em 2em;
 /* width: 90%; */
  min-width: 328px;
  text-align: center;
}

.navbar-links a.active:hover,
.navbar-links a.active:focus {
  color: var(--contactButton-color);
  background-color: var(--background-color);
  border: 1px solid var(--contactButton-color);
}
.navbar-links a:hover,
.navbar-links a:focus {
  color: var(--contactButton-color);
}

.nav-toggle {
  padding: 0.5em;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: absolute;
  right: 2.2em;
  z-index: 1000;
}
.nav-open .navbar-links {
  transform: translateX(0);
}
/* .nav-link,
.menu-cta {
  border: 1px solid green;
} */
.nav-open .nav-toggle {
  position: fixed;
}
.nav-open .hamburger::before {
  transform: rotate(90deg) translateX(-9px);
}
.nav-open .hamburger {
  width: 2em;
  transform: rotate(0.625turn);
}
.nav-open .hamburger::after {
  opacity: 0;
}
.hamburger {
  display: block;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  background: var(--menuLinks-color);
  width: 1.5em;
  height: 3px;
  border-radius: 1em;
  transition: transform 250ms ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
}
.hamburger::before {
  width: 2em;
  top: 9px;
}
.hamburger::after {
  width: 2em;
  bottom: 9px;
}

/* End header */

/* Hero section */

#hero {
  margin: auto;
  padding: 5em 0 0 0;

  background-image: linear-gradient(
    262.16deg,
    #ffb453 -5.64%,
    rgba(255, 255, 255, 0) 60.85%
  );
  position: relative;
  overflow: hidden;
}

.hero-image {
  min-width: 610px;
  position: relative;

  padding: 0;
  margin: 0 0 0 -5em;
}
.droplets {
  display: none;
}

/* End Hero section */

/* Contact infos section */

/* #section__contact-form {
  margin: auto;
  position: relative;
  padding: 3em 0;
  border: 2px solid green;
} */

.contact__box {
  padding: 2em 0 2em;
  /* border: 2px solid green; */

}


.contact--mail,
.contact--phone,
.contact--location {
  display: flex;
  align-items: center;
  line-height: 1.2rem;
  gap: 2em;
  margin-bottom: 1em;
}

.yellow-border {
  border-bottom: 2px solid var(--menuLinks-color);
  padding: 1.5em 0;
}

.yellow-border2 {
  display: block;
  border-bottom: 2px solid var(--menuLinks-color);
  
}

.email-text {
  font-size: var(--fs-h2);
  line-height: 2rem;
  text-align: center;
  margin: 2em 0 1em;
  color: var(--menuLinks-color);
}
.connect--links {
  padding: 2.5em 0 2em;
  color: var(--primary-color2);
  margin: 0 auto;
  text-align: center;
}

.social--icons {
  display: flex;
  justify-content: space-around;
  padding-bottom: 4em;
}

/* .social-icons .linkedin {
  color: var(--secondary-color3);
} */

.social-item-link{
  color: var(--secondary-color3);
}

.social-item-link:hover{
  color: #2e8a91;
  transition: color 300ms ease-in-out;

}

/* Contact form */

.contact--row {
  width: 100%;
}
.contact--input {
  width: 100%;
  margin-bottom: 1em;
  padding: 1em 1em;
  border: 1px solid var(--primary-color2);
  border-radius: 4px;
  color: var(--primary-color2);
  background: rgba(244, 254, 255, 0.9);
}

.contact--input::placeholder {
  color: var(--primary-color2);
}
.textarea {
  padding-bottom: 5em;
}
.send-btn {
  display: inline-block;
  width: 100%;
  background: var(--secondary-color3);
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 auto;
  padding: 1em 3em;
  border-radius: 4px;
  margin-bottom: 3em;
}

/* About parcours */

#section__contact-form {
  margin: auto;
  position: relative;
  overflow: hidden;
  padding-bottom: 10em;
}
.bg__contact1 img {
  position: absolute;
  max-width: 800px;
  bottom: 0;
  right: -17em;
  z-index: -1;
}

.bg__contact2 img {
  position: absolute;
  min-width: 800px;
  bottom: -2em;
}



.chardons {
  display: none;
}

/* Footer */

.footer-top {
  background: var(--background-color);
  padding: 3em 0;
}

.nav-footer {
  display: inline;
  align-items: flex-start;
  color: var(--menuLinks-color);
  position: relative;
  height: 6em;
  max-width: 100%;
  margin: 2em auto;
  padding: 0 2rem;
  text-align: center;
}
.menu-footer a {
  color: var(--menuLinks-color);
  font-weight: 700;
  margin: 0;
  font-size: 1.5rem;
  line-height: 3rem;
}
.menu-footer {
  margin: 2em auto;
}

.menu-footer a:hover {
  color: var(--contactButton-color);
  transition: 250ms ease-in-out;
}

.footer-top .logo {
  display: none;
}
.socials {
  margin: 3em auto;
  padding: 2em 0;
  color: var(--contactButton-color);
}

.footer-bottom {
  background: var(--background-color-light);
  padding: 6em 0;
  text-align: center;
  font-size: 0.8em;
  color: white;
  font-weight: 300;
}
.socials-items {
  display: flex;
  justify-content: space-between;
  color: var(--contactButton-color);
}
.socials-items a {
  color: var(--contactButton-color);
  transition: 300ms ease-in-out;
}
.socials-items a:hover {
  color: var(--secondary-color3);
}

.socials-title {
  color: var(--menuLinks-color);
  margin-bottom: 1em;
  font-size: 1.5rem;
}

/*.menu-footer a {
  color: var(--menuLinks-color);
  text-align: left;
  font-weight: 700;
  line-height: 2em;
}*/

.mentions-rgpd {
  text-decoration: none;
  color: white;
  margin: 3em 0;
}
.footer-copywrites {
  text-align: center;
  margin: 1em auto 3em;
  width: 100%;
  padding-bottom: 2em;
  border-bottom: 1px solid var(--contactButton-color);
}

@media (min-width: 600px) {
  /* Header */

  .menu {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 16em 0;

    margin: 0;
    padding: 8em 0 2em;
  }

  .navbar-links a {
    display: inline-block;
    padding: 1em 1.3em;
    color: var(--menuLinks-color);
    font-weight: bold;
    font-size: 1.56rem;
    line-height: 1;
    transition: 0.3s;
  }

  .navbar-links a.active {
    color: var(--contactButton-color);
    border: 1px solid var(--contactButton-color);
    background-color: var(--background-color);
    border-radius: 4px;
    /* margin-left: 0.5em; */
    margin: 0 1em;
    font-size: 1.5em;
    padding: 0.8em 2em;
    min-width: 139px;
    text-align: center;
  }
  .menu-cta {
    margin: 0 auto;
    text-align: center;
  }
  .menu-cta a.nav-link {
    padding: 0.8em 4em;
  }

  /* Hero */
  .hero__flex {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }
  .hero__flex .column1 {
    width: 60%;
  }
  .hero__flex .column2 {
    width: 40%;
  }
  .section-about-subtitle {
    padding: 0;
  }
  .hero-title {
    color: var(--background-color);
    font-size: 2.5rem;
    font-weight: var(--fw-bold);
    padding: 1em 0 0.2rem;
    line-height: 2.5rem;
  }

  img {
    max-width: 100%;
  }

  .hero-image {
    min-width: 600px;
    position: relative;

    padding: 0;
    margin: 0 0 0 -5em;
  }
  .droplets {
    display: none;
  }

  .lines {
    position: absolute;
    margin: auto;
    left: -1em;
    z-index: -1;
  }
  #section-about-verbatim {
    position: relative;
    overflow: hidden;
  }

  .section-about-verbatim {
    font-size: 1.5rem;
    line-height: 2.2rem;
    color: var(--background-color);
    padding: 4em 3em;
  }

  .contact__box {
    display: flex;
    justify-content: space-between;
  }
  .contact--infos {
    width: 48%;
  }
  .contact--form {
    width: 48%;
    margin: 0;
  }
  .yellow-border2 {
    display: none;
  }
  .email-text {
    margin-top: 0 ;
  }

  .social-contacts h2 {
    text-align: left;
  }

  .social--icons {
    justify-content: flex-start;
    gap: 2em;
    
  }

  .bg__contact1 img {
    right: -7em;
  }

  .bg__contact2 img {
    margin: 0;
    min-width: 1000px;
  }

  /* Clients */
  #section-clients {
    margin: auto;
    position: relative;
    margin-bottom: 3em;
    padding-bottom: 3em;
  }

  .chardons {
    position: absolute;
    margin: auto;
    right: 6em;
    bottom: -1em;
    z-index: 5;
  }

  /* Footer */

  .socials-items {
    margin: 0 auto;
    padding-top: 1em;
    width: 40%;
  }
}

@media (min-width: 1000px) {
  /* header */
  .hamburger {
    display: none;
  }

  .navbar-links {
    position: relative;

    background: transparent;
    color: var(--contactButton-color);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transform: translateX(0%);
  }
  .navbar-links ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  .navbar-links a {
    display: inline-block;
    padding: 0.9em 2em;
    color: var(--menuLinks-color);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
    transition: 0.3s;
  }
  .navbar-links a.active {
    color: var(--contactButton-color);
    border: 1px solid var(--contactButton-color);
    background-color: var(--background-color);
    border-radius: 4px;
    /* margin-left: 0.5em; */
    width: 90%;
    font-size: 1em;
    padding: 0.8em 0.9em;
  }

  /* Hero */

  img {
    max-width: 100%;
  }
  .hero__flex {
    padding: 0;
    justify-content: flex-start;
  }
  .hero__flex .column1 {
    width: 30%;
  }

  .hero__flex.column2 {
    width: 70%;
  }

  .hero-image {
    position: absolute;
    min-width: 800px;
    left: -10em;
    bottom: 0;
  }

  .hero-content {
    font-size: 2rem;
    line-height: 2.8rem;
  }
  .hero-content2 {
    font-size: 1.3rem;
  }

  .droplets {
    display: block;
    position: absolute;
    top: 17em;
    right: -12em;
  }

  .hero-text,
  .column2 {
    position: relative;
    margin-bottom: 2em;
    width: 50%;
    right: 8%;
  }

  .chardons {
    display: block;
    position: absolute;
    margin: auto;
    left: 1em;
    bottom: -1em;
    z-index: -1;
  }
  .yellow-border2 {
    display: none;
  }

  .bg__contact2 {
    max-width: 1200px;
  }

  /* Footer */

  .footer-top {
    background: var(--background-color);
    padding: 4em 0 8em;
  }
  .footer-top .nav-footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 6em;
    max-width: 75em;
    margin: 0 auto;
    padding: 0 0 3em;
  }
  .footer-top .logo {
    display: inline;
    margin: 0;
    padding: 0;

    width: 33%;
  }
  .menu-footer {
    margin: 0;
    padding: 0;
    width: 33%;
  }
  .menu-footer ul {
    margin: 0;
    padding: 0;
  }

  .menu-footer a {
    margin: 0;
    padding: 0;
  }
  .socials {
    justify-content: space-between;
    margin: 0;
    padding: 0.8em 0;
    width: 33%;
  }
  .socials-items {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
  }
  /* .linkedin {
    margin-left: 2em;
  } */
  .mail {
    margin-left: 2em;
  }
}
