* {
    box-sizing: border-box;
}

:root {
    --padding-unit: 2em;
}

:focus-visible {
    outline: 0;
    color:dimgray;
}

ul {
    list-style-type: none;
    padding: 0;
}

p {
    margin-top: 0;
}

img {
    max-width: 100%;
}

a {
    color: rgb(110, 110, 110);
}

a:visited {
    color: rgb(110, 110, 110);
}

a:hover {
    color: darkgray;
}

nav .home-link {
    font-weight: bold;
    text-decoration: none;
    color: black;
}

nav .page-link {
    /* font-style: italic; */
    text-decoration: none;
}

nav a[aria-current='page'] {
    color: purple;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    line-height: 1.4;
    background-color: lightgray;
}

main, nav {
    padding: var(--padding-unit);
}

main {
    max-width: 600px;
    min-height: 100vh;
    margin: auto;
    padding-bottom: 10em;
}

nav {
    position: fixed;
    height: 100%;
    width: 25%;
    display: grid;
    align-content: space-between;
}

nav img {
    width: 100%;
    display: block;
}

.locations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    aspect-ratio: 1 / 1;
    border: 1px outset gray;
    margin-top: 3em;
    margin-bottom: 3em;
    gap: 2px;
    padding: 2px;
}

.location {
    padding: 1em;
    text-align: center;
    border: 1px gray inset;
    font-size: 14px;
    letter-spacing: .01em;
    background-color: rgb(195, 195, 195);
}



.location-info {
    padding-bottom: 1em;
}

.location-info p {
    margin: 0;
}

.location img {
    display: block;
    margin: auto;
    width: 40%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-top: 1em;
    margin-bottom: 1em;
}


.location-times {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    /* border-top: 1px solid darkgray; */
    padding-top: 1em;
}

.location-times div.deactivated {
    color: gray;
    text-decoration: line-through;
}

#reservationForm .form-row {
   display: grid;
   grid-template-columns: 2fr 3fr;
   gap: 1em;
   width: 100%;
   padding-top: 4px;
   padding-bottom: 4px;
}

#reservationForm .form-row select {
    background: none;
    border: 1px solid black;
    border-radius: 0;
    /* padding: 4px; */
}

#reservationForm .form-row input {
    background: none;
    border: none;
    border-bottom: 1px solid black;
}

#reservationForm .form-submit {
    width: 100%;
    text-align: right;
    margin-top: 1em;
}

#reservationForm .form-submit button[type="submit"] {
    background: lightgray;
    border: 1px solid black;
    padding: 4px 10px;
    color: black;
    cursor: pointer;
}

#reservationForm .form-submit button[type="submit"]:hover {
    background: black;
    color: white;
}

.block-content figure {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-bottom: 2em;
}

.block-content figure img {
    display: block;
    width: 50%;
}

.block-content figcaption {
    margin-top: .5em;
    text-align: center;
    font-size: .8em;
    font-weight: bold;
}

.mp-logo {
    width: 250px;
    margin: auto;
}

.intro {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: lightgray;
    text-align: center;
    cursor: pointer;
}

.intro .mp-logo {
    width: 150px;
}

.intro .enter {
    margin-top: 1em;
}

.audio-control, .back-button {
    position: fixed;
    top: var(--padding-unit);
    right: var(--padding-unit);
}

.audio-mute {
    text-decoration: underline;
    cursor: pointer;
}

.info-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0; 
    bottom: 0;
    background: lightgray;
    overflow: scroll;
}

.info {
    max-width: 600px;
    min-height: 100vh;
    margin: auto;
    padding-bottom: 10em;
    padding: var(--padding-unit);
}

.visible {
    display: block;
}

.back-button, .info-button, .contact-button {
    cursor: pointer;
    text-decoration: underline;
}



@keyframes fadeLoop {
    from { fill: #010101; }
    to { fill: #FFFFFF; }
}


@media only screen and (max-width: 719px) {
    :root {
        --padding-unit: 1em;
    }

    nav {
        height: auto;
        width: 100%;
        display: block;
        top: 0;
    }

    main {
        margin-top: 6em;
    }

    .locations {
        grid-template-columns: 1fr;
    }

    .location {
        font-size: 18px;
    }
    

    #reservationForm .form-row {
        display: block;
    }
     
    #reservationForm .form-row label, 
    #reservationForm .form-row select, 
    #reservationForm .form-row input {
        display: block;
        width: 100%;
        border-radius: 0;
    }

    #reservationForm .form-row select {
        margin-bottom: 1em;
        padding-top: 4px;
        padding-bottom: 4px;
        color: black;
    }
    
    #reservationForm .form-submit {
        width: 100%;
        text-align: right;
        margin-top: 1em;
        color: black;
    }

    .info .block-content {
        padding-right: 50px;
        /* padding-top: 30px; */
    }
    

    .block-content figure img {
        width: 100%;
    }

}
