.card {
    list-style-type: none;
    width: calc(100%/3);
}

.card button {
    background-color: initial;
    border: initial;
    width: 100%;
}

.card button img {
    width: 100%;
    height: auto;
    border-radius: 20px 20px 0 0;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
    margin: 0;
}

.card button div {
    background-color: #EBEBEB;
    padding: 30px;
    border-radius: 0 0 20px 20px;
    font-size: 12pt;
    display: flex;
    justify-content: space-between;
}

.card button div span:first-of-type {
    text-align: left;
    max-width: 70%;
}

/* Recipe window */
#recipeWindow {
    /*display: none;*/
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: scroll;
}
#recipeWindow #page {
    background-color: white;
    border-radius: 50px;
    width: 60%;
    margin: 100px auto 100px auto;
    position: relative;
}
#recipeWindow #pageContent {
    padding: 50px;
    box-sizing: border-box;
}
#recipeWindow #page #featuredImg {
    width: 100%;
    height: 350px;
    border-radius: 50px 50px 0 0;
    object-fit: cover;
}
#recipeWindow #page h1 {
    width: 100%;
    text-align: center;
    font-size: 40pt;
}
#recipeWindow #page ul {
    display: initial;
}
#recipeWindow #page ul li, #recipeWindow #page ol li {
    list-style-type: none;
}
#recipeWindow #page #labels li {
    text-align: center;
}
#recipeWindow #info {
    background-color: #EBEBEB;
    border: 0.5px solid rgb(194, 194, 194);
    border-radius: 10px;
    float: right;
    padding: 20px;
    box-sizing: border-box;
}
#recipeWindow #info h2 {
    text-align: center;
    font-size: 16pt;
    margin: 0;
}
#recipeWindow #info ul li {
    margin: 5px 0 5px 0;
}
#recipeWindow #settings {
    border-radius: 100%;
    font-size: 0;
    position: absolute;
    top: 30px;
    right: 30px;
}
#recipeWindow #settings img {
    width: 30px;
    height: 30px;
}
#recipeWindow #close {
    position: fixed;
    top: 30px;
    right: 30px;
    border-radius: 100%;
    font-size: 0;
    background-color: #ebebeb7b;
}
#recipeWindow #close img {
    width: 30px;
    height: 30px;
}