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: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}
.paper p {
  margin: 0;
}
.paper .title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.paper .authors {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.2rem;
}

.paper .venue {
  font-size: 0.9rem;
  font-style: italic;
  color: #777;
  margin-bottom: 0.5rem;
}
.paper p {
  margin-bottom: 2px 
}
.paper-buttons {
  margin-top: 0.4rem;
}
.paper-buttons .button {
  height: auto;
  line-height: 1;
  padding: 3px 10px;

  font-size: 1.1rem;        /* overrides Skeleton 11px */
  text-transform: none;     /* remove forced uppercase */
  letter-spacing: normal;   /* remove extra spacing */

  border-radius: 999px;
  background-color: #f3f3f3;
  color: #333;
  border: 1px solid #ddd;
}
.paper-buttons .button:hover {
  background-color: #222;
  color: white;
  border-color: #222;
}
.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; 
}
.section-break {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.parallax {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 35vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
  .img-left, .img-right {
  width: 45%;           /* image width, adjust as needed */
  margin: 1rem 1.5rem 1rem 0; /* space around image */}
.img-left img, .img-right img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* optional, soft edges */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* optional, subtle shadow */
}
.img-left {
  float: left;
}
.img-right {
  float: right;
  margin-left: 1.5rem;
  margin-right: 0;
}
p::after {
  content: "";
  display: table;
  clear: both;}

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

/*  ================ 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 */
  .navbar + .docs-section {
    border-top-width: 0; 
  }
  .navbar,
  .navbar-spacer {
    display: block;
    width: 100%;
    min-height: 6.5rem;   /* allows growth */
    background: #fff;
    z-index: 99;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee; 
  }
  .navbar-spacer {
    display: none; 
    height: auto;
  }
  .navbar > .container {
    max-width: 1200px; 
  }
  .navbar-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
  }
  .navbar-item {
    float: none;
  }
  .navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 35px;
    text-decoration: none;
    line-height: 1.4;
    padding: 1.2rem 0;
    color: #222; 
    margin-right: 0; /* important */ 
    white-space: nowrap; 
  }
  .navbar-link.active {
    color: #33C3F0; 
  }
  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0; 
  }
  .has-docked-nav .navbar-spacer {
    display: block; 
  }
  /* Re-overiding the width 100% declaration to match size of % based container */
  .has-docked-nav .navbar > .container {
    max-width: 1200px; 
  }

  /* Popover */
  .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%;
    -webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
       -moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
            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; 
  }
}

@media (max-width: 749px) {
  .parallax {
    background-attachment: scroll;
    height: 40vh;
  }
}

@media (max-width: 749px) {
  .section-break {
    width: 100%;
    margin-left: 0;
    height: 30vh;
  }
}

@media (max-width: 749px) {

  .img-left,
  .img-right {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }

  .img-left img,
  .img-right img {
    width: 100%;
  }
}

@media (max-width: 749px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


/* ===== Aesthetic mobile navigation ===== */
@media (max-width: 749px) {

  .navbar {
    display: block;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #eee;
    background: #fff;
  }

  .navbar-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 0.75rem;
  }

  .navbar-item {
    float: none;
    margin: 0;
  }

  .navbar-link {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15rem;
    border-radius: 999px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    color: #222;
    text-decoration: none;
    line-height: 1;
  }

  .navbar-link.active {
    background: #222;
    color: #fff;
    border-color: #222;
  }
}

