/* THEME DEFINITIONS */

[data-theme="minitel"] {
  --bg-color: #000000;
  --text-color: #c0c0c0;
  --accent-color: #ff1493;
  /* Alternative accent colour */
  /* --accent-color: #FF00FF; */
  --border-style: 1px dotted var(--accent-color);
  --main-font: "000webfont";
}

[data-theme="vectorheart"] {
  --bg-color: #1a001a;
  --text-color: #daec00;
  --accent-color: #ff1493;
  --main-font: "Courbe";
}

[data-theme="soft-terminal"] {
  --bg-color: #eadbff;
  --text-color: #33034f;
  --accent-color: #de369d;
  --main-font: "000webfont";

  --border-style: 1px dotted var(--text-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--main-font);
}

.wrapper {
  /* background-color: grey; */

  width: 1000px;
  margin: 0 auto;
}

iframe {
  border: none;
}

/* SCROLLBAR */

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-thumb {
  scrollbar-color: var(--bg-color);
  border: var(--border-style);
}

/* BUTTONS SHRINE */

/* Solution found at : https://www.w3schools.com/howto/howto_css_hide_scrollbars.asp */
.button-shrine::-webkit-scrollbar {
  display: none;
}

.button-shrine {
  overflow: hidden;
  overflow-y: scroll;
}

/* MAIN COLUMN */

.main-column {
  /* background-color: blue; */
  border-left: var(--border-style);
  border-right: var(--border-style);
  padding: 0 15px;
}

/* DIARY PAGE  */

.diary-viewer {
  /* font-family: "Stack Sans"; */
  /* font-weight: normal; */
  /* font-style: normal; */
}

.diary-viewer img {
  width: 25%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.diary-viewer p em {
  display: block;
  text-align: center;
}

/* RETRO MENU */

.retro-menu {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color);
  border-bottom: var(--border-style);
}

.left-retro-menu {
  width: 200px;
  font-weight: bold;
  font-size: 1.1em;
}

.left-retro-menu span {
  display: block;
  text-align: center;
}

/* MENU LIST */

.menu-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-grow: 1;
  justify-content: space-evenly;
}

.menu-list li {
  border-left: var(--border-style);
  flex: 1;
  text-align: center;
}

.menu-list a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  border: 1px dotted transparent;
  transition: all 0.2s;
}

.menu-list a:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
  border: var(--border-style);
}

.header {
  /* background-color: yellow; */
}

.grid-wrapper {
  /* background-color: magenta; */

  display: grid;
  grid-template-columns: 200px 1fr 200px;
}

.grid-wrapper div {
  padding: 0px 5px;
}

.sidebar-left-column {
  /* background-color: red; */
}

.sidebar-right-column {
  /* background-color: green; */
  width: 200px;
}

.footer {
  /* background-color: cyan; */
  position: fixed 0px 0px 0px 0px;
  width: 100%;
  text-align: center;
  border-top: var(--border-style);
}

.about img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.about p,
h3 {
  width: 100%;
  text-align: center;
}

/* FONTS DEFINITIONS */

@font-face {
  font-family: "Courbe";
  src:
    local("CourbeSans"),
    url("/fonts/CourbeSans.otf.otf") format("opentype");
}

@font-face {
  font-family: "DIMOD";
  src:
    local("DIMOD"),
    url("/fonts/DIMOD.otf") format("opentype");
}

@font-face {
  font-family: "buse";
  src:
    local("buse"),
    url("/fonts/buse.otf") format("opentype");
}

@font-face {
  font-family: "Love Malia";
  src:
    local("Love Malia"),
    url("/fonts/Love\ Malia.otf") format(opentype);
}

@font-face {
  font-family: "ONIMOD";
  src:
    local("ONIMOD"),
    url("/fonts/ONIMOD.otf") format("opentype");
}

@font-face {
  font-family: "TRIMOD";
  src:
    local("TRIMOD"),
    url("/fonts/TRIMOD.otf") format("opentype");
}

@font-face {
  font-family: "Porto Buena";
  src:
    local("Porto Buena"),
    url("/fonts/Porto_Buena.otf") format("opentype");
}

@font-face {
  font-family: "DarkByte";
  src:
    local("DarkByte"),
    url("/fonts/DarkByte.ttf") format("truetype");
}

@font-face {
  font-family: "000webfont";
  src:
    local("000webfont"),
    url("/fonts/000webfont.ttf") format("truetype");
}

@font-face {
  font-family: "Stack Sans";
  src:
    local("Stack Sans"),
    url("/fonts/StackSansText-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Stack Sans";
  src:
    local("Stack Sans"),
    url("/fonts/StackSansText-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Stack Sans";
  src:
    local("Stack Sans"),
    url("/fonts/StackSansText-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Stack Sans";
  src:
    local("Stack Sans"),
    url("/fonts/StackSansText-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Stack Sans";
  src:
    local("Stack Sans"),
    url("/fonts/StackSansText-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Stack Sans";
  src:
    local("Stack Sans"),
    url("/fonts/StackSansText-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}
