:root {
  
  --bg-dark: #231e1d;
  --bg-lessdark: #2e2827;
  --mid-purple: #463A3A;
  --lt-teal: #176e69;
  --drk-teal: #0B3941;
  --brt-teal: #00a39b;
  --paper: #fcedc9;
  --parchment: #dbbb97;
  --wood: #563E24;
  --wood-transp: #563E24b3;
  
}

body {
  background-color: var(--bg-lessdark);
  color: var(--drk-teal);
  font-family: 'Alegreya Sans', sans-serif;
  width: 100%;
  margin: 0px;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: stretch;
}


.preload * {
  transition: none !important;
  animation-duration: 0.001s !important; 
}



/***** TEXT DEFAULTS *****/

h1, h2, h3 {
  font-family: 'Almendra SC', 'Alegreya SC', 'Alegreya', serif;
  font-weight: 700;
  color: var(--drk-teal);
  margin: 5px;
  word-spacing: 4px;
}


p {
  margin: 8px 5px;
  font-size: 17px;
}

ul {
  margin: 0px 5px;
}

em {
  color: var(--lt-teal);
}


a {
  font-weight: bolder;
}

a:link {
  color: var(--lt-teal);
}

a:visited {
  color: var(--lt-teal);
}

a:hover {
  color: var(--brt-teal);
}


.teala:hover {
  color: var(--drk-teal);
}

.teala:link {
  color: var(--drk-teal);
}

.teala:visited {
  color: var(--drk-teal);
}


/***** PAGE TOP + FOOTER *****/

