* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family:Arial, Helvetica, sans-serif;
  color: black;
  overflow: hidden;
}

html {
  height: 100%;
  font-family:Arial, Helvetica, sans-serif;
}

body {
  position:relative;
  width: 100%;
  height:auto;
  height: 100%;
}

a {
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  line-height: normal;
  word-break: break-all; 
  text-decoration: none;
  color: black;
  -webkit-text-stroke: .09rem grey;
}

a:hover {
  text-decoration: none;
  -webkit-text-stroke: 0px black;
  color: black;
}

h1, h2 {
  font-family:Arial, Helvetica, sans-serif;
  text-align: center;
  letter-spacing: -1.5px;
}

h1 {
  font-size: 2.5rem;
  margin: 3.5rem 0 25rem;
  line-height: 2.7rem;
  color: rgb(80, 80, 80);
}

h2 {
  font-size: 2rem;
  margin: 7rem 0rem 2rem;
  position: sticky;
  top: 0;
  color: rgb(204, 204, 204);
padding: 0rem 0rem 0rem 0rem;
  background-color: rgb(129, 129, 129);
 z-index: 1;
 /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); */
 border: .5px solid black;
}

h3{
  font-size: 2.3rem;
  margin: .6rem 1rem .6rem 1rem;
  line-height: 2.4rem;
  letter-spacing: -1px;
}

h4 {
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-align: center;
  margin: 1rem 0rem 0rem 0rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.4rem;
  font-family:Arial, Helvetica, sans-serif;
}
p + p {
  text-indent: 5rem;
}

/* PAGE STYLES */
.header {
	background-image: linear-gradient(rgb(237, 237, 237),rgb(206, 206, 206));
  position: fixed;
  top: 0;
  height: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
/* 
#introduction, #exclusivity, #aura, #control, #conclusion, #bibliography {
  margin: 15rem 100rem 10rem;
  background: #fef39c;

} */

.header nav a {
margin: 2rem;
font-size: 1rem;
text-decoration: none;
cursor: pointer;
}

.slide-box {
  position: fixed;
  top: -100%; 
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.6s ease-out;

  background: #fef39c;
  color: black;
  border: .5px solid black;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  max-width: 450px;

  font-family:Arial, Helvetica, sans-serif;
  font-size: .8rem;
  padding: 1.3rem 0rem 1.3rem 0rem;
  font-size: .8rem;
  text-align: center;
}

.slide-box.active {
  top: 50%;
  transform: translate(-50%, -50%);
  color: black;
  border: 0.5px solid black;
} */

button {
  cursor: pointer;
  transition: background 0.3s;
  padding: 10px 20px;
  width: 60px;
  height: 60px;
}

.remove-btn {
  background: #FEEA3D;
  border: 0.5px solid black;
  padding: 4px;
}

.remove-btn:hover {
  background: grey;
}

.item2 {
  grid-area: frame;
  width: inherit;
  height: inherit;
  object-fit: cover;
}

.item3 {
  grid-area: main;
}

.grid-container {
  width:200vw;
  height: 100vh;
  display: flex;
  transform: translateX(0vw);
  transition: transform 500ms ease-in-out 0ms;
  background-color: rgb(255, 255, 255);
  /* border: 0.5px solid black; */
}

.grid-container.active{
  transform: translateX(-100vw);
}

.grid-container > div:first-child {
  height: 100%;
  flex-basis: 12rem;
  flex-shrink: 0;  
  background-color: grey;
}

.grid-container > div:last-child {
  height: 100%;
  text-align: center;
  flex-basis: 12rem;
  flex-shrink: 0;
  background-color: grey;
}

.grid-container > div:nth-child(2), div:nth-child(3)  {
  overflow-y: auto;
  border: 0.5px solid black;
  /* background-color: rgb(255, 255, 255); */
}

.stick-to-top {
  align-self: start;
  position: sticky;
  top: 0;
}

body.home .grid-container > div:nth-child(2),
body.home .grid-container > div:nth-child(3) {
  padding: 2rem;
  flex-basis: 100%;
}

body.home .grid-container > div:nth-child(2) {
  flex-basis: calc(100% - 1rem);
  background: url('../images/1px-left.jpg') ;
  background-repeat: repeat-y;
  background-size: 100%;
}

body.home .grid-container > div:nth-child(3) {
  flex-basis: calc(100% - 1rem);
  background: url('../images/1px-right.jpg') ;
  background-repeat: repeat-y;
  background-size: 100%;
}

/* FOOTNOTES */
.footnote-ref {
  cursor: pointer;
  font-weight: bold;
  background-color: #fef39c;
  padding: 0px 3px 0px 3px;
}

.footnote-popup {
  position: absolute;
  background: #fef39c;
  color: black;
  border: .5px solid black;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  max-width: 220px;
  display: none;
  z-index: 1;

  font-family:Arial, Helvetica, sans-serif;
  font-size: .8rem;
  padding: 1.8rem .5rem .5rem .5rem;
}

/* Title bar inside the yellow box */
.footnote-popup .titlebar {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.8rem;
  padding: 5px;
color: black;
inset: 0 0 auto 0;
position: absolute;
padding: 3px 3px 3px 10px;
background: #FEEA3D;
}

.footnotes{
visibility: hidden;
}






/* DESKTOP VERSION */
@media screen and (min-width: 1200px) {

  body.home .grid-container > div:nth-child(2),
  body.home .grid-container > div:nth-child(3) {
    flex-basis: 100%;
  }

  .grid-container,
  .grid-container.active {
    width: 100vw;
    transform: none;
  }

 #home,
 #about-bottom,
  #toggleButton{
    visibility: hidden;
    display: none;
  }
}



/* MOBILE VERSION */
@media (max-width: 1200px) {

  body.home .grid-container > div:first-child, 
  body.home .grid-container > div:last-child {
    display: none;
  }
  
#home,
#about-bottom,
 #toggleButton{
   visibility: visible;
 }
 
#toggleButton {
  margin: 1rem;
  color: grey;
}

#desktop{
  display: none;
}
  
a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: normal;
    word-break: break-all; 
    text-decoration: none;
    color: black;
    -webkit-text-stroke: .09rem grey;
  }
  
  a:hover {
    text-decoration: none;
    -webkit-text-stroke: 0px black;
    color: black;
  }
  
  h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.7rem;
    line-height: 1.7rem;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0rem 1rem 0rem;
    word-break: normal;
  }
  
  h2 {
    font-size: 2rem;
    margin: 9rem 0rem 3rem 0rem;
    text-align: center;
  }
  
  h3{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.2rem;
    font-weight: normal;
    margin: 0;
    margin: 0rem 0rem 0rem 0rem;
    word-break: normal;
  }
  
h4 {
    font-size: 1rem;
    text-align: center;
    margin: 0rem 0rem 0rem 0rem;
    color: grey;
  }
  
  p {
    font-size: 1rem;
    line-height: 1.3;
  }

  p + p {
    text-indent: 2.2em;
  }
  
  h5 {
    font-size: 2.3rem;
    margin: .6rem 1rem .6rem 1rem;
    line-height: 2.4rem;
    letter-spacing: -1px;
  }

  h6{
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: .65rem;
  text-align: center ;
  margin: -.5rem 2rem 4rem 2rem;
  color: grey;
}


}