/* Author: Your Name */
/* Assignment: Homework 4 */

/* Basic styling */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

h1 {
    text-align: center;
}

p {
    text-align: center;
}

div {
    margin-top: 20px;
}

/* Table */
table {
    width: 80%;
    margin: auto;
    border-collapse: collapse;
    border: 2px solid #333; /* FIX: outer border */
    border-radius: 10px;    /* FIX: border radius */
    overflow: hidden;
}

th, td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
}

thead {
    background-color: #333;
    color: white;
}

/* FIX: alternating rows */
tbody tr:nth-of-type(even) {
    background-color: #f2f2f2;
}

/* Footer styling */
tfoot {
    background-color: #ddd;
    font-size: 14px;
    text-align: center;
    font-style: italic;
}

/* Caption */
caption {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Responsive image */
.responsive {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
}

/* Classes */
.price {
    white-space: nowrap;
}

.specialty {
    font-weight: bold;
}

/* Validation footer */
#validation {
    text-align: center;
    margin-top: 20px;
}

/* Media Query */
@media screen and (max-width: 550px) {
    img {
        display: none;
    }
}