body {
    background-color: #e7ecef;
}

#main {
    padding-left: 10px;
    padding-right: 10px;
}

#header {
    background: white;
}

.navbar {
    justify-content: center;
}

.rowheader {
    background-color: #274C77;
    color: white;
    margin: 0px;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-left: 10px;
    display: flex;
    flex: auto;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 34px 4px rgba(0, 0, 0, 0.47);
    -webkit-box-shadow: 0px 0px 34px 4px rgba(0, 0, 0, 0.47);
    -moz-box-shadow: 0px 0px 34px 4px rgba(0, 0, 0, 0.47);
}

.rowheader:first-of-type {
    margin-top: 0px;
}

.rowcontent {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.rowcontent .card {
    align-items: center;
    border-radius: 8% 92% 8% 92% / 93% 5% 95% 7%;
    overflow: hidden;
    min-height: 250px;
    max-height: 250px;
}

.rowcontent .card:hover {
    cursor: pointer;
}

/* 
.rowcontent .card img {
    max-width: 100%;
    max-height: 150px;
    margin-top: 10px;
} */

.rowcontent .card .mycardimage {
    display: flex;
    justify-content: center;
    height: 150px;
    /* background-size: contain;
    background-position: center;
    background-repeat: no-repeat; */
}

.rowcontent .card .card-body {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: self-end;
}

/* @media screen and (min-width: 465px) {
    .rowcontent {
        display: flex;
    }
} */

#fixed-max-length {
    max-width: 300px;
}

#random-generator {
    /* border: 1px solid black;
    height: 500px; */
    justify-content: center;
    padding-top: 20px;
}

body.random-meal {
    background-color: white;
}

.inputform {
    text-align: center;
}

#generaterandommealbutton {
    margin-top: 16px;
}

#randometelrowheader {
    margin-bottom: 0px;
}

#random-etel-row {
    border-top: 1px solid black;
    margin-top: 20px;
    padding-top: 20px;
    justify-content: center;
}

@media screen and (max-width: 575px) {
    .rowcontent .card {
        min-height: 350px;
        max-height: 350px;
    }

    .rowcontent .card .mycardimage {
        height: 250px;
    }

    /* .rowcontent {
        display: block;
    }  */
    .navbar-brand {
        border-bottom: 1px solid black;
    }
}

.text-decoration-line-through {
    text-decoration: line-through;
}

.row {
    margin-right: -10px !important;
}

img.card-img-top {
    object-fit: cover;
}