@font-face {
  font-family: mainfont;
  src: url(../css/ufonts.com_dincond-bold-opentype.otf);
}

/* Version Pc */

#fullpage,
#modal_form_container {
  font-family: mainfont;
  color: #6d655e;
}

#menu_logo {
  width: 1.5em !important;
  display: none;
}

#modal_form_container {
  background-color: #504b47ab;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  top: 0;
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
}

.show_modal {
  display: flex !important;
}

.error {
  color: red;
  font-size: 0.9em;
  text-align: center;
}

#contact_form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  padding: 3em;
  border-radius: 5px;
  width: 40vw;
  position: absolute;
}

#contact_form input,
#contact_form textarea {
  border-radius: 5px;
  border: 1px solid #504b47;
  padding: 0.5em;
}

#contact_form label:not(:first-child) {
  margin-top: 1em;
}

#contact_form p {
  text-align: center;
}

#contact_form input[type='submit'] {
  height: 3em;
  width: 50%;
  margin: 0 auto;
  color: white;
  background: #ea6a1c;
  font-family: mainfont;
  font-size: 1em;
}

#close_cross {
  position: absolute;
  top: 3em;
  right: 3em;
  text-align: right;
  cursor: pointer;
  z-index: 4000;
}

#section1 {
  background-image: url('../images/bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  color: #6d655e;
  font-size: 2em;
}

#logofirstpage {
  width: 20em;
}

#baseline {
  padding-top: 2em;
  font-family: mainfont;
}

#arrow {
  bottom: 2%;
  position: absolute;
  left: 0;
  right: 0;
}

#arrow img {
  width: 1em;
}

#section2 {
  flex: 1;
  display: flex;
  display: -webkit-flex;
  -webkit-align-items: center;
  align-items: center;
}

#section2 p {
  text-align: justify;
  color: #5b544e;
  letter-spacing: 0.01em;
}

#section2 div {
  margin: 2em 0 0 4em;
  text-align: center;
  flex: 1;
}

#section6 {
  text-align: center;
}

#section6p {
  text-align: center;
  color: #5b544e;
  letter-spacing: 0.01em;
  padding: 0 18rem;
}

#section6img {
  margin: 0 auto;
  height: 32em;
}

#section2 div:last-child {
  margin-right: 4em;
}

#section2 div + div {
  border-left: solid #6d655e 1px;
  padding-left: 4em;
}

#section2 div img {
  width: 8em;
  -moz-transition: -moz-transform 2s;
  -o-transition: -o-transform 2s;
  -webkit-transition: -webkit-transform 2s;
  transition: 2s;
}

#section2 div img:hover {
  -moz-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

#section2videos {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#section2videos p {
  text-align: center;
  color: #5b544e;
  letter-spacing: 0.01em;
}

#section2videos img {
  height: 4em;
}

#section2videos div {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

#section2videos div div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

#tech {
  padding-top: 1em;
  text-align: center;
}

#tech div:last-child {
  padding: 0 10em;
  color: #5b544e;
}

#tech div:last-child p {
  margin: 0;
}

#techimg,
#use,
#futur,
#artecimg,
#tech2img {
  display: inline-flex;
  align-items: center;
}

#techimg img,
#use img,
#futur img,
#tech2img img {
  width: 2.4em;
}
#artecimg img {
  width: 4.4em;
}

#techp,
#usep,
#futurp,
#artecp,
#tech2p {
  padding-left: 0.4em;
  font-size: 2em;
}

#section5,
#section7 {
  background-color: #504b47;
  color: white;
}

#contactdivimg {
  margin-top: 6em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.contactImgs {
  width: 30em;
  margin-bottom: 2em;
  border-radius: 5px;
}

#contactlink {
  margin-bottom: 6em;
  width: 80vw;
}

#contactlink p {
  margin-bottom: 2em;
}

#artecdiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-around;
}

#artec_desc {
  padding: 0 18rem;
}

#arteclink,
#contact_link_button {
  border-radius: 5px;
  text-decoration: none;
  padding: 1.5rem;
  color: white;
  background: #ea6a1c;
  margin-top: 2em;
}

#section3 {
  background-color: #504b47;
  color: white;
}

#use {
  padding-top: 10em;
  width: 100%;
}

#use img {
  margin: 0 0 0 auto;
}

#use p {
  margin: 0 auto 0 0;
}

.rotateborder {
  width: 20em;
  height: 20em;
  border-radius: 50%;
  border: solid 8px #ea6a1c;
  background-size: 100% 100%;
}

#idaways_semelle {
  background: url(../images/semelle.png);
  background-size: 95% 95%;
  background-position: center;
  background-color: white;
}

