/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

html,
body {
  height: 100%;
}

#menuToggle {
  display: block;
  position: relative;
  top: 50px;
  left: 50px;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
  visibility: hidden;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: tomato;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
  * Just a quick hamburger
  */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #cdcdcd;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input {
  margin-top: 143px;
}

/*
  * Transform all the slices of hamburger
  * into a crossmark.
  */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
  * But let's hide the middle one.
  */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
  * Ohyeah and the last one should go the other direction
  */
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

/*
  * Make this absolute positioned
  * at the top left of the screen
  */
#menu {
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -250px;
  padding-top: 125px;

  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0 0;
  transform: translate(100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#menu li {
  padding: 10px 0;
  font-size: 22px;
}

/*
  * And let's slide it in from the left
  */
#menuToggle input:checked ~ ul {
  transform: none;
}

[id]::before {
  content: "";
  display: block;
  height: 143px;
  margin-top: -143px;
  visibility: hidden;
}

body {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  font-family: "Open Sans", sans-serif;
}

p {
  margin: 0;
}

.width {
  width: 60%;
  margin-left: 20%;
  margin-right: 20%;
  height: inherit;
}

.part-title {
  font-size: 40px;
  line-height: 48px;
}

.text-right {
  text-align: right;
}

.header {
  background-color: #fcfcfc;
  height: 143px;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  position: fixed;
  right: 0;
  z-index: 1000;
}

.header .container {
  margin-left: 20%;
  margin-right: 20%;
  display: flex;
  justify-content: space-between;
}

.header img {
  position: relative;
  height: 100%;
  width: 150px;
  top: 100%;
  transform: translateY(25%);
}

.header .nav-container {
  height: 143px;
  line-height: 143px;
}

.header .nav-container a {
  text-decoration: none;
  font-size: 18px;
  padding-left: 20px;
  color: black;
}

.header .nav-container a:hover {
  color: #a30506;
}

.sub-header {
  padding-top: 143px;
  height: 440px;
}

.sub-header .background {
  background-image: url(./32890b185ed74b51acc3220220b3b961.webp);
  background-position: right;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 440px;
  width: 100%;
  position: absolute;
  z-index: -1000;
  right: 0;
}

.sub-header .title {
  color: #a30506;
  font-size: 60px;
  text-align: center;
  margin: 0;
  margin-top: 40px;
}

.sub-header .title span {
  text-align: center;
}

.sub-header .sub-title {
  font-size: 18px;
  text-align: center;
}

.intro {
  margin-top: 40px;
}

.intro .title {
  font-size: 40px;
  text-align: right;
  line-height: 1.2em;
}

.intro .text {
  font-size: 18px;
  text-align: right;

  margin-bottom: 20px;
}

.presta {
  min-height: 585px;
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  background-color: #e8e6e6;
}

