﻿.colorbg {
    background-color: #c8ece9;
    border-color: #c8ece9 !important;
}

.btnbg {
    background-color: #55c4bc !important;
}

    .btnbg:hover {
        background-color: #55c4bc !important;
    }

* {
    font-family: Calibri, sans-serif !important;
}

.bgheadrcard {
    border-bottom: none !important;
    background-color: #c8ece9 !important;
}

.bgfootercard {
    border-top: none !important;
    background-color: #c8ece9 !important;
}
body {
    margin: 40px 0;
    font-family: "Raleway";
    font-size: 14px;
    font-weight: 500;
    background-color: #BCAAA4;
    -webkit-font-smoothing: antialiased;
}

.title {
    font-family: "Raleway";
    font-size: 24px;
    font-weight: 700;
    color: #5D4037;
    text-align: center;
}

p {
    line-height: 1.5em;
}

    h1 + p, p + p {
        margin-top: 10px;
    }
.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.wrap {
    margin: 1%;
    transform-style: preserve-3d;
    transform: perspective(1600px);
    cursor: pointer;
}

.card-container {
    --rX: 0;
    --rY: 0;
    --bX: 50%;
    --bY: 5%;
    width: 400px;
    height: 160px;
    border: 1px solid var(--background-color);
    border-radius: 25px;
    padding: 64px;
    display: flex;
    align-items: flex-end;
    position: relative;
    transform: rotateX(calc(var(--rX) * 1deg)) rotateY(calc(var(--rY) * 1deg));
  
    background-color: #c8ece9;
    background-position: var(--bX) var(--bY);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 1px 3px hsla(0, 0%, 0%, .2);
    transition: transform .6s 1s;
}

    .card-container::before,
    .card-container::after {
        content: "";
        width: 32px;
        height: 32px;
        border: 3px solid #fff;
        position: absolute;
        z-index: 2;
        opacity: .8;
        transition: .9s;
    }

    .card-container::before {
        top: 18px;
        right: 18px;
        border-bottom-width: 0;
        border-left-width: 0;
    }

    .card-container::after {
        bottom: 18px;
        left: 18px;
        border-top-width: 0;
        border-right-width: 0;
    }

.card-container--active {
    transition: none;
}

.card-container--2 {
    filter: hue-rotate(80deg) saturate(140%);
}

.card-container--3 {
    filter: hue-rotate(160deg) saturate(140%);
}

.card-container p {
    color: hsl(0deg 0% 0% / 60%);
    font-size: 35px;
    bottom: 10px;
    margin-bottom: -55px !important;

}

.wrap:hover .card-container::before,
.wrap:hover .card-container::after {
    width: calc(100% - 64px);
    height: calc(100% - 64px);
}

.abs-site-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: hsla(0, 0%, 0%, .6);
    font-size: 25px;
}