:root {
    --main-color: #7e64ab;
    --light-blue: #84c8e8;
    --light-green: #80cbc4;
    --peach: #eec9d6;
    --light-yellow: #e0e6aa;
    --light-orange: #f5d6a9;
    --dark-pink: #e498b2;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: Trocchi, serif;
}

.closure { 
    background-color: #f33578;
    width: 70%;
    text-align: center;
    margin-left: 15%;
    margin-top: 10px;
    padding: 20px;
    border-radius: 10px;
    border: 4px solid #000000;
    font-size: 24px;
}

.announcement {
    background-color: #5ac074;
    width: 80%;
    text-align: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    margin-left: 10%;
    margin-top: 15px;
    padding: 20px;
    border-radius: 10px;
    border: 4px solid #000000;
}

.announcement img{
    border-radius: 10px;
}

.vote-button {
    background-color: #935eee;
    padding: 15px;
    margin-top: 15px;
    width: 20%;
    margin-left: 40%;
    border-radius: 10px;
    border: 3px solid #000;
    font-size: 24px;
    color: #fff;
}

.vote-button a {
    text-decoration: none;
    color: #fff;
}

body {
    background-color: var(--main-color);       
}

header h1 {
    font-size: 72px;
}

header h2 {
    font-size: 48px;
}

header {
    text-align: center;
    background-color: #331763;
    opacity: 0.8;
    color: #ffffff;
    width: 100%;
}

.whitetext {
    color: #ffffff;
}

.purple-text {
    background-color: #331763;
    opacity: 0.9;
}

.coral-text {
    color: #e498b2;
}

nav {
    padding-top: 40px;
    padding-bottom: 5px;
    font-weight: bold;
    text-align: center;
    width: 80%;
    margin-left: 10%;
}

nav ul {
    list-style: none;
}

nav ul li {
    padding: 5px;
    height: 10px;
    font-size: 24px;
    font-weight: bold;
    display: inline;   
}

nav ul li a:link, nav ul li a:visited {
    display: inline-block;
    width: 150px;
    margin-right: 4px;
    padding: 2px 4px;
    color:#ffffff;
}

nav ul li a:hover {
    color:#ffffff;
    background-color: #9977ff;
    border-radius: 10px;
}

/* main {
    width: 80%;
    margin-left: 10%;
    float: left;
    padding: 10px;
} */

.grid-container {
    display: grid;
    grid-template-columns: repeat(5, 200px);
    grid-template-rows: repeat(5, 150px);
    grid-gap: 5px;
    justify-content: center;    
    padding: 30px;
}

.grid-container h2 {
    font-size: 35px;
}

.grid-item {
    text-align: center;    
    border: 4px solid black;
    border-radius: 10px;
}

.grid-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    background-color: #84c8e8;
}

.grid-item-2 {
    grid-column: 2 / 6;
    grid-row: 1 / 4;
    background-color: #eec9d6;
}

.grid-item-3 {
    grid-column: 2 / 4;
    grid-row: 2 / 4;
    background-color: #e0e6aa;
}

.grid-item-4 {
    grid-column: 4 / 6;
    grid-row: 2 / 4;
    background-color: #f5d6a9;
}

.grid-item-5 {
    grid-column: 1 / 6;
    grid-row: 4 / 5;
    background-color: #80cbc4;
}

.grid-item-6 {
    grid-column: 1 / 6;
    grid-row: 5 / 6;
    background-color: #e498b2;
}

.special-1 {
    float: left;
    padding-left: 10%;
    padding-top: 5%;
    font-weight: bold;
    font-size: 20px;
}

.special-2 {
    float: right;
    padding-right: 10%;
    padding-top: 10%;
    font-weight: bold;
    font-size: 20px;
}

.specials {
    padding: 10px 0;
    margin: 10px 0;
    font-weight: bold;
    font-size: 20px;
    /* border: 2px solid #000000; */
    border-radius: 10px;
}

.specials-title {
    font-size: 24px;
    padding-bottom: 2%;
}

.footer-container {
    padding: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    background-color: #331763;
    opacity: 0.9;
}

