* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;

  background: url(./images/ezgif.com-video-to-gif.gif);

  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

.main {

  background-size: cover;
}

.image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;


}

.image img {
  height: 400px;
  width: 400px;
  border-radius: 50%;
  border: red;
  border: 0px solid;
  margin-top: 2rem;
  background: transparent;


}

.heading {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
}

.btn {
  font-size: 1.7rem;
  margin: 2rem;
  cursor: pointer;
  transition: all 1s ease-in-out;


}

.btn:hover {
  font-size: 2rem;
}

/* second section starts from here */



.card {
  background-color: rgb(0, 0, 0);
  margin: 8rem 2rem 4rem 2rem;
  border-radius: 10%;

}

.card:hover {
  transform: scaleX(0.9) translateY(-6vh);
  transition: 2s ease-in;
  scroll-padding-top: 2rem;

}


.footer {
  margin-top: 3rem;
}

.card-title {
  font-weight: bold;
  color: rgb(217, 10, 230);
  margin: 1rem 0 2rem 0;
}

.card-text {
  color: white;
}

.link-button {
  font-size: 1.5rem;
  text-decoration: double;
  color: cyan;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bolder;
  cursor: pointer;
  transition: all 1s ease-in-out;
}

.link-button:hover {
  font-size: 1rem;
}

@keyframes slideinup {
  from {
    transform: translateY(-400px);
  }

  to {
    transform: translateY(0);
  }
}

.main {
  animation: slideinup 2s forwards;
}



@keyframes slideindown {
  from {
    transform: translateY(600px);
  }

  to {
    transform: translateX(0);
  }
}

.heading {
  animation: slideindown 3s forwards;
}
@keyframes slideinleft{
  from{
    transform: translateX(-400px);
  }
  to{
   transform: translateX(0);
  }
   }
   .latest{
     animation:slideinleft 6s forwards;
   }

   @keyframes slideindown{
    from{
      transform: translateX(-400px);
    }
    to{
     transform: translateX(0);
    }
     }
     .card{
       animation:slideindown 8s forwards;
     }