
              @font-face {
                font-family: DTM-Sans;
                src: url('/projects/fonts/DTM-Sans.ttf');
            }
            
              @font-face {
                font-family: Pixel-Operator;
                src: url('/projects/fonts/PixelOperator.ttf');
            }
            
              @font-face {
                font-family: Pixel-Operator;
                src: url('/projects/fonts/PixelOperator-Bold.ttf');
                font-weight: bold;
            }
         
/*global colors. change here to see the effect*/
:root {
  --backgroundcolor: black;
  --textcolor: white;
  --header:#969696; /*insert image here later maybe. like a cool header or something idk*/
  --main: black;
  --footer: black;
  --borders: #212121;

  /*links*/
  --link: #fef101;
  --linkhover: #ffadc9;
  
  /*headings*/
  --h1: #2b2b2b;
  --h2: #2b2b2b;
  --h3: #2b2b2b;
  --h4: #2b2b2b;
  --h5: #2b2b2b;
  --headerunderline: #212121;
  
  /*boxes*/
  --quotebackground:grey;
  --quotetext: #2b2b2b;
  --boxbg: black;
  --showcontentborder:grey;
  
  --seriesofbg:#bfbfbf;
  --seriesoftext:#2b2b2b;
  
  /*infotable*/
  --infoboxbg: black;
  --centertext: #7f7f7f;
  --boldtext: white;
  --infotext: white;
}



body{
  background-color: var(--backgroundcolor);
  font-family:Pixel-Operator;
  font-size: 20px;
  margin: 0;
  color: var(--textcolor);
}

::-moz-selection { /* Code for Firefox */
                    color: black;
                    background: lime;
                  }
                  
                ::selection {
                    color: black;
                    background: lime;
                  }
/*container*/
.wrapper{ 
 min-height: 100vh;
 margin: auto;
 /*width of the content*/
 width: 85%;
 margin: auto;
 border:2px solid var(--borders);
 margin-top: 15px;
 margin-bottom: 15px;
}
/*main content*/
main{
 padding: 15px;
 background: var(--main);
 min-height: 100vh;
   clear: left;
}
/*links*/
a{
 color: var(--link); 
}
/*link hover*/
 a:hover{
 text-shadow: 0 0 1px ;
 color: var(--linkhover);
 text-decoration: underline;
}
header{
  height: 100px;
  border-bottom:2px solid var(--borders);
  background-size:100%;
}
/*back button*/
.back-button{
  height: 30px;
  width: fit-content;
  padding: 5px;
  margin-left: -20px;
  margin-top: -20px;
  border: 2px solid var(--borders);
  background: black;
  font-family: DTM-Sans;
  font-size: 20px;
  line-height: 21px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}
/*prevent image overflow*/
main img{
  max-width: 100%;
}
/*footer*/
footer{
  background:var(--footer);
  padding: 35px;
  border-top:2px solid var(--borders);
  text-align: center;
  color: grey;
}

/*headers*/
h1,h2,h3{
  font-family: DTM-Sans;
  overflow: hidden;
  border-bottom: 2px solid var(--headerunderline); 
}
h2{
  font-size: 25px; 
}
h3{
  font-size: 20px; 
}
h4{
  font-size: 17px;
}
h5{
  font-size: 17px;
  margin-left: 30px;
}

/*table of contents*/
.showcontent{
  padding: 3px;
  font-weight: bold;
}
.contents{
 background-color:var(--boxbg);
 width: 17%;
 padding: 7px;
 border: 2px solid var(--showcontentborder);
}
/*this changes the dropdown to a hamburger menu for desktop screens*/
.toc summary {
    list-style-type:;
}
.toc ul{
 list-style: none;
  margin-left: -30px;
}

.toc li {
  padding: 5px;
    margin-left: 0px;
}

