/**
 * Theme Name: AR 2024
 * Template:   twentytwentyfour
 */

 body {
  font-family: 'Work Sans', sans-serif;
}

.canvas_animation {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover;
  object-position: 50% 50%;
  background-color: black;
}

.snapping #floating_corn {
  opacity: 1;
}

#floating_corn {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  filter: blur(3px) brightness(1.3) contrast(.8);
}

body.loaded {
  overflow: auto
}

html {
  overscroll-behavior-y: none;
}

html body.snapping {
 scroll-snap-type: y mandatory;
 background-color: #a88048;
 overscroll-behavior-y: none;
}

.section {
  z-index: 1;
  position: relative;
  margin-bottom: 211vh;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  position: relative;
}

.snapping .section {
  scroll-snap-align: end center;
  scroll-snap-stop: always;

}

#section1 {
  margin-bottom: 660vh;
  opacity: 1;
  color: #ffffff;
  text-align: center;
  line-height: 1em;
  font-weight: 100;
  font-size: 2em;
}

#loading_text_container {
  width: 4em;
  position: relative;
  z-index: 1;
  margin: 0px auto;
}

.loaded #loading_text_container {
  display: none;
}

#section1 .loading_image {
  background-image: url(/annualreport/2024/wp-content/themes/twentytwentyfour-child/final_build/wireframe2.jpg);
  background-size: cover;
  background-position: center center;
  position: absolute;
  width: 100vw;
  height: 100vh;
  clip-path: inset(100vh 0vw 0vw 0vw);
}

.loaded #section1 .loading_image {
  display: none;
}

.snapping #nav {
   opacity: 1;
}

#nav {
  margin-bottom: 0px;
  padding: 5em;
  height: calc(100vh - 10em);
  display: grid;
  grid-template-columns: 1fr 3fr;
  opacity: 0;
  width: calc(100% - 10em);
}

#nav ul {
   overflow: auto;
     margin: 0px;
     font-weight: 400;
   display: grid;
    grid-template-columns: 1fr 1fr;
     list-style: none;
     text-align: left;
     column-gap: 3em;
     row-gap: 3em;
  width: 100%;
   height: 100%;
}

#nav ul li ul {
  margin-top: 1em;
  display: block;
  overflow: visible;
}

#nav a {
  color: #000000;
  text-decoration: none;
}

#nav a:hover,
#nav a:focus {
  color: #d00000;
}

#nav ul li {
  font-weight: 600;
    overflow: visible;
  border-left: 1px solid rgba(0,0,0,.2);
    padding-left: 1em;
}

#nav ul li ul {
    margin-top: 1em;
  display: block;
    overflow: visible;
}

#nav ul li ul li {
    padding: 0px;
    border: 0px;
  font-weight: 400;
  list-style: disc;
    padding-left: 0px;
    margin-left: -1.5em;
}

@media screen and (max-width: 950px) {
  #nav {
    margin-bottom: 0px;
    backdrop-filter: blur(20px);
    background-color: rgba(255,255,255,.1);
    padding: 3em 1em;
    width: calc(100vw - 2em);
    height: calc(100vh - 6em);
    display: grid;
    grid-template-columns: 1fr;
    opacity: 0;
  }
  
  #nav .twentytwentyfour {
    display: none;
  }
  
  #nav .nav_list {
    padding-left: 0em;
    overflow: auto;
    padding: 3em 1.5em;
  }
  
  #nav ul {
    display: block;
  }
  
  #nav ul li {
     margin-bottom: .5em;
  }
  
  #nav ul li ul {
    margin-bottom: 1.5em;
  }
}

#section2 {
  margin-bottom: 149vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: end;
  padding: 10vh;
  height: 80vh;
  color: #121212;
  font-size: 1.5em;
  overflow: hidden;
}

#previous_section,
#next_section {
  position: fixed;
  top: 5rem;
  left: 1.65rem;
  transform: rotate(90deg) scaleX(70%);
  border: 0px;
  background-color: transparent;
  color: #ffffff;
  font-size: 1.5rem;
  z-index: 2;
  font-family: 'Work Sans', sans-serif;
  cursor: pointer;
  text-shadow: 1px 1px 6px #000000;
  padding: .5em 1em;
  opacity: 0;
}

.snapping #previous_section,
.snapping #next_section {
  opacity: .7;
}

#previous_section:hover,
#next_section:hover,
#previous_section:focus,
#next_section:focus {
  background-color: rgba(0,0,0,.2);
}

#next_section {
  top: 5.5em;
}

@media screen and (max-width: 950px) {
  #previous_section {
    top: 1.7em;
    left: .23em;
  }

  #next_section {
    top: 3.2em;
    left: .23em;
  }
}

