/*
	-------------------------------------------------------		GENERAL
*/
:root {
    --primary:#35e57f;
    --secondary:#123238;
    --dark-grey:#3a3a60;
    --violet:#690093;
    --violet-bright:#C502FF;
    --black:#011A22;
    --brown:#3A2F2A;
    --transparent-black:rgba(1,26,34,.8);
    --header-font: 'Urbanist', sans-serif;
/*    --header-font: 'Fugaz One', sans-serif;*/
}

* {
    box-sizing: border-box;
}


body {
    background-color: transparent;
    display: grid;
    align-items: center;
    justify-items: center;
    font-family: 'Lato', 'Open Sans', sans-serif;
    font-size: 14pt;
    color: var(--dark-grey);
    margin:0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

em {
    font-weight:inherit;
}
h1,
h2,
h3,
h4 {
    font-family: var(--header-font);
}

.title-font {
    font-family: var(--header-font);
}

sup {
    font-size: 60%;
}
button b, .button b {					
    text-decoration: underline;
    font-weight:inherit;
    display: inline;                    
					}
button, .button {
    cursor:pointer;
}
.primary-button, .secondary-button,.tertiary-button {
    text-transform:uppercase;
	border-radius: 28px;
    display:flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding:.5em 1.2em;
    min-width: 100px;
    font-weight: bold;
    border: 2px solid white;
    font-family: var(--header-font);
    background-image: radial-gradient(circle, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 95%);    
        background-blend-mode:overlay;
        background-size:0px;
        background-position:center;
        background-repeat: no-repeat;
    transition:all .3s ease-in-out;
    
    
}

.primary-button:hover, .secondary-button:hover,.tertiary-button:hover {
    background-size:100%;
}
.primary-button {
    background-color: var(--primary);
    color: var(--secondary);
}
.secondary-button {
    background-color:var(--secondary);
    color:white;  
}
.tertiary-button {
    background-color:white;
    color:var(--secondary);
    border-color:var(--secondary);
}

.help-button.primary-button {
    background-color: var(--violet);
    color:white;
}


#APP-CONTAINER,
#APP,
#CONTROLLER-ROOT,
#NOTIFICATIONS {
    width: 960px;
    height: 540px;
    overflow: hidden;
    isolation: isolate;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
    supported by Chrome, Edge, Opera and Firefox */
}

#APP-CONTAINER {
    border: 1px solid #4D3B77;
    position: relative;
    transform-origin: 0px 0px;
    /* Needed for fullscreen support */
    background-color: var(--black);
}

#APP,
#CONTROLLER-ROOT,
#NOTIFICATIONS {
    position: absolute;
    left: 0px;
    top: 0px;
}

#NOTIFICATIONS {
    pointer-events: none;
}

#NOTIFICATIONS > * {
    pointer-events: auto;
}

.app-state {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 960px;
    height: 540px;
    isolation: isolate;
    /*	To constain z-index stuff	*/
    overflow: hidden;
    /*  Needed for fullscreen when aspect ratio doesn't match. */
}

#DEBUG {
    position: absolute;
    color: gray;
    text-align: right;
    font-family: monospace;
    bottom: 5px;
    right: 5px;
    display: none;
}

.bonk {
    animation-name: bonk-animate;
    animation-duration: 0.25s;
    animation-timing-function: cubic-bezier(0, .68, .03, 1.18);
    transform-origin: 50% 50%;
}

@keyframes bonk-animate {
    0% {
        transform: scale(1.0);
    }

    50% {
        transform: scale(0.9925);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes balloon-animate-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
        opacity: 1.0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.balloon,
.balloon-like {
    animation-name: balloon-animate-in;
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0, .68, .03, 1.18);
    transform-origin: 0% 95%;
    transform-origin: 50% 50%;
}

@keyframes fade-in-animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-in {
    animation-name: fade-in-animation;
    animation-duration: 0.5s;
    animation-timing-function: ease;
}

/*
	Handy animations
	Example:
	animation: floatRotation 10s ease-in-out infinite;
	animation: floatUpDown 10s ease-in-out infinite;
	animation: shakeUpDown 2s ease-in-out once;
	animation: strobeOpacity 1s ease-in-out infinite;
	animation: shimmy 0.5s step-end infinite;
*/

@keyframes floatRotation {
    0% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(-10deg);
    }
}

@keyframes floatUpDown {
    0% {
        transform: translatey(10px);
    }

    50% {
        transform: translatey(-10px);
    }

    100% {
        transform: translatey(10px);
    }
}

