/* Style for entire page */
html {

  /* Set background image */
  background-image:url('images/background.png');
  /* Set background color (for beyond image) */
  background-color: #0A0A1E;

  /* Set background to not repeat */
  background-repeat:no-repeat;
  /* Center background */
  background-position: 50% 50%;
  /* Set background to not scroll */
  background-attachment: fixed;
  /* Set background to fixed height */
  background-size: cover;
  /* Set font size */
  font-size: 20px;
  /* Set text color */
  color: #FFFFFF;
}

/* Style for entire <body> */
body {
  /* Set default font */
  font-family: "Kodchasan";
  /* Set automatic horizontal and manual vertical margin */
  margin: 75px auto;
}

/* Style for <div> flexboxes */
div.flex-container {
  /* Turn <div> container into flexbox */
  display: flex;
  /* Set maximum container width */
  max-width: 100%;
}

/* Style for <div> header */
div.header {
  /* Turn header into a nested flexbox */
  display: flex;
  /* Align flex contents vertically */
  flex-direction: column;
  /* Set border thickness, style and color */
  border: 1px solid #000000;
  /* Set border's rounded corner */
  border-radius: 10px 10px 0px 0px;
  /* Set container background color + opacity */
  background: rgba(0, 0, 0, 0.25);
  /* Center text */
  align-items: center;
  justify-content: center;
  /* Reduce line height by 50% (to allow for potential subtitles) */
  line-height: 50%;
  /* Set container width and height */
  width: 900px;
  height: 150px;
  /* Set content padding to border */
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

/* Style for <nav> container */
nav {
  /* Set border thickness, style and color */
  border: 1px solid #141432;
  /* Set border's rounded corner */
  border-radius: 10px 0px 0px 10px;
  /* Set container background color + opacity */
  background: rgba(10, 10, 30, 0.75);
  /* Set total container width */
  width: 300px;
  /* Set container height to adjust dynamically with content */
  height: min-content;
  /* Offset <nav> above it */
  margin-top: 50px
}

/* Style for selected <nav> page */
li.selected {
  /* Set text color */
  color: #A1A1A1;
  /* Strip link of underline */
  text-decoration: none;
}

/* Style for regular links */
a:link {
  /* Set text color */
  color: #FFFFFF;
}

/* Style for links that have been clicked on */
a:visited {
  /* Set text color */
  color: #FFFFFF;
}

/* Style for unselected <nav> page */
a.nav:link {
  /* Set text color */
  color: #FFFFFF;
  /* Strip link of underline */
  text-decoration: none;
}

/* Style for <div> containers with the "class=main-content" */
div.main-content {
  /* Turn main-content into a nested flexbox */
  display: flex;
  /* Align flex contents vertically */
  flex-direction: column;
  /* Set border thickness, style and color */
  border: 1px solid #202052;
  /* Set border's rounded corner */
  border-radius: 0px 0px 10px 10px;
  /* Set container background color + opacity */
  background: rgba(27, 27, 68, 0.75);
  /* Center text */
  text-align: center;
  align-items: center;
  justify-content: center;
  /* Set total container width */
  width: 900px;
  /* Set minimum container height */
  min-height: 225px;
  /* Set content padding to border */
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

/* Style for linked pixel text */
a.ptextbutton {
  /* Set text color */
  color: #FFFFFF;
  /* Strip link of underline */
  text-decoration: none;
  /* Turn entire link into a block */
  display: block;
  /* Use Press Start 2P font for buttons */
  font-family: "Press Start 2P";
  /* Set border thickness, style and color */
  border: 5px solid #FFFFFF;
  /* Set all letters to lowercase, regardless of capitalization */
  text-transform: lowercase;
  /* Add padding */
  padding: 12px;
  /* Center text */
  text-align: center;
  align-items: center;
  justify-content: center;
  /* Add margin to have extra space between multiple buttons */
  margin: 10px;
}

/* Style for simple pixel text */
.ptext {
  /* Use Press Start 2P font for buttons */
  font-family: "Press Start 2P";
  /* Set all letters to lowercase, regardless of capitalization */
  text-transform: lowercase;
  /* Set text size */
  font-size: 24px;
}

/* Style for <p>aragraphs inside of Links & Contacts */
p.link {
  /* Set maximum width */
  max-width: 50%;
  /* Align text to left side */
  align-items: start;
}

/* Style for link buttons */
a.button {
  /* Turn entire link into a block */
  display: block;
  /* Set text color */
  color: #FFFFFF;
  /* Strip link of underline */
  text-decoration: none;
  /* Turn entire link into a block */
  display: block;
  /* Use Fredoka One font for buttons */
  font-family: "Fredoka One";
  /* Set border's rounded corner */
  border-radius: 5px;
  /* Set container background color */
  background: #A1A1A1;
  /* Add padding */
  padding: 12px;
  /* Set button height to adjust dynamically with content */
  height: min-content;
  /* Center text */
  text-align: center;
  align-items: center;
  justify-content: center;
  /* Align button */
  margin: auto;
}

/* Style for link buttons as part of a "multi-button" <div> */
a.multi-button {
  /* Turn entire link into a block */
  display: block;
  /* Set text color */
  color: #FFFFFF;
  /* Strip link of underline */
  text-decoration: none;
  /* Turn entire link into a block */
  display: block;
  /* Use Fredoka One font for buttons */
  font-family: "Fredoka One";
  /* Set border's rounded corner */
  border-radius: 5px;
  /* Set container background color */
  background: #A1A1A1;
  /* Add padding */
  padding: 12px;
  /* Set button height to adjust dynamically with content */
  height: min-content;
  /* Center text */
  text-align: center;
  align-items: center;
  justify-content: center;
  /* Align button */
  margin: 5px auto;
}

/* Style for aligning multiple buttons */
div.multi-button {
  /* Turn main-content into a nested flexbox */
  display: flex;
  /* Align flex contents vertically */
  flex-direction: column;
  /* Align buttons */
  margin: auto;
  /* Set width */
  width: 100%;
  /* Center button */
  align-items: center;
  justify-content: center;
}

/* Style for horizontal line */
hr {
  /* Set total width */
  width: 100%;
  /* Set line thickness, style and color */
  border-top: 1px solid #FFFFFF;
}

/* Style for <div> containers with the "class=blank" */
div.blank {
  /* Set border thickness, style and color */
  border: 1px solid transparent;
  /* Set container background color + opacity */
  background: transparent;
  /* Set total container width */
  width: 300px;
}

/* Style for meta flexbox */
div.meta-flexbox {
  /* Turn <div> container into flexbox */
  display: flex;
  /* Wrap containers inside of flexbox */
  flex-wrap: wrap;
  /* Set automatic margin to center (horizontal) */
  margin: auto;
  /* Set total container width */
  max-width: 1500px;
}

/* Custom Fonts: Kodchasan */
@font-face {
  font-family: "Kodchasan";
  src: url("fonts/kodchasan/Kodchasan-Regular.ttf")
  format("truetype");
}

@font-face {
  font-family: "Kodchasan";
  src: url("fonts/kodchasan/Kodchasan-Bold.ttf")
  format("truetype");
  font-weight: bold;
}

@font-face {
  font-family: "Kodchasan";
  src: url("fonts/kodchasan/Kodchasan-Italic.ttf")
  format("truetype");
  font-style: italic;
}

@font-face {
  font-family: "Kodchasan";
  src: url("fonts/kodchasan/Kodchasan-BoldItalic.ttf")
  format("truetype");
  font-weight: bold;
  font-style: italic;
}

/* Custom Fonts: Press Start 2P */
@font-face {
  font-family: "Press Start 2P";
  src: url("fonts/press_start_2p/PressStart2P-Regular.ttf")
  format("truetype");
}

/* Custom Fonts: Fredoka One */
@font-face {
  font-family: "Fredoka One";
  src: url("fonts/fredoka_one/FredokaOne-Regular.ttf")
  format("truetype");
}