/*quotes*/
.quotebox{
  border: 26px solid transparent;
  border-image: url(https://i.imgur.com/eRh2YpB.gif) 52 stretch;
  border-image-slice: 27.3% fill;
  width: 35%;
  background-size: cover;
  font-family: DTM-Sans;
  font-size:20px;
  padding: 5px; 

}

#quotebox-cite{
  font-size: 20px;
  padding-left: 15px;
  color: grey;
  font-style: italic;
}


/*flair with image- delete above if using. you will need to play with the width and height to make it fit properly*/

/*  #flair::before { background-image: url('https://i.ibb.co/SwkXQjP/itsalime.png');
  background-size: cover;
  background-size: 20px 25px;
  display: inline-block;
  width: 20px; 
  height: 20px;
  margin-left: 4px;
  content:" ";
}*/

/*infotable*/
.infotable {
  float: right;
  margin-left: 5px;
  background: var(--infoboxbg);
  border-left: 2px solid var(--borders);
  border: 2px solid var(--borders);
  width:24%;
  font-size: 17px;
  margin-left: 18px;
  color: var(--infotext);
  
}

.infotable img{
  max-width: 100%;
  margin: auto;
}

#tabs{
  width: 100%;
  text-align: center;
  overflow: scroll !important;
  align-items: flex-end;
  display: flex;
  position: relative;
  scrollbar-width: none;
}

#button-box{
  display: flex;
  justify-content: center;
  
}

#button {
  background-color: black;
  border: none;
  color: white;
  font-family: DTM-Sans;
  font-size: 16px;
  padding: 10px;
  cursor: pointer;

}

.infotable th {
  text-align: left;
  width: 45%;
 
}
.infotable th{
  font-size: 17px;
  padding: 5px;
  color: white;
}
.infotable td{
  padding-top: 5px;
  padding-bottom: 5px;
}
.infotable ul{
  list-style: none;
  padding: 0px;
  margin: 4px;
}

#centertext{
  text-align: center;
  background: var(--centertext);
}
/*clear float after infobox*/
#clear::after {
  content: "";
  clear: both;
  display: table;
}

/*gallery*/

.gallery-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.gallery-row img{
  object-fit: contain;
}

figcaption{
  color: gray;
}

figure{
  align-content: center;
}

figure img{
  border: 2px solid #2b2b2b;
}

audio{
  background:#000000;
  padding:4px;
  width:150px;
  height:20px;
  border-radius:40px;
  filter: invert(1);
}

li{
  padding:3px 0 3px 0;
    margin-left: 25px;
}

iframe{
  align-content: center;
  width: 45%;
}

#iframe-pinterest{
  border: none;
}

#iframe-box{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}


.spoiler{
  background-color: gray;
  color: transparent;
  user-select: none;
}

.spoiler:hover{
  background-color: inherit;
  color: inherit;
}


/*responsiveness*/

/*narrow*/
@media(max-width: 900px) {
  .infotable{
    width: 30%;
  }
    .wrapper{
    width: 100%;
  }
      .chapters{
    width: 50%;
  }
  .reveal{
    width: 60%;
  }
    .back-button{
    margin-left: 10px;
  }
  }  
/*medium*/
@media(max-width: 1250px) {
  .infotable{
    width: 35%;
  }
   .contents{
    width: 40%;
  }
  }  

/*mobile */
@media(orientation: portrait) {
    header{
    height:44px;
  }
  .quotebox{
    width: 80%;
    margin: auto;
    padding: 5px;
    display: inline-block;
  }
  body{
    margin-top: 0px;
  }
   .infotable{
    width: 100%;
     margin-bottom: 20px;
  }
 
  .wrapper{
    width: 95%;
  }
    .chapters{
    width: 50%;
  }
  .main{
    padding-top: 20px;
  }
  .contents{
    width: 95%;
  }
   .reveal{
    width: 95%;
  }
    iframe{
    width: 90%;
    align-content: center;
  }
  
    ul{
    padding-left:20px;
  }
  
    .toc ul{
 list-style: none;
  margin-left: unset;
}
}