@keyframes blinkAnimation {
    0% {
        opacity: 1.0;
    }

    49% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    99% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes strobeOpacity {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotation(90deg);
    }
}

.lab-state button[onclick*="didHome()"] {
    border-radius: 0px 0px 10px 0px !important;
    position: absolute;
    left: 0px !important;
    top: 0px !important;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
}

#current-state {
    float: right;
    color: white;
    margin-top: 1em;
    font-family: monospace;
    font-size: 75%;
}

.scale-down-in {
    animation-name: scale-down-in;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
}

@keyframes scale-down-in {
    0% {
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes scale-up {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

@keyframes move-up {
    0% {
        transform: scale(1.2) translate(-50px, 150px);
    }

    100% {}
}

@keyframes slide-left-animation {
    0% {
        opacity: 0;
        transform: scale(1.2) translate(100px, 00px);
    }

    100% {
        opactiy: 1;
        transform: scale(1.0) translate(0px, 0px);
    }
}

.slide-left {
    animation-name: slide-left-animation;
    animation-duration: 1.0s;
    animation-timing-function: ease-out;
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(.2);
    }

    80% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.move-down-animation {
    animation: move-down .5s ease-out 1;
    animation-fill-mode: forwards;
}

@keyframes move-down {
    0% {
        transform: scale(1) translate(10px, -200px);

    }

    100% {
        transform: scale(1.2);
    }
}

#option-container {
    position: absolute;
    right: 0px;
    top: 0px;
}




/*
-----------------------------------------------------------	Options Panel
*/

#option-container {
    position: absolute;
    width: auto !important;
    height: auto !important;
    right: -1px;
    top: -1px;
    padding: 3px;
    padding-left: 10px;
    border-radius: 6px 0px 0px 0px;
    overflow: visible;
}

.option-button {
    position: relative;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: top right;
    width: 26px;
    height: 26px;
    background-size: cover;
    opacity: .8;
}

.option-button > div {
    position: absolute;
    right: 0px;
    top: 30px;
    color: white;
    width: 100px;
    text-align: center;
    background-color: #132228;
    border: 1px solid white;
    background-color: #230228;
    font-size: 15px;
    padding: 5px;
    display: none;
    cursor: pointer;
}

.option-button:hover {
    border: 1px solid red;
}

.option-button:hover > div {
    display: block;
}

#music-button {
    background-image: url(ui/option-music-off.png);
    background-image: url(ui/icons/music-off.svg);
}

#music-button.enabled {
    background-image: url(ui/option-music-on.png);
    background-image: url(ui/icons/music.svg);
}

#quit-button {
    display: none;
    background-image: url(ui/option-cancel.png);
    background-image: url(ui/icons/quit.svg);
}

#quit-button.enabled {
    display: inline-block;
}

#help-button {
    display: none;
    background-image: url(ui/option-help.png);
    background-image: url(ui/icons/help.svg);
}

#help-button.enabled {
    display: inline-block;
}

/*	.shake - Shake an element quickly, like it took a hit.	*/
.shake {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.bonk {
    animation: bonk 0.5s;
    animation-iteration-count: 1;
}

@keyframes bonk {
    0% {
        transform: translate(0px, 0px);
    }

    10% {
        transform: translate(-2px, 0px);
    }

    20% {
        transform: translate(2px, 0px);
    }

    30% {
        transform: translate(-2px, 0px);
    }

    40% {
        transform: translate(2px, 0px);
    }

    50% {
        transform: translate(-2px, 0px);
    }

    60% {
        transform: translate(2px, 0px);
    }

    70% {
        transform: translate(-2px, 0px);
    }

    80% {
        transform: translate(2px, 0px);
    }

    90% {
        transform: translate(-2px, 0px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.tab-highlighted {
    box-shadow:
        0 0 0 5px var(--violet-bright);
}
/*

#exit.tab-highlighted {
    border-color: var(--violet-bright);
    box-shadow:
        inset 0 0 3px 1px #F582FF,
        inset 0 0 0 2px var(--violet-bright),
        0 0 0px 1px #65028F;
}
*/

/*	A speech balloon pointing at a helper in the kitchen view. */
.kitchen-balloon {
    position: absolute;
    color: var(--black);
    background: url('images/kitchen-themes/kitchen-balloon.png');
    width: 100px;
    height: 64px;
    padding: 8px;
    padding-bottom: 17px;
    display: grid;
    align-items: center;
    justify-items: center;
    text-align: center;
    font-size: 15px;
}

/*	A speech balloon pointing at the helper in a station view. */
.helper-balloon {
    position: absolute;
    left: 260px;
    top: 60px;
    width: 228px;
    height: 93px;
    background-image: url('images/kitchen-themes/speech-balloon.png');
    padding: 10px;
    padding-right: 25px;
    color: var(--black);
    display: grid;
    align-items: center;
    justify-items: center;
    transform-origin: 220px 68px;
    text-align: center;
}

/*	A speech balloon pointing at the server in a station view. */
.server-balloon {
    position: absolute;
    left: 180px;
    top: 30px;
    width: 228px;
    height: 93px;
    background-image: url('images/kitchen-themes/speech-balloon-left.png');
    padding: 10px;
    padding-left: 28px;
    padding-right: 20px;
    color:  var(--dark-gray);
    display: grid;
    align-items: center;
    justify-items: center;
    transform-origin: 10px 68px;
    text-align: center;
}

/*	A container for positioning a #station-display.	*/
#station-container {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 960px;
    height: 540px;
}

/*	A display for a station. Defaults to chopping, override for others.	*/
#station-display,
#station-background {
    position: relative;
    overflow: hidden;
    width: 750px;
    height: 480px;
    left: 105px;
    top: 30px;
}

#station-frame {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 960px;
    height: 540px;
    pointer-events: none;
}

/*	750x480	inside 960x540 leaves margins of 105 x 30	*/

#station-instructions {
    position: absolute;
    left: 215px;
    bottom: 60px;
    right: 215px;
    padding: 10px;
    background-color: white;
    border: 2px solid var(--black);
    color:
    box-shadow: 0 5px 3px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 16px;
}