#capk_chaussure {
  background: url(../images/chaussure.png);
  background-size: 95% 95%;
  background-position: center;
  background-color: white;
}

.rotate {
  width: 100%;
  height: 100%;
  display: inline-table;
}

div.rotate:hover {
  -webkit-animation: rotate 4s;
  border-top: solid 8px #6d655e;
  border-bottom: solid 8px #6d655e;
  border-radius: 50%;
}

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

.slidecontainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slide_child_container {
  justify-content: space-evenly;
  display: flex;
  align-items: center;
  padding-top: 6em;
}

.slide_link {
  margin-top: 2em;
  text-align: center;
}

.rotateborder,
.brandlogo {
  display: block;
}

.brandlogo {
  width: 40%;
}

.brandlogo img {
  width: 18em;
}

.brandlogo p {
  text-align: justify;
}

#futur {
  width: 100%;
  margin-bottom: 4em;
}

#futur img {
  margin: 0 0 0 auto;
}

#futur p {
  margin: 0 auto 0 0;
}

#futurcontainer {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
}

#futur_inside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#futurtype {
  display: inline-block;
  width: 60vw;
  text-align: center;
}

#futurtext {
  display: block;
  width: 40vw;
  text-align: center;
}

#futurtype img {
  height: 6em;
  margin: auto 1em;
  opacity: 0.5;
  transition: opacity 0.5s;
}

#futurtype img:hover {
  opacity: 1;
  cursor: pointer;
  transition: opacity 0.2s;
}

#futurtext img {
  width: 15em;
  margin: 0 auto;
}

#containcapt {
  width: 100%;
}

.caption {
  display: none;
}

.caption p,
.caption h3 {
  text-align: center;
}

#emptydiv {
  display: block;
  color: white;
  visibility: hidden;
}

/* Version Mobile */

@media only screen and (max-device-width: 738px) and (orientation: portrait) {
  p {
    font-size: 35px !important;
  }

  #contact_form {
    width: 80vw;
  }

  #contact_form span.error {
    font-size: 1.5em;
  }

  form#contact_form label {
    font-size: 35px;
  }

  #contact_form input[type='submit'] {
    font-size: 35px;
  }

  #close_cross {
    font-size: 35px;
    top: 1em;
    right: 1em;
  }

  #logofirstpage {
    width: 13em;
  }

  #menu_logo {
    display: block;
    width: 3em !important;
  }

  .menu {
    height: auto;
  }

  .contactImgs {
    width: 40em;
  }

  #contactdivimg {
    margin-top: 12em;
  }

  .slide_child_container {
    flex-direction: column;
  }

  #section2 {
    flex-direction: column;
  }

  #section2 div {
    padding: 0;
    margin: 0.5em 4em 0 4em;
  }
  #section2 div + div {
    border: none;
    padding: 0;
  }

  #section2 p {
    text-align: center;
    font-size: 2em;
  }

  #artecdiv p,
  #arteclink {
    text-align: center;
    font-size: 2em;
  }

  #artec_desc,
  #section6p {
    padding: 0 6em;
  }

  #tech div:last-child {
    font-size: 2em;
    padding: 0 6em;
  }

  #tech div:last-child p {
    margin: 0;
  }

  #techimg img,
  #use img,
  #futur img,
  #artecimg img,
  #tech2img img {
    width: 6em;
  }

  #techp,
  #usep,
  #futurp,
  #artecp,
  #tech2p {
    font-size: 4.5em !important;
  }

  .slidecontainer {
    display: flex;
    flex-direction: column;
  }

  .slide_child_container {
    flex-direction: column;
  }

  .rotateborder {
    margin: 2em auto;
    width: 38em;
    height: 38em;
  }

  .brandlogo {
    margin: 2em auto;
    width: 80%;
    text-align: center;
  }

  .brandlogo img {
    width: 34em;
  }

  .brandlogo p {
    font-size: 2em;
    text-align: center;
  }

  #futurcontainer {
    flex-direction: column-reverse;
    margin-bottom: 5em;
  }

  #containcapt {
    margin: 0 auto;
  }

  #futur {
    margin-top: 4em;
  }

  #futurtext {
    margin: 2em auto 0 auto;
    text-align: center;
    font-size: 2em;
    width: 60%;
  }

  #futurtext img {
    display: none;
  }

  .caption p {
    font-size: 2em;
    text-align: center;
  }

  .caption h3 {
    font-size: 3em;
    text-align: center;
  }

  #futurtype {
    width: 100%;
  }

  #futurtype img {
    height: 12em;
  }

  .hidethis {
    display: none;
  }
}

