*{
    margin: 0px;
    padding: 0px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header{
    background-color: aqua;
    display: flex;
    align-items: center;
    height: 80px;
}

nav{
    flex: 1;
}

nav ul{
    display: flex;
    justify-content: space-evenly;
}

nav ul li{
    list-style: none;
}

nav a{
    text-decoration: none;
    color: black;
}

nav a:hover{
    color: burlywood;
}

h1{
    padding: 10px 30px;
}

main{
    background-color: blanchedalmond;
    min-height: calc(100vh - 80px - 40px);
    padding: 30px;
}

footer{
    background-color: tomato;
    height: 40px;
    text-align: center;
}
main section{
    margin: 20px 0px;
}

a.active_page{
    color: white;
    text-shadow: 1px 1px 1px black;
}

form{
    width: 500px;
    border: 3px solid darkgray;
    box-shadow: 2px 2px 15px black;
    padding: 15px;
    border-radius: 20px;
    margin: 50px auto;
}

#submit_button{
    display: block;
    width: 100%;
    border: none;
    font-size: 25px;
    letter-spacing: 5px;
    background-color: grey;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
}

#submit_button:hover{
    background-color: darkgray;
}

form h3{
    text-align: center;
}

fieldset{
    margin: 10px 0px;
    padding: 10px;
}

.input_group{
    margin: 8px 0px;
    display: flex;
    align-items: center;
    gap: 10px;
}

form input, form textarea{
    font-size: 20px;
    flex: 1;
    padding: 4px;
}

form textarea{
    width: 100%;
    resize: vertical;
    field-sizing: content;
}

.ingredients_img{
    border: 3px solid darkgray;
    box-shadow: 2px 2px 15px black;
    border-radius: 30px;
    padding: 30px;
    background-color: whitesmoke
}

.ingredients_img img{
    float: right;
    display: block;
    border-radius: 15px;
    margin: 0px 0px 0px 20px;
}

.recipe_text_border{
    border: 3px solid darkgray;
    box-shadow: 2px 2px 15px black;
    border-radius: 30px;
    padding: 30px;
    background-color: whitesmoke;
}

.method_img{
    border: 3px solid darkgray;
    box-shadow: 2px 2px 15px black;
    border-radius: 30px;
    padding: 30px;
    background-color: whitesmoke;
    min-height: 320px;
}

.method_img img{
    float: right;
    display: block;
    border-radius: 15px;
    margin: 20px 0px 0px 20px;
}

table{
    width: 1400px;
    border-collapse: collapse;
}

td, th{
    border: 3px solid black;
}

td{
    background-color: whitesmoke;
}

th{
    background-color: darkgrey;
    text-align: left;
}

.homepage_text{
    border: 3px solid darkgray;
    box-shadow: 2px 2px 15px black;
    border-radius: 30px;
    padding: 30px;
    display: inline-block;
    background-color: whitesmoke;
}

.homepage_text img{
    border-radius: 15px;
    float: right;
}

.homepage_recipelink{
    border: 3px solid darkgray;
    box-shadow: 2px 2px 15px black;
    border-radius: 30px;
    padding: 30px;
    display: flex;
    background-color: whitesmoke;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.homepage_recipelink img{
        border-radius: 15px;
        margin: 0px 0px 0px 20px;
}

h3 a{
    text-decoration: none;
    color: black;
}

h3 a:hover{
    color: blue;
}

table{
    list-style-position: inside;
}