/*	Buttons in station views.	*/
.action-button {
    position: absolute;
    top: 28px;
    min-width: 54px;
    border-radius: 10px;
    zbox-shadow: 0px 10px 5px rgba(0, 0, 0, 0.2);
    background-repeat: no-repeat;
    background-position: center top;
    padding-top: 52px;
    color: white;
    font-weight: bold;
    font-family:var(--header-font);
    letter-spacing:.02rem;
    text-align: center;
    font-size: 15px;
    text-transform:uppercase;
    text-shadow: 0px 0px 3px rgba(0,0,0,.8);
}

.action-button b {
    text-decoration: underline;
}

.action-button#back-button {
    left: 106px;
    top:42px;
    background-image: url('images/stations/button-exit.png');
}

.action-button#merge-button {
    background-image: url('images/stations/merge-arrow.png');
    background-position: center 28px;
    border: 2px solid white;
    background-color: var(--black);
    padding-top: 4px;
    padding-bottom: 36px;
    padding-left: 10px;
    padding-right: 10px;
    left: 290px;
    top: 160px;
}

.action-button.disabled {
    display: none;
}

.action-button#merge-button.unavailable {
    zbackground-image: url('images/stations/button-merge-unavailable.png');
}

.action-button#clean-button {
    right: 106px;
    top:42px;
    background-image: url('images/stations/button-clean.png');
    color:white;
}

.action-button#clean-button.unavailable {
    background-image: url('images/stations/button-clean-unavailable.png');
    display: none;
}

.action-button#empty-button {
    right: 117px;
    top:50px;
    background-image: url('images/stations/button-trash.png');
}

.action-button#empty-button.unavailable {
    background-image: url('images/stations/button-trash-unavailable.png');
    display: none;
}

#station-title {
    position: absolute;
    left: 310px;
    top: 17px;
    right: 310px;
    background-color: #43270C;
    text-transform: uppercase;
    border: 2px solid #473e38;
    color: #f2ddc9;
    border-radius: 1em;
    padding: 0.5em;
    display: none;
    letter-spacing: .04rem;
    line-height: 1;
    font-size: 14px;
    text-align: center;
}

.centerer {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 960px;
    height: 540px;
    display: grid;
    align-items: center;
    justify-items: center;
}

/*** level select ***/
.level-select-bg {
    background: rgb(42, 61, 42);
    background: linear-gradient(0deg, rgba(42, 61, 42, 1) 0%, rgba(106, 77, 145, 1) 100%);
}

#pointer {
    position: absolute;
    transform-origin: 463px 30px;
    left: 190px;
    top: 240px;
    animation-name: pointer-fade;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-fill-mode: both;
    animation-delay: 0.75s;
}

@keyframes pointer-fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#exit {
    /*    background-image: url('images/stations/button-exit.png');*/
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    background: var(--secondary);
    position: absolute;
    left: 3px;
    top: 3px;
    border: 2px solid white;
    border-radius: 25px;
    transition:all .3s ease-in-out;
    cursor:pointer;
}

#exit:before {
    font-family: 'Material Symbols Rounded', serif;
    content: 'arrow_back';
    display: block;
    font-size: 36px;
    color: white;
}

