@charset "UTF-8";
/* imports de fichier */
/* On applique des éléments sur l'ensemble du code */
* {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.background_image {
  background-image: url(../Annexe/contact.jpg);
  width: 100%;
  height: 375px;
  background-size: cover;
  background-position: center;
}

body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: transparent;
}
body::-webkit-scrollbar-thumb {
  background-color: #b2b2b2;
  border-radius: 20px;
}
body::-webkit-scrollbar-thumb:hover {
  background-color: #9f9f9f;
}

.flex-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 50px;
}

.card {
  position: relative;
  height: 230px;
  width: 800px;
  margin: 10px 0;
  -webkit-transition: ease all 1.5s;
  transition: ease all 1.5s;
  -webkit-perspective: 1200px;
          perspective: 1200px;
  margin-bottom: 50px;
}
.card:hover .cover {
  -webkit-transform: rotateX(0deg) rotateY(-180deg);
          transform: rotateX(0deg) rotateY(-180deg);
}
.card:hover .cover:before {
  -webkit-transform: translateZ(30px);
          transform: translateZ(30px);
}
.card:hover .cover:after {
  background-color: black;
}
.card:hover .cover h1 {
  -webkit-transform: translateZ(100px);
          transform: translateZ(100px);
}
.card:hover .cover p {
  -webkit-transform: translateZ(-60px) rotatey(-180deg);
          transform: translateZ(-60px) rotatey(-180deg);
}
.card .cover {
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: ease all 1.5s;
  transition: ease all 1.5s;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.card .cover:before {
  content: "";
  position: absolute;
  border: 5px solid rgba(255, 255, 255, 0.5);
  -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  -webkit-transition: ease all 1.5s;
  transition: ease all 1.5s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transform: translateZ(0px);
          transform: translateZ(0px);
}
.card .cover:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 2;
  -webkit-transition: ease all 1.3s;
  transition: ease all 1.3s;
  background: rgba(0, 0, 0, 0.4);
}
.card .cover.item-a {
  background-image: url("../Annexe/bar.jpg");
}
.card .cover h1 {
  font-weight: 600;
  position: absolute;
  bottom: 35px;
  left: 50px;
  color: white;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: ease all 1.5s;
  transition: ease all 1.5s;
  z-index: 3;
  font-size: 3em;
  -webkit-transform: translateZ(0px);
          transform: translateZ(0px);
}
.card .card-back {
  position: absolute;
  height: 100%;
  width: 100%;
  background: #0b0f08;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: ease all 1.5s;
  transition: ease all 1.5s;
  -webkit-transform: translateZ(-1px);
          transform: translateZ(-1px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.card .card-back p {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: ease transform 1.5s, ease background 0.5s;
  transition: ease transform 1.5s, ease background 0.5s;
  -webkit-transform: translateZ(-1px) rotatey(-180deg);
          transform: translateZ(-1px) rotatey(-180deg);
  background: transparent;
  border: 1px solid white;
  font-weight: 200;
  font-size: 1.3em;
  color: white;
  padding: 14px 32px;
  outline: none;
  text-decoration: none;
}
.card .card-back p:hover {
  background-color: white;
  color: #0b0f08;
}

.iframemap {
  margin-bottom: 50px;
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 5px;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

iframe {
  width: 500px;
  height: 450px;
  border-radius: 5px;
}

@media screen and (max-height: 650px) {
  .iframemap {
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 650px) {
  .card {
    width: 500px;
  }
}
@media screen and (max-width: 600px) {
  iframe {
    width: 400px;
    height: 350px;
  }
}
@media screen and (max-width: 550px) {
  .card {
    width: 400px;
  }
  .card .cover .card-back p {
    font-size: 1em;
  }
}
@media screen and (max-width: 500px) {
  iframe {
    width: 300px;
    height: 250px;
  }
}
@media screen and (max-width: 500px) {
  .card {
    width: 300px;
  }
}
@media screen and (max-width: 400px) {
  iframe {
    width: 250px;
    height: 200px;
  }
}
@media screen and (max-width: 350px) {
  .card {
    width: 250px;
  }
  .card .cover h1 {
    left: 10%;
    font-size: 2.5em;
  }
}
@media screen and (max-width: 300px) {
  .card {
    width: 200px;
  }
  .card .cover h1 {
    left: 10%;
    font-size: 2.2em;
  }
  iframe {
    width: 200px;
    height: 200px;
  }
}