.title {
  color: var(--paper);
  background-color: var(--drk-teal);
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.title h1{
  margin: 0px;
  color: var(--paper);
}

.title p{
  margin: 0px;
  color: var(--parchment);
}


.titlea:link {
  color: var(--paper);
  text-decoration: none;
  transition-duration: 0.3s;
}

.titlea:visited {
  color: var(--paper);
  text-decoration: none;
}

.titlea:hover {
  color: white;
  text-decoration: none;
}


.navbar {
  position: sticky;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  background-color: var(--lt-teal);
  top: 0;
  z-index: 50;
  min-height: 45px;
  margin: 0;
  color: var(--paper);
}

.navbar a{
  padding: 5px 20px;
  text-decoration: none;
  text-align: center;
  font-family: 'Alegreya Sans', sans-serif;
  letter-spacing: 0.5px;
  transition-duration: 0.3s;
}

.navbar a:link{
  color: var(--paper);
}

.navbar a:visited{
  color: var(--paper);
}

.navbar a:hover{
  color: white;
}


/* to add: responsive stuff in here */
@media (max-width: 800px){
  .navbar {
    position: static;
  }
}


.footer {
  text-align: center;
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  background-color: var(--lt-teal);
  padding-top: 4px;
  padding-bottom: 4px;
  width: 100%;
  color: var(--paper);
  height: 45px;
  margin-top: auto;s
}

.tb-img {
  height: 45px;
}


/***** PAGE ARRANGEMENT *****/

.content-shell{
  display: flex;
  width: 100vw;
  overflow-x: hidden;
  position: relative;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.content-meat {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 1200px;
  max-width: 100vw;
  align-items: center;
  align-self: center;
  background-color: #2e2827;
}

.box-shell{
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  position: relative;
}

.box-header{
  padding: 5px;
  background-color: var(--parchment);
  text-align: center;
  color: var(--drk-teal);
  width: 100%;
  border: solid 3px var(--lt-teal);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  outline: solid var(--parchment);
}

.box-header p {
  margin: 8px 5px;
  font-size: 17px;
  text-align: left;
  font-weight: 500;
}

.headera{
  transition-duration: 0.3s;
}


.headera:link {
  color: var(--drk-teal);
}

.headera:visited {
  color: var(--drk-teal);
}

.headera:hover {
  color: var(--lt-teal);
}

.box-body-shell{
  width: 100%;  
}

.box-body{
  padding: 10px;
  padding-top: 5px;
  background-color: var(--paper);
  height: 100%;
  width: calc(100% - 16px);
  display: flex;
  flex-direction: column;
  align-self: center;
  margin-top: 3px;
  box-sizing: border-box;
}

.box-body-cond{
  padding: 10px;
  background-color: var(--paper);
  box-sizing: border-box;
  height: auto;
  display: flex;
  flex-direction: column;
}

.box-body-cond p{
  margin: 3px 5px;
}

.buffer{
  height: 15px;
  width: 15px;
  min-height: 15px;
  min-width: 15px;
}

.buffer-2{
  height: 25px;
  width: 25px;
  min-height: 25px;
  min-width: 25px;
}

.main {
  flex: 50%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.rows {
  display: flex;
  box-sizing: border-box;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
}



.rowgap {
  gap: 25px;
}

.cols {
  display: flex;
  box-sizing: border-box;
  justify-content: space-between;
  flex-direction: column;
  gap: 15px;
  align-items: center
}

.height-250 {
  height: 250px;
}

.height-310 {
  height: 310px;
}


.flex-65 {
  width: 65%;
  align-self: center;
}

.flex-80 {
  width: 80%;
  align-self: center;
}


@media (max-width: 900px){
  
  .rows{
    justify-content: space-around;
    flex-direction: column;
  }
  
  .flex-65 {
    width: 100%;
  }
  
  .flex-80 {
    width: 100%;
  }
  
  .tb-img {
    display: none;
  }
  
}


/***** PAGE WIDGETS *****/

.button-box{
  display: flex;
  justify-content: center;
}

.button {
  background-color: var(--lt-teal);
  color: var(--paper);
  max-width: 400px;
  min-width: 50%;
  cursor: pointer;
  margin: 4px 2px;
  padding: 8px 10px;
  display: inline-block;
  text-align: center;
  border: none;
  font-family: 'Alegreya Sans SC', 'Alegreya Sans', sans-serif;
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: 0.5px;
  word-spacing: 4px;
  transition: all 300ms ease-in-out;
}

.button:link{
  color: var(--paper);
}

.button:visited{
  color: var(--paper);
}

.button:hover {
  background-color: var(--brt-teal);
  color: var(--paper);
}

.disabled {
  background-color: #7a6f5f;
  opacity: 0.5;
}

.disabled:hover {
  background-color: #7a6f5f;
  opacity: 0.5;
}

.inline-img {
  display: block;
  margin: 5px;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.floating-img {
  display: block;
  height: auto;
  max-height: 100%;
  box-sizing: border-box;
  width: 100%;
}

.inner-box {
  display: flex;
  justify-content: center;
  padding: 15px;
}


.wide-banner-shell {
  width: 100%;
  height: 100px;
  background-color: var(--drk-teal);
  display: flex;
  align-content: center;
  justify-content: center;
}


.hover-teal {
  transition: 0.3s;
}


.hover-teal:hover {
  filter: drop-shadow(0px 0px 10px #367171) brightness(1.2);
}

.hover-card {
  transition: 0.5s;
  position: relative;
  height: 100%;
  width: 100%;
}

.hover-card img{
  display: block;
  transition: 0.5s;
  height: 100%;
  width: 100%;
  z-index: 5;
  border-radius: 10px;
}

.hover-card p{
  color: var(--lt-teal); 
  font-weight: bolder;
}

.hover-card ul{
  text-align: left;
  font-weight: bolder;
  color: var(--drk-teal);
}

.hover-card-back{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px 0px 10px 10px;
}

.hover-card:hover .hover-card-back{
  visibility: visible;
  opacity: 1;
  transition: 0.5s;
}


@media (max-width: 900px){
  
  .hover-card {
    width: 100%
  }
  
  .hover-card img{
    height: 180px;
    object-fit: cover;
    width: 100%
  }
  
  .hover-card-back {
    visibility: visible;
    opacity: 1;
  }
  
}


.padded-sides {
  padding: 0px 20px
}

.padded-topbottom {
  padding: 20px 0px
}





/***** GALLERY STUFF *****/

.gallery {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  justify-content: space-between;
}

.gallery-col {
  flex: 25%;
  padding: 0 8px;
  box-sizing: border-box;

}

.gallery img {
  margin-top: 8px;
  vertical-align: middle;
  border: 1px solid var(--red-purple);
  border-radius: 4px;
  box-sizing: border-box;

}

.gallery img:hover {
  box-shadow: 0 0 4px 3px var(--paper);
  opacity: 0.8;
}


@media (max-width: 800px){
  .gallery-col{
    flex: 50%;
    max-width: 50%;
  }

}
  
@media (max-width: 600px){
  .gallery-col{
    flex: 100%;
    max-width: 100%;  
  }
  
  .navbar-padding{
    width: 0px;
  }
  
}



.slide-box {
  height: 760px;
  width: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.mySlides {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
}

.slideshow-controls {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 75px;
  color: var(--lt-teal);
  flex-direction: column;
}

.slideshow-indicator {
  border: 2px solid var(--lt-teal);
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

.slideshow-indicator-filled {
  background-color: var(--lt-teal);
}

.slideshow-indicator:hover {
  border: 2px solid var(--brt-teal);
  transition: 0.5s;
}

.slideshow-arrow:hover {
  color: var(--brt-teal);
  transition: 0.5s;
}



/***** GALLERY MODAL *****/

/* The Modal (background) */
.modal {
  display: none;  /*Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 55; /* Sit on top */
  padding-top: 10px;  /*Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;

  text-align: center;
  color: var(--paper);
  padding: 10px 0;
  height: 50px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: var(--lt-teal);
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.inline-svg {
  height: 200px;
}

.wizmeep {
  position: absolute;
  z-index: 5;
  left: -176px;
  top: 6px;
}



/***** SCOOTBOX STUFF *****/


.scootrows {
  width: 1400px;
  height: 500px;
  justify-content: stretch;
  gap: 0;
}


.scootbox {
  min-height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: right;
  overflow: hidden;
  position: relative;
  min-width: 0;
  -webkit-transition: min-width 0.3s;
  -moz-transition: min-width 0.3s;
  -o-transition: min-width 0.3s;
  transition: min-width 0.3s;
  background-image: linear-gradient(#C5F7FF, #000000);
}

.scootbox p {
  font-size: 28px;
  font-family: Almendra;
  font-weight: bold;
  color: var(--paper);
}

.caption {
  background-color: var(--wood-transp);
  z-index: 3;
  -webkit-transition: min-width 0.5s;
  -moz-transition: min-width 0.5s;
  -o-transition: min-width 0.5s;
  transition: background-color 0.5s;
}

.corner-cap {
  border-radius: 25px 0px 0px;
  padding: 0px 8px 0px 20px;
}


.stretch-cap {
  width: 100%;
  text-align: center;
}


.main-img{
  opacity: 0.7;
  position: absolute;
  -webkit-transition: min-width 0.5s;
  -moz-transition: min-width 0.5s;
  -o-transition: min-width 0.5s;
  transition: opacity 0.5s;
}

.img-scoot{
  position: absolute;
  height: 500px;
  left: -360px;
}

.left-0 {
  left: 0;
}

.left-50 {
  left: -50px;
}

.left-100 {
  left: -100px;
}

.left-300 {
  left: -300px;
}

.top-50 {
  top: -50px;
}

.top-100 {
  top: -100px;
}

.abs-center{
  left: 0; 
  right: 0; 
  height: 100%;
}


.bar {
  width: 100%;
  height: 46px;
  background-color: var(--lt-teal);
  flex-shrink: 0;
}


.scootbox:hover {
  min-width: 350px;
}


.scootbox:hover .main-img{
  opacity: 1;
}

.scootbox:hover .caption{
  background-color: var(--drk-teal);
}

.tex-bg {
  background-image: url(/site-graphics/abstract_tex.png);
}


@media (max-width: 1400px) {
  
  .scootrows {
    width: 100%;
  }

}


@media (max-width: 1100px) {
  .scootrows {
    flex-direction: column;
    width: 100%;
    flex-wrap: nowrap;
    height: 750px;
  }
  
  .scootbox {
    min-width: 100%;
    max-width: 100%;
  }
  
  .scoot-img {
    top: -50px;
    height: auto;
  }
  
  .scoot-caption {
    padding: 0px 20px 0px 20px;
  }
  
}

@media (max-width: 1100px) and (min-width: 900px) {
    .scoot-img {
    left: 0;
  }
}

@media (max-width: 900px) {
  
  .scoot-caption {
    background-color: var(--drk-teal);
  }
  
  .smallhide {
    display: none;
  }
  
}



/*     DROPDOW STUFF   */

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.navbar li {
  float: left;
}

.navbar li a, .dropbtn {
  display: inline-block;
  color: var(--paper);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar li a:hover, .dropdown:hover .dropbtn {
  background-color: var(--brt-teal);
}

.li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--lt-teal);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}


.rowshell {
  background-color: var(--drk-teal);
  width: 100%;
  display: flex;
  justify-content: center;
}


.minh-200 {
  min-height: 200px;
}

.minh-300 {
  min-height: 300px;
}

.maxw-50{
  max-width: 50%;
}

.maxw-30 {
  max-width: 30%;
}

.maxw-23 {  
  max-width: 23%;
}

.maxh-200 {
  max-height: 200px
}



@media (max-width: 900px){
  
  .maxw-50{
    max-width: 100%
  }
  
  .maxw-30{
    max-width: 100%
  }
  .maxw-23{
    max-width: 100%
  }
  
  .maxh-200{
    max-height: unset;
  }
  
  
}