:root {
  --bg-color: #545848; /* background color for wbesite. */
  --bg-image: url('/assets/background.png'); 
  --contain-img: url("/assets/buttons.png"); /* background for the container image. */
  --font-color: #1b1f18; /* self-explanatory. */
  --borders: #dcdfd5; /* border colors. */
  --buttons: #b1b5a8; /* the background of buttons. */
  --inner-bg: #787d67;
  --header: url('https://i.pinimg.com/736x/40/49/cd/4049cd4cdbca164b3c37e704ed3b72ca.jpg');
}

body {
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  color: var(--font-color);
  margin: 0;
  display: flex;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

p {
  margin: 0;
  font-size: 0.8em;
  font-family: 'Averia Serif';
}

.container {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  width: 650px;
  padding: 0.5em;
  background-color: var(--inner-bg);
  background-image: var(--contain-img);
  background-position: center;
  background-size: cover;
  border-image-width: 0px 0px 0px 27px !important;
  border-image: url('/assets/lace.png') 100 / 27px / 25px repeat;
}

#header {
  background-image: var(--header);
  border: 1px solid var(--bg-color);
  height: 200px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0.5em;
}

#footer {
  padding: 0.5em !important;
  border: 1px solid var(--bg-color);
  border-radius: 0.5em;
  text-align: center;
}

hr {
  border-top: 1px dotted #fff; 
}

/*

  ROWS AND COLUMNS

*/

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5em;
}

.col {
  display: flex;
  flex: 1;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

.col-mid {
  display: flex;
  flex: 2;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

.col-big {
  display: flex;
  flex: 3;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

/*

  CONTAINERS

*/

.box {
  background-color: var(--borders);
  border: 1px solid var(--bg-color);
  padding: 1rem;
  border-radius: 0.5em;
}

#log {
  padding: 1em;
  height: 200px;
  overflow-y: scroll;
  border: 1px solid var(--bg-color);
  background-color: var(--borders);
  border-radius: 0.5em;
}

/*

NAVIGATION BAR - navigation buttons, container, etc.

*/

#navhold {
  display:flex;
  flex-direction: column;
  margin-right: 0.5em;
  z-index: 1000;
}

.nav {
  position: sticky;
  top: 0.5em;
  right: 42.5em;
  width: 150px;
  border: 3px solid var(--borders);
  background-color: var(--inner-bg);
  background-image: var(--contain-img);
  background-position: center;
  background-size: cover;
  padding: 0.5em;
  border-radius: 0.5em;
}

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

#meow > li {
  margin: 0.5em 0 0.5em -2em;
  width: 150px;
  transition: all 0.3s ease-out;
}

#meow > li:hover {
  transition: all 0.5s ease-out;
  transform: translate(-15px);
}

/* NAVIGATION BUTTONS */

li > a {
  display: inline-block;
  text-decoration: none;
  color: var(--font-color);
  background-color: var(--buttons);
  border: 2px solid var(--borders);
  padding: 0.5rem;
  width: 150px;
  border-radius: 0.5em;
  font-weight: bold;
}

@media only screen and (max-width: 625px) {
  body {
    margin: 0;
  }
  
	.container {
        max-width: 650px;
        margin: 0px auto !important;
    }
    
  #navhold {
    display: none;
  }
}

/*

  FONTS
  
*/

@font-face {
  font-family: 'Averia Serif';
  src: url(/assets/fonts/AveriaSerifLibre-Regular.ttf);
}