

/* Basic page style resets */
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}


body, html {
  min-height: 100%;
  height: 100%; 
  color: #000099;
  margin: 0;
  background-color: #b8d59d;
  scroll-behavior: smooth;
  cursor: url('img/2-22-cardinal_cursor-small-1.png') -10 40, auto;
}

body {
  scroll-behavior: smooth;
/*  display: flex;*/
  flex-direction: row;
  justify-content: left;
  align-items: stretch;
  font-family: monospace;
  font-size: 16px;
  overflow: hidden;
  scrollbar-color: #000044 transparent;
}





/* Navigation ------------------------------------------------------------------------------------------------------------*/

#mainNav {
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px 50px;
  border: 1px solid;
  position: fixed;
  background: linear-gradient(-90deg, rgba(255,255,255,1) 0%, rgba(222,244,222,1) 100%);

  span {
    display: inline-block;
  }

  span a, span a:visited {
    color: #000044;
    text-decoration: none;
  }

  > span a:not(:first-child) {
    margin-left: 25px;
  }

  #homeNav {
    font-family: "new-spirit", serif;
    font-weight: 600;
    font-style: normal;
    margin-right: 50px;
  }
}


@media (width < 900px) {
  #mainNav > span:not(:first-child) {
    display: none;
  }
}


/* Main ------------------------------------------------------------------------------------------------------------*/

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-behavior: smooth;
  height: 100vh;
  overflow-y: scroll;
  min-width: 600px;
  background: linear-gradient(-90deg, rgba(255,255,255,1) 0%, rgba(223,223,242,1) 50%, rgba(255,255,255,1) 100%);


  > section > *:first-child {
    margin-top: 0;
  }

  > section, > header {
    padding-top: 50px;
  }

  > section, > header,  > footer {
    width: 100%;
    max-width: 550px;
    padding: 50px 25px 75px 25px;
  }

  > section, > footer {
/*    min-height: 100%;*/
  }

  > section header {
    padding: 25px 0;
    position: sticky;
    top: 25px;
    background-image: linear-gradient(90deg, #e1f5e1 5%, #ebf8eb 100%);

    nav a {
      margin-right: 25px;
    }
  }

  > section > header nav {
    padding: 25px 0 0 0;

  }

  #projects {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 0px 0 20px 0;
    margin-top: -130px;
    font-size: 14px;

  }

  #rhizomes3 {
/*    position: absolute;*/
    max-width: 575px;
    left: 0;
    right: 0;
    margin-left: -5px;
  }

  footer {
    width: 100%; 
  }

  /* Images ------------------------------------------------------------------------------------------------------------*/

  img {
    max-width: 100%;  
  }

  img.max-width {
    max-width: 80vw;
  }

  figure {
    margin: 0; 
    
    figcaption {
      margin: 16px 0; 
      font-size: 14px;
      font-style: italic;
      line-height: 21px;
    }
    &.sensor-img {
      max-width: 200px;
      display: inline-block;
      vertical-align: top;
      margin: 0 10px 10px 0;
    }
  }

  #logo-grid {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;

    img {
      width: 150px;
      height: auto;
      margin: 0 25px 25px 0;
    }
  }
}




/* Type ------------------------------------------------------------------------------------------------------------*/


/* Links -------------------------------------------------*/

a {
  text-decoration: underline wavy;
  text-decoration-thickness: 1px;
}

a text {
  text-decoration: underline;
}

a, a:visited {
  color: #0000ff;
  font-weight: bold;
}


/* Headings -------------------------------------------------*/

h1, h2, h3 {
  font-weight: normal;
  line-height: 2rem;
}

h1 {
  font-size: 3rem;
  line-height: 3rem;
}

h2 {
  font-size: 2.1rem;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.7rem;
}
    
h1, h2, h3, h4 {
  font-family: "new-spirit", serif;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 0px;
}

h4 {
  font-weight: 800;
}

/* Emphasis -------------------------------------------------*/

.highlighted {
  color: #8b1050;
}

em {
  font-weight: 600;
}

/* Body text -------------------------------------------------*/

ul{
  padding-left: 15px;
}

ul {
  list-style-type: "→";
  
}

ul li, ol li {
  padding: 5px 15px;
  line-height: 1.5em;
}

p {
  line-height: 1.5em;
}


/* Table -------------------------------------------------*/

table {
  text-align: left;

  th, td  {
    padding-bottom: 15px;
  }

  td {
    padding-right: 45px;
  }

  th {
    padding-right: 15px;
    vertical-align: top;
  }
}

table.landscape-features {
  th {
    text-align: right;
  }

  td {
    text-align: left;
  }
}