@media only screen and (max-device-width: 738px) and (orientation: landscape) {
  #logo img {
    width: 16em;
  }

  #menu_logo {
    display: block;
  }

  #logofirstpage {
    width: 13em;
  }

  #logo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin: 1.5em auto 1em auto;
  }

  #link {
    font-size: 1.5em;
  }

  #social form,
  .menu a + a {
    margin: 1em 0 1em 1.5em;
  }

  #social a:first-child {
    margin-left: 0;
  }

  #social img {
    width: 22px;
  }

  #social form select {
    font-size: 1.5em;
  }

  #tech div:last-child,
  #section2 p {
    font-size: 1.05em;
  }

  .rotateborder {
    margin-left: 7em;
    width: 15em;
    height: 15em;
  }

  #section2 {
    margin-bottom: 1em;
  }

  #futurtext img {
    display: none;
  }

  .hidethis {
    display: none;
  }
}

/* Version tablette */
@media only screen and (orientation: landscape) and (max-device-width: 1024px) and (min-device-width: 768px) {
  #logo img {
    width: 11em;
  }

  #logo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  #menu_logo {
    display: block;
  }

  body {
    overflow: scroll !important;
  }

  .menu {
    height: auto;
  }

  .contactImgs {
    width: 74vw;
  }

  #contactdivimg {
    margin-top: 12em;
  }

  #logo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin: 1.5em auto 1em auto;
  }

  #menu_logo {
    display: block;
  }

  #link {
    font-size: 1.5em;
  }

  #social form,
  .menu a + a {
    margin: 1em 0 1em 1.5em;
  }

  #social a:first-child {
    margin-left: 0;
  }

  #social img {
    width: 22px;
  }

  #social form select {
    font-size: 1.5em;
  }

  #tech div:last-child,
  #section2 p {
    font-size: 1.05em;
  }

  .rotateborder {
    margin-left: 7em;
  }

  #futurtext img {
    display: none;
  }
}

@media only screen and (orientation: portrait) and (min-device-width: 768px) and (max-device-width: 1024px) {
  p {
    font-size: 25px !important;
  }

  #contact_form {
    width: 80vw;
  }

  #contact_form span.error {
    font-size: 1.5em;
  }

  form#contact_form label {
    font-size: 35px;
  }

  #contact_form input[type='submit'] {
    font-size: 35px;
  }

  #close_cross {
    font-size: 35px;
    top: 1em;
    right: 1em;
  }

  #logo img {
    width: 16em;
  }

  #logo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  #menu_logo {
    display: block;
  }

  .menu {
    height: auto;
  }

  .contactImgs {
    width: 74vw;
  }

  #contactdivimg {
    margin-top: 12em;
  }

  .slide_child_container {
    flex-direction: column;
  }

  #section2 {
    flex-direction: column;
  }

  #section2 div {
    padding: 0;
    margin: 0.5em 4em 0 4em;
  }
  #section2 div + div {
    border: none;
    padding: 0;
  }

  #section2 p {
    text-align: center;
    font-size: 2em;
  }

  #artecdiv p,
  #arteclink {
    text-align: center;
    font-size: 2em;
  }

  #artec_desc,
  #section6p {
    padding: 0 6em;
  }

  #tech div:last-child {
    font-size: 2em;
    padding: 0 6em;
  }

  #tech div:last-child p {
    margin: 0;
  }

  #techimg img,
  #use img,
  #futur img,
  #artecimg img,
  #tech2img img {
    width: 6em;
  }

  #techp,
  #usep,
  #futurp,
  #artecp,
  #tech2p {
    font-size: 4.5em !important;
  }

  .slidecontainer {
    display: flex;
    flex-direction: column;
  }

  .rotateborder {
    margin: 2em auto;
    width: 29em;
    height: 29em;
  }

  .brandlogo {
    margin: 2em auto;
    width: 80%;
    text-align: center;
  }

  .brandlogo img {
    width: 34em;
  }

  .brandlogo p {
    font-size: 2em;
    text-align: center;
  }

  #futurcontainer {
    flex-direction: column-reverse;
    margin-bottom: 5em;
  }

  #containcapt {
    margin: 0 auto;
  }

  #futur {
    margin-top: 4em;
  }

  #futurtext {
    margin: 2em auto 0 auto;
    text-align: center;
    font-size: 2em;
    width: 60%;
  }

  #futurtext img {
    display: none;
  }

  .caption p {
    font-size: 2em;
    text-align: center;
  }

  .caption h3 {
    font-size: 3em;
    text-align: center;
  }

  #futurtype {
    width: 100%;
  }

  #futurtype img {
    height: 12em;
  }

  .hidethis {
    display: none;
  }
}