.footer {
    height: 40vh;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.footer-heading {
    display: flex;
    flex-direction: column;
    margin-right: 4rem;
}

.footer-heading h2 {
    margin-bottom: 2rem;
    color: #e498b2;
}

footer p {
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

footer a {
    color: #ffffff;
    padding: 8px;
}

footer a:hover {
    background-color: #9977ff;
    border-radius: 10px;
}

.footer-days {
    font-size: 18px;
}

.footer-hours {
    font-size: 16px;
    font-weight: normal;
}

.menus {
    text-align: center;
}

.tabs {
    display: inline-flex;
    flex-wrap: wrap;
    max-width: 50%;
    align-content: center;
    background-color: #beb7f7;
    border-radius: 10px;
    justify-content: center;
    margin: 10px 1px;
}

.tab-label {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 28px;
}

.tabs-radio {
    display: none;
    width: auto;
}

.tabs-content {
    order: 1;
    width: 100%;
    max-width: 100%;
    line-height: 1.5;
    font-size: 0.9 em;
    display: none;
    padding-top: 10px;
}

.tabs-radio:checked+.tab-label {
    font-weight: bold;
    border-bottom: 2px solid #000000;
}

.tabs-radio:checked+.tab-label+.tabs-content {
    display: initial;  
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5em;
}

.menu {
    font-size: 14px;
}

.menu-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.0em;
    padding: 1.5em 0;
}

.menu-item {
    display: flex;
    border: 1px solid;
    border-radius: 10px;
    margin: 3px;
    padding: 10px;
    background-color: #cfcaf3;
}

.menu-item-text {
    flex-grow: 1;
}

.menu-item-heading {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

.menu-item-name {
    margin-right: 1.5em;
}

.menu-item-description {
    line-height: 1.6;
}

.menu-note {
    font-weight: normal;
    text-align: center;
    color: #cfcaf3;
    padding: 1rem;
}

.delivery {
    justify-content: center;
    text-align: center;
    margin: 1rem;
}

.deliver-heading {
    margin-bottom: 10px;
    color: #beb7f7;
}

.delivery a {
    font-size: 35px;
    margin: 50px;
    padding: 5px;
    border-radius: 10px;
    font-weight: bold;
    color: #834ce2;
}

.delivery a:hover {
    background-color: #cfcaf3;
}

@media screen and (min-width: 992px) {
    .menu {
        font-size: 12px;
    }

    .menu-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .eventsbg {
        background-image: url("images/lotr.jpg");
        background-size: cover;
    }

    .homebg {
        background-image: url("images/diner4.jpg");
        background-size: cover;
    }
    
    .menubg {
        background-image: url("images/saladcropped.jpg");
        background-size: cover;
    }
    
    .aboutbg {
        background-image: url("images/diner-int.jpg");
        background-size: cover;
    }
    
    .contactbg {
        background-image: url("images/dinertruck3.jpg");
        background-size: cover;
    }

    .merchandisebg {
        background-image: url(images/back-of-shirt-cropped.jpg);
        background-size: cover;
    }
}

@media screen and (max-width: 992px) {

    .about {
        margin-top: 20%;
    }

    nav ul li {
        flex-direction: column;
        padding: 5px;
    }

    .footer {
        height: 125vh;
    }

    .footer-heading {
        margin-top: 25px;
    }

    footer a, p, h2 {
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;        
    }

    .footer-heading p {
        align-content: center;
    }

    header h1 {
        font-size: 24px;
    }

    header h2 {
        font-size: 16px;
    }

    .announcement {
        width: 90%;
        margin-left: 5%;
    }

    .vote-button {
        width: 80%;
        margin-left: 10%;
        align-items: center;
        justify-content: center;
    }

    .grid-container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .contact {
        padding: 25px;
        font-size: 12px;
    }

    .contact-container {
        flex-direction: column;
        width: 100%;
    }

    .contact-info, .contact-form {
        margin-bottom: 25px;
        width: 100%;
    }

    /* .map-container, 
    .map-body,
    .map-heading {
        content-visibility: hidden;
    } */

    .tabs {
        max-width: 95%;
    }
    
    .menu-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-item {
        padding: 5px;
        margin: 1px;
    }

    .delivery a {
        color: #e498b2;
    }

    .sale-item {
        margin: 10px 15px;
    }

    .sale-image {
        width: 75px;
    }
}

/* @media (max-width: 460px) {

    .map-body {
        padding: 0 10px;
    }
} */

.about {
    min-height: 100vh;
    width: 80%;
    margin-left: 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.card {
    position: relative;
    width: 400px;
    background-color: #331763;
    color: #ffffff;
    border-radius: 8px;
    padding: 16px;
    margin: 140px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-image {
    height: 250px;
    border-radius: 10%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -40%);    
}

.card-image img {
    width: 100%;
    transform: scale(1.2);
}

.about-name {
    margin-top: 150px;
    font-size: 1.4em;
    font-weight: bold;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.about-p {
    line-height: 24px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-align: center;
    font-weight: normal;
}

.contact {
    position: relative;
    min-height: 50vh;
    padding: 25px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    background-color: #beb7f7;
    border-radius: 10px;
    width: 100%;
    padding: 15px;
}

.contact-info {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.contact-box {
    position: relative;
    padding: 5px 0;
    display: flex;
}

.contact-icon {
    min-width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.contact-form {
    width: 400px;
    padding: 20px;
}

.input-box {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.input-box input, .input-box textarea {
    width: 100%;
    padding: 5px;
    margin: 10px 0;
}

.input-box span {
    position: absolute;
    left: 0;
    padding: 5px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
}

.input-box input:focus ~ span, 
.input-box input:valid ~ span {
    color: #e498b2;
    font-size: 12px;
    transform: translateY(-25px);
}

.input-box textarea:focus ~ span, 
.input-box textarea:valid ~ span {
    color: #e498b2;
    font-size: 12px;
    transform: translateY(-25px);
}

.input-box input[type="submit"] {
    width: 100px;
}

/* .map-container { 
    max-width: 1200px;
    width: 800px; 
    margin: 0 auto;
    removing width allows it to fit on mobile 
} 

.map-heading {
    margin-top: 20px;
    text-align: center;
}

.map-body {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.map-body iframe {
    width: 100%;
    height: 100%;
    display: block;
} */

.map-image {
    width: 75%;
}

.event-page {
    text-align: center;
    margin: 20px;
}

.event-container {
    width: 80%;
    margin-left: 10%;
    text-align: center;
    border-radius: 10px;
    padding: 3px;
}

.event {
    justify-content: center;
    align-items: center;
    margin: 10px;
    background-color: #b0f5ee;
    border: 3px solid #000000;
    border-radius: 10px;
    padding: 10px;
}

.past-event-container {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin-left: 10%;
    text-align: center;
    justify-content: center;
}

.past-event {
    background-color: #84c8e8;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 10px 10px;
    padding: 10px;
    border-radius: 10px;
    width: 32%;
    border: 2px solid #000000;
}

.special-heading {
    font-size: 84px;
}

.special-container {
    display: flex;
    flex-wrap: wrap;
    margin: 2%;
    text-align: center;
    border-radius: 10px;
    padding: 3px;
}

.special-month {
    width: 49%;
    justify-content: center;
    align-items: center;
    margin-left: .5%;
    margin-right: .5%;
    background-color:var(--light-orange);
    border: 3px solid #000000;
    border-radius: 10px;
    padding: 10px;
}

.special-month h2 {
    font-size: 72px;
    text-decoration: underline;
}

.special {
    justify-content: center;
    align-items: center;
    margin: 10px;
    background-color:lightblue;
    border: 3px solid #000000;
    border-radius: 10px;
    padding: 10px;
}

.special h2 {
    font-size: 72px;
    text-decoration: underline;
}

.category {
    /* text-align: center; */
    /* align-items: center; */
    /* justify-content: center; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 80%;
    margin-left: 10%;
}

.sale-item {
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #9977ff;
    border-radius: 10px;
    border: 5px solid #000000;
    margin: 10px 10px;
    padding: 15px 5px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
}

.item-image {
    justify-content: right;
    align-items: right;
}

.item-description {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sale-image {
    border-radius: 10px;
}

.category-heading {
    font-size: 56px;
    margin-top: 30px;
    color: #e498b2;
    text-align: center;
}

/* iframe {
    width: 90%;
    margin-left: 5%;
    aspect-ratio: 2;
    border-radius: 10px;
    border: solid 3px #000;
} */

.gmap {
    width: 80%;
    margin-left: 10%;
    margin-top: 25px;
    margin-bottom: 25px;
}

@media screen and (max-width: 992px)  {

    .category {
        width: 90%;
        margin-left: 5%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .past-event-container {
        display: flex;
        flex-wrap: wrap;
        width: 90%;
        margin-left: 5%;
        text-align: center;
        justify-content: center;
    }

    .past-event {
        background-color: #84c8e8;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 10px 10px;
        padding: 10px;
        border-radius: 10px;
        width: 95%;
        border: 2px solid #000000;
    }

    .special {
        width: 100%;
    }

    .special-month h2 {
        font-size: 48px;
    }

    .special h2 {
        font-size: 48px;
    }

    .special-container {
        display: flex;
        flex-wrap: wrap;
        margin: 2%;
        text-align: center;
        border-radius: 10px;
        padding: 3px;
    }
    
    .special-month {
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-left: .5%;
        margin-right: .5%;
        margin-top: 3%;
        background-color:lightblue;
        border: 3px solid #000000;
        border-radius: 10px;
        padding: 10px;
    }
}