* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins;
}

body {

  min-height: 100vh;
  background: #340076;
  background: linear-gradient(288deg, rgba(9, 0, 158, 0.9752275910364145) 0%, rgba(52, 0, 118, 1) 48%, rgba(0, 19, 118, 1) 100%);
  background: linear-gradient(43deg, rgba(9, 0, 158, 0.9752275910364145) 0%, rgba(52, 0, 118, 1) 48%, rgba(0, 19, 118, 1) 100%);
  background-image: linear-gradient(to bottom, #C48235, #C38133, #C38131, #C2802F, #C1802D, #C6883A, #CA8F47, #CF9753, #D9A970, #E2BB8D
  , #EACDAB, #F2DFCA);
  background: linear-gradient(to bottom, #ff8c06, #ff8c05, #ff8b00, #ff8d00, #ff930a, #ff8f00, #ff8d00, #ff8d01, #ff9413, #ffaa46, #ffc27b, #ffcd97);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-heading h1 {
  font-size: 66px;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 40px 0 0;
}

.container .box {
  position: relative;
  width: 320px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 30px;
  transition: 1s;
  /* background-color: #ffd04d76; */
}

.container .box::before {
  content: ' ';
  position: absolute;
  top: 0;
  left: 30px;
  width: 80%;
  height: 100%;
  text-decoration: none;
  /* background: #fff; */
  border-radius: 8px;
  transform: skewX(15deg);
  transition: 1s;
  border: 2px solid #fff;
}

.container .box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 30;
  width: 80%;
  height: 100%;
  /* background: #fff; */
  border-radius: 8px;
  transform: skewX(10deg);
  transition: 1s;
  filter: blur(30px);
}



.container .box:nth-child(1):before,
.container .box:nth-child(1):after {
  background: linear-gradient(323.02deg, rgb(221, 113, 49) 18.65%, rgb(251, 212, 96) 82.73%);

  
}

.container .box:nth-child(2):before,
.container .box:nth-child(2):after {
  background: linear-gradient(323.02deg, rgb(221, 113, 49) 18.65%, rgb(251, 212, 96) 82.73%);
}

.container .box:nth-child(3):before,
.container .box:nth-child(3):after {
  background: linear-gradient(323.02deg, rgb(221, 113, 49) 18.65%, rgb(251, 212, 96) 82.73%);

}

.container .box:hover:before,
.container .box:hover:after {
  transform: skewX(0deg);
  left: 5px;
  width: calc(100% - 40px);
  border: 2px solid transparent;
  background: linear-gradient(to right top, #c57f2c, #e3a35a, #c97c27, #d58f3e, #ffb563);
  background: linear-gradient(323.02deg, rgb(221, 113, 49) 18.65%, rgb(251, 212, 96) 82.73%);
  transition: all 1s ease-in-out;
}

.container .box span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  pointer-events: none;
}

.content img {
  width: 100px;
  height:100px;
  filter: drop-shadow(0px 0px 1px #fff);
  margin: auto;
  display: flex;
}

.container .box span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: 1s;
  animation: animate 2s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08)
}

.container .box:hover span::before {
  top: -35px;
  left: 0px;
  width: 70px;
  height: 70px;
  opacity: 1;
}

.container .box span::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: 1s;
  animation: animate 2s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  animation-delay: 1s;
}

.container .box:hover span:after {
  bottom: -15px;
  right: 0px;
  width: 70px;
  height: 70px;
  opacity: 1;
  transition: all 1s ease-in-out;
}

@keyframes animate {

  0%,
  100% {
    transform: translateY(10px);
  transition: all 1s ease-in-out;

  }

  50% {
    transform: translate(-10px);
  transition: all 1s ease-in-out;

  }
}

.container .box .content {
  position: relative;
  left: 0;
  padding: 20px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1;
  transform: 0.5s;
  color: #fff;
  border: 2px solid #fff;
  height: 35vh;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container .box:hover .content {
  left: -15px;
  padding: 30px 20px;
  border: 2px solid transparent;
}

.container .box .content h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: poppins;
}

.container .box .content p {
  font-size: 1.1em;
  margin-bottom: 10px;
  line-height: 1.4em;
}

.container .box .content a {
  display: inline-block;
  font-size: 1.1em;
  color: #ffffff;
  background: transparent;
  border: 2px solid #fff;
  
  width: 100%;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 5px;
  /* box-shadow: 0 4px 15px 0 rgba(241, 104, 7, 0.75); */
  text-align: center;
  
}

.container .box .content a:hover {
  background: transparent;
  color: #fff;
}