#menubutton {
  position: fixed;
  top: 3em;
  left: 3em;
  z-index: 2;
  background-color: transparent;
  padding: 0;
  width: 100%;
  height: 30px;
  border: none;
  color: #ffffff;
  opacity: 0;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  text-shadow: 1px 1px 6px #000000;
}

#section_label {
  position: relative;
  top: -1.8em;
  left: 3em;
}

#section_slider {
  margin: 0px;
  padding-left: 0px;
  display: inline;
  position: relative;
  list-style: none;
  top: -1.2em;
  left: 9.1em;
  transition: top .4s ease-in-out;
  line-height: 1em;
}

#section_slider li {
  margin: 0px;
  padding: 0;
  margin-bottom: 1.009em;
}

.snapping #menubutton {
  opacity: 1;  
}

@media screen and (max-width: 950px) {
   #menubutton {
    top: 1.5em;
    left: 1.5em;
  }
}

#menubutton .bars .bar {
    width: 30px;
    height: 4px;
    background-color: #ffffff;
    margin-bottom: 5px;
    transition: background-color .1s ease-in-out,transform .1s ease-in-out,opacity .1s ease-in-out;
    opacity: 1;
    transform: rotate(0);
    border-radius: 1px;
    display: block;
}

#menubutton .bars {
    position: relative;
    width: auto;
    height: auto;
    display: block;
    margin-top: .2em;
}

#menubutton.on .bars {
   margin-bottom: 27px;
   top: 8px;
}

#menubutton.on .bars .bar {
    transform: rotate(45deg);
    top: -2px;
    position: absolute;
}

#menubutton.on .bars .bar.two {
    transform: rotate(-45deg);
    position: absolute
}

#menubutton.on .bars .bar.three {
    opacity: 0
}


#year_line {
  border-bottom: 0px;
  border-top: 2px solid #d00000;
  width: calc(0% - 10em);
  position: relative;
  top: 1.4em;
  margin-left: 0px;
}

#en {
  width: 3.5em;
}

#research_at{
  margin-top: auto;
  width: 10em;
  margin-bottom: .5em;
  opacity: .1;
  position: relative;
  left: 20vw;
}

#nebraska{
  width: 22em;
  display: block;
  position: relative;
  left: -50vw;
  opacity: .1;
}

@media screen and (max-width: 950px) {
  #section2 {
    padding: 1em;
    height: calc(100vh - 2em);
    width: calc(100vw - 2em);
    font-size: 1em;
  }
  
  #research_at {
    width: 35vw;
  }  
  
  #nebraska {
    width: 65vw;
  }
  
  #en {
    width: 15vw;
  }
}

.active .section_text {
filter: blur(0px);
opacity: 1;
}

.section_text {
height: 6em;
width: calc(100% - 4em);
object-fit: contain;
object-position: center center;
z-index: 2;
position: absolute;
top: calc(50% - 2em);
margin: 0px 2em;
filter: blur(40px);
transition: all .5s ease-in-out;
opacity: 0;
}

.section_text.two_lines {
height: 12em;
top: calc(50% - em);
}