.presta .width {
  position: relative;
  min-height: 585px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.presta .container {
  height: 83%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.presta .container .box {
  width: 280px;
  height: 300px;
  background-color: white;
  box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  margin: auto;
  margin: 1em 1em;
}

.presta .container .box img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.presta .container .box .text {
  margin-top: 10px;
  font-size: 20px;
  text-align: center;
}

.other-presta .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 50px;
}

.other-presta .title {
  font-size: 30px;
  margin-left: 15px;
  margin-top: 15px;
}

.other-presta .box {
  background: rgb(163, 12, 3);
  background: linear-gradient(
    0deg,
    rgba(163, 12, 3, 1) 0%,
    rgba(255, 135, 135, 1) 100%
  );
  width: 270px;
  color: white;
  margin-top: 1em;
  flex-basis: 20%;
}

.other-presta ul {
  margin-right: 20px;
}

.vision .background {
  background-image: url(./95d9be60e88844eaa92ed30f871d5bae.webp);
  min-height: 910px;
  width: 100%;
  position: absolute;
  z-index: -1000;
  right: 0;
}

.vision {
  min-height: 910px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  background-image: url(./95d9be60e88844eaa92ed30f871d5bae.webp);
}

.vision .container {
  background-color: white;
  min-height: 750px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.vision .text {
  width: 80%;
  margin: 0 auto;
}

.vision .title {
  font-size: 40px;
}

.vision .corps {
  font-size: 18px;
}

.dazzboard {
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.dazzboard .background {
  height: 700px;
  width: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1000;
  right: 0;
}

.dazzboard .content {
  width: 400px;
  display: flex;
  flex-direction: column;
}

.dazzboard p {
  color: white;
  font-size: 18px;
  margin: auto;
}

.dazzboard img {
  width: 219px;
  margin: auto;
}

.dazzboard .button {
  background-color: #bb43c6;
  color: white;
  width: 210px;
  height: 40px;
  border-radius: 5px 5px 5px 5px;
  text-align: center;
  vertical-align: middle;
  line-height: 40px;
  cursor: pointer;
  margin: auto;
  margin-top: 20px;
}

.dazzboard .button:hover {
  background-color: white;
  color: #bb43c6;
}

.intervention {
  min-height: 740px;
  display: flex;
}

.intervention .container {
  background-color: white;
  font-size: 18px;
  min-height: 500px;
  width: 600px;
  position: relative;
  margin: auto 0 auto 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: -webkit-fill-available;
}

.intervention .text {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
}

.intervention .title {
  font-size: 40px;
}

.intervention .background {
  height: 740px;
  width: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1000;
  right: 0;
  background-color: #a30506;
}

.intervention img {
  width: 900px;
  z-index: -10;
  position: absolute;
  margin-left: 400px;
  margin-top: 50px;
}

.contact {
  height: 400px;

  margin-top: 143px;
}

.contact .title {
  font-size: 40px;
}

.contact .line {
  display: flex;
  align-items: center;
}

.contact .icon {
  width: 30px;
  fill: #a30506;
}

.contact .line p {
  margin-left: 10px;
}

.contact .line a {
  text-decoration: none;
  color: black;
  margin-left: 10px;
}

.join-us {
  height: 700px;

  margin-top: 143px;
}

.join-us .background {
  min-height: 700px;
  width: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1000;
  right: 0;
  background-color: #a30506;
}

.join-us .container {
  background-color: white;
  font-size: 18px;
  min-height: 400px;
  width: 500px;
  position: relative;
  margin: auto 0 auto 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.join-us .left {
  display: flex;
  justify-content: flex-end;
  height: 100%;
}

.join-us img {
  width: 900px;
  z-index: -10;
  position: absolute;
  margin-left: 20%;
  margin-top: -650px;
}

.join-us .title {
  font-size: 40px;
}

.join-us .text {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
}

footer {
  background-color: white;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 143px;
}

footer p {
  font-size: 18px;
  color: rgb(199, 199, 199);
}

footer img {
  width: 140px;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  body {
    font-size: 14px !important;
  }

  .nav-container {
    visibility: hidden;
    position: absolute;
  }

  #menuToggle {
    visibility: visible;
  }

  .sub-header .title {
    font-size: 30px;
  }

  .intro .title {
    font-size: 30px;
  }

  .part-title {
    font-size: 30px;
  }

  .presta img {
    width: 135px;
  }

  .presta .container {
    padding-bottom: 45px;
  }

  .other-presta .box {
    flex-basis: 100%;
  }

  .vision .width {
    width: 85%;
    margin: auto;
  }

  .vision .container {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .vision .text {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .vision .title {
    font-size: 30px;
  }

  .intervention img {
    display: none;
  }

  .intervention {
    width: 85%;
    margin: auto;
  }

  .intervention .title {
    font-size: 25px;
  }

  .intervention .text {
    font-size: 18px;
  }

  .join-us .title {
    font-size: 30px;
  }

  .join-us .text {
    font-size: 18px;
  }

  .join-us img {
    display: none;
  }

  footer p {
    font-size: 12px;
  }
}
