#overlay {
  position: fixed;
  /* Sit on top of the page content */
  display: none;
  /* Hidden by default */
  width: 100%;
  /* Full width (cover the whole page) */
  height: 100%;
  /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,133,229,0.8);
  /* Black background with opacity */
  z-index: 2;
  /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer;
  /* Add a pointer on hover */
}

#overlay iframe {
  justify-self: center;
  z-index: 10;
  max-width: 30%;
  max-height: 80%;
  margin-top: 10%;
}

.fa-play-circle {
  color: white;
}

.archive-date a{
  color: #88C9FF !important;
  font-size: 24px;
}

.archive-date a:hover{
 color: var(--link_color) !important;
}

#brain .archive-date, #belly .archive-date{
    margin-bottom: clamp(18px, 2.7vh, 56px);
}

.archive-wrapper{
    padding-left: calc(7.6388vw - 30px - 2vw);
    padding-right: calc(7.6388vw - 30px - 2vw);
}

.archive-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.archive-body {
  min-height: 200px;
}

.archive-row-content {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  padding-top: 20px;
}

.brain-img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.archive-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: clamp(70px, 8.88vh, 170px);
  /*
  padding-top: clamp(50px, 7vh, 75px);
  padding-bottom: clamp(50px, 7vh, 75px);
  padding-right: clamp(70px, 6vw, 100px);
  padding-left: clamp(70px, 6vw, 100px);
  */
}

.archive-row.body, .archive-row.belly{
    width: 72vw;
    margin-left: auto;
    margin-right: auto;
}

.normal-col {
  display: flex;
  flex-direction: column;
  width: 30%;
  position: relative;
}

.normal-col,
.normal-col *:not(.dfx-title):not(i) {
  font-family: "Plus Jakarta Sans";
}

.ingred-col .ingred-wrapper, .brain-bod-wrapper{
    max-height: clamp(170px, 20vh,400px);
    height: 100%;
    margin-bottom: clamp(18px, 2.25vh, 40px);
    overflow-y: hidden;
    transition: max-height 0.5s ease-in-out;
}

.ingred-col .ingred-wrapper.expanded, .brain-bod-wrapper.expanded{
    max-height: 1000px;
}

.belly-mod-col{
    height: 100%;
}

.belly-mod-col img {
  object-fit: cover;
}

.bellyTabPhoto{
    aspect-ratio: 16/9;
    object-fit: cover;
}

.mod-watch-btn {
  position: absolute;
  top: 50%;
  /* position the top  edge of the element at the middle of the parent */
  left: 50%;
  /* position the left edge of the element at the middle of the parent */

  transform: translate(-50%, -50%);
  font-size: 4rem;
}

.mod-watch-btn a {
  color: #33a9ff;
}

.big-col {
  display: flex;
  flex-direction: column;
  width: 49vw;
}

.archive-wrapper h1#theArchiveTitle.theArchive {
  margin-top: 0px;
  color: #0085e5;
  font-size: clamp(128px,14.2vh, 256px) !important;
  line-height: 1 !important;
  margin-bottom: 0px;
  font-family: "Antonio" !important;
  font-weight: 700;
}

h1.theArchive a {
  color: #0085e5;
}

h1.theArchive a:hover {
  color: black;
}

.headerDate {
  font-size: 64px;
  line-height: 1.2;
  margin-bottom: 120px;
}

.archive-header-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

