
/* VARIABLES */

@font-face {
  font-family: 'lulo-clean-bold';
  src: url('../fonts/FontsFree-Net-Lulo-Clean-W01-One-Bold.ttf'); /* IE9 Compat Modes */
}

:root {
  --link-color: rgb(57,142,181);
  --color-test: red;

  --font-sm: 14px;
  --font-md: 18px;
  --font-lg: 24px;
  --font-xl: 36px;

}

/* ELEMENTS */

h1 {
  font-size: var(--font-xl);
  font-family: lulo-clean-bold, sans-serif;
  margin-bottom: 44px;
}

p, a, li, button {
  font-family: Helvetica;
  font-size: var(--font-md);
}

body.single figure {
  text-align: center;
}

body.single .wp-post-image {
  max-height: 400px;
}

.scientist-list {
  list-style-type: none;
  display: inline;
}

.scientist-list img {
  object-fit: cover;
  height: 200px;
  width: 200px;
}

.scientist-list a {
  color: var(--link-color);
  font-size: var(--font-md);
  font-weight: bold;
  word-break: break-all;
}

/* HEADER */

.header-logo {
  background-color: white;
  max-width: 100px;
  margin: auto;
}

/* NAV  DESKTOP*/

.nav {
  background-color: black;
  margin-bottom: 24px;
  padding: 12px 0;
}

.nav .desktop-menu {
  text-align: center;
}

.nav .desktop-menu ul {
  float: center;
  list-style: none;
}
.nav .desktop-menu ul li {
  display: inline-block;
  padding: 8px;
  border-top: 2px solid gray;
  margin: 0 5px;
  box-sizing: border-box;
}
.nav .desktop-menu ul li a {
  text-decoration: none;
  color: grey;
  font-weight: bold;
  padding: 8px;
  
}
.nav .desktop-menu ul li a:visited {
  color: grey;
}
.nav .desktop-menu ul li:hover {
  color: white;
  border-top: 2px solid white;
}

.nav .desktop-menu ul li a:hover {
  color: white;
}

.nav .desktop-menu ul li a:active {
  color: white;
  border-top: 3px solid white;
}

.menu {
  text-align: center;
}


/* NAV MOBILE */


.nav .mobile-nav a {
  font-size: 6rem;
  color: white;
}

.nav .mobile-menu {
  display: none;
}

.nav .mobile-menu ul {
  float: center;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  padding-bottom: 12px;
}

.nav .mobile-menu ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 3rem;
  padding: 8px;
}

/* SOCIAL ICONS */

.nav .social-icons a {
  color: gray;
  padding: 5px;
}

.prev-next.mobile {
  margin-top: 100px;
  display: none;
  padding-bottom: 50px;
}

.prev-next.mobile div {
  width: 50%;
  float: left;
}

.prev-next.mobile .next {
  padding-left: 12px;
}

.prev-next.mobile .prev {
  padding-right: 12px;
}

.prev-next.desktop {
  margin-bottom: 72px;
}

@media (max-width: 1200px){
  .nav .social-icons a {
    font-size: 3.5rem !important;
    line-height: 8.5rem !important;
    color: white !important;
  }

  .prev-next.mobile {
    display: block;
  }

  .prev-next.desktop {
    display: none;
  }

} 

.nav .social-icons {
  text-align: center;
}

.nav .social-icons a:hover {
  color: white;
}

/* HOME MESSAGING */

.home-messaging h2 {
  font-size: var(--font-md);
  font-family: lulo-clean-bold, sans-serif;
  margin-bottom: 12px;
}

.home-messaging p {
  font-size: var(--font-sm);
  color: #515151;
}

/* SEARCH */

form.search {
  margin-bottom: 44px;
}

form.search input,
form.search select,
form.search button {
  font-size: 24px;
}

form.search button {
  width: 100%;
  font-weight: bold;
  border: 0;
}

form.search button:hover {
  background: red; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(left, orange , yellow, green, cyan, blue, violet); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(right, orange, yellow, green, cyan, blue, violet); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(right, orange, yellow, green, cyan, blue, violet); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to right, orange , yellow, green, cyan, blue, violet); /* Standard syntax (must be last) */
}

/* FOOTER */

footer {
  height: 200px;
  background-color: lightgray;
  padding: 24px;
  color: white;
  font-weight: bold;
  margin-top: 48px;
}

footer .copyright {
  text-transform: uppercase;
  font-size: var(--font-sm);
}