/* General */
* {
    padding: 0;
    margin: 0;
    /* box-sizing: border-box; */
}

/* Header */
header {
    position: relative;
    background-color: #333;
    overflow: hidden;
}

header h1 {
    float: none;
    position: relative;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
    color: white;
    padding: 14px 16px;
}

/* Navigation */
nav {
    position: relative;
    background-color: #333;
    overflow: hidden;
}

nav a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: black;
    color: white;
    border: 1px solid white;
}

nav a.active {
    background-color: #4CAF50;
    color: white;
    border: 2px solid black;
}

.nav-l {
    float: left;
    list-style: none;
}

.nav-r {
    float: right;
    list-style: none;
}

/* Footer */
footer{
    color: white;
    background-color: #333;
    padding: 14px 20px;
    left: 0;
    bottom: 0;
}

footer p {
    color: white;
    font-family: Arial, sans-serif;
    position: relative;
    text-align: center;
}

/* Content/extra */

p {
    color: black;
    font-family: Arial, sans-serif;
    position: relative;
    text-align: center;
    padding-top: 20px;
}

dt {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

li {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

section {
    padding: 20px;
}

.content {
    padding: 20px;
    background-color: #9c9c9c;
    color: white;
}

dl {
    padding: 20px;
    background-color: #9c9c9c;
    color: white;
    position: relative;
    text-align: center;
}

h2 {
    color: black;
    font-family: Arial, sans-serif;
    font-size: 20px;
    position: relative;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 5px;
}

img {
    position: relative;
    display: block;
    margin: auto;
}

/* Nav Size Fix */
@media screen and (max-width: 600px) {
    .nav a, .nav-r {
        float: none;
        display: block;
        padding: 12px 15px;
    }

    .nav-c a {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    footer {
        padding: 20px 14px;
    }
}

/* Submit Recipe Form */

form {
    position: relative;
    background-color: #333;
    overflow: hidden;
    padding: 14px 16px;
    margin: 0 auto;
    width: 50%;
    color: white;
    border: 1px solid black;
    border-radius: 5px;
}

form h2 {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 20px;
    position: relative;
    padding-top: 20px;
    padding-bottom: 5px;
    margin: 0 8px;
}

form input[type=text], form input[type=number], form input[type=submit], form input[type=email], form input[type=radio] {
    display: block;
    margin: 0 8px;
    padding: 10px;
    width: 50%;
    border: 1px solid black;
    border-radius: 5px;
    color: black;
}

.legend {
    color: white;
}

label {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 15px;
    position: relative;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 5px;
    margin: 0 8px;
}

textarea {
    display: block;
    margin: 0 8px;
    padding: 10px;
    width: 50%;
    border: 1px solid black;
    border-radius: 5px;
    color: black;
}

select {
    display: block;
    margin: 0 8px;
    padding: 10px;
    width: 50%;
    border: 1px solid black;
    border-radius: 5px;
    color: black;
}

button[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

main {
    padding: 20px;
    background-color: #9c9c9c;
}

.chut4 {
    height: 300px;
}

.img {
    width: 350px;
}

/* Table */
table {
    width: 800px;
    max-width: 800px;
    font-size: 25px;
    border-collapse: collapse;
    overflow-wrap: normal;
}

td {
    border: 2px solid black;
    padding: 10px;
}

.strg {
    font-weight: bold;
}

@media print {
    .header, .nav, footer {
        display: none;
    }

    .content, dl {
        margin: 0;
        padding: 0;
        color: black;
    }

    img {
        display: none;
    }
}