/* FONT-FACE */

/* Humming-regular - latin */
@font-face {
  font-display: swap; /* Check https:/*developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Humming';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Humming.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/Humming.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* Avenir - light - latin */
@font-face {
  font-display: swap; /* Check https:/*developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Avenir';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/AvenirLTStd-Light.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/AvenirLTStd-Light.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* Avenir - regular - latin */
@font-face {
  font-display: swap; /* Check https:/*developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Avenir';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/AvenirLTStd-Medium.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/AvenirLTStd-Medium.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
}

/* GENERIC STYLE */

html {
  /* switching to border-box model for all elements */
  box-sizing: border-box;
  /* set base font-size to equiv "10px", which is adapted to rem unit */
  font-size: 62.5%;
  /* IE9-IE11 math fixing. See http://bit.ly/1g4X0bX */
  font-size: calc(1em * 0.625);
}

body {
  background-color: #f7d0a7;
  margin: 0;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  max-width: 100vw;
  overflow-x: hidden;
  padding-top: 4rem;
}

.wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.wrapper-sm {
  max-width: 1024px;
}

p {
  font-size: 1.8rem;
  line-height: 2.8rem;
  color: #224247;
}

.title-block {
  text-align: center;
}

.bottom-info {
  width: 100%;
  padding: 4rem;
  text-align: center;
  margin: 4rem 0 0 0;
  background-image: url('../images/bg-4.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.title {
  font-family: "Humming", Helvetica, sans-serif;
  font-size: 4.5rem;
  line-height: 5.5rem;
  color: #224247;
  margin: 0;
}

.section {
  padding: 4rem 0;
}

.section--no-top {
  padding-top: 0;
}

/* LOGO */
.logo {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 4rem;
}

.logo__img {
  max-width: 100%;
  height: auto;
}

/* PRESENTATION */

.pres {
  display: flex;
  justify-content: center;
  margin: 2rem auto 0 auto;
  padding: 0 4rem;
}

.pres__intro {
  background-color: #FFF;
  padding: 3rem 4rem 2rem 4rem;
  border: 3px solid #F6A233;
  border-radius: 2rem;
  text-align: center;
}

.pres__intro p {
  margin: 0;
}

.pres__holder {
  margin-top: 3rem;
}

.pres .btn {
  background-color: #C5122C;
}

/* WHOAREWE */

.whoarewe {
  padding: 8rem 4rem 0 4rem;
}

.whoarewe__figure {
  max-width: 280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.whoarewe__figure:before {
  content: "";
  display: block;
  background-color: #F1A772;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  position: absolute;
  top: -10px;
  left: -10px;
  transform: rotate(-10deg);
  z-index: -1;
  padding: 10px;
}

.whoarewe__img {
  max-width: 100%;
  height: auto;
  border-radius: 2rem;
  border: 3px solid #F6A233;
}

.whoarewe__title {
  text-align: center;
  font-size: 4.5rem;
  line-height: 5rem;
  font-family: "Humming", Helvetica, Sans-serif;
  margin: 2rem 0 4rem 0;
}

.whoarewe__text {
  background-color: #FFF;
  padding: 2.5rem 4rem 2rem 4rem;
  border: 3px solid #F6A233;
  border-radius: 2rem;
}

.whoarewe__job {
  display: block;
  font-size: 1.8rem;
  line-height: 2.5rem;
  font-family: "Avenir", Arial, Sans-serif;
  color: #224A4E;
}

.whoarewe--1 .whoarewe__title {
  color: #f13f52;
}

.whoarewe--2 .whoarewe__title {
  color: #71b8a4;
}

.whoarewe__holder {
  text-align: center;
  margin-top: 4rem;
}

.btn {
  display: inline-block;
  margin: 0 0 2rem 0;
  padding: 2.5rem 4rem 2rem 4rem;
  font-size: 2rem;
  line-height: 2rem;
  border-radius: 2rem;
  text-decoration: none;
  color: #FFF;
  text-transform: uppercase;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.whoarewe--1 .btn:hover,
.whoarewe--2 .btn:hover {
  background-color: #FFF;
  cursor: pointer;
}

.whoarewe--1 .btn {
  background-color: #71b8a4;
}

.whoarewe--2 .btn {
  background-color: #f13f52;
}

.whoarewe--1 .btn:hover {
  color: #71b8a4;
}

.whoarewe--2 .btn:hover {
  color: #f13f52;
}

/* PROJECT BLOCK */

.project__block {
  margin: 0 auto 4rem auto;
  padding: 0 4rem;
  text-align: center;
}

/* BLOCK */

.block {
  padding: 0 40px;
  margin-bottom: 20px;
}

.block__title {
  border: 4px solid #151634;
  padding: 10px 20px;
  position: relative;
  border-radius: 20px;
  display: inline-block;
  font-family: "Humming", Helvetica, Sans-serif;
  text-transform: uppercase;
  font-weight: 800;  p {
    
  }
}

.block__title:before {
  content: "";
  display: block;
  position: absolute;
  left: -10px;
  top: 10px;
  width: 100%;
  height: 100%;
  background-color: #151634;
  border-radius: 20px;
  z-index: -1;
}

.block__title--blue {
  color: #FFF;
  background-color: #1561AC
}

.block__title--yellow {
  color: #151634;
  background-color: #FFA900;
}

.block__title--red {
  color: #FFF;
  background-color: #DD1B14;
}

.block__title span {
  position: relative;
}

.block__title span:before,
.block__title span:after {
  content: "";
  display: block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-color: transparent transparent #151634 transparent;
  position: absolute;
}

.block__title span:before {
  transform: rotate(10deg);
  left: -27px;
  top: 0;
}

.block__title span:before {
  transform: rotate(10deg);
  left: -27px;
  border-width: 0 2.5px 12px 2.5px;
}

.block__title span:after {
  transform: rotate(-22deg);
  right: -10px;
  border-width: 0 7px 6px 11px;
  bottom: -17px;
}

/* SOCIAL SHARING */

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social__bottom {
  display: flex;
  align-items: center;
}

.social__title {
  font-family: "Humming", Helvetica, Sans-serif;
  font-size: 4rem;
}

.social__link {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  background-color: #EA5153;p {
    font-size: 1.8rem;
  }
}

.social__link:hover {
  background-color: #FFF;
}

.social__link svg {
  width: 32px;
  height: 32px;
}

.social__link svg path {
  fill: #FFF;
  transition: fill .3s ease-in-out;
}

.social__link:hover svg path {
  fill: #EA5153;
}

.arrow-btn {
  display: inline-block;
  padding: 14px 70px 16px 20px;
  color: #161535;
  font-size: 22px;
  background-color: #FFF;
  border-radius: 50px;
  font-family: "Milky Nice";
  text-decoration: none;
  margin-top: 40px;
  margin-bottom: 20px;
  transition: color .3s ease-in-out, background-color .3s ease-in-out;
  position: relative;
  border: 4px solid #161535;
}

.arrow-btn:hover {
  color: #FFF;
}

.arrow-btn--blue:hover {
  background-color: #1561AC;
} 

.arrow-btn--blue .arrow-btn__icon {
  background-color: #1561AC;
}

.arrow-btn--red:hover {
  background-color: #DD1B15;
} 

.arrow-btn--red .arrow-btn__icon {
  background-color: #DD1B15;
}

.arrow-btn__icon {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 6px;
  top: 4px;
}

.arrow-btn__icon svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  margin-left: 3px;
}

.arrow-btn__icon svg path {
  fill: #FFF;
}

.footer {
  background-color: #a7d5c2;
}

.footer__bottom {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: -1;
}

/* MEDIA QUERIES */

/* Small devices (landscape phones, 576px and up) */
@media all and (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media all and (min-width: 768px) {

  .section {
    padding: 8rem 0;
  }

  .section--no-top {
    padding-top: 0;
  }  

  p {
    font-size: 2.2rem;
    line-height: 3.2rem;
  }

  .pres {
    margin: 4rem auto 0 auto;
  }

  .title {
    font-size: 7.5rem;
    line-height: 8.5rem;
  }

  .whoarewe__title {
    font-size: 6.5rem;
    line-height: 7rem;
    margin: 4rem 0;
  }
  
  .whoarewe__job {
    font-size: 3rem;
    line-height: 3.5rem;
  }

  .block {
    margin-bottom: 40px;
  }

  .block__title {
    font-size: 30px;
  }

  .social {
    flex-direction: row;
    justify-content: center;
  }

  .social__title {
    margin-right: 10px;
    font-size: 35px;
  }

  
}

@media all and (min-width: 1480px) {

  #content {
    background-image: url('../images/bg-biscuit.png');
    background-size: 150px;
    background-position: top right 20%;
    background-repeat: no-repeat;
  }

  #project {
    background-image: url('../images/bg-ptitbeurre.png');
    background-size: 250px;
    background-position: top left 5%;
    background-repeat: no-repeat;
  }

}