
@font-face {
  font-family: 'BerlinFraktur 24';
  src: url('../assets/fonts/BerlinFraktur-24.otf');
}

:root {
  --background: #222222;
  --text: #c4c5b8;
  --title: #aaa287;
  --darker-background: #1b1b1d;
  --accent: #aaa287;

  --header: url('../assets/fonts/BerlinFraktur-24.otf');
}

/* ------------------------------------------------------------
LIGHT MODE START
------------------------------------------------------------ */

.darkmode{
  --background: #c4c5b8;
  --text: #222222;
  --title: #7a735b;
  --darker-background: #c0c0af;
  --accent: #7a735b;
  --header: url('../assets/images/header.png');
}


#theme-switch {
  height: 20px;
  width: 100px;
  color: var(--accent);
  background-color: var(--background);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--text);
  cursor: grab;
  border-radius: 5px;
}

#theme-switch:hover{
  background-color: var(--darker-background);
}

#theme-switch p {
  fill: transparent;
  color: var(--text);
}

#theme-switch p:last-child {
  display: none;
}

.darkmode #theme-switch p:first-child {
  display: none;
}

.darkmode #theme-switch p:last-child {
  display: block;
}

/* ------------------------------------------------------------
LIGHT MODE END
------------------------------------------------------------ */

/* ------------------------------------------------------------
PAGE LOAD START
------------------------------------------------------------ */

.fade-in {
  opacity:0;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ------------------------------------------------------------
PAGE LOAD END
------------------------------------------------------------ */

body {
  margin: 20px 5rem;
  background-color: var(--background);
  overflow-y: scroll;
  overflow-x: hidden;
}

body a {
  text-underline-offset: 2px;
  color: var(--text);
}

body a:hover {
  color: var(--accent);
}

* {
  box-sizing: border-box;
  font-family: 'Calibri', sans-serif;
  font-weight: 100;
  line-height: 1.2rem;
}

/* ------------------------------------------------------------
MAIN CONTENT START
------------------------------------------------------------ */

.container {
  margin: 8rem auto;
  color: var(--text);
  display: flex;
  width: 800px;
  flex-wrap: wrap;
  align-items: flex-start;
}

main {
  order: 1;
  color: var(--text);
  width: 550px;
}

aside {
  font-size: smaller;
  order: 2;
  width: 100px;
  margin-left: 3.2rem;
}

#intro {
  display: flex;
  justify-content: space-between;
  position: sticky;
  padding: 40px 0;
  top: 0;
  font-family: 'ANK24';
  width: 700px;
  height: 2rem;
  margin-bottom: 0.5rem;
}

h1 {
  margin: 0;
  padding: 0;
  font-size: 60px;
  font-family: 'BerlinFraktur 24';
  color: var(--title);
  transition-duration: 0.5s;
}

h1:hover {
  color: var(--accent);
  letter-spacing: 0.3rem;
  transition-duration: 0.5s;
}

#h1-about {
  margin: 0;
  padding: 0;
  font-size: 13pt;
  letter-spacing: 0.04em;
  font-variant: small-caps;
  color: var(--text);
}

#h1-about:hover {
  text-decoration: none;
}

h2 {
  font-size: 15px;
  font-style: italic;
  font-weight: 800;
  color: var(--title);
}

#about {
  width: 100%;
  order: 2;
  color: var(--text);
  margin-top: 3rem;
}

#about img {
  width: 150px;
  float: left;
  margin-right: 2rem;
}

/* NAVIGATION */
nav {
  width: 100px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  transition-duration: 0.5s;
}

nav div  {
  padding: 4px;
  border-bottom: 1px dotted var(--text);
}

nav a:hover, nav a:focus {
  color: var(--accent);
  letter-spacing: 1px;
  transition-duration: 0.5s;
}

.type {
  background-color: var(--background-2);
  color: var(--text);
  padding: 5px;
  height: 1.5rem;
  padding: 3px 7px;
}

/* STATUSCAFE */
#statuscafe-username {
  font-size: 10px;
}

/* ------------------------------------------------------------
MAIN CONTENT END
------------------------------------------------------------ */

/* ------------------------------------------------------------
CONTAINERS START
------------------------------------------------------------ */

article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  text-align: justify;
}

article div {
  vertical-align: text-top;
}

/* CHANGELOG */
.title {
  margin-bottom: 5px;
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--text);
  line-height: 10px;
  letter-spacing: 1px;
  font-size: 15px;
}

.box {
  padding: 2px 10px;
  border: 1px solid var(--accent);
  margin-left: auto;
  margin-right: auto;
}

.box-scroll {
  padding: 5px 10px;
  border: 1px solid var(--accent);
  margin-left: auto;
  margin-right: auto;
  max-height: 100px;
  overflow-y: scroll;
}

.box-scroll li {
    list-style-type: none;
}

/* ------------------------------------------------------------
CONTAINERS END
------------------------------------------------------------ */

/* ------------------------------------------------------------
SCROLLBAR START
------------------------------------------------------------ */

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--text);
  border-radius: 10px;
}

/* ------------------------------------------------------------
SCROLLBAR END
------------------------------------------------------------ */

/* ------------------------------------------------------------
FOOTER START
------------------------------------------------------------ */


footer a {
  color: var(--text);
}

/* ------------------------------------------------------------
FOOTER END
------------------------------------------------------------ */

