/* for the main body of all pages */

body {
  color: white;
  font-family: Verdana;
  margin: 0;
  background-color: #1a1a1a;
  background-size: 100px;
  background-image: url('/images/tile_cats.gif');
}

* {
  box-sizing: border-box;
}

#container {
 max-width: 1300px;
 margin: 0 auto;
}

#container a {
  color: #e796fc;
  font-weight: bold;
}

#header {
  width:100%;
  height:200px;
  background-color: #9474a9;
  background-image: url('https://rainstorms-digital-sketchbook.neocities.org/images/header_cybercity.png');
  
  background-size: 100%;
}

#navbar {
  height: 40px;
  background-color: #0e1a2e;
  width: 100%;
            }

#navbar ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
}

#navbar li {
  padding-top: 10px;
}

#navbar li a {
  color: #e76ffc;
  font-weight: 800;
  text-decoration: none;
}

#navbar li a:hover {
  color: #fff;
  text-decoration: underline;
}

#flex {
  display: flex;
}

aside {
  background-color: #203b69;
  width: 300px;
  padding: 10px;
  font-size: smaller;
  height: fit-content;
  position:sticky;
  top:0;
}

main {
  background-color: #3f295a;
  flex: 1;
  padding: 20px;
  order: 2;
}

#leftSidebar {
  order: 1;
  margin-right: 10px;
  overflow: hidden;
}

.box {
  background-color: #0e1a2e;
  border: 1px solid #ED64F5;
  padding: 20px;
}

.box ul {
  list-style:none;
  margin: 0 0 0 -30px;
}
  
.box li {
  margin-left: 5px;
  margin-right: 5px;
}

.box li:before {
  color: #c4f1ff;
  content: '✦ ​ ';
  margin: 0 0 0 -17px;
}

footer {
  background-color: #0e1a2e;
  width: 100%;
  height: 100%;
  padding: 10px;
  text-align: center;
}

h1,
h2,
h3,
h4{
  color: #c4f1ff;
}

h1 {
  font-size: 25px;
}

strong,
b {
  color: #c4f1ff;
}

button {
  background-color: #0e1a2e;
  border: 1px solid #ED64F5;
  border-radius: 4px;
  padding: 5px;
  margin: 10px;
  color: #ED64F5;
  font-weight: bold;
}

button:hover {
  color: #c4f1ff;
}

button:active {
  color: white;
  border: 1px solid white;
}


/* for the search bars */
#searchbox {
  width: 300px;
  color: #ffffff;
  background-color: #0e1a2e;
  border: 1px solid #ED64F5;
  border-radius: 4px;
  padding: 5px;
}

#ficsearchbox {
  width: 300px;
  color: #ffffff;
  background-color: #0e1a2e;
  border: 1px solid #ED64F5;
  border-radius: 4px;
  padding: 5px;
}

#blogsearchbox {
  width: 300px;
  color: #ffffff;
  background-color: #0e1a2e;
  border: 1px solid #ED64F5;
  border-radius: 4px;
  padding: 5px;
}

.is-hidden { display: none; }

.searchPC {
  display: inline;
}
  
.searchPhone {  
  display: none;
}


    
/* for the art page's masonry */
.grid {
  margin: 0 auto;
}

.grid-item {
  width: 210px; 
  margin-bottom: 5px;
}
.grid-item--width2 {
  width: 430px;
}

.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-item .alt {
  top:5px;
  left:5px;
  padding:5px;
  border-radius:4px;
  position:absolute;
  background-color:rgba(20, 20, 20, 0.5);
  font-size:smaller;
  cursor: pointer;
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}


/* for the art page's image modals/lightboxes */




/* for the writing page's sortBy toggle */

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 19px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ED64F5;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ED64F5;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 4px;
}

.slider.round:before {
  border-radius: 4px;
}

.sortByDateToggle {
  font-size: smaller;
  float: right;
  margin-top: 2.5px;
}
  

/* for the writing page's blurbs */
#ficContainer {
  display:flex;
  flex-direction: column;
}

.ficbox {
  display: grid;
  grid-template-columns: 51px auto auto auto;
  background-color: #0e1a2e;
  border: 1px solid #ED64F5;
  padding: 10px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 10px;
}

.tagicongrid {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 26px;
  grid-column-start: 1;
  grid-column-end: 2;
  gap: 1;
}

.fictitle {
  grid-column-start: 2;
  grid-column-end: 4;
  gap: 0;
  margin-left: 15px;
}

.postdate {
  text-align: right;
  top: 0;
  right: 0;
  margin: 0;
  margin-top: 21px;
  font-size: smaller;
}

.tags {
  grid-column-start: 1;
  grid-column-end: 5;
  gap: 0;
  opacity: 0.85;
  text-decoration: underline rgba(255, 255, 255, 0.78);
  text-decoration-style: dashed;
}

.relationship-tags {
  background-color: rgba(243, 111, 252, 0.15); /* for black bg: rgba(0, 0, 0, 0.6); */
}

