@charset "utf-8";
/* CSS Document */
/* COLOURS 
/* #FBFEF9; /* Baby Powder */
/* #F39237; /* Deep Saffron */
/* #003B6F; /* Tardis Blue */
/* #0E79B2; /* Star Command Blue */
/* #B2071D; /* YouTube Red */
/* #D75307; /* Tawny */
/* - Replacing Deep Saffron */

@font-face {
  font-family: Strawford;
  src: url("/fonts/strawford-regular-webfont.woff");
}

@font-face {
  font-family: Swash;
  src: url("/fonts/BerkshireSwash-Regular.woff");
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Strawford', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Swash', sans-serif;
}

h1 {
    font-size: 2em;
}

ul {
  list-style-position: inside;
}

li {
  margin-left: 20px;
  list-style-image: url('/testing/images/icons/point-16.png');
}

img {
  border-radius: 5px;
}

/* Back Button */
.back {
    border: 1px solid #0E79B2;
    padding: 5px;
    font-size: 1.5em;
    color: #FBFEF9; /* Baby Powder */
    background-color: #003B6F; /* Tardis Blue */
}

button.back:hover {
    border: 1px solid;
    padding: 5px;
    cursor: pointer;
}

/* Header */
header {
  padding: 20px;
  background-image: linear-gradient(to right, #003B6F, #0E79B2, #003B6F);
  color: #FBFEF9;  /* Baby Powder */
  border-bottom: 2px solid #F39237;  /* Deep Saffron */
  box-shadow: inset 0 -2px 0 0 #FBFEF9;  /* Baby Powder */
}

.head-container {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
}

.lh-col {
  width: auto;
}

.rh-col {
  width: auto;
  justify-content: center;
  align-content: center;
}

nav {
  width: 100%;
  justify-content: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin-right: 10px;
  max-width: 65px;
  text-align: center;
  align-items: center;
  list-style-image: none;
}

nav a {
  text-decoration: none;
  color: #FBFEF9;  /* Baby Powder */
}

nav a:hover {
  color: #F39237;  /* Deep Saffron */
}

/* Navigation Responsive */
@media only screen and (max-width: 768px) {
  nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  nav li {
    margin: 0;
    text-align: center;
    align-items: center;
  }
}

/* Sections */
section {
  min-height: 100vh;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

section p,h1,h2,h3,h4,h5,h6,ul {
  text-align: left;
  font-size: 1.5em;
}

.command {
  background-color: #0E79B2; /* Star Command Blue */
  color: #FBFEF9;  /* Baby Powder */
}

.powder {
  background-color: #FBFEF9;  /* Baby Powder */
  color: #003B6F;  /* Tardis Blue */
}

.powder a {
  color: #003B6F;  /* Tardis Blue */
}

.powder a:hover {
  color: #0E79B2;  /* Star Command Blue */
}

.tardis {
  background-color: #003B6F;  /* Tardis Blue */
  color: #FBFEF9;  /* Baby Powder */
}

.tardis a, .command a {
    color: #FBFEF9; /* Baby Powder */
}

.tardis a:hover, .command a:hover {
    opacity: 0.75;
}

.tardis a:visited, .command a:visited, .powder a:visited, .youtube a:visited {
    color: #F39237; /* Deep Saffron */
}

.border {
  border: 2px solid #F39237;  /* Deep Saffron */
}

.youtube {
  background-color: #B2071D;  /* YouTube Red */
  color: #FBFEF9;  /* Baby Powder */
  min-height: 60vh;
}

.youtube a {
    color: #003B6F;  /* Tardis Blue */
}

.youtube a:hover {
    color: #0E79B2;  /* Star Command Blue */
}

.spotlight {
  background-image: linear-gradient(to right, #003B6F, #0E79B2, #003B6F);
  color: #FBFEF9;  /* Baby Powder */
  border: 3px solid #D75307;  /* Tawny */
  font-size: 125%;
}

.text-section {
  width: 85%;
  margin: 0 auto;
  text-align: center;
}

.text-section img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;  /* alternative, cover */
}

/* Two Columns */
.col-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.column {
  flex: 1 1 calc(50% - 10px);
  padding: 20px;
  box-sizing: border-box;
}

/* Navigation Menu (Organ Systems) */
.nav-menu ul {
  list-style-type: none;
  list-style-image: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.nav-menu li {
  list-style-type: none;
  list-style-image: none;
  background-color: #FBFEF9;
  padding: 10px;
  text-align: center;
  font-size: 80%;
  border: 1px solid #0E79B2;  /* Star Command Blue */
  border-radius: 5px;
}

.nav-menu li:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu li:hover a {
  color: #007bff;
}

.nav-menu a {
  text-decoration: none;
  color: #003B6F;  /* Tardis Blue */
}

.nav-menu a:hover {
  color: #0E79B2;  /* Star Command Blue */
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .nav-menu ul {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  display: flex;
  max-width: 100%;
  border: 2px solid #F39237;  /* Deep Saffron */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 5px;
  margin: 5px 0;
}

.card img {
  width: 150px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 0 10px 0;
}

.card-content {
  padding: 20px;
  font-size: 90%;
}

.card-content h2 {
  margin-top: 0;
}

.card-content a {
  color: #FBFEF9;  /* Baby Powder */
}

.card-content a:hover {
  color: #F39237;  /* Deep Saffron */
}

/* Footer */
footer {
  background-image: linear-gradient(to right, #003B6F, #0E79B2, #003B6F);
  color: #FBFEF9;  /* Baby Powder */
  padding: 1em;
  text-align: center;
  clear: both;
  border-top: 2px solid #F39237;  /* Deep Saffron */
  box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2);
}

footer a {
  color: #FBFEF9;  /* Baby Powder */
}

footer a:hover {
  color: #F39237;  /* Deep Saffron */
}

.quote-container {
  width: 80%;
  margin: 40px auto;
  padding: 20px;
  background-image: linear-gradient(to right, #003B6F, #0E79B2, #003B6F);
  border: 1px solid #F39237;  /* Deep Saffron */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

blockquote {
  font-size: 24px;
  font-style: italic;
  margin-bottom: 10px;
  color: #FBFEF9;  /* Baby Powder */
}

#author {
  font-size: 18px;
  color: #FBFEF9;  /* Baby Powder */
  margin-bottom: 20px;
  text-align: center;
}

.navigation button {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  background-color: #0E79B2;  /* Star Command Blue */
  color: #FBFEF9;  /* Baby Powder */
  cursor: pointer;
}

.navigation button:hover {
  background-color: #F39237;  /* Deep Saffron */
}

/* Responsive */
@media only screen and (max-width: 768px) {
  .text-section {
    width: 95%;
  }

  .column {
    flex: 1 1 100%;
  }

  .spotlight {
    background-image: linear-gradient(to bottom, #003B6F, #0E79B2, #003B6F);
  }

  li {
    margin-left: 20px;
  }

  .card {
    width: 100%;
  }
}