﻿/*wikitable by @limegreen on neocities. a link is appreciated!*/


/*example styles*/


/*global colors. change here to see the effect*/

:root {
  background-color: #00000000;
  --textcolor: #50F2C4;
  --header:#00000000;
  --main: rgba(0, 6, 144, 0.4);
  --footer: #00000000;
  --borders: #00000000;

  /*links*/
  --link: #F23DB3;
  --linkhover: #F23DB3;
  
  /*headings*/
  --breadcrumb: 50F2C4;
  --h1: #2b2b2b;
  --h2: #2b2b2b;
  --h3: #2b2b2b;
  --headerunderline: grey;
  
  /*boxes*/
  --quotebackground:grey;
  --quotetext: #2b2b2b;
  --boxbg: #0c1048;
  --showcontentborder:grey;
  
  --seriesofbg:#bfbfbf;
  --seriesoftext:#2b2b2b;
  
  /*infotable*/
  --infoboxbg:#0c1048;
  --centertext: rgba(0, 6, 144);
  --boldtext:#50F2C4;
  --infotext:#50F2C4;
}


body{
  background-color: var(--backgroundcolor);
  font-family: Courier New;
  font-size: 17px;
  line-height: 1.4;
  margin: 0;
  color: var(--textcolor);
}


/*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;
}

.myImg {
  			border-radius: 5px;
  			cursor: pointer;
  			transition: 0.3s;
			}
			
			.modal {
  			display: none; /* Hidden by default */
  			position: fixed; /* Stay in place */
  			z-index: 1; /* Sit on top */
  			padding-top: 1px; /* Location of the box */
  			left: 0;
  			top: 0;
  			width: 100%; /* Full width */
  			height: 100%; /* Full height */
  			overflow: hidden; /* Enable scroll if needed */
  			background-color: #070961; /* Fallback color */
  			background-color: rgba(7, 9, 97,0.9); /* Black w/ opacity */
			}

			.modal-content {
  			margin: auto;
  			display: block;
  			width: auto;
  			max-height: 465px;
			}

			#caption {
  			margin: auto;
  			display: block;
  			width: 80%;
  			max-width: 700px;
  			text-align: center;
  			color: #50F2C4;
  			padding: 10px 0;
  			height: 150px;
			}

			.close {
  			position: absolute;
  			top: 15px;
  			right: 35px;
  			color: #F23DB3;
  			font-size: 40px;
  			font-weight: bold;
  			transition: 0.3s;
			}

			.close:hover,
			.close:focus {
  			color: #F23DB3;
  			text-decoration: none;
  			cursor: pointer;
			}

			/* 100% Image Width on Smaller Screens */
			@media only screen and (max-width: 700px){
  			.modal-content {
   			 width: 100%;
  			}
		}


/*main content*/
main{
 padding: 15px;
 background: var(--main);
 min-height: 100vh;
 clear: left;
}


/*links*/
a{
 color: #F23DB3;
 text-decoration: none; 
}


/*link hover*/
 a:hover{
 text-shadow: 0 0 1px ;
 color: #F23DB3;
 text-decoration: underline;
}


/*breadcrumbs*/
.breadcrumb{
color: var(--breadcrumb);  
}


header{
  height: 50px;
  border-bottom:2px solid var(--borders);
  background:var(--header);
}


/*prevent image overflow*/
main img{
  max-width: 100%;
}


/*footer*/
footer{
  background:var(--footer);
  font-size: 10pt;
  padding: 35px;
  border-top:2px solid var(--borders);
  text-align: center;
}


/*headers*/
h1,h2,h3{
overflow: hidden;
border-bottom: 2px solid var(--headerunderline); 
font-family: Times New Roman;
}

h3{
font-size: 21pt; 
}

h4{
font-size: 16pt; 
}


/*table of contents*/
.showcontent{
  padding: 3px;
  font-weight: bold;
}

.contents{
 background-color:var(--boxbg);
 width: 14%;
 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: -15px;
   font-size: 11pt;
}


/*quotes*/
.quotebox{
  width: 30%;
  background-size: cover;
  font-style: italic; 
  padding: 10px; 
 
 padding: 13px;
  border-left: solid;
  background-color:var(--quotebackground);
  color: var(--quotetext);
}


/*series of*/
.revealsummary{
  text-align: center;
 background-color:var(--seriesofbg);
  padding: 10px;
 font-weight: bold;
  border: 2px solid var(--showcontentborder);
}

.reveal{
  text-align: center;
 background-color:var(--seriesofbg);
  padding: 5px;
  width: 50%;
  border: 2px solid var(--showcontentborder);
  color: var(--seriesoftext);
}



/*infotable*/
.infotable {
  float:right;
  margin-left:5px;
  background:var(--infoboxbg);
  border-left:2px solid var(--borders);
  border:2px solid var(--borders);
  width:21%;
  font-size: 14px;
  color: var(--infotext);
  
}
.infotable img{
  max-width: 100%;
  margin: auto;
}
.infotable th {
  text-align:left;
 
}
.infotable th{
    padding: 5px;
  color: #50F2C4;
}
.infotable ul{
  list-style: none;
  padding: 0px;
  margin: 4px;
}
#centertext{
  text-align: center;
  color: #50F2C4;
  background: var(--centertext);
}


.pictable {
  float:right;
  margin-left:5px;
  background:var(--infoboxbg);
  border-left:2px solid var(--borders);
  border:2px solid var(--borders);
  width:35%;
  font-size: 14px;
  color: var(--infotext);
  
}
.pictable img{
  max-width: 100%;
  margin: auto;
}
.pictable th {
  text-align:left;
 
}
.pictable th{
    padding: 5px;
  color: #50F2C4;
}
.pictable ul{
  list-style: none;
  padding: 0px;
  margin: 4px;
}

/*clear float after infobox*/
#clear::after {
  content: "";
  clear: both;
  display: table;
}
/*responsiveness*/

/*narrow*/
@media(max-width: 900px) {
  .infotable{
    width: 30%;
  }
    .wrapper{
    width: 100%;
  }
      .chapters{
    width: 50%;
  }
  .reveal{
    width: 60%;
  }
  }  
/*medium*/
@media(max-width: 1250px) {
  .infotable{
    width: 35%;
  }
   .contents{
    width: 40%;
  }
  }  

/*mobile */
@media(orientation: portrait) {
  .quotebox{
    width: 90%;
    margin: auto;
    padding: 15px;
    margin-top: 10px;
  }
  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%;
  }
}