.required-tags {
  font-weight: bold;
}

.summary {
  grid-column-start: 1;
  grid-column-end: 5;
  gap: 0;
}

.ficdetails {
  grid-column-start: 1;
  grid-column-end: 5;
  text-align: right;
  font-size: smaller;
}

.hidefic { display: none; }

/* for sorting fics */
.sortFic1 {order:25}
.sortFic2 {order:24}
.sortFic3 {order:22}
.sortFic4 {order:20}
.sortFic5 {order:19}
.sortFic6 {order:18}
.sortFic7 {order:21}
.sortFic8 {order:17}
.sortFic9 {order:16}
.sortFic10 {order:15}
.sortFic11 {order:14}
.sortFic12 {order:23}
.sortFic13 {order:13}
.sortFic14 {order:12}
.sortFic15 {order:11}
.sortFic16 {order:10}
.sortFic17 {order:9}
.sortFic18 {order:8}
.sortFic19 {order:7}
.sortFic20 {order:6}
.sortFic21 {order:5}
.sortFic22 {order:4}
.sortFic23 {order:3}
.sortFic24 {order:2}
.sortFic25 {order:1}



/* for the tags and stuff at the top of each fic page */
.originalSiteButton {
  background-color: #0e1a2e;
  border: 1px solid #ED64F5;
  border-radius: 4px;
  padding: 5px;
  margin: 10px;
  color: #ED64F5;
  font-weight: bold;
}
.originalSiteButton:hover {
  color: #c4f1ff;
}
.originalSiteButton:active {
  color: white;
  border: 1px solid white;
}

#ficPageContainer {
  display:flex;
  flex-direction: column;
}

.ficdetailsbox {
  display: grid;
  grid-template-columns: 200px auto;
  background-color: #0e1a2e;
  border: 1px solid #ED64F5;
  padding: 10px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 10px;
  font-size: smaller;
}

.detailsDescWarn {
  font-weight: bold;
  color: white;
}

.detailsDetailWarn {
  font-weight: bold;
  color: white;
}

.ficNotes {
  width: 75%;
  position: relative;
  margin: auto;
}

.ficNotes h3 {
  margin-top: 35px;
  padding-bottom: 0;
  line-height: 23px;
}

.ficContent {
  width: 90%;
  position: relative;
  margin: auto;
}

.ficContent p {
  line-height: 20px;
}

.ficContent b {
  color: white;
}

.hideOnPC {
    display: none;
}
  
/* for the blog page */

.hidepost { display: none; }

.blogbox {
  background-color: #0e1a2e;
  border: 1px solid #ED64F5;
  padding: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

.blogbox .tags {
  font-size: smaller;
  text-decoration: none;
  color: #c4f1ff;
}

.blogbox .date {
  position: relative;
  float: right;
  font-size: smaller;
  font-weight: bold;
  color: #c4f1ff;
}


@media only screen and (min-width: 800px) {
  
  #ficPageContainer h1 {
    margin-left: 40px;
    margin-right: 40px;
  }
}

/* for smaller screen sizes (like a thin computer window or a phone) MUST BE AT BOTTOM */

@media only screen and (max-width: 800px) {
  #flex {
    display: flex;
    flex-direction: column;
  }

  aside {
    width: 100%;
  }

  main {
   order: 1;
  }

  #leftSidebar {
   order: 2;
   margin-right: 10px;
   margin-top: 10px;
  }

  #navbar ul {
   flex-wrap: wrap;
  }
  
  .ficbox {
    display: grid;
    grid-template-columns: 51px auto auto auto;
    background-color: #0e1a2e;
    border: 1px solid #ED64F5;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0px 10px 10px 10px;
  }
  
  .ficdetailsbox {
    display: grid;
    grid-template-columns: auto;
    background-color: #0e1a2e;
    border: 1px solid #ED64F5;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 10px;
    font-size: smaller;
  }

  .detailsDesc {
    margin: 0;
    padding-bottom: 0;
    line-height: 20px;
  }
  
  .detailsDetail {
    margin: 0;
    padding-top: 0;
    line-height: 20px;
  }
  
  .detailsDescWarn {
    margin: 0;
    padding-bottom: 0;
    line-height: 20px;
  }
  
  .detailsDetailWarn {
    margin: 0;
    padding-top: 0;
    line-height: 20px;
  }
  
  .ficNotes {
    width: 85%;
    position: relative;
    margin: auto;
  }
  
  .ficNotes h3 {
    margin-top: 35px;
    padding-bottom: 0;
    line-height: 5px;
  }
  
  .ficContent {
    width: 100%;
    position: relative;
    margin: auto;
  }
  
  .hideOnPC {
    display: inline;
  }
  
  .searchPC {
    display: none;
  }
  
  .searchPhone {
    display: inline;
  }
}

@media only screen and (max-width: 1050px) {
  .sortByDateToggle {
    display: block;
    margin-top: 20px;
    margin-bottom: 0;
    margin-right: 0;
    float: none;
  }
}



