
  @media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: center; 
  }

  nav a {
    width: 100%;     
    max-width: 120px; 
  }
}

:root {
  --background-color: #341153;
  --text-color: #e5cbeb;
  --text-color-secondary: #29123c;
  --text-color-heading: #8b7b8f;
  --link-hover-color: #7d3c98;
  --link-text-color: #6c6a6d;
  --link-active-color: #8109d1;
  --link-color: #9b59b6;
  --button-color-gradient: radial-gradient(#0ebac7 5%, #0096a1 100%);
  --button-text: #162c53;
  --button-font: bold;
  --button-font-size: 24px;
  --button-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --button-font-family: 'JetBrains Mono', sans-serif;
  --button-border: #035d63;
  --button-padding: 10px 20px;
  --font-size-large: 48px;
  --font-size-medium: 24px;
  --font-size-small: 16px;
  --font-size-x-small: 12px;
  --rhino: #323b40;
  --rhinoMid: #4f585e;
  --teal: #0096a1;
  --tealMid: #0ebac7;
  --red: #fc625c;
  --amber: #fdbc40;
  --green: #34c748;
  --offWhite: #e9eaea;
  --main-color: #e0ceef;
  --main-color-gradient: linear-gradient(135deg, #e0ceef 0%, #a582c4 100%);
  --font-family-body: garamond, serif;
  --font-family-heading: 'playfair display', serif;
  --input-border: 1px solid var(--text-color-heading);
}
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 0.5rem;
    text-align: center;
    font-family: 'Ballet', sans-serif;
    font-size: var(--font-size-large);
    backdrop-filter: blur(8px);
    transition:
        background-color 200ms ease,
        padding 200ms ease,
        box-shadow 200ms ease,
        transform 0.25s ease;
}

.header.hidden {
  transform: translateY(-100%);
}

.header.scrolled {
  background: #66596c;
  color: #552275;
  padding: 10px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

a {
  font-family: var(--font-family-heading);
  color: var(--text-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}


h1 {
  font-size: var(--font-size-large);
  font-family: var(--font-family-heading);
  color: var(--text-color-heading);
  text-align: left;
  margin-bottom: 2rem;
}

h2 {
  font-size: var(--font-size-medium);
  font-family: var(--font-family-heading);
  color: var(--text-color-heading);
  line-height: 1.5;
  text-decoration: none;
  text-align: left;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: var(--font-size-small);
  font-family: var(--font-family-heading);
  color: var(--text-color-heading);
  text-align: left;
  margin-bottom: 1rem;
}

.top-nav {
  display: flex;
  justify-content: right;
  gap: 1.25rem;;
}

.top-nav img {
  width: 36px;
  height: 36px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.top-nav img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

main {
  display: flex;
  flex-direction: column;
  text-align: left;
  background-color: var(--main-color);
  background-image: var(--main-color-gradient);
  color: var(--text-color-secondary);
  font-family: var(--font-family-body);
  font-size: var(--font-size-medium);
  padding: 2rem;
}
.aside.offtopic {
    display: flex;
    flex: 1;
  flex-direction: column;
  min-height: 100vh;
  text-align: left;
  color: var(--text-color-secondary);
  font-family: var(--font-family-body);
  font-size: var(--font-size-small);
  padding: 2rem;
}
.inside-voice {
  font-style: italic;
  color: var(--text-color-secondary);
}

.fairy-dust {
  font-weight: bold;
  font-family: 'Ballet', sans-serif;
  letter-spacing: 0.25rem;
  justify-content: center;
  display: flex;
  color: var(--text-color-secondary);
  text-align: center;
  font-size: 2rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.fairy-dust:hover {
  transform: scale(1.3);
  filter: drop-shadow(0 0 6px var(--accent-color));
}

details.info {
  font-weight: bold;
  font-size: var(--font-size-medium);
  font-family: var(--font-family-body);
  cursor: pointer;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.blog-card {
  border: 1px solid var(--rhino);
  background: var(--rhinoMid);
  color: var(--text-color-heading);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(41, 18, 60, 0.3);
}

.subtitle {
  font-size: var(--font-size-small);
  font-family: var(--font-family-heading);
  color: var(--text-color-heading);
  text-align: left;
  margin-bottom: 1rem;
}

.blog-featured-image {
  width: 80%;
  max-height: 40%;
  max-width: 50%;
  object-fit: inherit;
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.back-to-blog {
  display: inline-flex;
  justify-content: right;
  margin-top: 1rem;
  text-decoration: none;
  color: var(--text-color-heading);
  font-family: var(--font-family-heading)
  font-weight: bold;
}
.back-to-blog:hover {
  font-weight: bold;
}

.tag {
  display: inline-block;
  background: var(--color-bg-secondary);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: var(--font-size-small);
  margin-right: 6px;
  margin-bottom: 6px;
  opacity: 0.9;
}

.tags-categories-list {
  list-style: none;
  color: var(--text-color-heading);
  font-size: var(--font-size-x-small);
  font-family: var(--font-family-heading);
  padding: 0;
  line-height: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.date {
  font-size: 0.9rem;
  color: var(--text-color-secondary);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
  margin: 1rem 0;
}

nav.main-nav a {
  display:flex;
  flex: 1;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  gap: 1rem;
  justify-content: space-evenly;
  align-items: center;

  background-image: var(--button-color-gradient);
  background: linear-gradient(145deg, #0ebac7, #0096a1);
  color: var(--button-text);
  font-family: var(--button-font-family);
  font-size: 0.9rem;
  font-weight: var(--button-font);
  padding: var(--button-padding);
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--button-border);
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow:
    inset 0 2px 4px rgba(46, 53, 55, 0.3),
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 8px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

nav.main-nav a:hover {
  transform: translateY(3px);
  box-shadow:
    inset 0 3px 6px rgba(0, 0, 0, 0.35), 
    0 2px 3px rgba(0, 0, 0, 0.2);       
   }

nav.main-nav .current {
aspect-ratio: 1 / 1;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
padding: var(--button-padding);
background: linear-gradient(145deg, #0ebac7, #0096a1);
box-shadow:
    inset 0 3px 6px rgba(0, 0, 0, 0.35), 
    0 2px 3px rgba(0, 0, 0, 0.2);
font-weight: 600;
color: var(--heading-color);
opacity: 0.8;
cursor: default;
text-decoration: none;
}


.section-divider::after {
  content: "~";
  display: block;
  text-align: center;
  font-size: 2rem;
  color: var(--heading-color);
  margin: 1.5rem 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 90%;
  max-width: 700px;
  margin: 2rem auto;
}

form label {
  font-weight: 600;
  color: var(--heading-color);
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  border: var(--input-border);
  border-radius: 6px;
  font-size: 1rem;
  background: rgb(232, 206, 241);
  box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.1); fill-opacity: var(--text-color-secondary) 50%;
}
form textarea:active {
  outline: none;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2);
}

form button {
  align-self: flex-end;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  background: var(--button-color-gradient);
  color: var(--heading-color);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

form button:hover {
  transform: translate(2px, 2px);
  box-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.5),
    inset 2px 2px 3px rgba(0, 0, 0, 0.5);
}

.contact-links {
  display:flex;
  flex: 1;
  gap: 0.5rem;
  justify-content: left;
  align-items: left;
  align-content: left;
  margin: 1rem 0;
  color: var(--link-text-color);
  color: var(--link-active-color); 
  color: var(--link-hover-color);
  transition: color 0.2s ease;
}

.contact-links-hover {
  color: var(--link-hover-color);
  color: var(--button-color-gradient);
}
.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.social-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 90px;
  padding: 0.75rem 1rem;
  background: var(--button-color-gradient);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  overflow: hidden; 
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  box-shadow:
    -2px -2px 8px rgba(0, 0, 0, 0.5),
    inset -2px -2px 3px rgba(0, 0, 0, 0.5);
}

.social-links a:hover {
  transform: translate(2px, 2px);

  box-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.5),
    inset 2px 2px 3px rgba(0, 0, 0, 0.5);
}

.social-links a::after {
  content: "";
  position: absolute;
  inset: 1px 4px 2px; 
  background: rgba(3, 131, 143, 0.15);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.social-links a:hover::after {
  opacity: 0.8;
}

table {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: -2px -2px 8px rgba(0,0,0,0.4),
              inset -2px -2px 3px rgba(0,0,0,0.4);
}

th, td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

th {
  background: var(--main-color-gradient);
  color: rgb(128, 120, 134);
  text-align: left;
}

tr:nth-child(even) {
  background: rgba(255,255,255,0.4);
}

footer {
  position: relative;
  text-align: center;
  background-color: var(--rhinoMid);
  color: var(--text-color);
  font-size: 14px;
  padding: 1rem 0;
  right: 0;
  bottom: 0;
  left: 0;
}

footer .social-media-links {
  background: var(--rhino);
  overflow: hidden;
  padding-bottom: 4px;
  text-align: center;
}

footer .social-media-links ul {
  margin: 0;
  padding: 0;
}

footer .social-media-links li {
  display: inline;
  margin: 0;
  padding: 0;
}

footer .social-media-links a {
  border-bottom: 0 solid rgba(0, 0, 0, 0.95);
  border-radius: 4px;
  box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0), 0 6px 8px rgba(0, 0, 0, 0), 0 24px 24px rgba(0, 0, 0, 0), 0 36px 36px rgba(0, 0, 0, 0), 0 64px 64px rgba(0, 0, 0, 0), 0 64px 128px rgba(0, 0, 0, 0), 0 120px 0 rgba(0, 0, 0, 0), 0 86px 8px 6px rgba(0, 0, 0, 0);
  display: inline-block;
  height: 30px;
  padding: 20px;
  position: relative;
  transition: 0.2s ease-in;
  width: 30px;
}

footer .social-media-links a svg {
  left: 20px;
  position: absolute;
  top: 20px;
  height: 30px;
  width: 30px;
}

footer .social-media-links a svg.glow path,
footer .social-media-links a svg.glow circle {
  fill: rgba(0, 0, 0, 0);
}

footer .social-media-links a svg path,
footer .social-media-links a svg circle {
  fill: var(--teal);
  transition: 0.2s ease-in;
}

footer .social-media-links a:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.1), 0 6px 8px rgba(0, 0, 0, 0.05), 0 24px 24px rgba(0, 0, 0, 0.05), 0 36px 36px rgba(0, 0, 0, 0.05), 0 64px 64px rgba(0, 0, 0, 0.15), 0 64px 128px rgba(0, 0, 0, 0.15), 0 86px 8px 6px rgba(14, 186, 199, 0.25), 0 83px 4px 0 rgba(14, 186, 199, 0.95);
}

footer .social-media-links a:hover svg.glow {
  filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="10" /></filter></svg>#filter');
  filter: blur(2px);
}

footer .social-media-links a:hover svg.glow path,
footer .social-media-links a:hover svg.glow circle {
  fill: rgba(14, 186, 199, 0.6);
}

footer .social-media-links a:hover svg path,
footer .social-media-links a:hover svg circle {
  fill: var(--tealMid);
}   

.back-to-top {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--heading-color);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
}
