:root {
    --primary: #C6EA96;
    --secondary: rgb(163, 189, 171);
    --dark: #212121;
    --light: #F3F3F3;
}

body {
    font-family: montserrat, sans-serif;
    width: 100%;
    min-height: 100vh;
}

.clear {
    width: 100%;
    height: 150px;
}

.card {
    margin: 0 auto;
    width: 80%;
    perspective: 1000px;
    display: flex;
    row-gap: 70px;
    column-gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card__inner {
    width: 300px;
    height: 500px;
    transition: transform 1s;
    transform-style: preserve-3d;
    position: relative;
}

.card__inner.is-flipped {
    transform: rotateY(180deg);
}


.card__face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.2);
}

.card__face--front {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__face--front h2 {
    color: #FFF;
    font-size: 24px;
}

.card__face--back {
    background-color: var(--light);
    transform: rotateY(180deg);
}

.card__content {
    width: 100%;
    height: 100%;
}

.card__content .ingredients {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.card__content .ingredients .ingredients__box {
    width: 50%;
    height: 50px;
    position: relative;
    padding-left: 50px;
    line-height: 2.5;
}

.card__content .ingredients .ingredients__box p {
    font-size: 16px;
}

.card__content .ingredients .ingredients__box::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    border: solid 1px #333;
    border-radius: 100%;
    background: url(../images/index/spice.jpeg)center center no-repeat;
    background-size: 100%;
}

.card__content .card__price{
    font-size: 14px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    align-items: center;
}

.card__content .card__price a{
    color: #fff;
    display: block;
    background: #27ae60;
    border-radius: 5px;
    padding: 8px;
}

.card__content .card__price a:hover{
    background: #a4d95e;
}
.dishBox {
    border: solid 1px #666;
    display: flex;
    width: 90%;
    height: 150px;
    margin: 0 auto;
    margin-top: 10px;
    position: relative;
}

.dishFood {
    width: 150px;
    height: 100%;
}

.dishExp {
    width: 118px;
    height: 60%;
}

.dishExp h3{
    font-size: 16px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.dishExp p{
    font-size: 12px;
}

.dishBox .dishFood img {
    border-radius: 100%;
    width: 150px;
    height: 100%;
}

.dishBtn {
    position: absolute;
    bottom: 0;
    right: 6px;
    text-align: center;
}

.dishBox .dishBtn a {
    background: #27ae60;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 8px;
    margin: 3px;
    display: block;
    clear: both;
    position: relative;
    font-size: 10px;
    width: 100%;
    height: 100%;
}

.dishBox .dishBtn a:hover{
    background: #a4d95e;
}

.card__header {
    position: relative;
    padding: 5px 5px 10px;
}

.card__header:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom left, var(--primary) 10%, var(--secondary) 115%);
    z-index: -1;
    border-radius: 0px 0px 50% 0px;
}

.pp {
    display: block;
    width: 220px;
    height: 130px;
    margin: 0 auto 30px;
    background-color: #FFF;
    border: 5px solid #FFF;
    object-fit: cover;
}

.card__header h2 {
    color: #FFF;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.card__header h2::before{
    content: '';
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    background: url(../images/index/flip-icon.jpeg) center center no-repeat;
    background-size: 100%;
}


.card__body {
    padding: 20px;
    height: 24%;
}

.card__body h3 {
    color: var(--dark);
    font-size: 24px;
    font-weight: 600;
    text-align: right;
    margin: 5px 30px 0 0;
}

.card__body p {
    color: var(--dark);
    font-size: 12px;
    line-height: 1.4;
}