/* MinionPro font-face declarations */
@font-face {
    font-family: 'MinionPro';
    src: url('../external/minion-pro/MinionPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro';
    src: url('../external/minion-pro/MinionPro-It.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'MinionPro';
    src: url('../external/minion-pro/MinionPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro';
    src: url('../external/minion-pro/MinionPro-BoldIt.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'MinionPro';
    src: url('../external/minion-pro/MinionPro-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro';
    src: url('../external/minion-pro/MinionPro-SemiboldIt.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'MinionPro';
    src: url('../external/minion-pro/MinionPro-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro';
    src: url('../external/minion-pro/MinionPro-MediumIt.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

/* Apply MinionPro font and larger font size to body text only */
body, p {
    font-family: 'MinionPro', serif;
    font-size: 18px; /* Set a larger font size for body text */
}

/* Apply MinionPro font to headers without changing their sizes */
h1, h2, h3, h4, h5, h6 {
    font-family: 'MinionPro', serif;
}

/* Existing styling */
h4 {
  letter-spacing: .1rem;
}

.container {
  max-width: 800px;
}

.header {
  margin-top: 60px;
  margin-bottom: 60px;
  text-align: left;
}

.main-description h1 {
  margin-bottom: 0px;
}

.main-description p {
  margin-bottom: 0px;
}

.main-description .fa {
  font-size: 22px;
  margin-top: 5px;
}

.paper {
  margin-bottom: 20px;
}

.paper .title {
  /*text-transform: uppercase;*/
}

.paper p {
  margin-bottom: 2px;
}

.paper-buttons {
  margin-top: 5px;
}

.paper .button {
  display: inline-block;
  height: 28px;  /* Adjusted height */
  padding: 0 28px;  /* Adjusted padding */
  font-weight: 500;  /* Slightly bold */
  font-size: 14px;  /* Slightly smaller font size */
  line-height: 28px;  /* Adjusted to match height */
  text-transform: none;
  background-color: rgb(30, 174, 219);  /* Blue color matching timeline */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.section-header {
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: .2rem;
  font-weight: 600;
}

.docs-section {
  border-top: 1px solid #eee;
  padding: 4rem 0;
  margin-bottom: 0;
}

.footer {
  text-align: center;
  color: rgba(0, 0, 0, 0.4);
  border-top: 1px solid #eee;
  padding: 15px 0 40px 0;
  margin-bottom: 0;
}

.navbar {
  display: none;
}

.title-subtitle h3 {
  margin-bottom: 0px;
}

.title-subtitle h5 {
  color: rgba(0, 0, 0, 0.60);
}

.image {
  text-align: center;
}

/* ================ Project styling ================ */
.project-container {
  margin-bottom: 30px;
}

.project-image-container {
  border: 1px solid rgba(0,0,0,0.2);
  padding: 3px;
  transition: 0.3s;
}

.project-image-container:hover {
  transition: 0.3s;
}

.project-image-container:hover img {
  opacity: 0.4;
}

.project-caption {
  padding: 3px;
}

/* Larger than phone */
@media (min-width: 550px) {
  .header {
    margin-top: 5rem;
  }
}

/* Larger than tablet */
@media (min-width: 750px) {
  .navbar + .docs-section {
    border-top-width: 0;
  }
  .navbar,
  .navbar-spacer {
    display: block;
    width: 100%;
    height: 6.5rem;
    background: #fff;
    z-index: 99;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .navbar-spacer {
    display: none;
  }
  .navbar > .container {
    width: 100%;
  }
  .navbar-list {
    list-style: none;
    margin-bottom: 0;
  }
  .navbar-item {
    position: relative;
    float: left;
    margin-bottom: 0;
  }
  .navbar-link {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 35px;
    text-decoration: none;
    line-height: 6.5rem;
    color: #222;
  }
  .navbar-link.active {
    color: #33C3F0;
  }
  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0;
  }
  .has-docked-nav .navbar-spacer {
    display: block;
  }
  .has-docked-nav .navbar > .container {
    width: 80%;
  }

  .popover.open {
    display: block;
  }

  .popover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    top: 92%;
    left: -50%;
    filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
  }

  .popover-item:first-child .popover-link:after, 
  .popover-item:first-child .popover-link:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }

  .popover-item:first-child .popover-link:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px;
  }

  .popover-item:first-child .popover-link:before {
    border-color: rgba(238, 238, 238, 0);
    border-bottom-color: #eee;
    border-width: 11px;
    margin-left: -11px;
  }

  .popover-list {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .popover-item {
    padding: 0;
    margin: 0;
  }

  .popover-link {
    position: relative;
    color: #222;
    display: block;
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.0rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: .1rem;
  }

  .popover-item:first-child .popover-link {
    border-radius: 4px 4px 0 0;
  }

  .popover-item:last-child .popover-link {
    border-radius: 0 0 4px 4px;
    border-bottom-width: 0;
  }

  .popover-link:hover {
    color: #fff;
    background: #33C3F0;
  }

  .popover-link:hover,
  .popover-item:first-child .popover-link:hover:after {
    border-bottom-color: #33C3F0;
  }
}
