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


.cont1 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  background-image: url("/public/images/background-blur.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card {
  position: relative;
  width: 300px;
  height: 350px;
  background:#A0CECB;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 75px;
  margin-top: 150px;
}

.card::after {
  content: '';
  position: absolute;
  inset: -10px 50px;
  border-top: 4px solid #A0CECB;
  border-bottom: 4px solid #A0CECB;
  transform: skewY(0deg);
  transition: 0.2s ease-in-out;
}

.card:hover::after {
  inset: -10px 40px;
  transform: skewY(15deg);
}


.card::before {
  content: '';
  position: absolute;
  inset: 60px -10px;
  border-left: 4px solid #A0CECB;
  border-right: 4px solid #A0CECB ;
  transform: skew(0deg);
  transition: 0.3s ease-in-out;
}

.card:hover::before {
  inset: 40px -10px;
  transform: skew(15deg);
}

.card .content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: #e4e4e4;
  gap: 20px;
  overflow: hidden;
  z-index: 10;
}

.card .content .icon {
  color: #A0CECB;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  background: #e4e4e4;
  box-shadow: 0 0 0 4px #e4e4e4,
    0 0 0 6px var(--color);
  transition: 0.5s ease-in-out;
}

.card:hover .content .icon {
  background: #A0CECB;
  color: #2e2e2e;
  box-shadow: 0 0 0 4px #2e2e2e,
    0 0 0 300px #A0CECB;
}

.card .content .text h3 {
  color: black;
  font-size: 1.5rem;
  font-weight: 500;
  transition: 0.5s ease-in-out;
}

.card:hover .content .text h3 {
  color: #2e2e2e;
}

.card .content .text p {
  color: #999;
  transition: 0.5s ease-in-out;
}

.card:hover .content .text p {
  color: #2e2e2e;
}

.card .content .text a {
  position: relative;
  display: inline-block;
  background: #A0CECB;
  color: #2e2e2e;
  text-decoration: none;
  font-weight: 500;
  margin-block-start: 10px;
  padding: 8px 15px;
}

.card:hover .content .text a {
  background: #2e2e2e;
  color: #A0CECB;
}

@media (max-width:1018px) {
  .cont1 {
    align-items:flex-start;
  }
}
@media (max-width: 1019px) {
  .card {
    margin-top: 2em;
    margin-bottom: 2em;
  }
}

body footer {
  position: relative;
}