/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
:root {
  --bgmain: #1A1215;
  --bg: #2B111B;
  --border: #fffbe9;
  --text: #bfe2ff;
  --button: #BA7E9D;
  --font: 'Hornet', Arial, Helvetica, sans-serif;
  --font: 'HornetBold', Arial, Helvetica, sans-serif;
}

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


::-webkit-scrollbar-track {
  background: var(--bg); 
}
 

::-webkit-scrollbar-thumb {
  background: var(--button); 
}


::-webkit-scrollbar-thumb:hover {
  background: var(--bgmain); 
}

@font-face {
  font-family: "Hornet";
  src: url("fonts/HornetDisplay-Regular.woff") format("woff");

}

@font-face {
  font-family: "HornetBold";
  src: url("fonts/HornetDisplay-Regular.woff") format("woff");
}

img {
  image-rendering: crisp-edges;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 5px;
  line-height: 1.2;
}

h2, h3, h4 {
  text-align: center;
}
h1 {
    font-size: 1.4rem;
    letter-spacing: 2px;
    font-weight: normal;
    text-align: center;
    border-bottom: 2px solid var(--border);
    padding-bottom: 5px;
}


img {
  max-width: 100%;
}
* {
  box-sizing: border-box;
}

.bold {
  font-family: 'HornetBold';
  font-weight: bold;
}

body {
  display: block;
  margin: 8px;
}

body {
  padding: 10px;
  background-color: var(--bgmain);
  color: var(--text);
  font-family: var(--font);

}

header {
  background-color: var(--bg);
  background-size: fill;
  image-rendering: pixelated;
  background-position: center;
  width: 100%;
  height: 120px;
  border: 2px solid var(--border);
  position: relative;
  align-content:end;
}

.logoclip {
  position: absolute;
  object-position: 0 -7px;
  clip: rect(0, 567px, 120px, 0);
}

div {
  display: block;
  unicode-bidi: isolate;
}



section {
  border: 2px solid var(--border);
  background: var(--bg);
  padding: 5px;
}

.container {
  max-width: 70rem;
  margin: 5vw auto 12px auto;
  border: 6px solid var(--border);
  outline: 3px solid var(--text);
  outline-offset: 4px;
  outline-style: dashed;
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  gap: 5px;
}

.small {
  flex: 1 1 9%;
  
}
.half {
  flex: 1 1 49%;
}
.full {
  margin-top: 3px;
  flex: 1 1 100%;
}
nav {
  border: 2px solid var(--border);
  padding: 5px;
  background: var(--bg);

  margin: none;
}

nav div {
  text-align: center;

  font-size: 1.25rem;
  margin: 5px 5px 10px 5px;
}

nav a {
  display: block;
  margin: 5px;
  background: var(--bgmain);
  padding: 2px 7px;
  text-decoration: none;
}

nav a:link, nav a:visited {
  color: var(--text);
}


footer {
    text-align: center;
    margin-bottom: 5vw;
    font-size: 0.8rem;
}

.webrings {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: max-content;
  align-items: center;
}

.ring {
  padding: 10px;
  align-content: center;
}

.italic {
  font-style: italic;
}

.card {
  background-color: var(--button);
  color: var(--bgmain);
}

.small nav {
  margin-top: 5px;
}