/* Imports fonts */
@import url('https://fonts.googleapis.com/css2?family=Mansalva&family=Quantico:ital,wght@0,100..900;1,100..900&display=swap');

/* Base colours */
:root {
  --page-width: 1152px;
  --main-bg-color: #000000;
  --main-text-color: #ffffff;
  --main-prim-color: #ff8000;
  --main-sec-color: #aa5500;
}

/* Forces nearest interpolation */
html {
  image-rendering: pixelated;
  background-image: url('placeholderspace.gif');
}

/* Main/Center section of page */
main {
  grid-area: main;
  border: 1px; 
  border-color: rgb(255, 128, 0); 
  border-style: solid;
  margin-top: 0;
  background-color: var(--main-bg-color)
}

/* Just for grid to recognize header */
header {
  grid-area: header;
}

/* Adjusts color and font */
body {
  margin:0 auto;
  max-width: var(--page-width);
  background-color: black;
  color: var(--main-text-color);
  font-family: Mansalva;
}

/* Don't know how important position relative is but most things have it so ¯\_(ツ)_/¯ */
aside {
  position: relative;
  max-width: 100%;
  font-style: normal;
  color: var(--main-prim-color);
}
/* Keeps text from the sides */
aside > p {
  margin: 0.5rem;
}

/* Changes hyperlink color */
a {
 color: DodgerBlue; 
}

/* Keeps the side boxes actually on the side */
.body-aside {
  padding-left: 0.5rem;
  max-width: 50%;
  margin-left: 0.5rem;
  float: right;
}
/* Border preset for the big header */
.big-header{
max-width: 1fr; 
height: auto; 
border: 20px; 
border-color: var(--main-prim-color); 
border-style: groove; 
border-radius: 32px; 
line-height: 0.2; 
margin:auto; 
margin-top: 20px; 
margin-bottom: 20px;
background-color: var(--main-bg-color);
}

/* Box top bar thing */
.box h3 {
  margin: 0;
  font-size: 2rem;
  padding: 0px 5px;
  background-color: var(--main-prim-color);
  color: var(--main-text-color);
}

/* Box base */
.box { 
  border: 1px solid var(--main-prim-color);
  padding: 0px;
  margin: 10px 0;
  box-shadow: 1px 1px var(--main-sec-color);
  margin-bottom: 10px;
}

/* Just to fix margins on the side bar (and now font size) */
aside > ul {
  padding-left: 20px;
  font-size: 1.2rem;
}

/* Keeps my ducks (images) in a row */
.duckrow-container {
  justify-content: center;
  display: flex;
  align-items: center;
}

/* Enables flex on whatever you want, still confusing to me */
.flex-base {
  flex: 1;
}

/* Essentially the seed for the grid layout */
#content {
  max-width: 100%;
  width: var(--page-width);
  display: grid;
  border: 5px solid var(--main-sec-color);
  border-radius: 64px;
  background-image: url('placeholderspace.gif');
  grid-template: "header header header" auto "left-bar main right-bar" auto/140px auto 140px;
}


/* Layout base and helps grid recognize left/nav bar */
.aside-left-bar {
  border: 1px solid var(--main-prim-color);
  grid-area: left-bar;
  background-color: var(--main-bg-color);
  border-radius: 0 0 0 64px;
}

/* Same as above, but for right bar */
.aside-right-bar {
  border: 1px solid var(--main-prim-color);
  grid-area: right-bar;
  background-color: var(--main-bg-color);
  border-radius: 0 0 64px 0;
}

/* Base for image scaling */
img {
  max-width: 200%; 
  height: auto;
}

/* Modifiable but dynamic scalable grid in theory */
.fancy-grid {
  display: grid;
  /* Voodoo bullshit I found on stack overflow that works phenominally*/
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
/* Grid class because apparently keeping styles in the html is very bad */
.grid-square {
  padding: 10px;
  text-align: center;
}

/* This whole section is for button animations */
.button-container {
  display: inline-block;
  cursor: pointer;
}

/* Hides hover version by default*/
.button-container .button-hover {
  display: none;
}

/* Shows non-hover by default */
.button-container .button {
  display: inline-block;
}

/* Swaperoo */
.button-container:hover .button {
  display: none;
}
/* Swaperoo electric boogaloo */
.button-container:hover .button-hover {
  display: inline-block;
}

