/* Import fonts */

@font-face {
  font-family: "EndnotesGroteskBold";
  src: url("EndnotesGroteskBold.woff") format("woff");
}

li {
  display: inline;
  /* text-decoration: overline; */
  /* float: left; */
  padding-right: 5px;
  font-family: "EndnotesGroteskBold";
}


.text {
  margin-top: 80px;
}


.hidden {
  display: none;
}

.ridden {
  display: none;
}

html,
body {
  height: 100%;
  font-family: "EndnotesGroteskBold";
  /* background-color: #C6FD63; */
  background-color: #defd63;
  color: #2b2b2b;
}

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.first-third {
  width: 20%;
  float: left;
  z-index: 3;
  /* border-style: solid; */
}

.second-third {
  width: 55%;
  float: left;
  /* border-style: solid; */
}

.third-third {
  width: 25%;
  float: right;
  /* border-style: solid; */
}

#content {
  height: 100%;
  /* margin: 0rem 0rem 0 .5rem; */
  display: flex;
}

.fixed {
  position: fixed;
}

.subscriptstyle {
  /* color: red; */
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  font-weight: 800;
  font-family:"EndnotesGroteskBold";
}

.stay {
  position: fixed;
  top: 0px;
  z-index: 1;
}

.subscript {
  bottom: 0px;
  position: fixed;
  z-index: 1;
  padding: 1em 1em 1em 0em;
  font-weight: 800;
  font-size: 18px;
}

.astunder {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  font-family: "EndnotesGroteskBold";
}

img {
  width: 100%;
  cursor: zoom-in;
}

/* Image Gallery */
#gallery {
  line-height: 0;
  -webkit-column-count: 4;
  -webkit-column-gap: 5px;
  -moz-column-count: 4;
  -moz-column-gap: 5px;
  column-count: 4;
  column-gap: 5px;
}

#gallery img {
  width: 100% !important;
  height: auto !important;
  margin-bottom: 5px;
}
*/ #gallery img:hover {
  filter: none;
}

@media (max-width: 1200px) {
  #gallery {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
  }
}

@media (max-width: 1000px) {
  #gallery {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
  }
}

/* @media (max-width: 800px) {
  #gallery {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
  }
} */

@media (max-width: 800px) {
  #gallery {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
}

#example1 {
  text-decoration: none;
  color: #defd63;
  background-color: #2b2b2b;
}

/* hide scroll */
element {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll;
}

element::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

/* Top Title Endnotes Interactive */
a:link.endnotes {
  text-decoration: none;
  color: #2b2b2b;
}

a:visited.endnotes {
  text-decoration: none;
  color: #2b2b2b;
}

a:hover.endnotes {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  background-color: #2b2b2b;
}

/* Black Highlight Interactive */

a:link.nounder {
  text-decoration: none;
  color: #defd63;
  background-color: #2b2b2b;
  font-family: "EndnotesGroteskBold";
}

a:visited.nounder {
  text-decoration: none;
  color: #defd63;
  background-color: #2b2b2b;
  font-family: "EndnotesGroteskBold";
}

a:active.nounder {
  text-decoration: none;
  color: #2b2b2b;
  background-color: #defd63;
  font-family: "EndnotesGroteskBold";
}

a:hover.nounder {
    cursor: pointer;
    padding: 0.2em 2.7px;
    margin: 0;
    border-radius: 1.5px;
    font-family: "EndnotesGroteskBold";
}

/* Asterisks Interactive */
.button:hover {
  font-family:"EndnotesGroteskBold";
  text-decoration: none;
  background-color: #2b2b2b;
  color: #defd63;
  cursor: pointer;
  padding: 0.2em 2.7px;
  margin: 0;
  border-radius: 1.5px;
}

/* Superscript Interactive */

:hover.blue{
  text-decoration: none;
  font-family:"EndnotesGroteskBold";
  color: #defd63;
  background-color: #2b2b2b;
  padding: 0.2em 2.7px;
  margin: 0;
  border-radius: 1.5px;
}

/* Regular Links Interactive */

a:link.statement {
  text-decoration: none;
  color: #defd63;
  background-color: #2b2b2b;
  font-family: "EndnotesGroteskBold";
}

a:visited.statement {
  text-decoration: none;
  color: #defd63;
  background-color: #2b2b2b;
  font-family: "EndnotesGroteskBold";
}

a:active.statement {
  text-decoration: none;
  color: #2b2b2b;
  background-color: #defd63;
  font-family: "EndnotesGroteskBold";
}

a:hover.statement {
  cursor: pointer;
  padding: 0.2em 2.7px;
  margin: 0;
  border-radius: 1.5px;
  font-family: "EndnotesGroteskBold";
}


@media only screen and (max-width: 800px) {
  body {
    background-color: none;
  }
  .mobile-only{
      display: block;
  }
  .desktop-only {
      display:none;
  }

  .bar {
    background-image: linear-gradient(rgb(222, 253, 99), rgb(255, 0, 0, 0) 100%);
    width: 100vw;
    height: 5vh;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
  }

  h1 {
    font-family: "EndnotesGroteskBold";
    font-weight: 800;
    font-size: 24px;
    /* line-height: ; */
  }
  
  h2 {
    font-family: "EndnotesGroteskBold";
    font-weight: 800;
    font-size: 24px;
    /* line-height: ; */
  }
  
  h3 {
    font-family: a-otf-ryumin-pr6n;
    font-weight: 100;
    line-height: 1.3;
    font-size: 24px;
    /* letter-spacing: .05rem; */
  }

  .aststyle {
    font-family: "EndnotesGroteskBold";
    font-weight: 800;
    font-size: 24px;
  }
}

@media only screen and (min-width: 800px) {

  .mobile-only{
      display: none;
  }
  .desktop-only {
      display:block;
  }

  .bar {
    background-image: linear-gradient(rgb(222, 253, 99), rgb(255, 0, 0, 0) 100%);
    width: 100vw;
    height: 10vh;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
  }

  h1 {
    font-family: "EndnotesGroteskBold";
    font-weight: 800;
    font-size: 3vw;
    /* line-height: ; */
  }
  
  h2 {
    font-family: "EndnotesGroteskBold";
    font-weight: 800;
    font-size: 1vw;
    /* line-height: ; */
  }
  
  h3 {
    font-family: a-otf-ryumin-pr6n;
    font-weight: 100;
    line-height: 1.3;
    font-size: 3vw;
    /* letter-spacing: .05rem; */
  }

  .aststyle {
    font-family: "EndnotesGroteskBold";
    font-weight: 800;
    font-size: 3vw;
  }
}

/* Style the navigation menu */
.topnav {
  overflow: hidden;
  /* background-color: pink; */
  position: fixed;
  /* Set the navbar to fixed position */
  top: 0;
  /* Position the navbar at the top of the page */
  width: 100%;
  /* Full width */
  z-index: 1;

}

.main {
  margin-top: 45px;
  /* Add a top margin to avoid content overlay */
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: #2b2b2b;
  padding: 14px 14px 14px 14px;
  text-decoration: none;
  font-size: 24px;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
  /* background: pink; */
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: #2b2b2b;
}

/* Style the active link (or home/logo) */
.active {
  /* background-color: #04AA6D; */
  color: white;
}