:root {
  /* Colors */
  /* Theme */
  --base-background-color: rgb(184, 111, 80);
  --base-text-color: rgb(234, 212, 170);
  --base-hover-text-color: rgb(181, 234, 170);
  --base-radius: 0;
  
  --primary-background-color: orange;
  
  /* Buttons */
  --secondary-background-color: rgba(99, 198, 77);
  --secondary-hover-background-color: rgba(69, 176, 87);
  
  
  /* File references */
  --background-image-filepath: url("../images/bg_tilemap.gif");
}

body {
  /* Layout */
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  margin:0;
   
  /* Text */
  color: var(--base-text-color);
  font-family: Verdana;
  
  /* Background */
  background-image: var(--background-image-filepath);
  background-size: 64px 64px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  background-color: white;
}

#navbar {
  /* Layout */
  height: 5rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;

  /* Background */
  background: linear-gradient(var(--secondary-background-color), var(--primary-background-color))
}

#title {
  /* Layout */
  height: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  
  /* Cursor */
  cursor: pointer;
}

#title:hover {
  /* Text */
  color: var(--base-hover-text-color);
}

#body-wrapper {
  /* Layout */
  display: flex;
  width: calc(100% - 2rem);
  flex-grow: 1;
  gap: 1rem;
  margin: 1rem;
}

#sidebar {
  /* Layout */
  width: 15rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;

  /* Background */
  background: var(--base-background-color);
}

#main-content {
  /* Layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  
  /* Border */
  border: 3px solid var(--primary-background-color);
  border-radius: var(--base-radius);
  
  /* Background */
  background: var(--base-background-color);
}


#title-image {
  /* Layout */ 
  height: 100%;
}

.button {
  /* Border */
  border: 3px solid var(--primary-background-color);
  /* border-radius: 25px; */
  
  /* Background */
  background: var(--secondary-background-color);
  
  
  /* Text */
  color: rgb(234, 212, 170);

  color: inherit;
  text-decoration: none;
  padding: 10px;
  font-size: 32px;
  transition: background-color 0.15s ease;
}

.button:visited,
.button:hover,
.button:active,
.button:focus {
  color: inherit;
  text-decoration: none;
}

.button:hover {
  background-color: var(--secondary-hover-background-color);
}

.sidebar-link {
  color: inherit;
  text-decoration: none;
  background: var(--secondary-background-color);
  border: 3px solid var(--primary-background-color);
  transition: background-color 0.15s ease;
  padding: 1em;
}

.sidebar-link:visited,
.sidebar-link:hover,
.sidebar-link:active,
.sidebar-link:focus {
  color: inherit;
  text-decoration: none;
}

.sidebar-link:hover {
  background: var(--secondary-hover-background-color);

}
