@charset "utf-8";
/* CSS - Computing: Applications Development — H6S9 46 - v2 */
:root {
    --primary: #b11226;
    --dark: #222;
    --mid: #555;
    --light: #f5f5f5;
    --border: #ddd;
}
/* globals */
*{box-sizing: border-box;}
img {max-width: 100%;}
#student-info {float: left; width: 100%; height: auto;}
#student-name, #student-school, #student-year {display: inline-block; border-left: solid 1px #bbb; padding: 0px 1em;}
.container {float: left; width: 100%; height: auto;}

/*default styles*/
body {background-color: var(--light);}
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.form-field {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}
input:hover, textarea:hover {
    background-color: #f5f5f5;
}
input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    resize: vertical;

}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#application {max-width: 360px; margin: 1em auto;}
#app-title {float: left; width: 100%;; text-align: center;}
#nav-toggle {
    display: block;
    margin: 10px auto;
    width: 35px;
    height: 35px;
    transform: rotate(90deg);
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    clear: both;
    transition: 0.3s ease;
}

#nav-toggle:hover {
    background: #222;
    color: darkred;
    border-radius: 6px;
}#controls {
    width: 100%;
    display: none;
    }
#controls button {width: 100%;
    background: transparent;
    color: black;
    border: black solid 1px;
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
    }
#controls button:hover {
    width: 100%;
    background: whitesmoke;
    transform: scale(1.009);

}
#display-area {
    float: left;
    width: 100%;
    min-height: 50vh;
    margin: 2em 0px;
    padding: 2%;
    background-color: #fff;
    border-radius: 10px;
    }
#image {display: block; width: 100%; margin: 20px 50px;}
.section-title {text-align: center;}
p {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    max-width: 65ch;
    letter-spacing: 0.2px;
}

h4, h3, h2, h1 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1.2rem 0 0.5rem;
}

.food-item {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers horizontally */
    justify-content: center;
    margin: 20px;
}

.food-item img {
    display: block;
}

.food-item button {
    margin-top: 10px;
    padding: 8px 14px;
    cursor: pointer;
}


/*set section default display properties*/
#section-start {display: block;}
#section-1, #section-2, #section-3, #section-4, #section-5 {display: none;}
.content-area {display: none;}

/* global style for content-area*/
.content-area {float: left; width: 100%; min-height: 200px; padding: 1%; border: solid 2px #000;}


/*------------------------------| RESPONSIVE CLASSES |------------------------------*/
.left,
.right {
    display: flex; gap: 2rem;
}
.full-width {float: left; width: 100%; margin: 0; padding: 3%;}
.left {margin: 2%; padding: 3%;}
.right {margin: 2%; padding: 3%;}
.thirds {float: left; width: 29.33%; /*33.33% - 4%*/ margin: 2%; padding: 3%;}
.quarter {float: left; width: 21%; /*25% - 4%*/ margin: 2%; padding: 3%;}


/*------------------------------| BREAKPOINTS |------------------------------*/

/* x-large */
@media only screen and (max-width: 1200px) {

}

/* large */
@media only screen and (max-width: 1080px) {
    .quarter {float: left; width: 46%; /*50% - 4%*/}
	.thirds {float: left; width: 96%; /*33.33% - 4%*/}
	nav li {float: left; display: block; width: 100%;}
}

/* x-small */
@media only screen and (max-width: 576px) {
    .quarter {width: 96%; /*100% - 4%*/}
	.left, .right {width: 96%;}
    #controls, .content-area {width: 100%;}
}