@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

:root {
    --main-bg-color: #000;
    --main-grey-color: #333;
    --main-font-color: #fff;
    --main-blue-color: #2596be;
    --main-secondary-color: #D74452;
    --main-bg-color-rgba: rgba(51,51,51,0.9);
    --main-header-color-rgba: rgba(0,0,0,0.5);
}

body {
    background: var(--main-bg-color);
    color: var(--main-font-color);
    font-family: 'Play', Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.divider {
    color: var(--main-grey-color);
}

/* Header */
header {
    align-items: center;
    color: var(--main-font-color);
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 10px 10px;
}

header img {
    height: 60px;
    vertical-align: middle;
}

header input[type=checkbox] {
    display: none;
}

header input[type=checkbox]:checked ~ #main-navigation-links {
    display: block;
}

.hamburger {
    display: none;
    font-size: 24px;
    user-select: none;
}

.hamburger-bar1, .hamburger-bar2, .hamburger-bar3 {
    background-color: var(--main-font-color);
    border-radius: 3px;;
    height: 5px;
    margin: 6px 0;
    transition: 0.4s;
    width: 35px;
}

.hamburger-change .hamburger-bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.hamburger-change .hamburger-bar2 {
    opacity: 0;
}

.hamburger-change .hamburger-bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

#main-navigation {
    display: flex;
}

#main-navigation a {
    color: var(--main-font-color);
    font-weight: bold;
    text-decoration: none;
}

#main-navigation-links, #main-navigation-socials {
    list-style: none;
    margin: 0;
    padding: 0;
}

#main-navigation-links, #main-navigation-socials {
    display: flex;
    gap: 1em;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
}

#main-navigation-links a, #main-navigation-socials a {
    font-size: 1.3rem;
    transition: all 0.5s;
    border-bottom: 2px solid var(--main-bg-color);
}

#main-navigation-socials {
    margin-right: 1rem;
}

#main-navigation-socials img {
    max-height: 1.3rem;
}

#main-navigation-socials .divider {
    font-size: 1.3rem;
}


#main-navigation-links .selected, #main-navigation-links a:hover {
    border-color: var(--main-blue-color);
}

#main-navigation-socials a:hover {
    color: var(--main-blue-color);
}

/* Footer */
footer {
    padding: 20px;
}

footer a {
    color: var(--main-font-color);
    text-decoration: none;
}

#google-map {
    height: 500px;
}

#google-map iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

#footer-info {
    display: flex;
    justify-content: space-around;
    line-height: 1.5rem;
    padding-top: 20px;
    text-align: center;
    text-transform: uppercase;
}

#footer-socials {
    align-items: center;
    color: var(--main-font-color);
    display: flex;
    justify-content: space-between;
    padding: 20px 0px 0px 0px;
}

#footer-socials img {
    height: 40px;
}

#footer-navigation-socials {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer-navigation-socials {
    display: flex;
    gap: 1em;
    text-transform: uppercase;
}

#footer-navigation-socials a {
    color: var(--main-font-color);
    font-size: 1.3rem;
    transition: all 0.5s;
    border-bottom: 2px solid var(--main-bg-color);
}

#footer-navigation-socials {
    margin-right: 1rem;
}

#footer-navigation-socials img {
    max-height: 1rem;
}

#footer-navigation-links a:hover {
    border-color: var(--main-blue-color);
}

#footer-navigation-socials a:hover {
    color: var(--main-blue-color);
}

#footer-copyright {
    padding: 20px;
    text-align: center;
}

#footer-info-address img {
    max-height: 14px;
}


