/* 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 {
  --box-color: rgb(75, 150, 135);
  --accent: rgb(29, 58, 60);
  --text: white;
  --link: rgb(130, 255, 232);
  --bg: rgb(0, 128, 128);
}

body {
  background-image: url(assets/img/bg/swampbg.png);
  background-color: var(--bg);
  color: var(--text);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size:80%;
}

div {
  background-color:var(--box-color);
  width: 1000px;
  border: 16px solid var(--accent);
  padding: 20px;
  margin: 2px;
}

p {
  font-size: 13px;
}

ul {
  font-size: 13px;
}

@font-face {
  font-family: Front-Page-Neue;
  src: url(Front-Page-Neue.otf);
}

a:link {
    color: var(--link);
    background-color: transparent;
    text-decoration: underline;
}

a:visited {
        color:var(--link);
        background-color:transparent;
        text-decoration:underline;
}

.center {
  margin: auto;
}

hr { 
  border-width:3px 0 0 0; 
  border-style:dashed; 
  color: var(--accent);
  margin:1rem 0 
}

.imgcenter {
  display: block;
  margin: auto;
}

div.scrollbox {
  width: 850px;
  height: 150px;
  border: 4px solid var(--accent);
  padding: 7px;
  margin: 2px;
  overflow: scroll;
  overflow-x: hidden;
}

h1 {
  font-family: Front Page Neue;
  font-size: 70px;
  margin: -5px;
}

/*got the nav stuff here from rareoarfishsightings.neocities.org, very cool website*/

nav {
  background-color:var(--box-color);
  anchor-name: --navbar;
  height:100px;
  width: 1000px;
  border: 16px solid var(--accent);
  padding: 20px;
  margin: 2px;
}

nav h1 {
    text-align:center; 
}

nav ul {
  position:relative;
  position-anchor: --navbar;
  top:-25px;
  left:-26px;
  list-style: none;
  font-size:24px;
  text-align:center;
}

nav ul li {
    display:inline-block;
    text-align:center; 
}

nav h3 {
  font-family: Front Page Neue;
}