/* General */
body {
    font-family: apercu, sans-serif;
    margin: 0px;
    padding: 0px;
    color: black;
    background-color: #fff;
    margin: 0;
}

h1 {
    text-align: center;
}

h2 {
    margin: 0px;
    padding: 0px;
}

h3 {
    margin: 0px;
    padding: 0px;
}

p {
    margin: 0px;
    padding: 0px;
}

ul {  
    list-style-type: none;  
    padding: 0px;
    margin: 0px;
}

li {
    list-style-type: none;  
    padding: 0px;
    margin: 0px;
}

a {
    text-decoration: none !important;
    color: black;
}


.btn-basic {
    font-weight: bold;
    height: 65px;
    width: 150px;
    background-color: #fff;
    border: 3px solid black;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.05s ease-in-out;
}

.btn-basic:hover {
    background-color: rgb(235, 227, 227);
    color: rgb(75, 75, 75);
    border: 3px solid rgb(75, 75, 75);
}

/* Login Page */
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.img-chickfila_logo {
    width: 500px; 
    height: 200px;
}

input[type=text],
input[type=password] {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.loginButton {
    background-color: red;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 25%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.loginButton:hover {
    opacity: 0.8;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.loginButton:active {
    background-color: red;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

#indexButton{
    height:3vh; 
    text-align: center; 
    font-family: apercu, sans-serif;
    font-size:larger;
    font-weight: bold;
}

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.cancelbtn:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    cursor: pointer;
}

.cancelbtn:active {
    background-color: white;
    box-shadow: 0 5px red;
    transform: translateY(4px);
}

#interface{
    text-align: center;
}
/* Toolbar */
.toolbar-container {
    margin: 0px;
    padding: 0px;
    position: relative;
    color: #dd0031;
}

.toolbar-list {
    background-color: rgb(252, 244, 244);
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: 45px;
}

.toolbar-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar-container h2 {
    padding: 0px;
    margin: 0px;
    font-size: 22px;
}

.toolbar-container h3 {
    padding: 0px;
    margin: 0px;
    font-size: 18px;
}

.toolbar-item img {
    height: 40px;
    width: 75px;
    padding-top: 3px;
}

.toolbar-item-4 {
    position: absolute;
    margin-right: 96%;
}

/* Navigation */
.nav-list {
    display: flex;
    background-color: #666;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
}

.nav-menu-list {
    display: flex;
    margin-left: auto;
}

.nav-item {
    padding: 3px;
}

.btn-nav {
    height: 50px;
    width: 125px;
    border-radius: 12px;
}

#interface{
    text-align: center;
}

/* Main menu */
.main-container {
    height: 100%;
}

.order-container {
    min-width: 300px;
    width: 20%;
    height: 80vh;
    overflow: auto;
    float: left;
    position: relative;
    margin-left: -5px;
    background-color: #dcdcdc;
    border-right: 3px solid #666;
    font-size: 96%;
}

.order-list {
    padding: 10px;
    padding-bottom: 80px;
}

.order-item {
    font-weight: bold;
    display: flex;
    padding: 5px 10px;
    padding-bottom: 10px;
}

.order-num {
    padding-right: 10px;
}

.order-item .price {
    margin-left: auto;
    padding-left: 5px;
}

#order-total p {
    padding-top: 5px;
    font-size: large;
}

#btn-depressed {
    background-color: rgb(235, 227, 227);
    color: rgb(75, 75, 75);
    border: 3px solid rgb(75, 75, 75);
    cursor: default;
    pointer-events: none;
}

/* Submenu */
.menu-list {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, 160px);
    gap: 10px;
    padding: 15px;
    font-size: normal;
}

.menu-item {
    display: flex;
    justify-content: center;
    text-align: center;
    width:265px;
}

.menu-item a {
    border: 2px solid #fff;
    width: 135px;
    height: 195px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: 0.05s ease-in-out;
    cursor: pointer;
}

