/* ---------VARIABLES--------- */
:root {
  /* --COLORS-- */
  --dark-color: #12130F;
  --dark2-color:#2E2928;
  --mid-color: #907C7F;
  --mid2-color: #BBB2AD;
  --light-color: #E2CECB;
  --accent-color: #A22522;
  
  /* --IMAGES-- */
}

/* ---------FONTS--------- */
/* Put this code in the HTML
<style>
@import url('https://fonts.googleapis.com/css2?family=Lekton:ital,wght@0,400;0,700;1,400&family=Syne+Mono&display=swap');
</style>
*/
.syne-mono-regular {
  font-family: "Syne Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.lekton-regular {
  font-family: "Lekton", monospace;
  font-weight: 400;
  font-style: normal;
}

.lekton-bold {
  font-family: "Lekton", monospace;
  font-weight: 700;
  font-style: normal;
}

.lekton-regular-italic {
  font-family: "Lekton", monospace;
  font-weight: 400;
  font-style: italic;
}

body {
  font-family: "Lekton", monospace;
  margin: 0;
  /* actual page bg color */
  background-color: black;
  background-size: 65px;
  /* body text color */
  color: var(--light-color);
  font-size: 15px;
}

* {
  box-sizing: border-box;
}

/* whole middle part */
#container {
  /* dont change value */
  max-width: 900px;
  /* centers page */
  margin: auto;
}

/* style for all links but nav links */
#container a {
  color: var(--accent-color);
  font-weight: bold;
  text-decoration: none;
}

#header {
  width: auto;
  /* header color here! */
  background-color: transparent;
  height: 150;
  background-image: url(resources/logo_red.png);
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
}

/* navigation section!! */
#navbar {
  height: 40px;
  background-color: transparent;
  width: 100%;
}

#navbar ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
}

#navbar li {
  padding-top: 10px;
}

/* navigation links*/
#navbar li a {
  font-family: "Syne Mono", monospace;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 20px;
  background: var(--dark-color);
}

/* navigation link when a link is hovered over */
#navbar li a:hover {
  font-family: "Syne Mono", monospace;
  color: var(--accent-color);
  font-size: 15px;
}

#flex {
  display: flex;
}

/* sidebar color */
aside {
  background-color: transparent;
  width: 200px;
  padding-left: 5px;
  padding-right: 10px;
  padding-bottom: 10px;
  font-size: smaller;
  border: 0px solid var(--accent-color);
}

main {
  background-color: transparent;
  border: 0px solid var(--accent-color);
  flex: 1;
  order: 2;
}

*/ #leftSidebar {
  order: 1;
}

#rightSidebar {
  order: 3;
}

footer {
  background-color: transparent;
  width: 100%;
  height: 40px;
  padding: 10px;
  text-align: left;
  color: var(--accent-color);
  font-size: smaller;
}

h1 {
  font-family: "Syne Mono", monospace;
  font-size: 25px;
}


/* BOXES */
.mainbox {
  background-color: transparent;
  border: 1px solid var(--accent-color);

}
.sidebox {
  border: 0px solid var(--accent-color);
  background-color:var(--dark-color);
}

.sidebox h2 {
  background-color: var(--dark2-color);
  color:var(--mid2-color);
  text-align:center;
}

.sidebox p{
  padding-top:0px;
  padding-left:5px;
  padding-right:5px;
  padding-bottom:15px;
}

.darkbox {
  background-color:var(--dark-color);
  margin-bottom:10px;
}

.darkbox h1 {
  background-color: var(--mid-color);
  text-indent:5%;
  color: var(--dark-color);
}

.darkbox p {
  padding-top:5px;
  padding-left:10px;
  padding-right:10px;
}

/* WARNING */

.warning {
 background-color: var(--accent-color);
 border: 1px dashed white;
 padding: 0px;
 color: white;
 text-align: center;
 font-size: smaller;
}

/* The close button */
.warningclosebtn {
  font-family: "Syne Mono", monospace;
  color: white;
  float: right;
  padding: 5px;
  font-size: 25px;
  line-height: 20px;
  transition: 0.2s;
}

/* When moving the mouse over the close button */
.warningclosebtn:hover {
  font-size: 20px;
}

/* BELOW THIS POINT IS MEDIA QUERY */

/* so you wanna change the width of your page? 
by default, the container width is 900px.
in order to keep things responsive, take your new height,
and then subtrack it by 100. use this new number as the 
"max-width" value below
*/

@media only screen and (max-width: 800px) {
  #flex {
    flex-wrap: wrap;
  }

  aside {
    width: 100%;
  
/* the order of the items is adjusted here for responsiveness!
since the sidebars would be too small on a mobile device.
feel free to play around with the order!
*/
main {
    order: 1;
  }

  #leftSidebar {
    order: 2;
  }

  #rightSidebar {
    order: 3;
   }

  #navbar ul {
    flex-wrap: wrap;
   }
}
}

.gallerybox {
  padding:5px;
  margin:5px;
}

.gallerybox img {
  padding:5px;
  border: 1px solid;
  border-color: var(--accent-color);
  cursor: pointer;
}

.gallerybox img:hover {
  transform:scale(75%)
}

/* The Modal (background) */
.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%;
  max-width: 800px;
}

/* Caption of Modal Image */
#caption {
  font-family: "Syne Mono", monospace;
  font-size:30px;
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  text-align: center;
  color: white;
  padding: 15px 0;
  height: 150px;
}

/* The Close Button */
.close {
  font-family: "Syne Mono", monospace;
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  transition: 0.2s;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
  font-size:35px;
}

/* Clear Floats */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}