@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Rajdhani:wght@500&family=Roboto&display=swap');
p,a{

    font-family: 'Roboto', sans-serif;
}

h1,h2,h3,h4,h5{
    font-family: 'Rajdhani', sans-serif !important;
    ;
}


li {
    margin-bottom: 2px;
}

.cool-link {
    display: inline-block;
    color: #3D6DDA;
    text-decoration: none;
}

.cool-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #3D6DDA;
    transition: width .3s;
}

.cool-link:hover::after {
    width: 100%;
    transition: width .3s;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines{
    display: none;
}

.container{
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.navbar{
    box-shadow: 0px 0px 7px 0px #bdbdbd;
    position: fixed;
    width: 100%;
    background: #fff;
    color: #000;
    opacity:  .97;
    z-index: 100;
}

.navbar-container{
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items{
    order: 2;
    display: flex;
}
.logo{
    order: 1;
    font-size: 1.2rem;
    font-weight: 600;
    color: #5e5e5e;
}

.sub-logo{
    color: #3A6FE6 !important;
    font-size: 0.9rem;
}

.menu-items li{
    list-style: none;
    margin-left: 3.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.navbar a{
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover{
    color: #3D6DDA;
}

@media (max-width: 775px){
    .navbar{
        opacity: 0.95;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines{
        display: block;
    }

    .navbar-container{
        display: block;
        position: relative;
        height: 64px;
    }

    .navbar-container input[type="checkbox"]{
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines{
        display: block;
        height: 28px;
        width: 35px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line{
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #333;
    }
    
    .navbar-container .hamburger-lines .line1{
        transform-origin: 0% 0%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2{
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3{
        transform-origin: 0% 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items{
        padding-top: 100px;
        background: #fff;
        height: 100vh;
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin-left: -40px;
        /* padding-left: 40px; */
        padding-right: 30px;
        transition: transform 0.5s ease-in-out;
        box-shadow:  5px 0px 10px 0px #aaa;
        overflow: scroll;
    }

    .navbar .menu-items li{
        margin-bottom: 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .logo{
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 1.2rem;
    }

    .navbar-container input[type="checkbox"]:checked ~ .menu-items{
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1{
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2{
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3{
        transform: rotate(-45deg);
    }

}

@media (max-width: 500px){
    .navbar-container input[type="checkbox"]:checked ~ .logo{
        display: none;
    }
}




#main h1{
    font-size: 45px;
      color: #bac0e3;
      text-align: center;
  }
  .cards-list {
      z-index: 0;
      width: 71%;
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      margin: auto;
  }
  .card{
    margin: 30px auto;
    width: 31%;
    height: 16rem;
    border-radius: 50px 0;
    box-shadow: 0px 0px 15px rgb(0 0 0 / 30%);
    cursor: pointer;
    transition: 0.4s;
    justify-content: flex-start !important;
    background-color: #97A9BD;
  }
  
  .card_image{
      background: #fff;
      width: 70px;
      height: 70px;
      border-radius: 50%;
      margin: 10px auto;
  }
  .card_image i{ 
      margin: 17px;
      font-size: 37px;
    
  -webkit-animation:spin 4s linear infinite;
      -moz-animation:spin 4s linear infinite;
      animation:spin 4s linear infinite;
  }
  @-moz-keyframes spin { 
      100% { -moz-transform: rotate(360deg); } 
  }
  @-webkit-keyframes spin { 
      100% { -webkit-transform: rotate(360deg); } 
  }
  @keyframes spin { 
      100% { 
          -webkit-transform: rotate(360deg); 
          transform:rotate(360deg); 
      } 
  }
   .card_title .heading {
      font-size: 1.2rem;
      font-weight: 700;
         margin: auto;
      text-align: center;
         color: #fff;
  }
  .card_title p {
      margin: 10px auto;
      line-height: normal;
    text-align: center;
        color: #fff;
  }
  .cards-list .card:nth-child(1) {
    background-color: #97A9BD;
  }
  .cards-list .card:nth-child(1):hover {
   background-color: #5e6e80;
  }
  
  .cards-list .card1 .card_image a i{
    color: #97A9BD;
   
  }
  
  .cards-list .card:nth-child(2) {
      background-color: #A197BD;
  }
  .cards-list .card:nth-child(2):hover {
   background-color: #625682;
  }
  .cards-list .card2 .card_image a i{
    color: #A197BD;
   
  }
  .cards-list .card:nth-child(3) {
      background-color: #BDA697;
  }
  .cards-list .card:nth-child(3):hover {
   background-color: #826552;
  }
  .cards-list .card3 .card_image a i{
    color:#BDA697;
   
  }
  .btn-flip {
    opacity: 1;
    outline: 0;
    color: #fff;
    line-height: 40px;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    font-family: "Open Sans";
    text-transform: uppercase;
  }
  .btn-flip:hover:after {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
  .btn-flip:hover:before {
    opacity: 0;
    transform: translateY(50%) rotateX(90deg);
  }
  .btn-flip:after {
  top: 0;
      left: 0;
      opacity: 0;
      width: 100%;
      color: #ababb4;
      display: block;
      transition: 0.5s;
      position: absolute;
      background: #fcfcfc;
      content: attr(data-back);
    transform: translateY(-50%) rotateX(90deg);
  }
  .btn-flip:before {
        top: 0;
      left: 0;
      opacity: 1;
      color: #f9f9ff;
      display: block;
      padding: 0 30px;
      line-height: 40px;
      transition: 0.5s;
      position: relative;
      /* background: #fbfbfd; */
      content: attr(data-front);
      transform: translateY(0) rotateX(0);
      border: 1px solid #fbfbfb;
  }
  .btn-read{
    justify-content: center;
      align-content: center;
      display: flex;
    margin: 31px;
  }
  