.menu-item a:hover {
    border: 2px solid #dd0031;
    background-color: rgb(252, 249, 244);
    box-shadow: 5px solid #dcdcdc;
}

.menu-item img {
    width: 120px;
    height: 100px;
    margin-bottom: 10px;
}

.menu-item h2 {
    font-size: 18px;
    padding-bottom: 5px;
}

#menu-list-sauce {
    grid-template-columns: repeat(auto-fit, 130px);
}

#menu-item-sauce a {
    width: 125px;
    height: 150px;
}

#menu-item-sauce img {
    margin-bottom: 10px;
}

#menu-item-sauce h2 {
    font-size: 14px;
}

.active {
    background-color: rgb(227, 218, 218);
    padding: 2px;
    margin: 0;
}

.price {
    color: rgb(75, 75, 75);
    font-size: 90%;
}

/* Checkout */
.checkout-container .order-container {
    min-width: 300px;
    width: 40%;
    height: 80vh;
    overflow: auto;
    position: relative;
    margin-left: -5px;
    background-color: #dcdcdc;
    border-right: 3px solid #666;
    justify-content: center;
    padding-bottom: 30px;
}

.checkout-container .order-item {
    font-weight: bold;
    display: flex;
    padding: 5px 10px;
}

.checkout-container .price {
    padding-right: 30px;
}

.checkout-box {
    height: 77vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.checkout-items {
    display: flex;
    flex-direction: column;
}

.price-info {
    display: flex; 
    justify-content: space-around;
    padding-bottom: 50px;
    font-size: larger;
    font-weight: bold;
}

.btn-complete_order {
    width: 200px;
    margin-top: 40px;
    color: black;
    background-color: rgb(252, 214, 214);
    width: 280px;
    height: 90px;
    align-self: center;
}

.btn-complete_order:hover {
    color: rgba(0, 0, 0, 0.733);
    background-color: rgba(252, 214, 214, 0.795);
    box-shadow: 1px 1px 5px gray;
}

#customer-name {
    width: 30vw;
    margin-bottom: 20px;
    padding: 15px;
}


/* Customize */
input[type=checkbox] {
    transform: scale(1.2);
    padding: 10px;
    margin: 10px;
    accent-color: #dd0031;
}

input[type=radio] {
    transform: scale(1.2);
    padding: 10px;
    margin: 10px;
    accent-color: #dd0031;
}

/* Footer */
.footer-list {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #666;
}

.footer-item {
    padding: 10px 40px;
}

.footer-item-1 {
    padding-right: 10px;
}

.footer-item-2 {
    display: flex;
    margin-right: auto;
    padding-left: 10px;
}

.footer-item-3 {
    float: right;
}

.footer-item-3 input{
    width: 55px;
    height: 52px;
    line-height: 1.65;
    float: left;
    display: block;
    padding: 0;
    margin: 10px;
    padding-left: 20px;
    border: 1px solid #eee;
}

.btn-checkout {
    width: 200px;
}

.footer-item-3 {
    display: flex;
    align-items: center;
    padding-right: 0px;
}

button {
    background: none;
	color: #dd0031;
	border: none;
	padding-left: 10px;
	font: inherit;
	cursor: pointer;
	outline: inherit
}

.btn-number {
    font-weight: bold;
    height: 55px;
    width: 150px;
    background-color: #fff;
    border: 3px solid black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.05s ease-in-out;
}

.btn-amount {
    color: black;
    font-size: 180%;
    font-weight: lighter;
    border-radius: 16px;
    width: 40px;
    height: 40px;
}

.btn-amount:hover {
    background-color: rgba(211, 211, 211, 0.534);
}

input[type=number] {
    cursor: default;
    pointer-events: none;
    width: 55px;
    height: 40px;
    text-align: right;
    border-radius: 16px;
    border: none;
    margin: 0px 5px;
    padding: 0;
    font-weight: bold;
    font-size: large;
    color: black;
    background-color: rgba(211, 211, 211, 0.534);
}
