/* -----------------------------overarching------------------------------------ */

.sub-body {
    margin-left: 20%;
    margin-right: 20%;
}

h2 {
    font-size: 30px;
}

input {
    padding: 8px 10px;
    font-size: 16px;
    box-sizing: border-box;
}


/* -----------------------------Section Intorduction------------------------------------ */

.intro-picture {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
}

.intro-picture h1 {
    font-size: 40px;
}

.intro-picture img {
    width: 100%;
    height: 450px;
    margin-bottom: 30px;
    object-fit: cover;
    object-position: 50% 75%;
    border-radius: 8px 8px 8px 8px;
}

.content-tag {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 60px;
}

.tag {
    border-radius: 8px;
    background-color: rgb(219, 219, 219);
    padding: 8px;
    margin-right: 30px;
    font-size: 18px;
}

.intro-border {
    border-bottom: 1px solid rgb(219, 219, 219);
    padding-top: 120px;
    margin-bottom: 20px;
}


/* ------------------------------Section Table---------------------------------------- */

.portion-size {
    margin-bottom: 12px;
    font-size: 20px;
}

.portion-button {
    background-color: var(--orange);
    border: none;
    color: white;
    padding: 10px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.portion-button:hover {
    background-color: var(--orange-hover);
}

.portion-button:active {
    background-color: var(--orange);
}

table {
    display: table;
    border-collapse: separate;
    border-spacing: 0px;
    box-sizing: border-box;
    border-color: rgb(219, 219, 219);
    width: 100%;
    font-size: 20px;
}

.td-left {
    text-align: center;
    padding: 12px;
}

.td-right {
    text-align: center;
    padding: 12px;
}

.ingredient-table tr:nth-of-type(odd) td:first-child {
    border-radius: 8px 0 0 8px;
}

.ingredient-table tr:nth-of-type(odd) td:last-child {
    border-radius: 0 8px 8px 0;
}

.ingredient-table tr:nth-of-type(odd) td {
    background-color: rgb(219, 219, 219)
}


/* ------------------------------Section Zubereitung---------------------------------------- */

.preparation-header {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
}

.preparation {
    padding-bottom: 50px;
    font-size: 20px;
}


/* ------------------------------Section Author---------------------------------------- */

.Author {
    display: flex;
    align-items: center;
    padding-bottom: 200px;
    font-size: 30px;
}

.Author img {
    height: 110px;
    width: 110px;
    border-radius: 100%;
    margin-right: 40px;
}

@media(max-width:1000px) {
    .sub-body {
        margin-left: 10%;
        margin-right: 10%;
    }
    .intro-picture {
        padding: 2px;
    }
    .intro-picture img {
        height: 270px;
    }
    .content-tag {
        /* padding-left: 5px;
        padding-right: 8px; */
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    .tag {
        margin-top: 6px;
        margin-bottom: 6px;
        margin-right: 0px;
    }
    .portion-size {
        display: flex;
        flex-direction: column;
    }
    .intro-picture h1 {
        text-align: center;
    }
    .table {
        font-size: medium;
    }
    .preparation {
        font-size: medium;
    }
}