/* -------------------------------- 

File#: _1_link-card
Title: Link Card
Descr: Link card for app UI
Usage: codyhouse.co/license

-------------------------------- */
/* reset */
*, *::after, *::before {
  box-sizing: border-box;
}

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: hsl(0, 0%, 100%);
  font-family: system-ui, sans-serif;
  color: hsl(230, 7%, 23%);
  font-size: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: hsl(230, 13%, 9%);
  font-weight: 700;
}

h1 {
  font-size: 2.0736rem;
}

h2 {
  font-size: 1.728rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.2rem;
}

ol, ul, menu {
  list-style: none;
}

button, input, textarea, select {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  appearance: none;
}

textarea {
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}



table {
  border-collapse: collapse;
  border-spacing: 0;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

@media (min-width: 64rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.051rem;
  }

    h2 {
    font-size: 2.44rem;
  }

    h3 {
    font-size: 1.75rem;
  }

    h4 {
    font-size: 1.5625rem;
  }
}

/* variables */
:root {
  /* colors */
  --lm0-color-primary-hsl: 250, 84%, 54%;
  --lm0-color-bg-hsl: 0, 0%, 100%;
  --lm0-color-contrast-high-hsl: 230, 7%, 23%;
  --lm0-color-contrast-higher-hsl: 230, 13%, 9%;
  --lm0-color-contrast-lower-hsl: 240, 4%, 85%;
  --lm0-color-contrast-low-hsl: 240, 4%, 65%;
  --lm0-color-bg-light-hsl: 0, 0%, 100%;

  /* spacing */
  --lm0-space-3xs: 0.25rem;
  --lm0-space-xs: 0.5rem;
  --lm0-space-md: 1.25rem;

  /* typography */
  --lm0-text-lg: 1.25rem;
  --lm0-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --lm0-space-3xs: 0.375rem;
    --lm0-space-xs: 0.75rem;
    --lm0-space-md: 2rem;

    /* typography */
    --lm0-text-lg: 1.75rem;
    --lm0-text-sm: 1rem;
  }
}

/* icons */
.lm0-icon {
  height: var(--lm0-size, 1em);
  width: var(--lm0-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.lm0-icon--sm {
  --lm0-size: 24px;
}

/* component */
.link-card {
  text-decoration: none;
  color: inherit;
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
}
.link-card:hover {
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
}

.link-card__footer {
  position: relative;
  overflow: hidden;
  height: 60px;
}
.link-card__footer > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.link-card__footer > *:last-child {
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  opacity: 0;
}

.link-card:hover .link-card__footer > *:first-child {
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  opacity: 0;
}
.link-card:hover .link-card__footer > *:last-child {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}

/* utility classes */
.lm0-text-sm {
  font-size: var(--lm0-text-sm);
}

.lm0-border-top {
  --lm0-border-o: 1;
  border-top: var(--lm0-border-width, 1px) var(--lm0-border-style, solid) hsla(var(--lm0-color-contrast-lower-hsl), var(--lm0-border-o, 1));
}

.lm0-margin-top-auto {
  margin-top: auto;
}

.lm0-margin-top-3xs {
  margin-top: var(--lm0-space-3xs);
}

.lm0-color-contrast-low {
  --lm0-color-o: 1;
  color: hsla(var(--lm0-color-contrast-low-hsl), var(--lm0-color-o, 1));
}

.lm0-color-contrast-higher {
  --lm0-color-o: 1;
  color: hsla(var(--lm0-color-contrast-higher-hsl), var(--lm0-color-o, 1));
}

.lm0-font-semibold {
  font-weight: 600;
}

.lm0-text-lg {
  font-size: var(--lm0-text-lg);
}

.lm0-line-height-xs {
  line-height: 1.1;
}

.lm0-color-primary {
  /* --lm0-color-o: 1; */
  color: #3c86e3;
}

.lm0-block {
  display: block;
}

.lm0-items-center {
  align-items: center;
}

.lm0-gap-xs {
  gap: var(--lm0-space-xs);
}

.lm0-flex-wrap {
  flex-wrap: wrap;
}

.lm0-flex {
  display: flex;
}

.lm0-padding-md {
  padding: var(--sp-m);
}

.lm0-radius-md {
  border-radius: 0.25em;
}

.lm0-bg-light {
  --lm0-bg-o: 1;
  background-color: hsla(var(--lm0-color-bg-light-hsl), var(--lm0-bg-o, 1));
}

.lm0-flex-column {
  flex-direction: column;
}

.lm0-border-contrast-lower {
  --lm0-border-o: 1;
  border-color: hsla(var(--lm0-color-contrast-lower-hsl), var(--lm0-border-o, 1));
}

.link_cards_bg_diagonal {
  background-image: url('/placeholder_img/mesh_01.jpg');
  max-width: 1200px;
  margin: var(--sp-xxx) auto;
  padding: var(--sp-xxx);
  border-radius: 0.5em;
  background-repeat: repeat;
  background-size: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


/* Hover effects for cards */
.link_cards_div {
  display: flex;
  justify-content: center;
  gap: var(--sp-x);
  align-items: center;
}

.link_cards_div > * {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Float effect on hover */
.link_cards_div > *:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.icn_btn_width{
  min-width: 190px;
}


@media (max-width: 767px) {
  .link_cards_div {
  flex-direction: column;
  }

  .link_cards_bg_diagonal {
    margin: var(--sp-x) var(--sp-xxx);
    padding: var(--sp-x) var(--sp-s);
  }
}