#map img {
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
    opacity: 0.5;
    transition: opacity 1s;
}

#map img.map-highlighted {
    display: block;
    opacity: 1.0;
}

.ride {
    transition: transform 0.25s ease;
    transform: scale(0.9);
    filter: brightness(0.7);
}

.ride.current {
    transform: scale(1);
    filter: none;
}

.ride {
    position: absolute;
    left: 54px;
    width: 300px;
    z-index: 1;
    /*						background-color: #ccc;*/
    padding: 0px;
    /*						box-shadow: 0px 10px 10px black;*/
    display: grid;
    align-items: stretch;
    justify-items: stretch;
    grid-template-rows: 30px 80px 1fr;
    transform-origin: 0% 50%;
}

.ride .title {
    font-family: var(--header-font);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.08rem;
    border-radius: 10px;
    background-color: #246;
    color: white;
    font-weight:600;
    font-style:italic;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, .5);
    height: 34px;
    font-size: 19px;
    width: 300px;
    position: relative;
    z-index: 1;
}

.ride {
    grid-template-rows: 34px 0px 1fr;
}

#dino {
    top: 50px;
}

#ocean {
    top: 140px;
}

#space {
    top: 230px;
}

#renfaire {
    top: 320px;
}

#haunt {
    top: 410px;
}

#space .title {
    background-color: #293B72;
}

#renfaire .title {
    background-color: #915F0A;
}

#haunt .title {
    background-color: #5B1C4C;
}

#dino .title {
    background-color: #5D9010;
}

#ocean .title {
    background-color: #207E6A;
}

.ride .image {
    /*						background-color: black;*/
    width: 100%;
}

.ride .days {
    margin: 0 auto;
    width: 260px;
    padding: 1px;
    background: rgba(100, 100, 100, 1);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    grid-column-gap: 2px;
    border-radius: 0 0 10px 10px;
    box-shadow: rgba(0, 0, 10px, .4)
}

.days .day:first-child {
    border-radius: 0 0 0 10px;
}

.days .day:last-child {
    border-radius: 0 0 10px 0;
}

.day {
    background-color: white;
    height: 40px;
    font-family: var(--header-font);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    color: #564C71;
}

.day.tab-highlighted {
    color: #362C51;
    z-index: 1;
}

.day b {
    font-size: 24px;
}

.info-box-container {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width: 420px;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 20px;
}

.info-box {
    border: 2px solid var(--black);
    border-radius: 20px;
    box-shadow: 0px 20px 10px var(--black);
    background-color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
    transition: all 1s ease;
}

.level-button {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid var(--black);
    display: grid;
    align-items: center;
    justify-items: center;
    color: var(--black);
    background-color: white;
    font-weight: bold;
    font-size: 26px;
}

.day.starred {
    padding-left: 5px;
}

.day.starred::after {
    content: " ";
    position: absolute;
    left: -20px;
    top: -20px;
    width: 50px;
    height: 50px;
    background-image: url('images/level-select/star.png');
    transform: scale(0.7) rotate(-12deg);
    z-index: 1;
}

.ride .pointer {
    position: absolute;
    right: -400px;
    top: -204px;
    z-index: 0;
    pointer-events: none;
    display: none;
}

.ride .pointer polyline {
    fill: none;
    stroke-width: 8px;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 1s linear forwards;
    animation-delay: .5s;
    filter: drop-shadow(1px 1px 5px rgb(0 0 0 / 0.4));
}

.ride .pointer circle {
    stroke-width: 16px;
    stroke: white;
    stroke-dasharray: 32;
    stroke-dashoffset: 32;
    fill: none;
    animation: dash .3s linear forwards;
    filter: drop-shadow(1px 1px 5px rgb(0 0 0 / 0.2));
    animation-delay: 1s;
}

.map-overlay {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgb(106, 77, 145);
    background: radial-gradient(circle at 67% 50%, rgba(106, 77, 145, 0) 20%, rgba(106, 77, 145, .2) 40%, rgba(106, 77, 145, 1) 70%);
    z-index: 0;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;

    }
}

/*
selector interface
*/
#selector-control {
    background-color: rgba(103, 100, 115, 0.5);
    width: 200px;
    height: 270px;
    position: absolute;
    left: 385px;
    top: 60px;
    border-radius: 20px;
/*    border: 3px solid white;*/
}

.food-backdrop {
    background-color: white;
    opacity: 0.8;
    width: 180px;
    height: 140px;
    position: absolute;
    left: 395px;
    top: 125px;
    border-radius: 20px;
    border: 3px solid #455877;
}

