@font-face {
    font-family: "Cinzel";
    src: 
        url("assets/fonts/Cinzel-Regular.otf");
}

@font-face {
    font-family: "Lora";
    src:
        url("assets/fonts/Lora-Regular.ttf");
}

@font-face {
    font-family: "Quattrocento";
    src:
        url("assets/fonts/Quattrocento-Regular.ttf");
}

p {
    margin: 0px;
}

a {
    text-decoration: none;
}
:root {
    --main: #123679;
    --main-80: rgba(18, 54, 121, 0.8);
    --links: #F27457;
    --off-bg: #EEEEEE;
}
ul {
    padding: 0px;
    list-style-type: none;

}

nav {

    top: 0;
}
.logo {
    padding-left: 43px;
    align-content: center;
}
#menu {
    list-style-type: none;
    display: inline-flex;
    margin: 0px;
    align-items: center;
    width: 100vw;
    justify-content: space-between;
}
.menus {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.nav-bar {
    list-style-type: none;
    display: inline-flex;
    margin: 0px;
    gap: 20px;
    padding-left: 10px;
    padding-right: 10px;

}

.nav-bar li {
    height: 60px;
    align-content: center;
    justify-content: center;
}

.nav-butt {
    height: 60px;
    align-content: center; 
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
       
}

.nav-butt:hover > a {
    color: var(--links);
}
.nav-butt-blue:hover > a {
    color: var(--links);
}

.nav-butt a {
    text-decoration: none;
    font-style: var(--main);
    font-family: "Cinzel";
    font-size: 20px;
}


.nav-butt-blue a {
    text-decoration: none;
    color: white;
    font-family: "Cinzel";
    font-size: 20px;
}

.CTA {
    display: flex;
width: 149px;
height: 40px;
flex-direction: column;
justify-content: center;
background-color: var(--links);
border: 2px solid var(--links);

}

.CTA a {
    text-decoration: none;
    color: white;
    font-family: "Cinzel";
    font-size: 22px;
    align-self: center;
}

.CTA:hover{
    background-color: white;
    cursor: pointer;
    
}
.CTA:hover a {
 color: var(--links);
}

.CTA-orange {
    display: flex;
    width: 149px;
    height: 40px;
    background-color: var(--links);
    border: 2px solid var(--links);
    font-family: 'Cinzel';
    font-size: 22px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.CTA-orange:hover {
    background-color: white;
    color: var(--links);
    border-color: var(--links);
}



.CTA-blue {
    display: flex;
    width: 149px;
    height: 40px;
    background-color: var(--main);
    border: 2px solid var(--main);
    font-family: 'Cinzel';
    font-size: 22px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.CTA-blue:hover {
    background-color: white;
    color: var(--main);
    border-color: var(--main);
    cursor: pointer;
}




#hero {
    height: 620px;
    width: auto;
    background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 44.71%), linear-gradient(270deg, rgba(255, 255, 255, 0.30) 0%, #FFF 77.4%), url("assets/images/background.jpg") lightgray 50% / cover no-repeat;
    display: flex;
    flex-direction: column;
}

#hero-info {
    align-items: center;
    margin: 0px 115px 0px 115px;
    justify-content: space-between;
    display: flex;
    height: inherit;
}
#hero-name {
    list-style-type: none;
    display: inline-grid;
    gap: 38px;
    width: 389px;
}

#hero-name li {
    font-family: "Cinzel";
    font-size: 46px;
}

#hero-deets {
    max-width: 598.75px;
    min-width: 400px;
    font-family: "Lora";
    font-size: 30px;

}

#recents {
    height: auto;
}

.contents {
    margin-left: 115px;
    margin-right: 115px;
    margin-top: 0;
    margin-bottom: 0;
    width: calc(100vw - 230px);

    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding-top: 50px;
    padding-bottom: 50px;

    justify-content: center;
    align-content: center;
}


.titles {
    font-family: "Cinzel";
    font-size: 44px;
    color: var(--main);
    height: min-content;
    margin: 0px;
    font-weight: 300;

    width: fit-content;
}
hr {
    border-top: 1px;
    border-color: var(--links);
    width: inherit;
    margin: 0px;
    justify-self: center;
}
#recent-pubs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    gap: 19px;
}
#recent-pubs li {
    height: auto;
}

