/* Typography */
h1 {
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 0.5em;
}

h2, h3 {
  color: #34495e;
  font-weight: 600;
}

h1, h3, .navbar-brand {
  font-family: "Cabin", sans-serif;
  font-weight: 700;
}

h2, p, a, li {
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
}

p, .nav-link, li {
  font-weight: 400;
  font-size: 1.1rem;
}

a {
  font-weight: 400;
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* Layout */
body {
  background-color: #fefefe;
  color: #2c3e50;
  line-height: 1.6;
}

.welcome-message {
  margin: 25vh 0 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.section-about {
  margin-top: 3rem;
}

/* Navbar */
.navbar-brand {
  font-size: 1.5em;
  margin-left: 0.5em;
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  padding: 0.5em 1em;
  transition: background-color 0.3s;
}

.navbar-nav .nav-link:hover {
  background-color: #f0f0f0;
  border-radius: 0.25rem;
}

/* Content Sections */
.margin-custom-page {
  margin-top: 3rem;
  margin-bottom: 6rem;
}

.row {
  scroll-margin-top: 2em;
  margin-bottom: 2em;
}

.col-lg h3 {
  margin-bottom: 1rem;
}

/* Lists */
.li {
  margin-bottom: 2em;
  padding: 1em;
  border-left: 4px solid #3498db;
  background-color: #f9f9f9;
  border-radius: 0.5em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.li_header {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.li_paragraph {
  margin-bottom: 0.3em;
  font-size: 1rem;
}

/* Image Thumbnails */
.img-thumbnail {
  height: auto;
  max-height: 200px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  margin: 0 10px 10px 0;
  border-radius: 0.5em;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}

/* Modal Preview */
#image_preview {
  max-height: 80vh;
  max-width: 80vw;
}

.modal-dialog {
  width: fit-content;
  max-width: fit-content;
}

/* Responsive Styles */
@media only screen and (min-width: 992px) {
  h1 {
    font-size: 3.5em;
  }

  .margin-custom-page {
    margin-top: 4rem;
    margin-bottom: 8rem;
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
  }
}