.food-stepper {
    background-color: #5A0F6C;
    width: 180px;
    height: 50px;
    position: absolute;
    left: 395px;
    border-radius: 20px;
    border: 3px solid white;
    display: grid;
    align-items: center;
    justify-items: center;
    font-size: 40px;
    padding: 0px;
}

.food-stepper span {
    font-size: 90px;
    line-height: 50px;
    color:white;
}

#up-arrow {
    top: 70px;
}

#down-arrow {
    top: 270px;
}

/*
						For the head chef in the tutorial
					*/

/*	A speech balloon pointing at the helper in a station view. */
.kitchen-balloon {
    position: absolute;
    left: 260px;
    top: 60px;
    width: 100px;
    height: 64px;
    background-image: url('images/kitchen-themes/kitchen-balloon.png');
    padding: 5px;
    padding-bottom: 10px;
    color: var(--black);
    display: grid;
    align-items: center;
    justify-items: center;
    transform-origin: 90px 60px;
    text-align: center;
}

.microwave-kitchen-balloon {
    background-image: url('images/kitchen-themes/kitchen-balloon-microwave.png');
    color: #0f0;
    font-family: monospace;
}


/***** MAIN MENU *****/

    
    #MainMenu button b {
        text-decoration: underline;
    }
    #main-menu-ui.centerer {
        position:absolute;
        display:flex;
        flex-flow:column;
        align-items:center;
        justify-content:flex-start;
        top:270px;  
        height:240px;
        width:560px;
        left:200px;
        bottom:20px;
        z-index:0
    }

    .main-menu-button {
        margin:auto;
        height: 50px;
        font-size: 20px;
        font-weight: bold;
        border-radius: 10px;
        font-family: var(--header-font);
        text-transform: uppercase;
        border: 2px solid white;
/*        background-color: #123237;*/
        background-color: var(--secondary);
/*        color: #fefefe;*/
        color: white;
        width: 240px;
        height: 50px;
        border-radius: 25px;
        transition:all .3s ease-in-out;
    }
    #MainMenu button {
        margin-bottom:14px;
        margin-top:0;
        text-transform: uppercase;
        font-family:var(--header-font);
        padding:8px 22px;
        width:auto;
        position:relative;
/*        z-index:0;*/
        border-radius:0;
        border:2px solid white;
        border-left-width:0;
        border-right-width:0; 
        color: white;
        font-weight:900;
        
      background-color:var(--secondary);
        background-image: radial-gradient(circle, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 95%);    
        background-blend-mode:overlay;
        background-size:0px;
        background-position:center;
        background-repeat: no-repeat;
        transition:all .3s ease-in-out;
    }
   
#MainMenu button * {
    position:relative;
    z-index:0;
}
    #MainMenu button:before {
        position:absolute;
        content:'';
        top:-2;
        right:-23px;
        width:30px;
        height:100%;
        display:block;
        border-radius: 0 14px 14px 0;
        border:inherit;
        border-right-width:2px;
        background-color: inherit;
        transform:skew(-10deg);
        z-index: -1;
        transition:inherit;
    }
    #MainMenu button:after {
        position:absolute;
        content:'';
        top:-2;
        left:-23px;
        width:30px;
        height:100%;
        display:block;
        border-radius:  14px 0 0 14px;
        border:inherit;
        border-left-width:2px;
        background-color: inherit;
        transform:skew(10deg);
        z-index: -1;
        
      
        transition:inherit;
    }
    #main-menu-ui button:first-child {
/*        min-width: 240px;*/
        color: white;
        font-size: 22px;
        background-color: var(--violet);
}
   #main-menu-ui button:nth-child(2) {
/*        min-width: 240px;*/
        font-size: 22px;
    }

#MainMenu button#how-to-play,#MainMenu button#credits  {
    font-size:16px;
    padding:8px 0px; 
/*    width:110px;*/
    position:absolute;
    right: 35px;
    bottom: 0px;
    z-index:1;
}
#MainMenu button#credits  {
    right:auto;
    left: 35px;
}
/*
    button#how-to-play {
        position:absolute;
        right: 20px;
        bottom: 20px;
        height:40px;
        width:150px;
        font-size:15px;
    }
    button#credits {
        position:absolute;
        left: 20px;
        bottom: 20px;
        width: 130px;
        height: 40px;
        
        border-radius: 20px;
        font-size: 15px;
    }
*/
    #MainMenu button.disabled {
/*        opacity: 0.25;*/
    }