.card {
    width: -moz-available;
    display: inline-flex;
    justify-content: space-between;
    height: 224px;
    gap: 76px;
    text-decoration: none;
}


.rec-deets {
    height: 224px;
    display: grid;
    justify-content: space-between;
}

.rec-author {
    font-family: "Quattrocentro";
    font-size: 22px;
    height: min-content;
    color: var(--main);
    display: inline-flex;
}
.index-publication {
    padding: 0px;
    display: flex;
    flex-direction: row;
}

.rec-img {
    height: 224px;
    width: 370px; 
}
.vr {
    height: 322px;
    width: 1px;
    background-color: var(--links);
}

#vision {
    padding-left: 115px;
    padding-right: 115px;
    padding-top: 20px;
    padding-bottom: 20px;
width: inherit;
    background: linear-gradient(0deg, rgba(18, 54, 121, 0.50) 0%, rgba(18, 54, 121, 0.50) 100%), url("assets/images/books.jpg") lightgray 50% / cover no-repeat;
    align-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#vision-deets {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
    margin: 0px;
    justify-content: center;
}

#vision-deets li {
    margin: 5px;
    max-width: 800px;
    min-width: 400px;
}

.vis-details {
display: inline-flex;
flex-direction: column;
align-items: start;
vertical-align: middle;
gap: 10px;
 background-color: var(--main);
 padding-left: 12px;
 padding-right: 12px;
 padding-top: 30px;
 padding-bottom: 10px;
    grid-row: span 2;

}

.vis-image {
    grid-row: span 3;
    background-size: inherit;
    /* width: 565px;
    height: 394px; */

}



.text {
    color: black;
    font-family: "Lora";
    font-size: 20px;
    margin:0px;
}

#newsletter {
    background-color: var(--main);
    padding-left: 115px;
    padding-right: 115px;
    padding-top: 90px;
    padding-bottom: 90px;
    display: flex;
    justify-content: start;
}
#newsletter-info {
    display: flex;
    flex-direction: column;
    min-width: 600px;
    gap: 40px;
}
 
form {
    display: flex;
}
.email {
    width: 70vw;
}

#pillars {
    width: auto;

    padding-left: 115px;
    padding-right: 115px;
    padding-bottom: 36px;
}

.pillar {
    min-width: 1000px;
display: grid;
align-content: center;
}

.pill-info {
    z-index: 2;
    display: flex;
    width: calc(100vw - 290px);
    height: 164px;
    min-width: 940px;
    gap: 10px;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.pill-info h1 {
    grid-column: 1; grid-row: 1;
    min-width: 400px;
    max-width: 500px;
}
.pill-info p {
    grid-column: 2; grid-row: 1;
    min-width: 500px;
}
.pill-bg {
    z-index: 1; 
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-content: space-between;
    width: calc(100vw - 230px);
    min-width: 1000px;

    height: 200px;
    position: absolute;
}

#pil-list {
    display: flex;
    flex-direction: column;  
    gap: 50px;
}



#join-us {
    background-color: var(--links);
    display: flex;
    align-items: center;
    height: 120px;
    padding-left: 115px;
    padding-right: 115px;
    justify-content: space-between;
}
#main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    height: auto;
    width: auto;
    padding: 50px 115px 50px 115px;
    gap: 20px;
    margin: 0px;
    background-color: var(--main);
}

#logo-layout {
    display: flex;
    flex-direction: column;
}
#headers {
    display: flex;
    justify-content: space-between;
    margin-top: 90px;
    margin-bottom: 90px;
}

#quick-link {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-butt {
    height: 40px;
    align-content: center; 
    padding-left: 5px;
}

.link-butt a:hover {
    color: var(--links);
    cursor: pointer;
}

.link-butt a {
    text-decoration: none;
    color: white;
    font-family: "Cinzel";
    font-size: 22px;
}


body {

    margin: 0px;
    display: flex;
    flex-direction: column;
}
div {
    margin: 0px;
}



#pub-bg {
    height: 350px;
    background: linear-gradient(0deg, rgba(18, 54, 121, 0.50) 0%, #123679 100%), url(assets/images/books.jpg) lightgray 50% / cover no-repeat;
    display: flex;
    flex-direction: column;
}

