@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600&family=Poppins:wght@400;500&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --gradient: conic-gradient(
        from 90deg at 50% 50%,
        rgb(251, 55, 60),
        rgba(252, 114, 28, 1),
        rgba(255, 220, 0, 1),
        rgba(27, 206, 255, 1),
        rgba(42, 107, 255, 1),
        rgba(217, 41, 255, 1),
        rgba(255, 10, 92, 1)
    );
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    /* background-color:  #242323; */
    /* background-color: #f0eafb; */
    /* background-color: #cac8ce; */
    /* background-color: #2f2e30; */
    /* background-color: #e6e1ef; */
    background-color:  #0f0f0f;
}

section {
      display: block;
      position: relative;
      /* width: 70vw; */
      height: 375px;
      flex-direction: column; /* or column */
      justify-content: end; /* or other values */
      align-items: center; /* or other values */
      /* border-style: dotted;
      border-color: azure;
      border-width: 1px; */
      /* margin-block-end: 2em; */
}

section .card a {
    z-index: 10;
}

b {
    color: #aa6100;
    opacity: .7; 
    /* filter: blur(10%) */
    
}

h1 {
    font-size: 65px;
    color: rgb(71, 71, 71);
    text-align: center;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    color: rgb(174, 174, 174);
    text-align: center;
    font-weight: 600;
}

p {
    font-size: 20px;
    color: rgb(174, 174, 174);
    font-weight: 600;
}

.container {
    display: inline-block;
    margin-left: 35%;
    margin-right: 35%;
    margin-top: auto;
}


/* .hero-container {
    /* inline-size: max(250px, 150px); */
    /* aspect-ratio: 1; */
    /* width: 70vw;
    height: 15vh;
    margin-inline: auto;
    border: 1px solid currentColor;
} */

.hero {
  inline-size: 100%;
}

.hero img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  mask: linear-gradient(to bottom, #000 60%, transparent);
  border-radius: 10px;
}

.hero-content {
  max-inline-size: 95%;
   /* min(80ch, 95%); */
  padding-inline: 3rem;
  margin-inline: auto;
}

.hero h1 {
  margin-block: -4.5rem 1rem;
  font-size: clamp(1.5rem, 5vw + 1rem, 4rem);
}

.card {
    --start: 0;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 280px;
    height: 350px;
    margin: 10px;
    padding: 10px 40px;
    background-color: #040404;
    border-radius: 14px;
    transition: border-color 0.3s ease-in-out;
}

.card::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 14px;
    border: 2px solid transparent;
    background: var(--gradient);
    background-attachment: fixed;
    mask: linear-gradient(#0000, #0000), conic-gradient(from calc((
                var(--start) - (20 * 1.1)
                ) * 1deg),  #ffffff1f 0deg, white, #ffffff00 100deg);
    mask-composite: intersect;
    mask-clip: padding-box, border-box;
    opacity: 0;
    transition: 0.5s ease;    
}

.card a p {
    font-size: x-large;
}

.right {
    position: absolute;
    right: 0;
}

.content {
    display: inline;
    margin-left: 5%;
    justify-content: center;
    vertical-align: middle;
}

.content p {
    position: relative;
    display: inline;
    font-size: 30px;
    vertical-align: middle;
}

.glow {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: blur(14px);
}
 
.glow::before {
  position: absolute;
  content: "";
  width: 98%;
  height: 98%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  border: 15px solid transparent;
  background: var(--gradient);
  background-attachment: fixed;
  mask: linear-gradient(#0000, #0000), conic-gradient(from calc((
                var(--start) - (20 * 1.1)
                ) * 1deg),  #ffffff1f 0deg, white, #ffffff00 100deg);
  mask-composite: intersect;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: 1s ease;
}
 
.card:hover > .glow::before {
  opacity: 1;
}
.card:hover::before {
  opacity: 0.6;
}
 
.footer-card {
  /* width: 70vw; */
  height: 20vh;
  background-color: #f0eafb;
  margin-top: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: linear-gradient(to bottom right, #aa6100, #f0eafb 65%);;

}

/* #0000ff #ff0000*/