#MainMenu button:hover {
    background-size:100%;
}
#MainMenu .tab-highlighted {
    box-shadow: 0 5px 0 0 var(--violet-bright),
                0 -5px 0 0 var(--violet-bright);                   
/*    border-color:var(--violet-bright);*/
}
#MainMenu .tab-highlighted:before  {
    box-shadow: 2px 5px 0 0 var(--violet-bright),
                5px 0 0 0 var(--violet-bright),
                2px -5px 0 0 var(--violet-bright);                   
/*    border-color:var(--violet-bright);*/
}
#MainMenu .tab-highlighted:after {
    box-shadow: -2px 5px 0 0 var(--violet-bright),
                -5px 0 0 0 var(--violet-bright),
                -2px -5px 0 0 var(--violet-bright);                   
/*    border-color:var(--violet-bright);*/
}

/********** Dialog boxes ************/
#confirmation-dialog {
						border: 2px solid white;
						background-color: var(--black);
						color: white;
						padding: 0px;
						border-radius: 20px;
						box-shadow: 0px 10px 10px rgba(0,0,0,0.5 );
						max-width: 420px;
					}
					#confirmation-dialog .title {
						font-size: 30px;
						background-color: var(--violet);
						color: white;
						text-align: center;
						padding: 20px;
						border-bottom: 2px solid white;
						border-radius: 20px 20px 0px 0px;
						font-family: var(--header-font);
                        font-style:italic;
                        font-weight:600;
					}
					#confirmation-dialog .body {
						padding: 20px;
					}
					#confirmation-dialog button {
						flex-grow:1;
					}
					
					#confirmation-dialog .button-container {
						padding: 20px;
						display: flex;
						justify-content: center;
						align-items: stretch;
						gap: 20px;
					}


/*********** Query dialog (meat temps) ************/

                    .usda-note {
						position: absolute;
						left: 180px;
						top: 200px;
						width: 250px;
						box-shadow: 0px 5px 10px var(--black);
						border-radius: 10px;
						padding: 5px;
						background-color: white;
						color: var(--black);
						transform: rotate( -5deg );
					}
					.usda-note .usda-header {
						background-color: var(--secondary);
						padding-bottom: 0px;
						margin-bottom: 0px;
						margin-top: 0px;
						text-align: center;
						font-size: 13px;
						color: white;
						padding: 5px;
                        border-radius: 5px 
					}
					.usda-note .row {
						display: grid;
						align-items: stretch;
						justify-items: stretch;
						background-color: #d6e5ec;
						color: var(--black);
						grid-template-columns: 1fr 120px;
						border-radius: 5px;
						margin-bottom: 5px;
						margin-top: 5px;
						font-size: 15px;
						min-height: 3em;
					}
					.usda-note .row#temp160 {
						background-color: #f4dfd1;
					}
					.usda-note .row#temp165 {
						background-color: #ded1df;
					}
					.usda-note .row:last-child {
						margin-bottom: 0px;
					}
					.usda-note .row > div {
						padding: 5px;
						display: grid;
						align-items: center;
						justify-items: center;
					}
					.usda-note .row > div:nth-child(1) {
						justify-items: start;
						padding-left: 20px;
					}
					.usda-note .row > div:nth-child(2) {
						font-size: 20px;
					}
					.usda-note p {
						font-size: 14px;
						text-align: center;
					}
					.usda-note table {
						border-collapse: collapse;
						width: 100%;
					}
					.usda-note td:nth-child(2) {
						text-align: center;
						font-weight: bold;
					}
					.usda-note td {
						border-top: 1px solid var(--black);
						border-bottom: 1px solid var(--black);
						padding: 5px;
						text-align: center;
					}
					.usda-note tbody tr:nth-child(2n+1) {
						background-color: #ddd;
					}
					.query {
						position: absolute;
						left: 375px;
						right: 140px;
						top: 225px;
						padding: 0px;
					}
					.query .prompt {
						padding: 18px;
						padding-left: 98px; 
						background-color: var(--violet);
						color: white;
						border: 2px solid white;
                        font-size:20px;
						border-radius: 20px 20px 0px 0px;
					}
					.query .body {
						padding: 10px 20px;
						background-color: white;
						padding-left: 80px;
						border-radius: 0px 0px 20px 20px;
					}
					.query .options {
						display: flex;
						gap: 20px;
					}
					.query .options .button {
						
						margin-bottom: 10px;
						font-size: 20px;
						background-color: #d6e5ed;
						color: var(--secondary);
                    }
					.query .options button:nth-child(2) {
						background-color: #f3ded1;
					}
					.query .options button:nth-child(3) {
						background-color: #ded0df;
					}
					.query .cancelbox {
						padding-top: 10px;
					}
                    .query .cancelbox .button {
						padding-top: 10px;
                        width: 100%;
					}
