@font-face {
  font-family: 'Special Gothic Expanded One';
  font-display: swap;
  src: url("../fonts/SpecialGothicExpandedOne-Regular.ttf") format("truetype");
}
@font-face {
  font-family: 'Special Gothic Condensed One';
  font-display: swap;
  src: url("../fonts/SpecialGothicCondensedOne-Regular.ttf") format("truetype");
}
@font-face {
  font-family: 'Bebas Neue';
  font-display: swap;
  src: url("../fonts/BebasNeue-Regular.ttf") format("truetype");
}
@font-face {
  font-family: 'Cal Sans';
  font-display: swap;
  src: url("../fonts/CalSans-Regular.ttf") format("truetype");
}

:root {
  --coolor-1: #efe9f4;
  --cooler-2: #171d1c;
  --cooler-3: #5863f8;
  --cooler-4: #5fbff9;
  --cooler-5: #16bac5;

  --site-header-font: 'Special Gothic Expanded One', sans-serif;
  --site-subheader-font: 'Special Gothic Condensed One', sans-serif;
  --site-nav-font: 'Bebas Neue', sans-serif;
  --site-font: 'Cal Sans', sans-serif;
}

* {
  box-sizing: border-box;
}
body {
  background-image: url("../images/bg.jpg");
  background-color: #000;
  font-family: var(--site-font);
  color: var(--coolor-1);
}

/* Common Classes */
a, a:visited {
  color: var(--cooler-3);
  text-decoration: none;
}

a:hover {
  background-color: var(--cooler-3);
  color: var(--coolor-1);
  text-decoration: none;
}

h1, h2{
  color: var(--cooler-4);
  font-family: var(--site-header-font);
  text-transform: uppercase;
}

h3, h4, h5 {
  color: var(--cooler-4);
  font-family: var(--site-subheader-font);
  text-transform: uppercase;
}

hr {
   border-style: solid;
  border-color: var(--cooler-1);
  border-width: 1px 0 0 0;
}

blockquote {
  padding: 0 20px;  margin-left: 0;  border-left: 2px dotted var(--cooler-4);
  font-size: 1.1em;
  line-height: 1.6em;
}

img {
  border-radius: 1em;
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

ul.none {
    padding: 0;
    list-style-type: none;
}

/* Site Areas */

#container {
  max-width: 700px;
  margin: 3em auto;
  width: 90%;
}

#headerArea {
  margin-bottom: 1.5em;
}

#navbar {
  margin-bottom: 10px;
  font-family: var(--site-nav-font);
  
  background-color: var(--cooler-2);
  width: 100%;
  padding: 0 5%;
  outline-width: 4px;
  outline-style: solid;
  outline-color: var(--cooler-4);
}
#navbar ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
}
#navbar li {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}

#flex {
  display: flex;
  margin-bottom: 1em;
}

article {
  margin-bottom: 10px;

  background-color: var(--cooler-2);
  width: 100%;
  padding: 10px 5% 20px 5%;
  outline-width: 4px;
  outline-style: solid;
  outline-color: var(--cooler-4)
}

footer {
  text-align: center;

  background-color: var(--cooler-2);
  width: 100%;
  padding: 10px;
  outline-width: 4px;
  outline-style: solid;
  outline-color: var(--cooler-4);
}

/* Alignment classes */
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Recent Blog Posts block in index.html */
#recentpostlistdiv ul {
  padding: 0;
  list-style-type: none;
}

/* At the bottom of blog posts */
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/* responsive */
@media only screen and (max-width: 900px) {
  #flex {
    flex-wrap: wrap;
  }
  #navbar ul {
    flex-wrap: wrap;
  }
}

/* Go To Top button */
#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline-width: 4px;
  outline-style: solid;
  outline-color: var(--cooler-3);
  background-color: var(--cooler-2);
  color: var(--cooler-3);
  cursor: pointer;
  padding: 15px;
  font-size: 18px;
  font-family: var(--site-font);
}

#topBtn:hover {
  background-color: var(--cooler-3);
  color: var(--cooler-1);
}

/* Lightbox */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  place-items: center;
}

.gallery img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  transition: 0.3s;
}

.gallery img:hover {
  box-shadow: 0 0 20px var(--cooler-3);
  filter: brightness(75%);
} 

.lightbox {
    width: 500px;
    height: 500px;
    object-fit: contain;
    border-radius: 0%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.overlay_style {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
}