/* =========================================================
   GENERAL PAGE STYLES
   ========================================================= */

body {
  margin: 0;
  background-color: #bebcc0;
  color: #222;

  font-family: Georgia, "Times New Roman", serif;
}


/* =========================================================
   FIXED NOTICE BAR
   ========================================================= */

.notice-bar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  box-sizing: border-box;

  background-color: #7e2b2b;
  color: white;

  border-bottom: 2px solid #d4af37;

  padding: 7px 15px;

  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;

  text-align: right;

  z-index: 2000;
}

.notice-bar strong {
  color: #d4af37;
}


/* =========================================================
   MAIN HEADER / NAVIGATION CONTAINER
   ========================================================= */

.navigation-bar {
  background-color: #160b24;
  color: white;

  width: 985px;
  max-width: calc(100% - 40px);

  margin: 30px auto 0;

  padding: 0;

  border-left: 2px solid #d4af37;
  border-right: 2px solid #d4af37;
  border-top: 2px solid #d4af37;

  box-sizing: border-box;

  box-shadow: none;

  z-index: 1000;
}


/* =========================================================
   UPPER PART OF HEADER
   ========================================================= */

.header-top {
  min-height: 92px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 6px 12px 4px;

  box-sizing: border-box;
}


/* =========================================================
   BRANDING / LOGO AREA
   ========================================================= */

.branding {
  display: flex;
  align-items: center;

  gap: 10px;
}


/* crest/logo image */
.branding img {
  width: 85px;
  height: auto;

  display: block;
}


/* kingdom name */
.navigation-bar h1 {
  margin: 0;

  color: white;

  font-size: 31px;
  line-height: 0.9;

  letter-spacing: 1px;

  text-align: left;

  text-transform: uppercase;

  text-shadow: none;
}


/* =========================================================
   GOVERNMENT INFORMATION
   ========================================================= */

.navigation-bar p {
  margin: 0;

  align-self: flex-end;

  padding-bottom: 3px;

  color: white;

  font-size: 13px;

  text-align: right;

  white-space: nowrap;
}


/* =========================================================
   NAVIGATION BUTTON ROW
   ========================================================= */

.nav-buttons {
  display: flex;

  width: 100%;

  margin: 0;
  padding: 0;
}


/* =========================================================
   NAVIGATION BUTTONS
   ========================================================= */

.navigation-bar button {
  position: relative;

  background-color: #160b24;
  color: white;

  border: 2px solid #d4af37;

  padding: 5px 11px;

  margin: 0 -1px -1px 0;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 15px;
  font-weight: bold;

  white-space: nowrap;

  cursor: pointer;

  box-sizing: border-box;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}


/* navigation button hover */
.navigation-bar button:hover {
  background-color: #d4af37;
  color: #160b24;
}


/* =========================================================
   DROPDOWN BUTTON
   ========================================================= */

.dropdown {
  position: relative;

  display: inline-block;
}


/* =========================================================
   DROPDOWN MENU
   ========================================================= */

.dropdown-content {
  display: none;

  position: absolute;

  top: 100%;
  left: 0;

  min-width: 100%;

  background-color: #160b24;

  z-index: 1500;
}


/* dropdown links */
.dropdown-content a {
  display: block;

  padding: 7px 15px;

  color: white;

  background-color: #160b24;

  border: 2px solid #d4af37;

  margin-top: -2px;

  text-decoration: none;

  white-space: nowrap;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 15px;
  font-weight: bold;

  box-sizing: border-box;
}


/* dropdown hover */
.dropdown-content a:hover {
  background-color: #d4af37;
  color: #160b24;
}


/* show dropdown while hovering */
.dropdown:hover .dropdown-content {
  display: block;
}


/* =========================================================
   OPTIONAL MARQUEE INSIDE HEADER
   ========================================================= */

.navigation-bar marquee {
  display: block;

  background-color: #000000;
  color: white;

  border-top: 1px solid #d4af37;

  margin: 0;

  padding: 7px 10px;

  box-sizing: border-box;

  font-family: Arial, sans-serif;
  font-size: 12px;
}

.navigation-bar marquee strong {
  color: #d4af37;
}


/* =========================================================
   MAIN CONTENT AREA
   ========================================================= */

body > section:not(.navigation-bar) {
  width: 985px;
  max-width: calc(100% - 40px);

  margin: 0 auto;

  padding: 28px 30px;

  background-color: white;

  border-left: 2px solid #d4af37;
  border-right: 2px solid #d4af37;

  box-sizing: border-box;

  box-shadow: none;
}


/* =========================================================
   MAIN PAGE HEADING
   ========================================================= */

body > section:not(.navigation-bar) h2 {
  margin-top: 0;
  margin-bottom: 18px;

  color: #271433;

  font-size: 30px;

  border-bottom: 3px solid #d4af37;

  padding-bottom: 7px;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

body > section:not(.navigation-bar) h3 {
  color: #542477;

  margin-bottom: 10px;

  border-bottom: 1px solid #d4af37;

  padding-bottom: 3px;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
  color: #542477;
}

a:hover {
  color: #d4af37;
}


/* =========================================================
   RESPONSIVE HEADER
   ========================================================= */

@media (max-width: 800px) {

  .header-top {
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    padding: 12px;
  }

  .navigation-bar p {
    align-self: flex-start;

    text-align: left;

    white-space: normal;
  }

  .nav-buttons {
    flex-wrap: wrap;
  }

  .navigation-bar button {
    flex-grow: 1;
  }
}