@media screen and (max-width: 1304px) {
  .archive-header-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.nav-dropdowns {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-dropdowns input, .nav-dropdowns button{
    font-size: clamp(12px, 1vw, 40px);
}

.nav-tabs .nav-link.active {
  background-color: #0085e5;
  color: white;
}

.nav-tabs {
    list-style-type: none;
    padding: 0;
    display: flex;
    width: 100%;
    gap: clamp(10px, 1.32vw, 32px);
    justify-content: space-between;

}

.nav-tabs .nav-item {
    cursor: pointer;
    font-family: Antonio;
    font-weight: 700;
    width: 100%;
    text-transform: uppercase;
}

.nav-tabs .nav-link,
.tab-pane .nav-link,
.today-link {
    padding: clamp(8px, 1.5vh,30px) clamp(10px, 1.3vw ,42px);
    border: 3px solid #002C4D;
    background-color: #000;
    color: white;
    font-size: clamp(14px, 1.65vw, 50px);
    line-height: .9;
    display: block;
    text-align: center;
    width: 100%;
}

.nav-tabs .nav-link.active {
    background-color: #0085E5;
    color: white;
}

.nav-tabs .nav-link:not(.active):hover {
    background-color: white;
    color: black;
    transition: 300ms;
}

.nav-tabs a.nav-link[aria-disabled="true"] {
  pointer-events: none;
  /* Disable interaction */
  color: black;
  /* Change text color */
  cursor: not-allowed;
  /* Change cursor to not-allowed */
  opacity: 0.6;
  /* Optional: reduce opacity */
  background-color: gray;
}



.today-link:not(.active) {
  background-color: transparent;
  color: black;
}

.tab-pane {
  display: none;
  width: 100%;
}

.tab-pane.active {
  display: block;
}

.header-dfx-link {
  color: black;
}

.header-dfx-link:hover {
  color: #0085e5;
}

h5.dfx-title {
  font-weight: 700;
  font-family: "Antonio";
  padding-bottom: clamp(16px, 2.22vh, 40px);
}

.dropdown {
  position: relative;
  margin: 10px;
  height: fit-content;
}

.dropdown-toggle {
  background: transparent;
  border: 1px solid black;
  padding: 0px 0px 0px 10px;
  height: clamp(30px, 4.44vh, 90px);
  align-items: center;
  cursor: pointer;
  width: clamp(140px, 11vw, 200px);
  text-align: left;
  display: flex;
  justify-content: space-between;
}

#year-dropdown .dropdown-toggle {
  width: clamp(90px, 9vw, 150px);
}

#archive-mobile-nav {
  background-color: #0085e5;
  box-shadow: inset 0px 0px 0px 3px black;
  border: 0;
  width: 100%;
  margin-bottom: clamp(40px, 6vh, 75px);
}

#archive-mobile-nav i {
  color: white;
  background-color: black;
}

#archive-mobile-nav .dropdown-menu {
  width: 100%;
  background-color: #cce7fa;
  color: black;
  font-family: "Antonio";
  text-transform: uppercase;
}

#archive-mobile-nav li {
  border: 1px solid black;
}

.dropdown-toggle i {
  border-left: 1px solid black;
  align-self: stretch;
  padding: 0px 12px;
    align-content: center;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid black;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 200px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 10px;
  cursor: pointer;
}

.dropdown-menu li:hover {
  background: #f0f0f0;
}

.dropdown-menu li.selected {
  background: #e0e0e0;
  font-weight: bold;
}

#search-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 200px;
  margin: 10px;
  margin-right: 0px;
  height: fit-content;
  border: 1px solid black;
}

#search-bar i {
  height: fit-content;
  align-self: center;
  color: white;
}

#search-bar .i-wrapper {
  background-color: #0085e5;
  display: flex;
  padding: 0 10px;
  border-left: 1px solid black;
  cursor: pointer;
}

#search-bar input.text-input {
  background: transparent;
  border: 0px;
  padding: 10px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.4;
  height: 38px;
}

.dfx-pagination {
  text-align: center;
  margin-top: 2rem;
}

.page-num {
  background-color: white;
  color: black;
  border: 2px solid black;
  display: inline-block;
  height: clamp(24px, 3.44vh, 64px);
  width: clamp(20px, 1.7vw, 48px);

  /*padding: clamp(6px, 0.7vh, 20px);*/
}

.page-num.active {
  background-color: black;
  color: white;
}

.heading-tag{
    font-size: clamp(12px, 1vw, 32px);
    background-color: #B2D9F8;
    padding: clamp(4px, 0.66vh, 20px) clamp(8px, 0.7vw, 28px);
    width: fit-content;
    line-height: 1;
    border: none;
    margin-bottom: clamp(16px, 2.22vh, 32px);
}

.expand-btn{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    border-radius: 90px;
    transition: 0.5s;
    transform: rotate(0deg);
    font-size: 1em;
    aspect-ratio: 1;
    line-height: 1;

}

.expand-btn.clicked{
    transform: rotate(180deg);
    transition: 0.5s;
}

.work-excerpt-col{
    width: 16vw;
}

.mod-all-wrapper, .brain-img-all-wrapper{
    position: relative;
    margin-top:auto
}

.see-more-link{
    margin-top: clamp(20px, 3.1vh, 56px);
    margin-bottom: clamp(20px, 3.1vh, 56px);

}

#next-page, #prev-page{
    color: black;
}