#search-area {
    align-items: center;
    margin: 0px 115px 0px 115px;
    justify-content: space-between;
    justify-content: center;
    display: flex;
    height: inherit;
}

#search-text {
    height: 40px;
    width: 70vw;
    border: 0px;
  padding: 0px;
  padding-left: 10px;
}

#search-text:placeholder-shown {
    color: #000;
font-family: "Lora";
font-size: 20px;
}


.filters {
    display: flex;
    flex-direction: column;
    padding-left: 115px;
    padding-right: 115px;
    padding-top: 30px;
    padding-bottom: 30px;
    justify-content: center;
    align-items: center;
}


.selected {
    background-color: white;
    height: 70px;
    width: -moz-available;
    display: flex;
    padding-right: 20px;
}

.box {
    width: 180px;
    padding: 20px 0px 20px 20px; 
    display: flex;
    gap: 0px;
    align-items: center;
    position: relative;
}

.text-search {
    font-family: "Lora";
    font-size: 20px;
    color: black;
    height: inherit;
    margin: 0px;
    border: .5px solid #000;
    font-weight: 300;
    align-self: center;
    padding: 0px;
}

.filter-texts {
    font-family: "Cinzel";
    font-size: 20px;
    color: black;
    height: min-content;
    margin: 0px;
    font-weight: 300;
    align-self: center;
    width: fit-content;
}

#topic-search {
    box-sizing: border-box;
    font-size: 16px;
    padding: 20px 0px 20px 10px;
    border:none;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
width: inherit;
}

#topic-search:focus {
    outline: 3px solid #ddd;
}

.dropdown-reg {
    height: auto;
    position: relative;
    display: inline-block;
    background-color: white;
}

.dropdowns {
    display: none; 
    position: absolute;
    background-color: white;
    min-width: 150px;
    border: 1px solid #ddd;
    z-index: 1;
    width: inherit;
}
.filter-box {
    background-color: white;
    border: none;
    gap:40px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; 
}

.region {
    background-color: white;

    border: none;
    width: 180px;
align-items: center;
    display: flex;
    height: 50px;
    font-family: 'Lora';
 font-size: 20px;
 width: inherit;
}
.region:hover {
    background-color: var(--main);
    color: white;
}

.show {
    display: block;
}


.filter-box h1 {
    position: relative;
    padding-bottom: 2px; /* Space for border */
}

.filter-box h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; /* Start with 0 width */
    height: 2px;
    background-color: var(--links);
    transition: width 0.3s ease-out; /* Animation properties */
}
.filter-box:hover {
    cursor: pointer;
}

.filter-box:hover h1::after {
    width: 100%; /* Full width on hover */
}
.fils {
    display: flex;
    gap: 14px;
    margin: 0px;
    padding: 0px;
}

#publications {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0px 120px 35px 120px;
}

.publication {
    height: 135px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    position: relative;
    text-decoration: none;
}

.publication:hover {
    cursor: pointer;
  }


#pub-title {
    
    /* Underline animation setup */
    background-image: linear-gradient(var(--links), var(--links));
    background-size: 0% 2px; /* Width:0, Height:2px */
    background-repeat: no-repeat;
    background-position: 100% 100%; /* Start from right */
    
    /* Animation */
    transition: background-size 0.8s ease;
  }
  
  .publication:hover #pub-title {
    cursor: pointer;
    background-size: 100% 2px; /* Full width on hover */
    background-position: 0% 100%; /* Animate to left */
  }
  .card:hover {
    cursor: pointer;
  }
.card:hover #pub-title {
    cursor: pointer;
    background-size: 100% 2px; /* Full width on hover */
    background-position: 0% 100%; /* Animate to left */
  }

.pub-dets {
    display: flex;  
    flex-direction: column;
    padding: 5px 60px 5px 60px;
    justify-content: space-between;
    align-items: flex-start;
}

.pub-img {
    width: 250px;
    height: 135px;
}



#event-bg {
    height: 630px;
    background: linear-gradient(0deg, rgba(18, 54, 121, 0.50) 0%, #123679 100%), url(assets/images/event.jpg) lightgray 50% / cover no-repeat;    display: flex;
    flex-direction: column;
}

