*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}
.main-sentence {
  font-family: "Futura", sans-serif;
  color: #FFFFFA;
  display: flex;
  height: auto;
  justify-content: center;
  text-align: center;
  padding: 70px;
}
/*bleu #087F8C bleu #466AA0 bleu #354865 black #24252A white #FFFFFA*/
body {
  background-color: #24252A;
}
li, a, button {
  font-family: "Futura", sans-serif;
  font-size: 20px;
  color: #edf0f1;
  text-decoration: none;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  
}
.img-responsive {
  height: 70px;
}
.nav-links li {
  display: inline-block;
  padding: 0px 20px;
}
.nav-links li a {
  transition: all 0.3s ease 0s;
}
.nav-links li a:hover {
  color: rgba(70, 106, 160, 1)
}
.anim {
  padding: 9px 25px;
  background-color: rgba(70, 106, 160, 1);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}
.anim:hover {
  background-color: rgba(70, 106, 160, 0.4);
}
.modal-btn {
  padding: 10px 14px;
  font-size: 18px;
  margin: 100px auto;
  display: block;
  min-width: 150px;
  cursor: pointer;
}
.modal-container {
  visibility: hidden;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  transition: visibility 0.4s;
  z-index: 2;
}
.modal-container.active {
  visibility: visible;
}

.overlay {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.822);
  transition: opacity 0.4s 0.2s ease-out;
}

.modal-container.active .overlay {
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

.modal {
  opacity: 0;
  width: 95%;
  max-width: 500px;
  min-width: 300px;
  padding: 30px;
  background: #24252A;
  border-radius: 5px;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 50px));
  transition: opacity 0.4s ease-out,
  transform 0.4s ease-out;
}

.modal-container.active .modal {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s 0.2s ease-out,
  transform 0.4s 0.2s ease-out;
}

.close-modal {
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  background: #ff365e;
  color: #FFFFFA;
}
.modal h1 {
  color: #466AA0;
  font-family: "Futura", sans-serif;
  margin-bottom: 10px;
  font-weight: 500;
}

.modal p {
  font-size: 20px;
  font-family: "Futura", sans-serif;
  color: #FFFFFA;
  line-height: 1.4;
  margin-bottom: 5px;
  padding-top: 10px;
}

.modal-center{
  display: flex;
  margin: auto;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.modal-img {
  width:150px;
  height:150px;
  border: none;
  -moz-border-radius: 75px;
  -webkit-border-radius: 75px;
  border-radius: 75px;
}
.container-skill {
  font-family: "Futura", sans-serif;
  color: #FFFFFA;
  display: flex;
  height: auto;
  background-color: #466AA0;
  justify-content: center;
  text-align: center;
  padding-top: 150px;
  padding-bottom: 150px;
  z-index: 0;
  flex-direction: row;
  flex-wrap: wrap;
}
.container-RV {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard syntax */
  filter: blur(8px);
  font-family: "Futura", sans-serif;
  color: #FFFFFA;
  display: flex;
  height: auto;
  background-color: #24252A;
  justify-content: center;
  text-align: center;
  padding-top: 150px;
  padding-bottom: 150px;
  z-index: 0;
  flex-direction: row;
  flex-wrap: wrap;
}
.container-facture {
  font-family: "Futura", sans-serif;
  color: #FFFFFA;
  display: flex;
  height: auto;
  background-color: #24252A;
  justify-content: center;
  text-align: center;
  padding-top: 150px;
  padding-bottom: 150px;
  z-index: 0;
  flex-direction: row;
  flex-wrap: wrap;
}
.Container-flex {
  display: flex;
  height: auto;
  width: auto;
  flex-direction: column;
  flex-basis: 45%;
  justify-content: center;
}
.Container-flex-facture {
  display: flex;
  height: auto;
  width: auto;
  flex-direction: column;
  flex-basis: 35%;
  justify-content: center;
  background-color: #466AA0;
  margin-left: 10px;
  margin-right: 10px;
  padding: 25px;
  border-radius: 100px;
}
.container-separator {
  font-family: "Futura", sans-serif;
  color: #FFFFFA;
  display: flex;
  height: auto;
  justify-content: center;
  text-align: center;
  padding: 100px;
  font-size: 28px;
  background: #2f3037;
}
.Title {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: auto;
  margin: auto;
  font-size: 2.8em;
}
.Container-flex img {
  display: flex;
  padding: 20px;
}
img.img-responsive-flex {
  display: flex;
  height: 300px;
  padding: 50px;
  margin: auto;
  border-radius: solid 2px;
}
.Container-flex.column {
  flex-direction: row;
  flex-wrap: wrap;
}
.other {
  width: auto;
  height: auto;
  padding: auto;
  margin: auto;
}
.cmd {
  width: 100vw;
  height: 100vh;
  max-width: 350px;
  max-height: 225px;
}
.sadalsz {
  background-color:#53508F;
  padding: 30px;
  margin: 40px;
  border-radius: 15px;
}
.other-container {
  padding: 50px;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
}
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 30px;
  margin: 80px 0;
}
.card-wrapper {
  position: relative;
  min-height: 350px;
  perspective: 2000px;
  perspective-origin: top;
}
.card {
  font-family: "Futura", sans-serif;
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.86,0,0.07,1);
  color: #FFFFFA;
  font-weight: bold;
}
.card-front,
.card-back {
  position: absolute;
  height: 100%;
  width: 100%;
  padding: 30px;
  border-radius: 8px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.card-back-font {
  font-size: 22px;
}
.card-front {
  background: #466AA0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-wrapper:nth-child(even) .card-front {
  background-color: #1a2f42;
}

.card-front p {
  font-size: 25px;
  line-height: 35px;
}

.arrow-icon {
  position: absolute;
  right: 30px;
  bottom: 30px;
  color: white;
  width: 20px;
  font-style: bold;
}
.Download  {
  font-size: 25px;
}

.card-back {
  background: #466AA0;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.card-wrapper:nth-child(even) .card-back {
  background-color: #1a2f42;
}

.card-back a {
  display: inline-block;
  border-radius: 10px;
  padding: 15px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: normal;
  background-color: #fff;
  font-size: 14px;
  color: #333;
  margin: auto;
  transition: 
  background-color 0.3s ease-out,
  color 0.3s ease-out;
}

.card-wrapper:nth-child(odd) .card-back a:hover {
  background-color: #1a2f42;
  color: #fff;
}
.card-wrapper:nth-child(even) .card-back a:hover {
  background-color: #466AA0;
  color: #fff;
}
.img-card,
.img-card-big,
.img-card-small {
  width: 175px;
  margin: auto;
  padding: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.img-card-big {
  width: 275px;
}
.img-card-small{
  width: 145px;
}
.skill-description {
  font-size: 35px;
} 
.RV-description{
  font-size: 35px;
}
.facture-description{
  font-size: 32px;
}
.facture-description-header {
  font-size: 35px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 50px;
  padding-bottom: 0px;
}
.download-facture{
  font-size: 32px;
}
@media screen and (min-width: 780px) {
  .card-wrapper:hover .card {
    transform: rotateY(180deg)
  }
}
@media screen and (max-width: 768px) {
  nav {
    display: none;
  }
  img.disable{
    display: none;
  }
  .card-container {
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
  }
  .card-wrapper {
    min-height: 325px;
  }
  .activeCard.card {
    transform: rotateY(180deg)
  }
}