/** @format */

@font-face {
  font-family: "normal";
  src: url("../fonts/Rubik-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "titre";
  src: url("../fonts/ELEPHNT.TTF");
  font-weight: normal;
  font-style: normal;
}

.page {
  margin-top: 150px;
}

html,
body {
  margin: 0;
}

/** COMMUN */

.info {
  width: 35%;
  margin-top: 3%;
  padding: 30px 40px 40px 40px;
  border-radius: 25px;
  position: relative;
  z-index: 11;
}

.title,
.info hr,
.info p,
.info a {
  margin: 0;
}

.info .title {
  font-size: 40px;
  font-family: "titre";
}

.info .description {
  font-family: "normal";
}

.info hr {
  border: 0;
  height: 7px;
  width: 25%;
  border-radius: 100px;
  margin-top: 15px;
}

.info .description {
  font-size: 20px;
  margin-bottom: 40px;
}

.ordi a,
.mobile a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 15px;
  font-family: "normal";
  transition: 0.3s;
}

.image {
  float: left;
  position: relative;
}

.illustration img {
  float: left;
  width: 100%;
  border-radius: 25px;
}

.banner {
  float: left;
  position: relative;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

/** PROJ_D */

.proj_d {
  float: left;
  width: 90%;
  margin-left: 10%;
  margin-bottom: 200px;
}

.proj_d .info {
  background-color: #ff4d5a;
  float: left;
}

.proj_d .title,
.proj_d p {
  color: #072142;
}

.proj_d .info hr {
  background-color: white;
}

.proj_d .info .hr2 {
  margin-left: 15%;
  margin-bottom: 25px;
}

.proj_d a {
  background-color: white;
  color: #ff4d5a;
  border: solid 3px white;
}

.proj_d a:hover {
  background-color: #ff4d5a;
  color: white;
}

.proj_d .illustration {
  float: left;
  width: 50%;
  margin-left: -5%;
  position: relative;
  z-index: 10;
}

.proj_d .illustration .num_proj {
  color: #ff4d5a;
  font-size: 125px;
  text-shadow: #072142 10px 10px 5px;
  position: absolute;
  bottom: -75px;
  right: 10px;
  z-index: 11;
}

.proj_d .illu_shadow {
  float: left;
  margin-left: 8%;
  margin-top: -75%;
  position: relative;
  z-index: 9;
}

/** PROJ_G */

.proj_g {
  float: left;
  width: 90%;
  margin-left: 10%;
  margin-bottom: 200px;
}

.proj_g .info {
  background-color: #072142;
  float: left;
  margin-left: -5%;
}

.proj_g .title,
.proj_g p {
  color: white;
}

.proj_g .info hr {
  background-color: #ff4d5a;
}

.proj_g .info .hr2 {
  margin-left: 15%;
  margin-bottom: 25px;
}

.proj_g a {
  background-color: #ff4d5a;
  color: #072142;
  border: solid 3px #ff4d5a;
}

.proj_g a:hover {
  background-color: #072142;
  color: #ff4d5a;
}

.proj_g .illustration {
  float: left;
  width: 50%;
  position: relative;
  z-index: 10;
}

.proj_g .illustration .num_proj {
  color: #ff4d5a;
  font-size: 125px;
  text-shadow: #072142 10px 10px 5px;
  position: absolute;
  bottom: -75px;
  left: 10px;
  z-index: 11;
}

.proj_g .illu_shadow {
  float: left;
  margin-left: -8%;
  margin-top: -75%;
  position: relative;
  z-index: 9;
}

/** FOOTER */

.hesite {
  float: left;
  width: 100%;
  font-size: 65px;
  font-family: titre;
  color: #072142;
  text-align: center;
  margin-top: -100px;
}

.mecontacter {
  text-decoration: none;
  color: #ff4d5a;
  border-bottom: 5px solid #ff4d5a;
  padding-bottom: 2px;
  transition: 0.4s;
}

.mecontacter:hover {
  color: #072142;
  padding-bottom: 10px;
}

footer {
  float: left;
  width: 100%;
  font-family: normal;
}

@media screen and (min-width: 1025px) {
  .mobile {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .ordi {
    display: none;
  }

  .page {
    margin: 0;
  }

  .mobile {
    padding-top: 100px;
  }

  .proj_d,
  .proj_g {
    width: 100%;
    margin-left: 0%;
  }

  .proj_d img,
  .proj_g img {
    width: 90%;
    margin-left: 5%;
    border-radius: 25px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  }

  .proj_d .info,
  .proj_g .info {
    margin-left: 15%;
    margin-top: -20%;
    width: 60%;
  }
}

@media screen and (max-width: 600px) {
  .hesite {
    font-size: 45px;
  }

  .proj_d img,
  .proj_g img {
    width: 95%;
    margin-left: 2.5%;
  }

  .proj_d .info,
  .proj_g .info {
    margin-top: -35%;
    width: 75%;
    margin-left: 5%;
  }
}
