:root {
  /* Images */

  /*Put your entire header background image CSS here */
  --header-background: url(../img/header.png) center no-repeat;

  /*Fonts*/
  --body-font: "Libre Caslon Condensed"; /* Body text font */
  --header-font: "Dela Gothic One"; /* Font for headers */
  --secondary-header-font: "QuigleyWiggly"; /* Font for secondary headers */
  /* TBD - make it so that text that is both italicized and bolded has this styling */

  /* Colors */
  /* If you want a transparent background for any element, set the value to none */

  --background: #0b0b0b; /*Main background color*/
  --textcolor: #e4e4e4; /*Body text color*/

  --mainbg: #2a2a2a76; /*Content background color*/
  --mainlink: #9b9b9b; /*Content link color*/
  --mainlinkhover: #bebebe; /*Content link hover color*/

  /*Header text colors*/
  --h1color: #e4e4e4;
  --h2color: #e4e4e4;
  --h3color: #e4e4e4;
  --h4color: #bebebe;

  --navbg: #2a2a2a76; /*Sidebar background color*/
  --navheader: #e4e4e4; /*Sidebar header color*/
  --navborder: #bebebe; /*If you don't want a border under the headers in the menu, change this to none*/

  --navlink: #9b9b9b; /*Sidebar link color*/
  --navlinkbg: none; /*Sidebar link background*/
  --navlinkhover: #bebebe; /*Sidebar link hover color*/
  --navlinkbghover: #2a2a2a; /*Sidebar link hover background*/

  --formbg: #2a2a2a; /*Form element background*/
  --formtext: #bebebe; /*Form element text color*/
}

* {
  margin: 0;
  padding: 0;
}

body {
  background: var(--background);
  color: var(--textcolor);
  font: 1rem var(--body-font);
}

#container {
  max-width: 800px;
  padding: 10px;
  margin: 25px auto;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

#main-header {
  height: 150px;
  width: 800px;
  flex: 1 0 100%;
  background: var(--header-background);
  background-size: cover;
}

main {
  padding: 15px;
  background: var(--mainbg);
  flex: 1 1 calc(80% - 45px);
}

main a {
  color: var(--mainlink);
}

main a:hover,
main a:focus {
  color: var(--mainlinkhover);
}

main p {
  margin: 0.5em 0px 0.5em 0px;
  line-height: 1.5;
}

main h1 {
  font: 2em var(--header-font);
  color: var(--h1color);
}

main h2 {
  font: 1.7em var(--header-font);
  color: var(--h2color);
}

main h3 {
  font: 1.4em var(--header-font);
  color: var(--h3color);
}

main h4 {
  font: 0.9em var(--header-font);
  font-style: italic;
}

main img {
  margin: 5px;
  max-width: 90%;
}

img:hover {
    transform: scale(1.05);
    transition: 0.5s ease;
}

main ul {
  list-style: inside;
}

main ul li ul {
  margin-left: 15px;
}

main input,
textarea,
select,
button {
  background: var(--formbg);
  color: var(--formtext);
  border: 1px solid;
  font: 1em var(--body-font);
  padding: 5px;
  margin: 5px;
}

/* Marquee Image Styling */
marquee > img {
    filter: grayscale(100%);
transition: .25s ease-in;
}

#sidebar {
  flex: 1 1 20%;
}

.item {
  padding: 15px;
  background: var(--navbg);
  margin-bottom: 15px;
}

.menu h2 {
  font: 1.2rem var(--header-font);
  /* border-bottom: 1px solid var(--navborder); */
  color: var(--navheader);
}

.menu ul {
  list-style: none;
  display: inline;
  margin: 0;
}

.menu ul li {
  display: block;
}

.menu a {
  display: block;
  text-decoration: none;
  padding: 5px;
  color: var(--navlink);
  background: var(--navlinkbg);
}

.menu a:hover,
.menu a:focus {
  color: var(--navlinkhover);
  background: var(--navlinkbghover);
}

footer {
  background: var(--background);
  padding: 15px;
  text-align: center;
  flex: 1 0 calc(100% - 30px);
}

/* Skip to content button */
#skip a {
  position: absolute;
  display: inline-block;
  left: 0px;
  top: -1000px;
  overflow: hidden;
  transition: top 0.5s ease;
  background: var(--mainbg);
  color: var(--mainlink);
  z-index: 1001;
  padding: 5px;
}

#skip a:focus {
  top: 0;
  transition: top 0.5s ease;
}

iframe {
  border: none;
  width: 100%;
  scrollbar-width: none;
}

.gallery {
  display: inline;
}

/* Home Page Grids */
.topbox {
  display: flex;
  width: 100%;
  padding-bottom: 3px;
}

.lft1 {
  width: 65%;
}

.rght1 {
  width: 35%;
  padding-left: 20px;
}

.bottombox {
  display: flex;
  width: 100%;
  /* padding-top: 5px; */
}

.lft2 {
  width: 65%;
}

.rght2 {
  width: 35%;
  padding-left: 20px;
}

.updatebox {
  overflow: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  height: 10em;
  padding: 1rem;
  background: var(--navbg);
}

/* Glow for z-index images */
.decoration {
  filter: drop-shadow(0 0 6px var(--h1color));
}

/* Sidebar mobile styling */
@media screen and (max-width: 800px) {
  #sidebar {
    flex-basis: 30%;
  }

  main {
    flex-basis: calc(70% - 45px);
  }
}
