/* ANCHOR Base */
/* -------------------------------------------------------------------------- */
/*                This section of the code covers the base site               */
/* -------------------------------------------------------------------------- */

:root {
  --shadow: #1e1e1e;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

* :not(:is(nav *,
    body .bottom-bar,
    #gallery *,
    #index *,
    #quotes *,
    #writings .bottom-bar,
    body .content *)) {
  font-family: "Winky Rough", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

body {
  background-color: #0f0f0f;
  color: #eeeeee;
  font-family: sans-serif;
  font-size: medium;
  margin: 0;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 60px);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0f0f0f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #1a1a1a;
  z-index: 1000;
}

.nav-logo {
  font-size: 1.5rem;
  color: #00ff99;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;

}

.nav-links li a {
  color: #00ffcc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00ff99;
}

.links a {
  color: #00ffcc;
  text-decoration: none;
  font-weight: bold;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.links a:hover {
  color: #ffffff;
}

h1 {
  color: #00ff99;
  padding-bottom: 2vh;
}

h2 {
  color: #00ff99;
  text-shadow: 1px 1px darkgreen;
  text-align: left;
}

.bottom-bar {
  position: fixed;
  bottom: 10px;
  left: 15px;
  font-size: 0.8rem;
  color: #00ffcc;
  opacity: 0.3;
  user-select: none;
  z-index: 1000;
  flex-wrap: wrap;
}


/* ANCHOR Index */
/* -------------------------------------------------------------------------- */
/*           This section of the code covers the index.html document          */
/* -------------------------------------------------------------------------- */


.frontpage-text {
  padding-bottom: 2vh;
}


/* ANCHOR About Me */
/* -------------------------------------------------------------------------- */
/*               This section of the code covers the about.html document      */
/* -------------------------------------------------------------------------- */


.aboutme-field {
  margin: 6.25rem auto 3.125rem;
  max-width: 39.0625rem;
  padding: 1.25rem;
  border-radius: 1.5625rem;
  background-color: #1a1a1a;
}

.aboutme-ul {
  margin-left: 1vw;
  font-style: italic;
}


/* ANCHOR Quotes */
/* -------------------------------------------------------------------------- */
/*          This section of the code covers the quotes.html document          */
/* -------------------------------------------------------------------------- */


.quotes-container {
  margin: 6.25rem auto 3.125rem;
  max-width: 39.0625rem;
  line-height: 1.6;
}


/* ANCHOR Writings */
/* -------------------------------------------------------------------------- */
/*         This section of the code covers the writings.html document         */
/* -------------------------------------------------------------------------- */


.accordion {
  max-width: 800px;
  margin: 5rem auto;
  padding: 1em;
}

.accordion-inblock {
  margin: 0 auto;
  padding: 0;
}

.accordion details {
  background: #111;
  border: 1px solid #00ffcc;
  border-radius: 1em;
  margin: 1em 0;
  overflow: hidden;
}

.accordion summary {
  color: #00ffcc;
  font-weight: bold;
  padding: 1em;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.3s;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "⯈";
  float: right;
  transition: transform 0.3s;
}

.accordion details[open] summary::after {
  transform: rotate(90deg);
}

.accordion-content {
  color: #ccc;
  padding: 1em;
  background: #1a1a1a;
  border-top: 1px solid #00ffcc;
  line-height: 1.6;
}

.accordion summary:hover {
  background: #1a1a1a;
}

.pentagonal-ul {
  padding-left: 1vw;
}


/* ANCHOR Gallery */
/* -------------------------------------------------------------------------- */
/*          This section of the code covers the gallery.html document         */
/* -------------------------------------------------------------------------- */


.gallery-container {
  margin: 100px auto;
  max-width: 900px;
  padding: 1rem;
  background: #1a1a1a;
  border-radius: 5px;
}

.gallery-section {
  margin-bottom: 2rem;
}

.gallery-section h2 {
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
  image-rendering: auto;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#lightbox.show {
  opacity: 1;
  visibility: visible;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

#lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
}

#lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
}

#lightbox .prev {
  left: 20px;
}

#lightbox .next {
  right: 20px;
}

/* ANCHOR Contact */
/* -------------------------------------------------------------------------- */
/*          This section of the code covers the contact.html document         */
/* -------------------------------------------------------------------------- */

.contact-container {
  margin: 6.25rem auto 3.125rem;
  max-width: 39.0625rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background-color: #1a1a1a;
  line-height: 1.6;
}

.contacts a,
.socials a {
  font-size: 1em;
  font-weight: normal;
  text-decoration: none;
  color: #00ffcc;
  margin: 1.875rem 1.25rem;
}

.socials .only-a {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.socials .only-a a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 2.5rem;
  padding: 0.5em 1em;
  margin: 0;
  border: 1px solid #eeeeee;
  border-radius: 0.25em;
  background: transparent;
  color: #00ffcc;
  text-decoration: none;
  font-size: 0.9rem;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.socials .only-a a:hover {
  border-color: limegreen;
  color: limegreen;
}


/* ANCHOR Universal */
/* -------------------------------------------------------------------------- */
/*       This section of the code covers the universal CSS rule snippets      */
/* -------------------------------------------------------------------------- */


.highlight-text {
  color: #00ffcc;
  font-style: italic;
  font-weight: bold;
  text-decoration: none;
}

.highlight-text-2 {
  color: #00ffcc;
  font-style: italic;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.25em;
}

.highlight-comment {
  font-size: small;
  font-style: italic;
}

.LET-IT-BE-GREEN {
  background-color: #00ff99;
  color: #0f0f0f;
}

.URL {
  text-decoration: none;
  color: #00ffcc;
}

.statement {
  font-size: .8em;
  color: #eeeeee;
}

.divider {
  border-bottom: 1px solid #00ffcc;
  width: 100%;
  margin: 1em 0;
}

.href {
  font-style: normal;
  text-decoration: none;
  color: #00ffcc;
}

.href:hover {
  color: limegreen;
}

.outlined-text {
  color: #00ff99;
  text-shadow: 1px 1px darkgreen;
}

/*
.outlined-text {
  color: #00ff99;
  text-shadow:
    -1px -1px 0 var(--shadow),
     1px -1px 0 var(--shadow),
    -1px  1px 0 var(--shadow),
     1px  1px 0 var(--shadow),
     0px -1px 0 var(--shadow),
     0px  1px 0 var(--shadow),
    -1px  0px 0 var(--shadow),
     1px  0px 0 var(--shadow);
}
*/