#homemainbg {
    display: block;
    background-position: 25% 50%;
    background-image: url("../img/kv-fd-crunchy-stb-dark.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
#infogrbg {
    display: block;
    background-position: 50% 50%;
    background-image: url("../img/kv-infographic_transparent.png");
    background-repeat: no-repeat;
    background-size: cover;
    height:240px;
}
table tr, table th, table td {
    background-color: #fff7e2;
}
.cardcat {
    display: grid;
	grid-auto-rows: minmax(150px, auto);
    background-color: #e1e6d1;
}
.dlcard {
    display: grid;
    align-items: stretch;
}
.dlend {
    align-self: flex-end;
}
.dlhead {
    align-self: flex-start;
}
.grid-vc {
  display: grid;
  justify-items: center;
  align-items: center;
}
.subcard {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span4;
}
.subcard figure {margin-bottom: 3rem;}
.subcard figcaption {
}
.subcard-exp {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span8;
}
.headcat {
      box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.1) inset, -5px -8px 8px rgba(0,0,0,0.2) inset;
}
.catcard {
    background-color: #e1e6d1;
    box-shadow: 0 0 8px rdga(0,0,0,.16);
    color:#212121;
    text-decoration: none;
    position: relative;
    border-radius: 16px;
    display: grid;
    align-items:stretch;
    --img-scale: 1.001;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}
.catcard a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
}
.catcard img {
  max-width: 100%;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
}
.catcard h3 {transition: color 0.3s ease-out;}
.subcard figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
}
.cardheader figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.cardtitle {
    text-align: center;
    margin: 1rem auto;
}
.cardthmb {
    margin: 0;
}
.cardthmb img {border-radius: 16px 16px 0 0;}
.cardbody {
    padding: 0 1.5rem;
}
.cardfooter {
    padding: 1rem;
    align-self: flex-end;
}
.catcard:has(:hover, :focus) {
  --img-scale: 1.1;
  --title-color: #28666e;
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
.dlcard {
    border-radius: 16px;
    background-color: #fce4c4;
    border: 6px solid #fce4c4;
    margin-bottom: 30px;
}
.gridfd {
  grid-template-rows: [title] 100px [body] auto [footer] 100px;
}
.fdtitle {
    justify-self: center;
    align-self: center;
    height: 100px;
}
.fdbody {
    justify-self: start;
    align-self: start;
    height: 200px;
    padding: 0 0.5rem;
}
.fdfooter {
    aligh-self:center;
    height: 100px;
    margin-bottom: 60px;
}
@media screen and (max-width:1140px) {
       .catimg {
        max-width: 300px;
        max-height: 300px;
        width: 100%;

    } 
}
@media screen and (max-width:768px) {
    .fdbody {height:auto;}
}
@media screen and (max-width:480px) {
    .subcard {
        grid-template-rows: subgrid;
        grid-row: span12;
    }
    .subcard-exp {
        grid-template-rows: subgird;
        grid-row: span12;
    }
    .catimg {
        max-width: 200px;
        max-height: 200px;
        width: 100%;

    }
    .catnmb {font-size: 3rem;}

}