/* FONTS */

@font-face {
  font-family: "Toshiba TxL1";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("./assets/Toshiba-TxL1.woff");
}

@font-face {
  font-family: 'Hack';
  src: url('assets/hack-regular-subset.woff2?sha=3114f1256') format('woff2'), url('assets/hack-regular-subset.woff?sha=3114f1256') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Hack';
  src: url('assets/hack-bold-subset.woff2?sha=3114f1256') format('woff2'), url('assets/hack-bold-subset.woff?sha=3114f1256') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Hack';
  src: url('assets/hack-italic-subset.woff2?sha=3114f1256') format('woff2'), url('assets/hack-italic-webfont.woff?sha=3114f1256') format('woff');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Hack';
  src: url('assets/hack-bolditalic-subset.woff2?sha=3114f1256') format('woff2'), url('assets/hack-bolditalic-subset.woff?sha=3114f1256') format('woff');
  font-weight: 700;
  font-style: italic;
}


/* BASE LAYOUT */

body {
  font-size: 1.25rem;
  background: #0e091d;
  color: #e20340;
}

header,aside,nav,main,section,footer {
  border: double 3px #0f8989;
  background: #171225;
}

header { grid-area: header;
  margin: 0;
  color: #14b4b4;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.5rem;
}

aside { grid-area: sidebar;
}

main { grid-area: main;
}

footer { grid-area: footer;
}

nav,section {
  background: #1f1a2d;
}

nav {
  width: fit-content;
  font-size: 1.25rem;
  position: sticky;
  top: 0.33rem;
}

section {
	padding: 1em
}

header *,aside *,main *,footer * {
  margin: 0.33rem;
}

/* HOME LAYOUT */

body.home {  
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    ". header ."
    ". main ."
    ". footer .";
}

nav.home {
  margin: 0.33rem auto;
  line-height: 1.5;
  position: static;
}

/* PAGES LAYOUT */

body {
  display: grid;
  grid-template-columns: auto 5fr;
  grid-template-rows: auto 1fr auto;
  justify-content: stretch;
  grid-template-areas:
    " header header "
    " sidebar main "
    " . footer "
}

/* ELEMENTS */

h1,h2,h3,h4,h5,h6 {
  font-family: "Toshiba TxL1";
}

:not(h1,h2,h3,h4,h5,h6) {
  font-family: "Hack", mono;
}

h2 {
  color: #00cc80;
  margin-top: 0.66rem;
}

h3 {
  color: #14b4b4
}

p {
  margin-top: 0.66rem;
}

b {
  color: #e92000;
}


hr {
  border: double 3px #0f8989;
  margin: 0;
}

a {
  text-decoration: underline;
}

a:link {
  color: #e20340;
}

a:visited {
  color: #800125;
}

a:hover {
  color: #e92000;
}

ul.nav {
  list-style-type: none;
  padding-left: 0;
  text-align: center;
  margin: 0;
}

table {
  border: double 3px #0f8989;
  width: 100%;
}
