@font-face {
  font-family: 'Neuland';
  src: url('global/fonts/Neuland Inline Regular.otf');
  font-family: 'african';
  src: url('global/fonts/african.ttf');
  font-family: 'Bee-TwoW01-Normal';
  src: url('global/fonts/Bee-Two W01 Normal.ttf');
    font-family: 'panther';
  src: url('global/fonts/panther.ttf');
  font-family: 'Dinosaurs';
  src: url('global/fonts/Dinosaurs.ttf');
  font-family: 'a';
  src: url('global/fonts/CaviarDreams.ttf');
}

*{
  margin: 0;
  padding: 0;
}

body {
  background-color: #4c4c4c;
}

.sticky-element {
  position: sticky;
  top: 50px;
}

#logo {
  width: 200px;
  height: 200px;
  margin-top: 10px;
  margin-left: 10px;
}






.flex-container {
  display: flex;
  justify-content: center;
  background-color: transparent;
}

.flex-container > h1 {
  background-color: transparent;
  text-align: center;
  font-family: 'african';
  font-size: 70px;
  font-weight: lighter;
  text-align: center;
  color: #e23123;
  margin-top: 80px;
  margin-bottom: 80px;
}

.flex-container > #sidebar > #stickybar {
  display: flex;
  flex-direction: column;
  align-items: left;
  background-color: #180806;
  min-width: 180px;
  margin: 10px;
  padding: 10px;
  border: 5px;
  border-color: #f0b83e;
  border-style: solid;
}
.flex-container > #sidebar > #stickybar > h2 {
  font-family: 'african';
  font-size: 25px;
  color: #e23123;
  text-align: left;
  font-weight: lighter;
  position: sticky;
  margin-bottom: 5px;
}
.flex-container > #sidebar > #stickybar > h3 {
  font-family: 'african';
  font-size: 15px;
  color: #ffffff;
  text-align: left;
  font-weight: lighter;
  margin-left: 0px;
}
.flex-container > #sidebar > #stickybar > h3 a:link {
  font-family: 'african';
  font-size: 15px;
  color: #ffffff;
}
.flex-container > #sidebar > #stickybar > h3 a:hover {
  font-family: 'african';
  font-size: 15px;
  color: #e23123;
  Margin: 0px;
}





.flex-container > #sidebar h4, #sidebar a:link{
  font-family: 'caviarDreams';
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bolder;
  line-height: 25px;
}
.flex-container > #sidebar a:hover {
  margin-left: 10px;
}
.flex-container > #sidebar a:active {
  color: #e23123;
}












.flex-container > #content {
  display: block;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px; /* optional spacing */
  align-items: flex-start; /* prevent items stretching/overlap */
  background-color: #180806;
  width: 600px;
  margin: 10px;
  border: 5px;
  border-color: #f0b83e;
  border-style: solid;
}

.flex-container > #content > h2{
  font-family: 'african';
  font-size: 40px;
  color: #e23123;
  margin-left: 10px;
  margin-top: 10px;
  font-weight: lighter;

}
.flex-container > #content > h3 {
  font-family: 'african';
  font-size: 20px;
  color: #ffffff;
  margin-left: 10px;
  font-weight: lighter;
  
}
.flex-container > #content > p {
  font-family: 'caviarDreams';
  font-size: 15px;
  color: #ffffff;
  margin-left: 10px;
}
.flex-container > #content > h3 a:link {
  font-family: 'african';
  font-size: 20px;
  color: #ffffff;
  font-weight: lighter;
}
.flex-container > #content > h3 a:hover {
  font-family: 'african';
  font-size: 20px;
  color: #e23123;
  font-weight: lighter;
}





/* The Image */
.flex-container > #content > div.img img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

* {
  box-sizing: border-box;
}

/* Add Responsiveness */
.flex-container > #content > .responsive {
  box-sizing: border-box;
  flex: 0 0 calc(25% - 9px); /* four columns, account for gap */
  max-width: 200px; /* prevents items getting too small on narrow viewports */
}

.flex-container > #content > .responsive .img {
  box-sizing: border-box;
  background: #180806;
}

.flex-container > #content > .responsive .img img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer; /* border between images */
  box-sizing: border-box;
}


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




/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
}



@-webkit-keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0.1)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* Responsive Columns */
@media only screen and (max-width: 700px){
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
  .modal-content {
    width: 100%;
  }
}

@media only screen and (max-width: 500px){
  .responsive {
    width: 100%;
  }
}

/* Clear Floats */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}









.flex-container > #content > details {
  font-family: 'african';
  margin: 15px;
  font-size: 15px;
  color: #ffffff;
  font-weight: lighter;
  cursor: pointer;
}

.flex-container > #content > summary {
  font-family: 'merriweather';
  margin: 15px;
  font-size: 15px;
  color: #ffffff;
  font-weight: lighter;
  cursor: pointer;
}

.flex-container > #content > details[open] {
  font-family: 'monserrat';
  font-size: 15px;
  color: #ffffff;
  font-weight: lighter;
  cursor: pointer;
}

.flex-container > #content > details[open] summary {
  font-family: 'african';
  font-size: 15px;
  color: #ffffff;
  font-weight: lighter;
  cursor: pointer;
}

.flex-container > #content > details > #Fig {
  width: 350px;
  height: auto;
}

.flex-container > #content > details > h2 {
  font-weight: bold;
  font-size: 15px;
}
























.flex-container > #rsidebar {
  display: flex;
  flex-direction: column;
  align-items: left;
  background-color: #180806;
  width: 180px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
  padding: 10px;
  border: 5px;
  border-color: #f0b83e;
  border-style: solid;
  height: 580px;
  width: 250px;
}
.flex-container > #rsidebar > h2 {
  font-family: 'african';
  font-size: 25px;
  color: #e23123;
  text-align: left;
  font-weight: lighter;
  position: sticky;
  margin-bottom: 5px;
}
.flex-container > #rsidebar h3, a:link {
  font-family: 'caviarDreams';
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bolder;
  line-height: 25px;
}
.flex-container > #rsidebar a:hover {
  color: #e23123;
}
.flex-container > #rsidebar > iframe {
  margin-bottom: 10px;
  width:fit-content:
  height: 350px;
  scrolling: auto;
}
























.footer {
  width: 100%;
  height: auto;
  background-color: #e23123;
  text-align: center;
  padding: 20px;
}
.footer, h2 a:link {
  font-size: large;
  font-family: 'caviarDreams';
  color: #f0b83e;
}

.footer h1 {
  font-family: 'african';
  font-size: 15px;
  color: #180806;
  margin: 10px;

}

.footer p {
  font-family: 'caviarDreams';
  font-size: 15px;
  color: #ffffff;
}
.footer img {
  width: 120px;
  height: auto;
  margin: 10px;
}

.footer h4 {
  font-family: 'caviarDreams';
  text-align: center;
}

.footer a:hover {
  color: #180806;
}
