@font-face {
  font-family: "magilio";
  src: url("./MagilioRegula.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "titulo";
  src: url("./Cutepunk_Regular.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Eskool";
  src: url("./Eskool-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
    line-height: 1.5;
}

body {
  background: #e6f3ff;
  color: #4d4236;
  text-shadow: 0px 0px 0px #bbb;
  font-family: "Eskool", Verdana, Arial;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 1px;
  margin: 0;
  text-align: left;
}

a {
  color: #434342;
  text-decoration: none;
}

a:hover {
  background: #e8ddca;
}

body::-webkit-scrollbar {
  width: 6px;
}
body::-webkit-scrollbar-track {
  background: #f8f8f8;
}
body::-webkit-scrollbar-thumb {
  background-color: #666;
  border-radius: 3px;
}

#container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 10px;
}

header {
  text-align: center;
  padding: 16px 8px;
}
header img {
  max-width: 100%;
  height: auto;
}
.site-name {
  margin-top: 10px;
  font: 15em "titulo";
  letter-spacing: 3px;
  color: #96989e;
  filter: url("#shake0");
  /* animation: distort .5s linear infinite; */
}

.motto {
  font:
    italic 12px Georgia,
    Arial;
  margin-top: 5px;
  margin-bottom: 30px;
  color: #c2ab91;
}

nav {
  text-align: center;
  padding: 6px 4px;
  margin-bottom: 10px;
}
nav a {
  text-transform: lowercase;
  letter-spacing: 2px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  margin-right: 4px;
  font:
    italic 12px georgia,
    arial;
  color: #333;
  border-radius: 5px;
}
nav a img {
  vertical-align: middle;
  margin-right: 4px;
}

#content {
  display: flex;
  gap: 30px;
  border-top: 1px dotted #999;
  padding-top: 10px;
}

.sidebar {
  width: 200px;
  padding: 4px;
}

.sidebar > div {
  margin-bottom: 8px;
}

.title {
  font: 16px "UnifrakturCook";
  margin-bottom: 4px;
  color: #b9a588;
}

.divider {
  height: 0;
  border-bottom: 1px dotted #999;
  margin: 6px 0;
}

main {
  flex: 1;
  padding: 8px;
  border-left: 1px dotted #999;
  border-right: 1px dotted #999;
}

.main-title {
  color: #b9a588;
  font: 20px "UnifrakturCook";
  margin: 0 0 6px;
  letter-spacing: 2px;
  line-height: 18px;
}

footer {
  border-top: 1px dotted #999;
  text-align: center;
  padding: 22px 8px;
  font-size: 10px;
  color: gray;
}

@media (max-width: 600px) {
  #content {
    flex-direction: column;
    gap: 12px;
  }
  .sidebar {
    width: auto;
    padding: 4px;
  }
  main {
    border-left: none;
    border-right: none;
    padding: 8px;
  }
  nav {
    font-size: 10px;
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  nav a {
    margin: 4px 0;
    width: 100%;
    justify-content: center;
  }
}

@keyframes distort {
    0% { filter: url("#shake0");}
    25% { filter: url("#shake1");}
    50% { filter: url("#shake2");}
    75% { filter: url("#shake3");}
    100% { filter: url("#shake4");}
}