#about-events {
    align-items: center;
    justify-content: space-between;
    display: flex;
    height: inherit;
    gap: 20px;
}
#ab-event {
    display: flex;
flex-direction: column;

    gap: 20px;
    max-width: 600px;
    min-width: 500px;
}

.events-area {
    display: flex;
    flex-direction: column;
    margin: 0 115px 0 115px;
}
.event-list {
    display: flex;
    gap: 20px;
    height: auto;
    flex-wrap: wrap;
}
.an-event {
    display: grid;
    gap: 0px;
    width: 550px;
    position: relative;
}
.event-date {
    grid-column: 1;
    height: 182px;
    width: 182px;
    display: flex;
    flex-direction: column;
    justify-content: center;
align-items: center;
}

.event-dets {
    grid-column: 2;
    height: 162px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 20px 10px 20px;
}

#event-name {
    
    /* Underline animation setup */
    background-image: linear-gradient(var(--links), var(--links));
    background-size: 0% 2px; /* Width:0, Height:2px */
    background-repeat: no-repeat;
    background-position: 100% 100%; /* Start from right */
    
    /* Animation */
    transition: background-size 0.8s ease;
  }
  
  .an-event:hover #event-name{
    cursor: pointer;
    background-size: 100% 2px; /* Full width on hover */
    background-position: 0% 100%; /* Animate to left */
  }

  #media-bg {
    height: 400px;
    background: linear-gradient(0deg, rgba(18, 54, 121, 0.50) 0%, #123679 100%), url(assets/images/media.jpg) lightgray 50% / cover no-repeat;
    display: flex;
    flex-direction: column;
  }

  .media-selected {
    height: 70px;
    width: -moz-available;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 20px;
  }

  #media-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0px 115px 100px 115px;
    gap: 20px;
  }
  .a-media {
    display: flex;
    flex-direction: column;
    background-color: white;
    height: 400px;
  }

  .media-name{
    height: 150px;
    align-content: center;
    padding-left: 20px;
    padding-right: 20px;

  }
  
    #med-name{

     /* Underline animation setup */
    background-image: linear-gradient(var(--links), var(--links));
    background-size: 0% 2px; /* Width:0, Height:2px */
    background-repeat: no-repeat;
    background-position: 100% 100%; /* Start from right */
    
    /* Animation */
    transition: background-size 0.8s ease;
    }
    
  .a-media:hover #med-name {
    cursor: pointer;
    background-size: 100% 2px; /* Full width on hover */
    background-position: 0% 100%; /* Animate to left */
  }

  .a-media:hover {
    cursor: pointer;
  }

  .thumbnail {
    display: grid;
    width: inherit;
    height: 250px;
    background: url(assets/images/vid-thumbnail.jpg);
    align-content: end;
  }
  .med-type {
    grid-column: 1;
    grid-row: 1;
    display: flex;
width: 60px;
height: 60px;
justify-content: center;
align-items: center;
aspect-ratio: 1/1;
background-color: var(--links);
z-index: 2;
  }

  #expert-bg {
    height: 400px;
    background: linear-gradient(0deg, rgba(18, 54, 121, 0.50) 0%, #123679 100%), url(assets/images/books.jpg) lightgray 50% / cover no-repeat;
    display: flex;
    flex-direction: column;
  }

  .expert:hover #event-name {
    cursor: pointer;
    background-size: 100% 2px; /* Full width on hover */
    background-position: 0% 100%; /* Animate to left */
  }

  #search-experts {
    padding-top: 50px;
  }

  #alphabet {
    padding: 0px 115px 30px 115px;
    display: flex;
 justify-content: space-between;
 justify-content: center;
  }
  .letters {
     font-family: "Cinzel";
    font-size: 24px;
    color: var(--main);
    height: 44px;
    width: 44px;
    margin: 0px;
    font-weight: 300;
    text-align: center;
    align-content: center;
    border-right: 1px solid var(--main);
  }
  .letters:hover {
    color: var(--links);
    cursor: pointer;
  }

  #expert-list {
    display: flex;
    flex-direction: column;
    padding: 0 115px 100px 115px;
  }

  .letter-section {
    display: flex;
    width: -moz-available;
    flex-direction: column;
    gap: 30px;
  }

  .actual-experts {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }
  .expert {
    text-decoration: none;
    display: flex;
    background-color: white;
    column-count: 1;
    padding: 5px;
    gap:20px;
    height: 180px;
  }

  .profile-pic {
    width: 150px;
height: 150px;
flex-shrink: 0;
aspect-ratio: 1/1;
    border-radius: 184px;
    align-self: center;
  }

  .exp-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }


  #publication-bg {
    height: 630px;
    flex-direction: column;
  }

  .navigate {
    display: flex;
    gap: 10px;
  }

  .nav-text {
        color: white;
    font-family: "Quattrocento";
    font-size: 24px;
    margin:0px;
    text-decoration: none;
  }