/************* tutorial text***********/

                .speech {
					position: absolute;
					border: 2px solid var(--dark-grey);
					padding: 20px;
					border-radius: 20px;
					max-width: 400px;
					color: var(--dark-grey);
					font-size: 18px;
					background-color: white;
				}
				.speech-left {
					left: 40px;
					bottom: 40px;
				}
				.speech-right {
					right: 40px;
					bottom: 40px;
				}
				.speech .attribution {
					color: var(--violet);
                    font-weight: bold;
                    font-family:var(--header-font);
                    text-transform: uppercase;
					font-size: 18px;
				}
				.speech {
					animation-name: speech-animation;
					animation-duration: 0.5s;
					animation-timing-function: ease;
					animation-fill-mode: forwards;
				}
				@keyframes speech-animation {
					0% {
						transform: scale( 0,0 );
					}
					70% {
						transform: scale( 1.1, 1.1 );
					}
					100% {
						transform: scale( 1.0, 1.0 );
					}
				 }
				 .speech .prompt {
				 	margin-top: 10px;
				 	font-style: italic;
				 	color: #777;
				 	font-size: 14px;
				 	font-weight: bold;
				 	text-align: center;
				 }

/*timer */
                    .timer-box {
						position: absolute;
						right: 0px;
						bottom: 0px;
						width: 100px;
						height: 100px;
					}
					#timer {
						position: absolute;
						left: 0px;
						top: 0px;
					}
					#timer-time {
						position: absolute;
						left: 0px;
						top: 0px;
						width: 100px;
						height: 100px;
						display: grid;
						align-items: center;
						justify-items: center;
						color: white;
						font-weight: bold;
						font-size: 20px;
						font-size: 12px;
						text-align: center;
                        text-transform:uppercase;
                        font-weight:bold;
                        line-height:1.1;
					}
					#customer-gauge {
						position: absolute;
						display: flex;
						flex-direction: column-reverse;
						justify-content: flex-start;
						width: 25px;
						height: 74px;
						right: 83px;
						bottom: 13px;
						border: 4px solid white;
						border-radius: 4px;
						padding: 0px;
						background-color: var(--black);
					}
					#customer-gauge-filled {
						margin: 0px;
						width: 100%;
						height: 0%;
						background-color: gold;
						border: 2px solid var(--black);
					}
					#star-decorator {
						position: absolute;
						right: 82px;
						bottom: 12px;
						width: 25px;
						height: 25px;
					}
					#star-decorator.earned {
						animation-name: earned-star;
						animation-duration: 1s;
						zanimation-timing-function: cubic-bezier(0, .68, .03, 1.18);
						transform-origin: 22px,27px;
						animation-fill-mode: forwards;
					}

					@keyframes earned-star {
						0% {
							transform: translate( 0px,0px ) rotate( 0deg ) scale(1.0);
						}
						50% {
							transform: translate( 0px, -65px) rotate( 0deg ) scale(1.0);
						}
						75% {
							transform: translate( 0px, -65px) rotate( 10deg ) scale(1.4);
						}
						100% {
							transform: translate( 0px, -65px) rotate( 0deg ) scale(1.2);
						}
					}
					
					#cookbook {
						position: absolute;
						width: 50px;
						height: 56px;
						bottom: 13px;
						right: 116px;
						background-image: url('images/stations/food-menu-icon.svg');
						background-repeat: no-repeat;
						background-position: center;
						background-size: 33px 45px;
						border: 2px solid transparent;
						border-radius: 5px;
                        cursor:pointer;
					}
					#cookbook:hover {
						background-color: var(--black);
						border: 2px solid white;
					}
					#park-closed-notification {
						transition: transform 1s ease-out;
					}
					#park-closed-notification.hidden {
						transform: translateY( -50px );
					}


/********tutorials********/
.alert-top-container, .alert-bottom-container {
    position: absolute;
    top:0;
	left: 200px;
	right: 200px;
	display: grid;
	align-items: stretch;
	justify-items: center;
}
.alert-top, .alert-bottom {
    background:var(--transparent-black);
    color:white;
    padding:4px 10px;
    font-size:16px;
    border-radius:0 0 10px 10px; 
    
}	
.alert-bottom-container {
    top:auto;
    bottom:0;
}