.story {
  background-color: rgba(255,255,255,.6);
  backdrop-filter: blur(5px);
  width: 0vw;
  height: 12.5vw;
  min-height: 12.5vw;
  margin: 0% auto;
  margin-bottom: 10.5vw;
  position: relative;
  top: 7vw;
  opacity: 0;
  transition: width .2s ease-in-out;
  transition-delay: .5s;
  left: 1em;
  background-image: url(https://research.unl.edu/annualreport/2023/wp-content/uploads/2023/10/230811_Aemal_Khattak_031-1024x683.jpg);
  background-size: cover;
  box-shadow: inset -15px 15px 28px rgba(0,0,0,.25);
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.vertical .story {
   margin-bottom: 18vh;
   top: 12vh;
   min-height: 22vh;
 }

.story1 {
  transform: skew(-1deg, 2deg);
}

.active .story {
  width: 18vw;
  opacity: .9;
}

.vertical .active .story {
  width: 34vh;
}

.active .story2 {
  width: 23vw;
  transition-delay: .54s;
}

.vertical .active .story2 {
  width: 39vh;
  left: 1vw;
}

.active .story3 {
  transition-delay: .58s;
  width: 23vw;
  transform: skew(2deg, 0deg);
}

.vertical .active .story3 {
  width: 40vh;
  left: 1vw;
}

.red_gradient_bg {
  background-color: rgba(255,255,255,.8);
  background: rgb(208,0,0);
  background: linear-gradient(45deg, rgba(208,0,0,.7) 34%, rgba(246,137,31,.7) 100%);
  backdrop-filter: blur(7px);
}

.red_gradient_bg h2,
.red_gradient_bg h3 {
  color: #ffffff;
}

.white_bg {
  backdrop-filter: blur(3px);
  background-color: rgba(255,255,255,.2);
}

.gray_bg {
  backdrop-filter: blur(3px);
  background-color: rgba(0,0,0,.5);
  backdrop-filter: grayscale(8%) blur(23px);
  color: #ffffff;
}

.section h2 {
  font-size: 3em;
  line-height: .9em;
}

.section h3 {
  font-size: 2.5em;
}

@media screen and (max-width: 950px) {
  .section h2 {
    font-size: 2em;
  }
  
  .section h3 {
    font-size: 1.5em;
  }
}

.gray_bg h2,
.gray_bg h3 {
  color: #ffffff;
}

.research_number {
  font-size: 4em;
  line-height: 1em;
  font-weight: 1;
  position: relative;
  top: 1em;
  opacity: 0;
  transition: all .6s cubic-bezier(.43,.21,0,1.01);
  filter: blur(3px);
}

.numbers_section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 2em;
  row-gap: 2em;
}

@media screen and (max-width: 950px) {
  .numbers_section {
    display: block;
  }
}

.numbers_section p {
  margin: 0px;
}

.numbers_section div:nth-child(odd) .research_number {
  transition-delay: .1s;
}

.active .research_number {
  opacity: 1;
  top: 0em;
  filter: blur(0px);
}

.margin_section {
  height: calc(100vh - 11em);
  width: calc(100% - 8em);
  padding: 4em;
  padding-top: 7em;
}

@media screen and (max-width: 950px) {
  .margin_section {
    height: calc(100vh - 5em);
    width: calc(100% - 4em);
    padding: 2em;
    padding-top: 3em;
  }
}
.section .inner_content {
  overflow: auto;
  overflow-x: hidden;
}

.inner_content hr {
  border-top: 1px solid #d00000;
  border-bottom: none;
  margin: 2em auto;
  width: 0%;
  transition: width 20s ease; 
}

.active .inner_content hr {
  width: 100%;
}

.graph_item {
  display: flex;
  margin-bottom: .7em;
  flex-wrap: wrap;
}

.graph_bar {
  background-color: #d00000;
  height: 1.5em;
  width: 0%;
  display: inline-block;
  margin: 0em 1em 0em 0em; 
  text-align: right;
  transition: all .6s cubic-bezier(.43,.21,0,1.01);
  backdrop-filter: blur(6px);
  opacity: 1;
  border-radius: 0px 4px 4px 0px;
}

.graph_text {
   white-space: nowrap;
}

@media screen and (max-width: 950px) {
  .graph_text {
     white-space: normal;
    display: block;
  }
  
  .graph_item {
    display: block;
  }
}

.graph_nu {
  background-color: #ffd74e;
  height: 100%;
  display: inline-block;
  border-left: 2px solid #333333;
  position: relative;
  border-radius: 0px 4px 4px 0px;
}

.active .graph_item:nth-child(1) .graph_bar {
    width: calc(100% - 1em);
}

.graph_item:nth-child(1) .graph_nu {
    width: calc(80% - 1px);
}

.active .graph_item:nth-child(2) .graph_bar {
    width: 38%;
    background-color: #f6891f;
}

.graph_item:nth-child(2) .graph_nu {
    width: calc(90% - 1px);
}

.active .graph_item:nth-child(3) .graph_bar {
    width: 28%;
    background-color: #249ab5;

}

.graph_item:nth-child(3) .graph_nu {
    width: calc(5% - 1px);

}

.active .graph_item:nth-child(4) .graph_bar {
    width: 21%;
    background-color: #bbca32;

}

.graph_item:nth-child(4) .graph_nu {
    width: calc(2% - 1px);
  
}

.active .graph_item:nth-child(5) .graph_bar {
    width: 9%;
    background-color: #ffd74e;

}

.graph_item:nth-child(5) .graph_nu {
    width: calc(5% - 1px);
}

.active .graph_item:nth-child(6) .graph_bar {
    width: 5%;
  background-color: #a5238b;
}

.graph_item:nth-child(6) .graph_nu {
    width: calc(5% - 1px);
}

.active .graph_item:nth-child(7) .graph_bar {
    width: 2%;
  background-color: #081626;
}

.active .graph_item:nth-child(8) .graph_bar {
    width: 2%;
  background-color: #c7c8c9;
}
.active .graph_item:nth-child(9) .graph_bar {
    width: 1%;
}

.graph_item:nth-child(9) .graph_nu {
    width: calc(90% - 1px);
}

.active .graph_item:nth-child(10) .graph_bar {
    width: 3%;
  background-color: #f5f1e7;
}

.graph_item:nth-child(13) .graph_bar {
    width: 1.5em;
}

.graph_item:nth-child(14) .graph_bar {
    width: 1.5em;
}

.graph_item:nth-child(14) .graph_nu {
    width: calc(100% - 1px);
}

.active.grid_story_section {
  row-gap: 4em;
  column-gap: 4em;
}

.grid_story_section {
      height: calc(100vh - 11em);
      width: calc(100% - 8em);
      padding: 4em;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      row-gap: 0em;
      column-gap: 0em;
      padding-top: 7em;
      transition: all .6s cubic-bezier(.43,.21,0,1.01);
  }

  .grid_story_section.two {
      grid-template-columns: 1fr 1fr;
  }

  .grid_story_section.four {
      grid-template-columns: 1fr 1fr 1fr 1fr;
  }

@media screen and (max-width: 950px) {
  .grid_story_section,
  .grid_story_section.two,
  .grid_story_section.four {
    grid-template-columns: 1fr;
    row-gap: 1em !important;
  }
}

.storylink {
  background-color: rgba(0,0,0,.9);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0);
  transition: all .5s ease-in-out;
  background-image: url(https://research.unl.edu/annualreport/2023/wp-content/uploads/2023/10/230811_Aemal_Khattak_031-1024x683.jpg);
  background-size: cover;
  background-position: 50% 35%;
  padding: 1em;
  text-align: center;
}

.storylink:hover,
.storylink:focus {
   color: rgba(255,255,255,1);
   background-image: none !important;
}

@media screen and (max-width: 950px) {
 .active .storylink {
     color: rgba(255,255,255,1);
     background-image: none !important;
  }
}

#vc_welcome {
  padding: 5em;
  height: calc(100vh - 10em);
  color: #ffffff;
  display: grid;
  justify-items: center;
  align-items: center;
  width: calc(100% - 10em);
}

