:root {
    --color-primary: #862B0D;
    --color-secondary: #17594A;
    --color-background: #fffbe0;
    --color-intense: #FFC95F;
}

*, html, body {
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: large;

    background-color: var(--color-background);
    color: var(--color-primary);
}

html, body {
    margin: 0;
    padding: 0;
    
    overflow-x: hidden;
}

canvas {
    background: transparent;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--color-primary);
    cursor: pointer;
}

button:hover, button:active, button:focus {
    background-color: var(--color-primary);
    color: var(--color-background);
}

a, a:active, a:visited {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text_centered {
    text-align: center;
}

.fw {
    width: 100vw;
}

#nav_menu {
    width: 100vw;
}

#nav_menu > ol {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

#nav_menu > ol > li {
    text-align: center;
    flex-grow: 1;
    padding: 10px;
    border: solid 1px var(--color-primary);
}

#nav_menu > ol > li > a {
    padding: 10px;
    background-color: inherit;
    display: block;
}

#nav_menu > ol > li:has(a[aria-current="page"]) {
    background-color: var(--color-secondary);
    color: var(--color-background);
    border-color: var(--color-secondary);
}

main { 
    padding: 40px;
}

#room {
    height: 85.71vh;
    width: 60vw;
}

#experience {
    margin-top: 30px;
    display: flex;
    width: 100vw;
    margin-left: -40px;
}

.experience_border {
    width: 20vw;
    z-index: 5;
}

#img_container {
    position: relative;
    display: block;
    width: 60vw;
    height: 85.71vh;
}

#eat_btn {
    position: absolute;
    display: inline;
    background-color: transparent;
    z-index: 2;
    border: none;
}

#eat_btn:hover, #eat_btn:focus {
    border: solid 3px blue;
    border-radius: 50%;
    cursor: pointer;
}

#eater {
    position: absolute;
    background: transparent;
    height: 70%;
    width: fit-content;
    bottom: 0;
    left: 0;
}

#overlay {
    position: absolute;
    background-color: transparent;
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 4;
}

[role="switch"] {
    margin: 5px;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 5px;
    width: 19em;
    user-select: none;
  }
  
  [role="switch"] .label {
    display: inline-block;
    width: 12em;
  }
  
  [role="switch"] .switch {
    position: relative;
    display: inline-block;
    top: 6px;
    border: 2px solid black;
    border-radius: 12px;
    height: 20px;
    width: 40px;
  }
  
  [role="switch"] .switch span {
    position: absolute;
    top: 2px;
    left: 2px;
    display: inline-block;
    border: 2px solid black;
    border-radius: 8px;
    height: 12px;
    width: 12px;
    background: black;
  }
  
  [role="switch"][aria-checked="true"] .switch span {
    left: 21px;
    background: var(--color-secondary);
    border-color: var(--color-secondary);
  }
  
  [role="switch"] .on {
    display: none;
  }
  
  [role="switch"] .off {
    display: inline;
  }
  
  [role="switch"][aria-checked="true"] .on {
    display: inline;
  }
  
  [role="switch"][aria-checked="true"] .off {
    display: none;
  }
  
  [role="switch"]:focus,
  [role="switch"]:hover {
    outline: none;
    cursor: pointer;
    border-color: var(--color-primary);
  }

  .sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
  }
  