/* Page Headers, Index Sections */
.index-section-image-drinkmenu {background: url(https://www.downtownmelody.com/_x/cGxheWVyMW9ybGFuZG8uY29t/images/index-section-drinkmenu.jpg) center; background-size: cover;}
.index-section-image-gamemenu {background: url(https://www.downtownmelody.com/_x/cGxheWVyMW9ybGFuZG8uY29t/images/index-section-gamemenu.jpg) center; background-size: cover;}
.index-section-image-eventsmenu {background: url(https://www.downtownmelody.com/_x/cGxheWVyMW9ybGFuZG8uY29t/images/index-section-eventsmenu.jpg) center; background-size: cover;}

#page-header, .index-section {
    display: grid;
    place-items: center;
}

#page-header img, .index-section img {
    width: 100%;
}

#page-header > *, .index-section > * {
    grid-row: 1 / -1;
    grid-column: 1 / -1;
}

#page-header h1 {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    background: var(--main-header-color-rgba);
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 20px;
    font-size: 4vw;
}

.index-section {
    margin-top: 2px;
}

.index-section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
}

.index-section-container h2 {
    background-color: var(--main-header-color-rgba);
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: 3vw;
    margin-left: 20px;
    padding: 20px;
    text-align: left;
    text-shadow: var(--main-bg-color-rgba) 1px 1px 2px;
    line-height: 3rem;
}

.index-section-container h2:has(a) {
    background: none;
}

.index-section-container h2 a {
    background-color: var(--main-secondary-color);
    border: 2px solid var(--main-secondary-color);
    border-radius: 100px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    color: var(--main-font-color);
    font-size: 1rem;
    font-weight: normal;
    padding: 16px;
    text-decoration: none;
    transition: all 0.5s;
}

.index-section-container h2 a:hover {
    background: none;
    border-color: var(--main-font-color);
}

.index-section-events {
    width: 100%;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(250, 50%), 1fr));
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.index-section-events .event-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-option {
    background: #333;
    min-height: 500px;
    background-position: center center;
    background-size: cover;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    box-shadow: 2px 2px 0px var(--main-bg-color);
    transition: all .5s ease-in-out;
}

a.event-option {
    text-decoration: none;
    color: var(--main-font-color);
}

a.event-option:hover {
    box-shadow: 2px 2px 5px var(--main-bg-color-rgba);
    transform: scale(1.05);
}

.event-option h3, .event-option h4 {
    background: var(--main-header-color-rgba);
    margin: 0;
    padding: 5px 10px;
}

.event-option h3 {
    font-size: 1.5rem;
}

.event-option h2 {
    font-size: 1.3rem;
}

/* Info Page */
#info-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 60px;
}

#info-section strong {
    color: var(--main-secondary-color);
    display: block;
}

#info-section p {
    margin-bottom: 60px;
}

#info-section a {
    color: var(--main-font-color);
}

/* Menu Page */
#menu-section {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    padding: 60px;
}

/* Repair Page */
#repair-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding: 60px;
}

/* Events Page */
#events-section {
    /* margin: 60px 0;
    padding: 0 30px; */
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    padding: 40px;
}

#events-section h2 {
    font-size: 1.3rem;
    margin: 20px;
    text-transform: uppercase;
}

#event-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding: 60px;
}

#event-section img {
    width: 100%;
}

#games-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding: 60px;
}


/* Mobile Modifers  */
@media (max-width: 1100px) {
    #main-navigation-links {
        background-color: var(--main-bg-color);
        background-color: var(--main-bg-color-rgba);
        display: none;
        left: 0;
        padding: 16px 0;
        position: absolute;
        right: 0;
        text-align: center;
        top: 80px;
        z-index: 10;
    }

    #main-navigation-links li {
        margin: 1rem 0;
    }

    #main-navigation-socials li {
        line-height: 2.5rem;
    }

    #main-navigation-links a {
        border: none;
        display: block;
        font-size: 2rem;
    }

    #main-navigation-links a:hover {
        color: var(--main-blue-color);
    }

    #main-navigation-socials .divider {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 3rem;
    }

    #footer-info {
        display: contents;
    }

    #footer-info div {
        margin-top: 20px;
    }

    .index-section-container h2 a {
        border-bottom-left-radius: 50px;
        border-top-left-radius: 50px;
        padding: 6px;
    }

    #google-map {
        height: 500px;
        margin: 20px;
    }

    .index-section-events .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #info-section, #menu-section, #repair-section, #event-section, #games-section {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 2rem;
        padding: 40px;
    }

}

@media (max-width: 800px) {
    header img {
        height: 30px;
    }

    .index-section-container h2 {
        line-height: 1.5rem;
        margin-left: 5px;
        padding: 5px;
    }

    #google-map {
        margin: 0px;
    }

    .index-section-events .event-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #info-section, #menu-section, #repair-section, #event-section, #games-section {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 2rem;
        padding: 20px;
    }

    #menu-toolbar {
        flex-direction: column;
    }
    
}

.pagination-container {
    display: none;
}

#toggle-draft {
    margin-bottom: 20px;
    background: var(--main-blue-color);
    border: none;
    color: var(--main-font-color);
    font-weight: bold;
    padding: 6px 20px;
}

#menu-container .section-name {
    display: flex;
    justify-content: space-between;

    a {
        font-size: 10px;
        color: #fff;
        text-decoration: none;
    }
}

#menu-toolbar {
    display: flex;
    justify-content: space-between;
}