/* CSS TABLE OF CONTENTS */
/* 1.0 - Reset */
/* 2.0 - Fonts */
/* 3.0 - Globals */
/* 4.0 - Color Palette */
/*  4.1 - Default Palette */
/* 5.0 - Structure */
/*  5.1 - <body> */
/*  5.2 - <header> */
/*  5.3 - <nav> */
/*  5.4 - <main> */
/*  5.5 - <section> */
/*  5.6 - <footer> */
/* 6.0 - Content */

/* 1.0 - Reset */
html {
  box-sizing: border-box;
  max-width: 100%;
}

* {
  border-collapse: separate;
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

/* 2.0 - Fonts */
/* Header Font */
@font-face {
  font-family: 'Dragon Fire';
  src: url("../fonts/dragon-fire/dragon-fire-RjteRfU.eot");
  src: url("../fonts/dragon-fire/dragon-fire-RjteRfU.eot") format('embedded-opentype'),
    url("../fonts/dragon-fire/dragon-fire-VT_81gj.woff2") format('woff2'),
    url("../fonts/dragon-fire/dragon-fire-THP3okP.woff") format('woff'),
    url("../fonts/dragon-fire/dragon-fire-GNKjMFD.svg") format('svg');
}

/* 3.0 - Globals */

/* 4.0 - Color Palette */
/*  4.1 - Default Palette */
:root {
  --main-color: #aaa9ad;
  --main-filter: invert(78%) sepia(6%) saturate(129%) hue-rotate(214deg) brightness(87%) contrast(88%);
  --main-bg: #200630;
  --main-font-color: var(--main-color);
  --main-visited: white;
  --main-link: orange;
  --main-bg-url: url("../images/LAD-MAIN_sm-_ACJbk2.jpg");
  --main-bg-size: cover;
  --main-bg-position: center;
  --main-bg-attachment: fixed;
}

/* 5.0 - Structure */
/*  5.1 - <body> */
body {
  font-family: "Dragon Fire";
  height: 100vh;
  color: var(--theme-color);
  background-color: var(--theme-bg);
  background-image: var(--theme-bg-url);
  background-size: var(--theme-bg-size);
  background-position: var(--theme-bg-position);
  background-attachment: var(--theme-bg-attachment);
  display: flex;
  /* Flex Container */
  flex-direction: column;
}

/*  5.2 - <header> */
header.site {
  background-color: var(--theme-bg);
  background-image: var(--theme-bg-url);
  background-size: var(--theme-bg-size);
  background-position: var(--theme-bg-position);
  background-attachment: var(--theme-bg-attachment);
  position: sticky;
  top: 0;
  display: flex;
  z-index: 100;
  /* Flex Container */
  align-items: center;
}

header.site img.logo {
  margin: 0.5em;
  width: 5em;
  height: 5em;
  filter: var(--theme-filter);
}

/*  5.3 - <nav> */
nav.site {
  display: flex;
  /* Flex Container */
  align-items: center;
  justify-content: space-evenly;
  /* Flex Item */
  flex-grow: 1;
  --delay: 0.25s;
}

nav>div.menu {
  border-radius: 10%;
}

nav div.menu {
  background-color: var(--theme-color);
  color: var(--theme-bg);
  position: relative;
  white-space: nowrap;
  transition: all var(--delay) linear;
}

nav>div.menu:hover {
  border-bottom-left-radius: 0%;
  border-bottom-right-radius: 0%;
}

nav div.menu:hover {
  background-color: var(--theme-bg);
  color: var(--theme-color);
}

nav .dropdown {
  border: 0.1em solid var(--theme-bg);
  visibility: hidden;
  opacity: 0;
  background-color: var(--theme-color);
  color: var(--theme-bg);
  position: absolute;
  left: -0.1em;
  transition: all var(--delay) linear;
}

nav div:hover>.dropdown {
  visibility: visible;
  opacity: 1;
}

nav .dropdown .dropdown {
  left: 100%;
  top: 0;
}

nav .menu p {
  margin: 0.25rem;
}

nav.site a:visited,
nav.site a:link {
  text-decoration: none;
  color: inherit;
}

nav.site a:hover,
nav.site p:hover {
  font-weight: bolder;
  font-style: italic;
}

/*  5.4 - <main> */
main {
  margin: 0;
  padding: 1em;
  display: flex;
  /* Flex Container */
  flex-direction: column;
  align-items: center;
  /* Flex Item*/
  flex-grow: 1;
}

/*  5.5 - <section> */
section {
  background-color: var(--theme-bg);
  border: 0.125em solid var(--theme-color);
  border-radius: 1em;
  padding: 1em;
  margin: 1em;
}

/*  5.6 - <footer> */
footer {
  text-align: center;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .25em;
  font-size: smaller;
  background-color: var(--theme-bg);
  background-image: var(--theme-bg-url);
  background-size: var(--theme-bg-size);
  background-position: var(--theme-bg-position);
  background-attachment: var(--theme-bg-attachment);
}

/* 6.0 - Content */
h1 {
  border-radius: 50%;
  padding: 0.5em;
  text-align: center;
  background-color: var(--theme-bg);
  border: 0.125em solid var(--theme-color);
}

p {
  margin: 0.5rem;
}

#login {
  margin: 0.5em;
}

:where(main ol, main ul) {
  margin-inline-start: 0;
  padding-inline-start: 1.5em;
}