.alert-bottom {
   border-radius: 10px 10px 0 0;  
}
.tutorial-overlay {
					position: absolute;
					left: 0px;
					bottom: 0px;
					width: 960px;
					height: 60px;
					background: var(--transparent-black);
                    background: linear-gradient(0deg, rgba(1,26,34,.9) 10%, rgba(1,26,34,.5) 80%, rgba(1,26,34,0) 100%);
					display: grid;
					align-items: center;
					justify-items: center;
					padding: 10px;
					color: rgba(255,255,255,.9);
					font-size: 18px;
					font-weight: bold;
					text-align: center;
				}

/*cookbook*/

                    #cookbook-display {
						position: relative;
						display: grid;
						border-collapse: collapse;
						max-width: 800px;
					}
					#cookbook-title {
                        position:relative;
						background-color: var(--violet);
						color: white;
						font-family: var(--header-font);
						font-size: 30px;
						font-weight: bold;
						font-style: italic;
                        letter-spacing:.02rem;
						border-radius: 10px 10px 0px 0px;
						border: 2px solid white;
						padding: 10px;
						border-bottom: none;
						display: flex;
						justify-content: center;
						gap: 30px;
						align-items: center;
						align-content: center;
					}
					#cookbook-title-icon {
						display: inline-block;
						position: absolute;
                        left:230;
						width: 80px;
						height: 80px;
						border-radius: 40px;
						background-color: #190834;
						background-image: url('images/stations/food-menu-icon.svg');
						background-repeat: no-repeat;
						background-position: center;
						background-size: 36px 50px;
						border: 2px solid white;
						animation: iconRotation 10s ease-in-out infinite;
					}
					@keyframes iconRotation {
						0% {
							transform:  rotate(-10deg);
						}

						50% {
							transform:  rotate(10deg);
						}

						100% {
							transform:  rotate(-10deg);
						}
					}

					#cookbook-entries {
						border-collapse: collapse;
                        background:var(--black);
						background: linear-gradient( 0deg, var(--black) 0%, #0d3a38 100%);
						padding: 20px;
						display: grid;
						grid-template-columns: 1fr 1fr 1fr;
						grid-column-gap: 20px;
						grid-row-gap: 20px;
						border-radius: 0px 0px 10px 10px;
						border: 2px solid white;
						align-items: stretch;
						justify-items: stretch;
					}
					#cookbook-entries > div {
						background-color: rgba(255,255,255,.9);
                        border-radius: 5px;
					}
					.cookbook-entry {
						padding: 10px;
						display: grid;
						grid-template-columns: 80px 1fr;
						grid-column-gap: 10px;
						align-items: center;
						justify-items: center;
					}
                    .cookbook-entry .cookbook-food-img {
						width: 80px;
                        height:60px;
                        position:relative;
					}
					.cookbook-entry .cookbook-food-img img {
						position:absolute;
                        width:90px;
                        bottom:0px;
                        left:-5px;
					}
					.cookbook-entry > :nth-child(2) {
						justify-self: stretch;
					}
					#button-exit {
						position: absolute;
						left: -20px;
						top: -20px;
						width: 50px;
						height: 50px;
                        z-index:1;
                        display:flex;
                        justify-content: center;
                        align-items: center;
                        border-radius:25px;
                        background:var(--secondary);
                        border:2px solid white;
                        cursor:pointer;
                        transition:all .3s ease-in-out;
					}

#button-exit:before {
    font-family: 'Material Symbols Rounded', serif;
    content: 'close';
    display: block;
    font-size: 36px;
    color: white;
}

.notification {
					border: 5px solid var(--black);
					padding: 15px;
					position: absolute;
					left: 340px;
					right: 20px;
					bottom: -5px;
					background-color: #fff;
					color: var(--dark-gray);
					border-radius: 20px 20px 0px 0px;
					animation-fill-mode: forwards;
					padding-right: 140px;
					font-size: 18px;
				}
				.notification .guide-portrait {
					position: absolute;
					right: 0px;
					bottom: 0px;
				}
				@keyframes notify-in-animation {
					0% {
						transform: translate( 0px, 200px );
						opacity: 0;
					}
					100% {
						transform: translate( 0px, 0px );
						opacity: 1;
					}
				 }
				@keyframes notify-out-animation {
					0% {
						transform: translate( 0px, 0px );
						opacity: 1;
					}
					100% {
						transform: translate( 0px, 200px );
						opacity: 0;
					}
				 }
				.notify-in {
					animation-name: notify-in-animation;
					animation-duration: 0.25s;
					animation-timing-function: ease-out;
				 }
				 .notify-out {
					animation-name: notify-out-animation;
					animation-duration: 0.25s;
					animation-timing-function: ease-in;
				 }


button#continue-button {
    font-size:20px;
}