#pub-title:hover  {
    cursor: pointer;
    background-size: 100% 2px; /* Full width on hover */
    background-position: 0% 100%; /* Animate to left */
  }


  #pub-hero {
    display: flex;
    margin: 50px 115px 0px 115px;
    flex-direction: column;
    justify-content: center;
  }

  #pub-content {
    margin: 80px 115px 50px 115px;
    display: flex;
    gap:20px;
  }

  #content {
    width: calc(100vw * .551);
  }

#about {
    width: calc(100vw * .551);
  }

  #extra-info {
    width: calc(100vw * .269);
    display: flex;
    padding: 0px;
    flex-direction: column;
    gap:20px;
  }
  .topics {
    background-color: #EEEEEE;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .a-topic {
    padding: 10px;
    background-color: var(--main);
    color: white;
    font-family: "Quattrocento";
    font-size: 20px;
    width: fit-content;
  }

  #topic-list {
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
  }

  #similars {
    background-color: var(--main);
    display: flex;
    flex-direction: column;
    gap: 20px;
        padding: 20px;
  }
  .story {
    display: flex;
    flex-direction: column;
    width: calc((100% - 20px) / 2);
  }
  .story:hover #pub-title {
        cursor: pointer;
    background-size: 100% 2px; /* Full width on hover */
    background-position: 0% 100%; /* Animate to left */
}
  .sim-img {
    display: contents;
  }
  .share {
    display: flex;
    justify-content: space-evenly;
  }
  .PSA {
    margin: 40px 0px 0px 0;
 color: rgba(0, 0, 0, 0.70);
font-family: "Quattrocento";
font-size: 16px;
    width: calc(100vw * .551);
  }

#right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#author-pubs {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}
.author-pub-img {
    width: 100%;
}
.reach {
    display: flex;
    gap: 20px;
}

#media-content {
    margin: 80px 115px 20px 115px;
    display: flex;
    flex-direction: column;
    gap:20px;
  }

#vid-container {
    width: 70vw;
    align-self: center;
}
iframe {
    width: 100%; /* Fills container */
    aspect-ratio: 16/9; /* YouTube's native aspect ratio */
    border: none; /* Removes default iframe border */
  }

  #about-media {
    width: calc(100vw * .551);
  }

  #media-date {
    font-family: "Cinzel";
    font-size: 28px;
    color: var(--main);
    height: min-content;
    margin: 0px;
    text-align: end;
    width: auto;
  }

  .event-prompt {
    color: black;
    font-family: "Quattrocento";
    font-size: 28px;
    margin:0px;
  }

  .quattro-text {
        color: black;
    font-family: "Quattrocento";
    font-size: 20px;
    margin:0px;
  }

  .credits {
    background-color: var(--main);
        color: white;
    font-family: "Lora";
    font-size: 20px;
    margin:0px;
    width: auto;
    text-align: center;
    height: 30px;
    align-items: center;
  }

#auth-name {
    
    /* Underline animation setup */
    background-image: linear-gradient(var(--links), var(--links));
    background-size: 0% 2px; /* Width:0, Height:2px */
    background-repeat: no-repeat;
    background-position: 100% 100%; /* Start from right */
    
    /* Animation */
    transition: background-size 0.8s ease;
  }
  
#to-author:hover #auth-name {
    cursor: pointer;
    background-size: 100% 2px; /* Full width on hover */
    background-position: 0% 100%; /* Animate to left */
  }

