
/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip_section .flip-card {
    background-color: transparent;
    width: 300px;
    height: 370px;

    perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }
  
  /* This container is needed to position the front and back side */
  .flip_section .flip-card-inner {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    min-height: 320px;
  }
  
  /* Do an horizontal flip when you move the mouse over the flip box container */
  .flip_section .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  


  /* Position the front and back side */
  .flip_section .flip-card-front,
  .flip_section .flip-card-back {
    position: absolute;
    width: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    bottom: 0;
  }
  
  
  
  /* Style the back side */
  .flip_section .flip-card-back {
    background-image: url('images/blank\ circle.png');
    background-size: cover;
    color: white;
    transform: rotateY(180deg);
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', Helvetica, sans-serif;
    font-size: 16px;
    line-height: 18px;
    height: 300px;
  }

main .flip_section{
    margin: 80px 0 150px;
    text-align: center;
  }

  main .flip_section .header{
    text-transform: uppercase;
    text-align: center;
    font-family: 'Love-of-Thunder', Helvetica, sans-serif;
    font-weight: 600;
  }

  main .flip_section .header h2{
    font-size: 30px;
    margin-bottom: 20px;
    line-height: 36px;
  }

  main .flip_section .flipwrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  main .flip_section .flipwrapper .flip-card .flip-card-front{
    width: 300px;
    height: 370px;
    box-sizing: border-box;
    background-image: url('images/reason-circle-center2.png');
    background-size: cover;
  }

  main .circle-card h3 a,
  main .flip_section .flipwrapper .flip-card h3 a{
    color: #eba904;
    text-align: center;
    font-size: clamp(24px, 2.5vw, 30px);
    font-family: 'Love-of-Thunder', Helvetica, sans-serif;
    margin-top: 20px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
  }



  .circle-inner{
 width: 300px;
    height: 300px;
    display: flex
;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 50%;
    transition: all 0.3s linear;
    background-size: cover;
    padding: 20px;
    box-sizing: border-box;
  }

  .circle-inner .circle-back{
    position: absolute;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s linear;
    opacity: 0;
    margin: 18px 17px;
    padding: 10px;
    box-sizing: border-box;
    color: #fff;
    transition: all 0.5s linear;
  }

  .circle-inner .circle-back p{
    font-family: 'Roboto', Helvetica, sans-serif;
  }
.circle-card:hover .circle-inner .circle-back
 {
    box-shadow:inset 0 0 0 150px rgba(0, 0, 0, 1), inset 0 0 0 0px rgba(255,255,255,0.8);
  }

   .circle-card:hover .circle-inner:hover .circle-back{
      opacity: 1;
    }