.grid_two_thirds_section {
  grid-template-columns: 3fr 1fr;
  column-gap: 4em;
  display: grid;
}

@media screen and (max-width: 950px) {
  #vc_welcome {
    padding: 2em;
    height: calc(100vh - 4em);
    width: calc(100vw - 4em);
    overflow: auto;
  }
  
  .grid_two_thirds_section {
    grid-template-columns: 1fr;
  }
}

#vc_welcome img {
  width: 30%;
  float: left;
  margin-right: 3em;
  border-radius: 8px;
  box-shadow: 1px 1px 10px rgba(0,0,0, .2);
}

@media screen and (max-width: 950px) {
  #vc_welcome img {
    width: 100%;
    margin: 0 0 1em 0;
  }
  
}

#about_the_cover {
  font-size: .7em;
  border-left: 1px solid #F6891F;
  padding-left: 2em;
  color: #000000;
}  

#about_the_cover h2 {
  color: #000000;
}

#about_the_cover img {
  width: 100%;
  margin-right: 0px;
  margin-bottom: 1.5em;
  border-radius: 8px;
  box-shadow: 1px 1px 10px rgba(0,0,0, .2);
}

#about_the_cover h2 {
  font-size: 1.5em;
}

@media screen and (max-width: 950px) {

  #about_the_cover h2,
  #about_the_cover {
    color: #ffffff;
    border-left: none;
    padding-left: 0em;
  }
  
  #about_the_cover img {
    margin-top: 3em;
  }
}

.red_sidebar {
  padding: 1.5em;
  border-radius: 10px;
}

.red_sidebar h2 {
  margin-top: 0px 
}


.red_sidebar h3 {
  font-size: 1.3em;
  text-transform: uppercase;
}

#economicimpact {
  background-image: url(/annualreport/2024/images/20240506-usdacenter-01-nt_1.png);
  background-position: 100% center;
  background-size: cover;
  backdrop-filter: blur(3px);
  color: #ffffff;
}

#ecosystem a {
  color: #dddddd;
  text-decoration: none;
}

#ecosystem a:hover,
#ecosystem a:focus {
  color: #ffffff;
  text-decoration: underline;
}

#vc_welcome a,
.red_sidebar a {
  background-color: #ffffff;
  padding: .3em .5em;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

#vc_welcome a:hover,
#vc_welcome a:focus,
.red_sidebar a:hover,
.red_sidebar a:focus{
  background-color: #F6891F;
  color: #ffffff;
}

#credits {
  background-color: rgba(33,33,33,.77);
  color: #ffffff;
  backdrop-filter: grayscale(1);
}

#credits h2 {
  color: #ffffff;
}

#scholarly_impact {
  grid-column: span 2;
}

#scholarly_impact h3 {
  line-height: .1em;
  font-size: 1.5rem;
  text-transform: uppercase;
}
