.highlights {
    margin: auto auto;
    height: auto;
    top: 60px;
    display: relative;
  }
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Adjust the number of columns as needed */
  grid-gap: 10px; /* Adjust the gap between grid items */
}
.card {
  display: flex;
  height: 400px;
  width: 100%;
  padding:0;
  background-color: #000;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 10px;
  box-shadow: -1rem 0 3rem #000;
  /*   margin-left: -50px; */
  transition: 0.4s ease-out;
  margin: 0;
  position: relative;
  margin-bottom: 40px;
  animation: moveUpDown 2s infinite;
}

@keyframes moveUpDown {
  0% {
    top: 0;
  }
  50% {
    top: 50px; /* Adjust the value to change the distance */
  }
  100% {
    top: 0;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  backdrop-filter: blur(2px);
  z-index: 1;
}

.card .img{
  position: absolute;
  padding: 0;
  width:80%;
  height:90%;
  top:5%;
  left:10%;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 2;
}

.card .details {
  display:relative;
  overflow: hidden;
  margin: 0;
  padding:2px;
  margin-top: 100%;
  padding-bottom: 70px;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  background-color: rgba(0,0,0,0.6);
  z-index: 3;
}

.card .details img{
	max-height: 70%;
  margin-bottom: 5px;
  opacity: 0.7;
  margin: auto auto;
}



  .card:hover {
    height: 500px;
    width: 150%;
    transform: translateY(-20px);
    transition: 0.4s ease-out;
    z-index: 1000;
  }



  .card .img .title {
    display: block;
    text-align: center;
    color: white;
    font-weight: 300;
    position: relative;
  }

  .bar {
    position: absolute;
    top: 100px;
    left: 20px;
    height: 5px;
    width: 150px;
  }

  .emptybar {
    background-color: #2e3033;
    width: 100%;
    height: 100%;
  }

  .filledbar {
    position: absolute;
    top: 0px;
    z-index: 3;
    width: 0px;
    height: 100%;
    background: rgb(0,154,217);
    background: linear-gradient(90deg, rgba(0,154,217,1) 0%, rgba(217,147,0,1) 65%, rgba(255,186,0,1) 100%);
    transition: 0.6s ease-out;
  }

  .card:hover .filledbar {
    width: 120px;
    transition: 0.4s ease-out;
  }

  .circle {
    position: absolute;
    top: 150px;
    left: calc(50% - 60px);
  }

  .stroke {
    stroke: white;
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    transition: 0.6s ease-out;
  }

  svg {
    fill: #17141d;
    stroke-width: 2px;
  }

  .card:hover .stroke {
    stroke-dashoffset: 100;
    transition: 0.6s ease-out;
  }


@media only screen and (min-width: 768px) and (max-width: 991px) {
  .card {
    height: 500px;
  }
}

@media only screen and (max-width: 767px) {
  .card {
    height: 700px;
  }

  .card:hover {
    height: 410px;
    width: 105%;
  }
}

@media only screen and (max-width: 479px) {
  .card {
    height: 500px;
  }
}
