/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
    height: 100%;
    font-family: 'Quicksand-Regular';
    color: white;
    position: relative;
    overflow-y: auto;   /* ensure scrolling works */

  }

  @font-face {
    font-family: 'UTHonsagh';
    src: url('../fonts/UTHonsagh-Regular.otf');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'MorrisRoman-Black';
    src: url('../fonts/MorrisRoman-Black.ttf');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Raleway-Regular';
    src: url('../fonts/Raleway-Regular.ttf');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Quicksand-Regular';
    src: url('../fonts/Quicksand-Regular.ttf');
    font-weight: normal;
    font-style: normal;
  }

    /* Reuseable full background */
.background {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: auto;       /* let content decide height */
  min-height: 100vh;  /* still covers full screen if small */
  overflow-y: auto;   /* ensure scrolling works */
  background-size: cover;
  background-position: center;
  z-index: -1;
}

  /* Title area on left */
  .site-title {
    position: absolute;
    top: 70%;
    left: 10%;
    max-width: 30%;
  }
  .site-title h1 {
    font-size: 3.5em;
    color: #dd0909c7;
    font-family: 'MorrisRoman-Black', sans-serif;
  }

  .site-title p {
    font-size: 1em;
    margin-left: 4em;
    margin-top: 0.25em;
    color: white;
  }
  
  /* Menu on right */
  .menu {
    position: absolute;
    top: 25%;
    right: 10%;
  }
  .menu ul {
    list-style: none;
  }
  .menu li {
    margin: 10px 0;
  }
  .menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    position: relative;
    transition: transform 0.2s ease-in-out, opacity 0.2s;
  }
  .menu a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
  }
  .menu a:hover {
    transform: scale(1.05);
    opacity: 0.9;
  }
  .menu a:hover::after {
    width: 100%;
  }


/* About block in center */
.about-block {
  width: 80%;
  margin: 15vh auto;
  padding: 2em;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent */
  color: white;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.about-block h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}
.about-block p {
  font-size: 1.1em;
  line-height: 1.6;
}

/* Footer styles */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 0;
  color: white;
  font-size: 0.9em;
}
.footer-menu a {
  color: white;
  text-decoration: none;
  margin: 0 8px;
}
.footer-menu a:hover {
  text-decoration: underline;
}
.footer-info {
  margin-top: 5px;
  font-size: 0.8em;
  opacity: 0.8;
}

/* Page background same as About Me */
.background-page {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Container for all blocks */
.lists-container {
  width: 80%;
  margin: 80px auto 60px auto;
  padding: 0 20px; /* Keeps some side padding on mobile */
}

/* Each individual block */
.list-block {
  background: rgba(0, 0, 0, 0.8); /* black transparent background */
  padding: 30px;
  margin-bottom: 40px; /* gap between blocks (no background) */
  border-radius: 12px;
}

/* Fancy heading with red initial letter */
.bukvitsa {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 15px;
}

.bukvitsa .initial {
  line-height: 1;
  font-size: 3.5em;
  color: #dd0909c7;
  font-family: 'MorrisRoman-Black', sans-serif;
}

/* Paragraph styling inside blocks */
.list-block p {
  color: #f0f0f0;
  font-size: 1rem;
  line-height: 1.6;
}

p.sublist {
  text-align: center;
  margin: 20px;
  margin-top: 40px;
  font-weight: bold;
  color: #34b41bc7;
}

/* Container for the horizontal list */
.horizontal-list {
  display: flex;
  flex-wrap: wrap;           /* allows wrapping if too many */
  justify-content: left;   /* centers the whole list */
  gap: 12px;                 /* spacing between names */
}

/* Each name styled like a pill/tag */
.horizontal-list-item {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: default;
}

/* Subtle hover effect for interactivity */
.horizontal-list-item:hover {
  background:  #dd0909c7;
  color: #f0f0f0;
  transform: scale(1.05);
}

p.small-font {
  font-size: smaller;
}

a.green-link:link {
   color: #34b41bc7;
}
