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

html,
body {
  height: 100%;
  width: 100%;
}

html {
  font-family: "Poppins", sans-serif;
}

body {
  background-color: black;
}

@property --rotate {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes borderanimate {
  from {
    --rotate: 0deg;
  }
  to {
    --rotate: 360deg;
  }
}
.main {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
  gap: 2rem;
  padding: 60px 0;
}
.main .box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 300px;
  height: 400px;
  border: 0px solid rgba(120, 119, 119, 0);
  border-radius: 0.75rem;
  padding-bottom: 10px;
  padding-inline: 20px;
  text-align: center;
  transition: all 0.3s linear;
  text-shadow: 0 0 0px rgb(113, 23, 62);
  animation: borderanimate 5s linear infinite running;
  color: white;
}
.main .box img {
  width: 100%;
  height: 75%;
  margin: 10px 0;
  border-radius: 0.75rem;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.main .box p {
  font-size: 0.8rem;
}

.box:hover {
  border: 5px solid rgba(120, 119, 119, 0);
  box-shadow: 0 0 50px rgb(113, 23, 62);
  background: linear-gradient(black) padding-box, conic-gradient(from var(--rotate), black, rgb(113, 23, 62), black) border-box;
  text-shadow: 0 0 10px rgb(113, 23, 62);
}

@media (max-width: 1024px) {
  .main {
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
  }
}/*# sourceMappingURL=style.css.map */