.image-hover img:last-child{
  display: none; 
}

.image-hover:hover img:last-child{
  display: block;  
}

.image-hover:hover img:first-child {
  display: none;  
}

.flip-card {
    background-color: transparent;
    /*width: 300px;
    height: 200px;
    border: 1px solid #f1f1f1;*/
    perspective: 1000px; /* Remove this if you don't want the 3D effect */

    /*margin-bottom: 250px;*/
  }

.flip-card-inner {
    /*position: relative;
    width: 100%;
    height: 100%;*/
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }

  /* Position the front and back side */
.flip-card-front, .flip-card-back {
    /*position: absolute;
    width: 100%;
    height: 100%;*/
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    margin-left:auto;
    margin-right: auto;
  }

  /* Style the front side (fallback if image is missing) */
.flip-card-front {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
  }

  .flip-card-back {
    background-color: rgb(0, 0, 0);
    color: white;
    transform: rotateY(180deg);
  }

  #icons-container {
    padding-top: 0vh;
  }

  #services{
    padding-top: 1vh;
  }

  #about{
    padding-top: 20vh;
  }

  .row{
    margin-right: 0;
  }

  .cv-section{
    background-color: #246c9f;/*#ff9000;*/
    color: white;
    display: block;
    width: 50%;
    padding: 10px 0px;
  }

  .cv-section-left{
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-right: auto;
  }

  .cv-section-right{
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    margin-left: auto;
  }

  .cv-items > h3 {
    padding-top: 15px;
    margin-bottom: 0.3rem;
  }

  .cv-items > small{
    position: relative;
    top: -0.4rem;
  }

  #cv img {
    border-radius: 50px;
   /* object-fit: contain;
   transition: transform .2s; /* Animation */
   transition: transform 1s;
    vertical-align: middle;
    width: 100%;
    height: auto;
    
    /*width: 45em;*/
    max-width: 80%;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  #cv img:hover{
    transform: scale(2.5); 
  }

  .img-last{
    order: 5;

  }

  .zoom-container{
    display: inline-block; /* change the default display type to inline-block */
    overflow: hidden; 
    border-radius: 50px;
  }

  .zoom-container:hover{
    /*max-width: 80%;*/
  }

  .circle{
    width: 300px;
    height: 300px;
    /*padding-top: 50px;*/
    padding-right: 2.5vw;
    padding-left: 2.5vw;
    margin-bottom: 0px;
    padding-top: 75px;
  }

  .flip-card{
    padding-bottom:20px;
  }

  .flip-card-back{
    padding-top: 0vh;
    /*margin-left: 80px;*/
    margin-top: -300px;
    margin-left: auto;
  }

  .flip-card-back p{
    /*width: 80%;*/
    display: flex;
    width: 100%;
    height: 300px;
    margin: auto;
    align-items:center;
    justify-content:center;
    margin-left: auto;
    font-size: 1em;
    /*border-radius: 10px;
    border: 3px dashed #1c87c9;*/
  }

  .flip-card:hover h3{
    /*margin-left:100px;*/
  }

  @media (max-width: 350px){
    .cv-section{
      width: auto;
    }
  }

  @media (min-width: 768px){
    .flip-card-back{
      padding-top: 0px;
      /*margin-left: 27px;*/
    }
  }

  @media (min-width: 992px){

    .img-last{
      order:unset;
    }


    #icons-container{
        font-size: x-small;
    }

    #icons-container h3{
        font-size: 1.5rem;
    }
   
    .circle{
        width: 200px;
        height: 200px;
        padding-right: 2.5vw;
        padding-left: 2.5vw;
        padding-top: 50px;
    }

    .flip-card{
      padding-bottom:0px;
    }

    .flip-card-back{
        /*padding-top: 5vh;
        margin-left: 27px;*/
        margin-top: -200px;
        padding-top: 0px;
    }

    .flip-card-back p{
      height: 220px;
      font-size: 14px;
    }
  }

  /*Grandeur normal*/
  @media (min-width: 1200px){
    #icons-container{
        font-size: 1rem;
    }

    #icons-container h3{
        font-size: 1.75rem;
    }

    .circle{
        width: 250px;
        height: 250px;
        padding-right: 1vw;
        padding-left: 1vw;
        padding-top: 70px;
    }

    .flip-card-back{
        /*padding-top: 9.5vh;*/
        margin-top: -250px;
        /*padding-top: 0px;*/
        padding-top: 0px;
    }

    .flip-card-back p{
      height: 250px;
      font-size: 1em;
    }
  }

