/*
Theme Name: Schwartz Website
Text Domain: 
Version: 1.0.0
Author: SciStories
Author URI: http://scistories.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


:root {
  /* Fonts */
  --mainFont: 'Nunito Sans', sans-serif;
  --boldFont: 'Nunito Sans', sans-serif;

  /*Colors*/
  --navyBlue: #355070;
  --aqua: #2a9d8f;
  --orange: #ec6b5a;
  --gold: #f7d492;
  --black: #232323;
  --white: #ffffff;
}

html,
body {
  overflow-x: hidden;
  position: relative;
}

html {
  font-size: 62.5%; /*10 px = 1rem */
}

body {
  font-size: 16px;
  font-size: 1.6rem;
  font-family: var(--mainFont);
  color: var(--navyBlue);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--boldFont);
  font-weight: 600;
}

h1 {
  font-size: 3.2rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 3.2rem;
  letter-spacing: 0.5rem;
}

h2 {
  font-size: 3.2rem;
  color: var(--navyBlue);
  text-transform: uppercase;
  margin-bottom: 4.8rem;
  letter-spacing: 0.5rem;
}

h3 {
  font-size: 2.4rem;
  color: var(--navyBlue);
}

p {
  color: var(--navyBlue);
  font-size: 1.6rem;
  font-family: var(--mainFont);
  margin-bottom: 0;
}

a {
  color: var(--orange);
  font-family: var(--boldFont);
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.6rem;
}

ol,
ul {
  margin-bottom: 0;
  padding-left: 0;
}

a:hover {
  color: var(--aqua);
}

b,
strong {
  font-family: var(--boldFont);
  font-weight: 600;
}

/* UTILITIES */

@media screen and (max-width: 767px) {
  .container {
    width: 90%;
    margin: 0 auto;
  }
}

.gold {
  color: var(--gold);
}

.green-bold {
  color: var(--aqua);
  font-family: var(--boldFont);
  font-weight: 600;
}

.white {
  color: var(--white);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: 0.4rem;
}

.mb-8 {
  margin-bottom: 0.8rem;
}

.mt-24 {
  margin-top: 2.4rem;
}

.mb-24 {
  margin-bottom: 2.4rem;
}

.mb-32 {
  margin-bottom: 3.2rem;
}

.mt-40 {
  margin-top: 4rem;
}

.mb-40 {
  margin-bottom: 4rem;
}

.mb-48 {
  margin-bottom: 4.8rem;
}

.mt-56 {
  margin-top: 5.6rem;
}

.mt-88 {
  margin-top: 8.8rem;
}

.mb-88 {
  margin-bottom: 8.8rem;
}

.pt-88 {
  padding-top: 8.8rem;
}

.pb-88 {
  padding-bottom: 8.8rem;
}

.relative {
  position: relative;
}

.img-shadow {
  filter: drop-shadow(4px 4px 11px rgba(0, 0, 0, 0.49));
}

.img-box-shadow {
  box-shadow: 4px 4px 11px 0px rgba(0, 0, 0, 0.5);
}

.img-radius {
  border-radius: 190px;
}

.gap-16 {
  gap: 1.6rem;
}

.gap-24 {
  gap: 2.4rem;
}

.gap-40 {
  gap: 4rem;
}

.cloud {
  position: relative;
}

.cloud-img::before {
  content: "";
  background-image: url(../img/team_graphic_1.svg);
  width: 130%;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  inset: 0;
  top: -265px;
  left: -35px;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .cloud-img::before {
    top: -185px;
    left: -27px;
  }
}

@media screen and (min-width: 1024px) {
  .cloud-img::before {
    top: -220px;
    left: -35px;
  }
}

/* ILUSTRATIONS */

