/* 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-text{
  margin: 0  0 2em;
}
.hero-content {
  color: var(--menuLinks-color);
  font-size: 1.3rem;
  line-height: 2rem;
  margin: 1em 0;
}
.hero-content span {
  display: block;
  /* border: 1px solid #269a91; */
}
.hero-content2 {
  color: var(--background-color);
  font-size: 1rem;
  line-height: 1.2rem;
  padding-top: 1em;
}
.hero-subtitle {
  color: var(--contactButton-color);
  font-size: 6rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  margin-bottom: 1em;
  
}

.hero-title {
  font-size: 2.5rem;
  color: var(--menuLinks-color);
}

.btn404 {
  padding: 1em 2em;
  text-align: center;
  background-color: var(--secondary-color3);
  border-radius: 12px;
  width: 100%;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: 300ms ease-in-out;
}

.btn404 a {
  text-decoration: none;
  color: #fff;
}

.btn404:hover,
.btn404:focus {
  background-color: var(--secondary-color2);
}


a {
  text-decoration: 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 */



/* Hero section */

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

  background-image: radial-gradient(
    153.33% 62.92% at -82.78% 5.92%,
     #5CCBA6 3.99%, 
     #003A42 88.67%
  );
  position: relative;
  overflow: hidden;
  
}
#hero h3 {
  font-weight: 200;
}

.hero-image {
  min-width: 390px;
  position: relative;
  padding: 0;
  margin: 0 0 -1em -4em;
}
.spike {
  display: none;
}

.bottom-picture {
  width: 900px;
  position: relative;
  right: 70%;
  bottom: -3em;
}

.hero__flex {
  display: flex;
  flex-direction: column-reverse;
}

/* End Hero section */





.chardons {
  display: none;
}

.gradient-bottom {
  height: 200px;
  background: linear-gradient(0deg, rgba(25,97,93,1) 13%, rgba(0,58,66,1) 76%);
}





@media (min-width: 600px) {
  

  /* Hero */
  #hero{
    height: 100vh;
  }
  .hero__flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between ;
  }
  .hero__flex .column1 {
    width: 40%;

  }
  .hero__flex .column2,
  .hero-text {
    width: 60%;
  }
  

  .bottom-picture {
    right: 10%;
    bottom: -3em;
  }

  
  img {
    max-width: 100%;
  }


  
}

@media (min-width: 1000px) {
  
  /* Hero */

  img {
    max-width: 100%;
  }
  .hero__flex .column1 {
    width: 50%;
  }

  .hero__flex .column2 {
    width: 50%;
  }

 
  .hero-image {
    max-width: 750px;
  }

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

  

  
  .chardons {
    display: block;
    position: absolute;
    margin: auto;
    right: 4em;
    bottom: -3em;
    z-index: 5;
  }
  

  
}
