/*GLOBAL*/

* {
  margin: 0px;
  padding: 0px;
  font-family: "Rubik", sans-serif;
  color: rgba(0, 0, 0, 0.85);
}

html,
body {
  background-color: #84bc43;
}

h1 {
  font-weight: bold;
  font-size: 54px;
  color: #060d3e;
  text-transform: uppercase;
}

h2 {
  font-weight: bold;
  font-size: 36px;
  color: #060d3e;
  text-transform: uppercase;
  margin-top: 24px;
  margin-bottom: 64px;
}

h3 {
  font-weight: normal;
  font-size: 18px;
  color: #060d3e;
  text-transform: uppercase;
}

p {
  font-size: 18px;
  margin-top: 25px;
}

div.content {
  width: 80%;
  margin: auto;
  max-width: 750px;
  padding: 50px 0px;
  position: relative;
}

div.left_content {
  max-width: 350px;
  display: inline-block;
}

div.right_content {
  max-width: 350px;
  margin: auto;
}

button.green_rounded_button {
  background-color: #6b9a34;
  color: white;
  outline: none;
  border-width: 0px;
  padding: 16px;
  border-radius: 30px;
  text-transform: uppercase;
  box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.75);
  font-weight: 300;
  font-size: 14px;
  margin-top: 36px;
}

/*HEADER*/

h2.header_subtitle {
  font-weight: normal;
  color: rgba(0, 0, 0, 0.85);
  margin-top: 24px;
  margin-bottom: 0px;
}

div.header {
  position: relative;
  overflow-y: visible;
  background-color: white;
}

div.header_bg {
  background: url(/ressources/index_header_background.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: -20%;
  right: -20%;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background-position: top right;
}

div.header_portfolio_bg {
  background: url(/ressources/portfolio_header_background.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background-position: bottom right;
}

div.header_screenshots {
  background: url(/ressources/Screenshots_header.png);
  background-repeat: no-repeat;
  background-size: contain;
  height: 100%;
  width: 100%;
  position: absolute;
  top: -20%;
  right: -20%;
  background-position: top right;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.75));
}

div.header_bg img {
  position: absolute;
  width: 50%;
  height: 50%;
  top: -200px;
  right: -200px;
}

div.header span {
  text-shadow: 0 1px 0 #333;
}

div.header_bg_wrapper {
  overflow-x: hidden;
  position: absolute;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
}
/*SECTIONS*/

div.section_whiteGreen_bg {
  background: #faeedc;
}

img.teamwork_pic_hight_res {
  width: 100%;
  display: none;
}

img.teamwork_pic_low_res {
  width: 100%;
  display: block;
  margin-top: 36px;
}

div.first_section_top_bg {
  background: url("/ressources/index_end_header_region.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 50px;
}

div.second_section_top_bg {
  background: url("/ressources/index_end_region_1.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 250px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

div.smartphone_bg {
  background: url("/ressources/index_mobile_background.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-top: 50px;
  position: relative;
  perspective: 2000px;
  width: 100%;
  height: auto;
}

p.quotation {
  font-weight: 900;
  font-size: 24px;
  color: #060d3e;
}

div.section_white_bg {
  padding-bottom: 54px;
  position: relative;
  overflow: hidden;
  background-color: white;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  box-shadow: 0px 10px 8px rgba(0, 0, 0, 0.25);
}

div.smartphone {
  max-width: 450px;
  margin: auto;
  display: flex;
  position: relative;
  transform-style: preserve-3d;
  height: auto;
}

div.smartphone img {
  width: 85%;
  margin: auto;
  max-width: 250px;
  z-index: 1;
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.85));
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

img.bg_smartphone_dropshadow_unactive {
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0)) !important ;
}
/**/

img.smartphone_pic_states {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.85));
}

div.work_item_contener {
  border-radius: 8px;
  width: 300px;
  height: auto;
  position: absolute;
  bottom: -250px;
  right: 0;
  transform: rotateY(120deg);
  opacity: 0;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
  transform-style: preserve-3d;
  background-color: white;
}

div.frontface {
  border-radius: 8px;
  display: flex;
  padding: 15px;
  background-color: white;
  backface-visibility: hidden;
  opacity: inherit;
}
div.work_item_text_container {
  width: 80%;
  margin-left: 10px;
  display: inline-block;
}

div.work_item_text_container p {
  font-size: 14px;
}
div.work_item_picto {
  background-color: #84bc43;
  padding: 8px;
  height: 18px;
  border-radius: 50px;
  display: inline-block;
}

div.footer {
  height: 100px;
  width: 100%;
  color: white;
}

/*PORTFOLIO*/

#portfolio_text_div_container {
  display: none;
}

#portfolio_text_div {
  opacity: 0;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  border-radius: 36px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
  top: 150px;
}

#portfolio_text {
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}

@media only screen and (min-width: 850px) {
  body {
    font-size: 120%;
  }

  img.teamwork_pic_hight_res {
    width: 100%;
    display: block;
  }

  img.teamwork_pic_low_res {
    display: none;
  }

  div.content {
    width: 90%;
    margin: auto;
    max-width: 1100px;
    padding: 50px 0px;
  }

  div.right_content {
    display: inline-block;
    margin: auto;
  }

  div.left_content {
    margin: auto;
    max-width: 450px;
    width: 100%;
  }

  div.first_section_top_bg {
    height: 150px;
  }

  div.second_section_top_bg {
    height: 500px;
  }

  div.header_bg {
    top: -10%;
    right: -5%;
  }
  div.header_screenshots {
    top: 0;
    right: 0;
  }
}