@media screen and (min-width: 1024px) {

  .balloon::after {
    content: "";
    background-image: url(../img/balloon.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    display: inline-block;
    width: 100px;
    height: 500px;
    transform: scaleX(-1);
  }

  .orange-glasses::after {
    content: "";
    background-image: url(../img/running.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    display: inline-block;
    width: 40px;
    height: 40px;
  }

  .orange-writing::after {
    content: "";
    background-image: url(../img/write.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    display: inline-block;
    width: 75px;
    height: 75px;
  }

  .cell::after {
    content: "";
    background-image: url(../img/cell.png);
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
    display: inline-block;
    width: 100px;
    height: 100px;
  }

  .idea::after {
    content: "";
    background-image: url(../img/idea.png);
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
    display: inline-block;
    width: 100px;
    height: 100px;
  }

  .parachute-item::after {
    content: "";
    background-image: url(../img/parachute.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    display: inline-block;
    width: 80px;
    height: 100px
  }

  .parachute-item--mirror::after {
    transform: scaleX(-1);
  }



  .top__left {
    position: absolute;
    top: 22%;
    left: -3%;
  }

  .top__right {
    position: absolute;
    top: 0;
    right: 0;
  }

  .bottom__left {
    position: absolute;
    bottom: -50px;
    left: 0;
  }

  .bottom__right {
    position: absolute;
    bottom: -50px;
    right: 0;
  }

  .bottom__right--team {
    bottom: -110px;
  }

  .top__right--team {
    top: -80px;
    right: 0;
  }

  .top__left--team {
    top: 63%;
    left: -5%;
  }

  .bottom__left--research {
    bottom: 0;
  }

  .bottom__right--research {
    bottom: -10px;
  }

  .top__left--research {
    top: 0;
  }

  .top__right--research {
    top: 60%;
  }

  .bottom__right--software {
    bottom: -160px;
  }

  .bottom__left--software {
    bottom: -144px;
  }

  .top__left--software {
    top: -100%;
  }

  .top__right--software {
    top: calc(100% - 400px);
    z-index: -1;
  }

  .bottom__left--updates {
    bottom: -144px;
  }

  .bottom__right--updates {
    bottom: -144px;
  }

  .top__left--updates {
    top: 34%;
  }

  .top__right--updates {
    top: calc(100% - 500px);
  }

  .bottom__left--news {
    bottom: -144px;
  }

  .bottom__right--news {
    bottom: -144px;
  }

  .top__left--news {
    top: 34%;
  }

  .top__right--news {
    top: calc(100% - 500px);
  }

  .bottom__left--publications {
    bottom: -144px;
  }

  .bottom__right--publications {
    bottom: -144px;
  }

  .top__left--publications {
    top: 34%;
  }

  .top__right--publications {
    top: calc(100% - 500px);
  }

  .top__left--contact {
    top: -30%;
  }

  .top__right--contact {
    display: none;
  }

  .bottom__left--contact {
    bottom: -88px;
  }
}

@media screen and (min-width: 1400px) {

  .balloon::after {
    width: 130px;
  }

  .orange-glasses::after {
    width: 50px;
    height: 50px;
  }

  .orange-writing::after {
    width: 100px;
    height: 100px;
  }

  .bottom__right--team {
    bottom: -95px;
  }

  .top__right--team {
    top: 90px;
    right: 0;
  }


  .top__right--research {
    top: 60%;
    right: 0;
  }

  .bottom__right--software {
    bottom: -160px;
  }

  .top__right--contact {
    display: block;
    top: 175px;
    right: -50px;
  }

}

@media screen and (min-width: 1610px) {
  .bottom__left--contact {
    left: -8%;
  }


  .top__right--contact {
    top: 175px;
    right: -80px;
  }
}


/* MENU */

.ss-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 95px;
  padding-left: 0;
  padding-right: 0;
}

@media screen and (min-width: 1024px) {
  .ss-navbar {
    height: 105px;
  }
}

.menu {
  list-style: none;
  display: flex;
}

.navbar__logo {
  line-height: 0;
}

.navbar__logo__img {
  width: 120px;
}

@media screen and (min-width: 1024px) {
  .navbar__logo__img {
    width: 160px;
  }
}

.navbar__social {
  display: flex;
  flex-shrink: 0;
  gap: 1.6rem;
}

.twitter,
.instagram {
  background-color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.twitter a,
.instagram a {
  line-height: 0;
}

.instagram i,
.twitter i {
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
  padding-left: 0.1rem;
}

.twitter i {
  padding-top: 0.1rem;
}

.navbar__burger {
  cursor: pointer;
}

.navbar__burger div {
  width: 25px;
  height: 3px;
  background-color: var(--navyBlue);
  margin: 5px;
  transition: all 0.3s ease;
}

.menu.nav-active {
  transform: translateX(0%);
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  font-size: 2rem;
  font-family: var(--mainFont);
}

.nav-link:hover {
  color: var(--white);
}

.navbar__desktop {
  display: none;
}

.navbar__mobile {
  display: flex;
}

@media screen and (min-width: 1024px) {

  .nav-link {
    padding-top: 1px;
  }

  .nav-link:hover {
    color: var(--green);
  }

  .navbar__mobile {
    display: none;
  }

  .navbar__desktop {
    display: flex;
  }
}

.current_page_item .nav-link {
  color: var(--white);
  font-weight: var(--boldFont);
  font-weight: 600;
  text-decoration: underline;
}

@media screen and (min-width: 1024px) {
  .current_page_item .nav-link {
    color: var(--navyBlue);
    font-weight: var(--boldFont);
    font-weight: 600;
    text-decoration: none;
  }
}

.navbar__menu ul li:last-child {
  padding-bottom: unset;
}

.navbar__burger {
  margin-left: 2.4rem;
}

@media screen and (max-width: 1023px) {
  .menu {
    position: absolute;
    right: 0;
    height: calc(100vh - 95px);
    top: 95px;
    background-color: var(--navyBlue);
    flex-direction: column;
    width: 70%;
    transition: transform 0.5s ease-in;
    transform: translateX(100%);
    z-index: 3;
    align-items: center;
    justify-content: start;
    padding-top: 6.4rem;
  }

  .nav-item {
    padding-bottom: 6rem;
    opacity: 0;
  }

  .nav-link {
    color: var(--white);
  }
}

@keyframes fadeLinks {
  from {
    opacity: 0;
    transform: translate(50px);
  }

  to {
    opacity: 1;
    transform: (0px);
  }
}

.toggle .first {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .second {
  opacity: 0;
}

.toggle .third {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media screen and (min-width: 1024px) {
  .navbar__menu {
    display: flex;
    gap: 4.8rem;
    width: 100%;
    justify-content: center;
  }

  .navbar__burger {
    display: none;
  }

  .menu {
    gap: 3rem;
  }

  .nav-link {
    text-decoration: none;
    color: var(--textColor);
  }
}

.icon__transform {
  transform: rotate(-180deg) translateX(-2rem);
  /* transition: all 0.3s ease; */
}

/* HERO */


.hero--mobile {
  display: block;
}

.hero--tablet {
  display: none;
}

.hero--laptop {
  display: none;
}

.hero--large {
  display: none;
}

@media screen and (min-width: 768px) {
  .hero--mobile {
    display: none;
  }

  .hero--tablet {
    display: block;
  }

  .hero--laptop {
    display: none;
  }

  .hero--large {
    display: none;
  }

}

@media screen and (min-width: 992px) {
  .hero--mobile {
    display: none;
  }

  .hero--tablet {
    display: none;
  }

  .hero--laptop {
    display: block;
  }

  .hero--large {
    display: none;
  }

}

@media screen and (min-width: 1200px) {
  .hero--mobile {
    display: none;
  }

  .hero--tablet {
    display: none;
  }

  .hero--laptop {
    display: none;
  }

  .hero--large {
    display: block;
  }

}

.hero {
  width: 100%;
  height: 300px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

.hero--home {
  height: 500px;
}

.hero--research {
  height: 500px;
}

@media screen and (min-width: 768px) {
    .hero {
    height: 500px;
  }

}

@media screen and (min-width: 992px) {

  .hero {
    height: 600px;
  }

  .hero--home {
    height: 1000px;
  }

  .hero--research {
    height: 800px;
  }
}

@media screen and (min-width: 1200px) {
  .hero {
    height: 700px;
  }
}

@media screen and (min-width: 1440px) {
  .hero {
    height: 950px;
  }
}

@media screen and (min-width: 1980px) {

  .hero {
    height: 1150px;
  }

  .hero--home {
    height: 1350px;
  }

  .hero--research {
    height: 1150px;
  }
}

.hero__content {
  height: 100%;
  align-items: flex-end;
  padding-bottom: 4rem;
  flex-direction: column;
  width: 90%;
  align-items: center;
  justify-content: end;
  position: relative;
  z-index: 2;
}

@media screen and (min-width: 1024px) {
  .hero__pb40 {
    padding-bottom: 4rem;
  }
}

@media screen and (min-width: 2000px) {
  .hero p {
    padding-bottom: 16rem;
  }

  .hero__pb40 {
    padding-bottom: calc(4rem + 12rem);
  }
}

.hero__content p {
  color: var(--white);
}

/* HOME */




@media screen and (max-width: 767px) {
  .hero--home h1 {
    margin-bottom: unset;
  }
}

@media screen and (min-width: 1200px){
  .hero--home h1 {
    padding-left: 16rem;
    padding-right: 16rem;
  }
}

.home__research a {
  color: var(--navyBlue);
  text-decoration: none;
}

.home__research a:hover {
  text-decoration: underline;
}

/* TEAM */

.hero__content--team p {
  margin-bottom: 3rem;
}

@media screen and (max-width: 767px) {
  .hero__content--team p {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .team__intro__text {
    display: none;
  }

  .hero__content--team p {
    display: block;
    padding-left: 15%;
    padding-right: 15%;
  }
}

@media screen and (min-width: 1024px) {
  .hero__content--team p {
    margin-bottom: 8rem;
  }
}

.img-team {
  object-fit: cover;
  width: 250px;
  height: 350px;
}

@media screen and (min-width: 768px) {
  .img-team {
    width: 180px;
    height: 250px;
  }
}

@media screen and (min-width: 1024px) {
  .img-team {
    width: 330px;
    height: 410px;
  }
}

.envelope {
  background-color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  line-height: 0;
  color: var(--white);
  margin: 0 auto;
  text-decoration: none;
}

.envelope:hover {
  color: var(--white);
}

.team-img--gallery {
  border-radius: 200px;
}

.lab-bg {
  background-image: url(../img/team_graphic-2.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (min-width: 1440px) {
  .lab-gallery {
    padding-top: 4rem;
    bottom: 4rem;
  }
}
/* RESEARCH AREAS */

.hero__content--research h1 {
  margin-bottom: 3rem;
}

@media screen and (max-width: 767px) {
  .research__content {
    margin-top: 2.4rem;
  }
}

@media screen and (min-width: 768px) {
  .research__content {
    padding-left: 2.4rem;
  }

  .img-research {
    max-height: 500px;
  }
}

@media screen and (min-width: 1024px) {
  .hero__content--research h1 {
    margin-bottom: 8rem;
  }

  .intro-text p {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .hero__content--research p {
    margin-bottom: 8rem;
    padding-left: 4.8rem;
    padding-right: 4.8rem;
  }
}

@media screen and (max-width: 767px) {
  .funding__logo {
    margin-bottom: 3.2rem;
  }
}

.funding {
  z-index: -1;
}

/* CONTACT */

.hero__content--contact p {
  margin-bottom: 3rem;
}

@media screen and (min-width: 1024px) {
  .hero__content--contact p {
    margin-bottom: 8rem;
  }
}

.address-img {
  width: 100px;
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 1024px) {
  .address-img {
    width: 150px;
  }
}

.iframe-container iframe {
  width: 100%;
  max-width: 100%;
  filter: drop-shadow(5px 5px 5px #000);
}

.contact-info p {
  margin-bottom: 2.4rem;
}

@media screen and (max-width: 767px) {
  .contact-info {
    flex-direction: column-reverse;
  }

  .iframe-container {
    margin-bottom: 0.8rem;
  }
}

.with_frm_style input[type="text"],
.with_frm_style input[type="password"],
.with_frm_style input[type="email"],
.with_frm_style input[type="number"],
.with_frm_style input[type="url"],
.with_frm_style input[type="tel"],
.with_frm_style input[type="phone"],
.with_frm_style input[type="search"],
.with_frm_style select,
.with_frm_style textarea,
.frm_form_fields_style,
.with_frm_style .frm_scroll_box .frm_opt_container,
.frm_form_fields_active_style,
.frm_form_fields_error_style,
.with_frm_style .frm-card-element.StripeElement,
.with_frm_style .chosen-container-multi .chosen-choices,
.with_frm_style .chosen-container-single .chosen-single {
  background-color: #dfe8ef;
  box-shadow: none;
  font-family: var(--mainFont);
  font-size: 1.8rem;
  padding: 2.4rem 1.6rem;
  border-color: transparent;
  border-radius: 10px;
}

.frm_style_formidable-style.with_frm_style input::placeholder,
.frm_style_formidable-style.with_frm_style textarea::placeholder {
  color: var(--navyBlue);
}

.frm_style_formidable-style.with_frm_style textarea {
  padding-top: 1.6rem;
}

.frm_submit {
  display: flex;
  justify-content: end;
}

.frm_style_formidable-style.with_frm_style
  .form-field
  input:not([type="file"]):focus,
.frm_style_formidable-style.with_frm_style textarea:focus {
  background-color: #dfe8ef;
  color: var(--navyBlue);
  box-shadow: none;
  border-radius: 10px;
  border-color: transparent;
}

.frm_style_formidable-style.with_frm_style .frm_submit {
  position: relative;
  justify-content: flex-start;
}

.frm_style_formidable-style.with_frm_style .frm_submit button {
  background-color: transparent;
  color: var(--orange);
  border: none;
  font-family: var(--mainFont);
  border-radius: 0;
  font-weight: 700;
  box-shadow: none;
  padding-left: 0;
  font-size: 1.6rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  font-size: 1.8rem;
}

.frm_style_formidable-style.with_frm_style .frm_submit button:hover {
  background-color: transparent;
  color: var(--orange);
  border: none;
  font-family: var(--mainFont);
  border-radius: 0;
  font-weight: 700;
  text-decoration: underline;
}

.frm_style_formidable-style.with_frm_style .frm_submit button::after {
  content: "\f138";
  font-family: "Font Awesome 6 Free";
  display: inline-block;
  width: 50px;
  position: absolute;
  left: 55px;
  font-size: 2.4rem;
}

@media screen and (min-width: 1024px) {
  .contact__position {
    grid-column: 2/3;
    grid-row-start: 1;
    position: absolute;
    inset: 0;
    top: 0;
  }

  .contact__position2 {
    grid-column: 4/5;
    grid-row-start: 1;
    position: absolute;
    inset: 0;
    top: 10%;
    left: -5rem;
  }

  /* .bottom-left-position--idea {
    left: -3rem;
    bottom: -25px;
  } */
}

/* @media screen and (min-width: 1440px) {
  .bottom-left-position--idea {
    left: -10rem;
  }
} */

/* SOFTWARE */

.index-0 {
  z-index: 0;
}

.software__content {
  margin-bottom: 2.4rem;
  flex-basis: 100%;
}

@media screen and (min-width: 768px) {
  .software__content {
    margin-bottom: 2.4rem;
    flex-basis: 45%;
  }
}

@media screen and (min-width: 1024px) {
  .software__content.b-100 {
    flex-basis: 100%;
  }

  #software {
    margin-bottom: 14.4rem;
  }
}

/* UPDATES */

.cloud-img--updates::before {
  top: -50px;
  left: -45px;
  width: 125%;
}

@media screen and (min-width: 768px) {
  .cloud-img--updates::before {
    left: -33px;
    width: 120%;
  }
}

@media screen and (min-width: 1024px) {
  .cloud-img--updates::before {
    top: -50px;
    left: -10px;
    width: 105%;
  }
}

.img-publications {
  width: 350px;
  height: 210px;
}

.publication__content {
  flex-basis: 100%;
}

@media screen and (min-width: 768px) {
  .publication__content {
    flex-basis: 45%;
  }
}

.publication__content img {
  width: 350px;
}

.publication__content__data a,
.updates__container a {
  color: var(--navyBlue);
  text-decoration: none;
}

.publication__content__data a:hover,
.updates__container a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 1024px) {
  .publication__content__data {
    padding-left: 8rem;
    padding-right: 8rem;
  }

  .updates__container {
    padding-right: 4.8rem;
  }

  #updates {
    margin-bottom: 14.4rem;
  }
}

/* SELECT */

.filter-label {
  margin-right: 2.4rem;
}

.years {
  justify-content: start;
}

@media screen and (min-width: 768px) {
  .years {
    justify-content: end;
  }
}

.select__dropdown {
  background: transparent;
  color: var(--orange);
  box-shadow: none;
  border: none;
  appearance: none;
  cursor: pointer;
  font-family: var(--boldFont);
  font-weight: 600;
  margin-bottom: 4.8rem;
  padding-right: 3rem;
}

.select__icon {
  position: relative;
}

.select__icon::after {
  content: "\f13a";
  font-family: "Font Awesome 6 Free";
  font-weight: 700;
  display: inline-block;
  width: 50px;
  position: absolute;
  font-size: 2.4rem;
  pointer-events: none;
  color: var(--orange);
  top: -5px;
  right: -25px;
}

/* PAGINATION */

.page-pagination {
  flex-basis: 100%;
}

.pagination {
  gap: 1.6rem;
  margin-top: 4.8rem;
}

.pagination-button {
  background-color: transparent;
  color: var(--navyBlue);
  border-radius: 50%;
  border: none;
  box-shadow: none;
  width: 25px;
  height: 25px;
  border: 1px solid var(--navyBlue);
}

.pagination-button.active {
  background-color: var(--orange);
  color: var(--white);
  border: 1px solid var(--orange);
}

/* FOOTER */

footer {
  background-color: var(--orange);
}

.footer-desc {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.footer-desc p,
.footer-desc a {
  color: var(--white);
  font-family: var(--mainFont);
}
