/* this is for your overall page */
body {
  background-color: black;
  background-image: url("BACKGROUND URL HERE");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  color: Magenta;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.95);
  font-size:14px;
  font-family: 'Verdana', sans-serif;
}

/* these are to style your selection */
::selection{
	background-color: #ffd596;
	color: rgb(27,28,34);
}

/* these are to style your scrollbar */
::webkit-scrollbar-corner{
	background-color: rgba(0,0,0,0);
}
::-webkit-scrollbar{
	width: 5px;
	height: 5px;
	border: none;
	background-color: none;
	border-radius: 25px;
}
::-webkit-scrollbar-thumb{
	border: 1px solid white;
	background-color: white;
	border-radius: 25px;
	transition: 2s all;
}

/* these are to style your links */
a, a:link{
  color:#ff00d5;
  transition: 1s all;
}
a:visited{
  color: #ff00d5;
  transition: 1s all;
}
a:hover{
  color: #ff00d5;
  transition: 1s all;
}
a:active{
  color: #ffac8b;
  transition: 1s all;
}

/* this is to style lists */
ul, li{
	list-style: '› ' inside;
	padding-inline-start: 0px;
}
ul > li::marker {
  font-weight: bold;
}

/* these are to style the mini bios, titles, description box, icons, and buttons */
.mbio, .title, .button1, .icon, #pronouns li,#pronouns i{
  border: 1px solid #ff00d5;
  margin-left: auto;
  margin-right:auto;
  background-color:rgb(27,28,34);
  background-color:rgba(27,28,34, 0.7);
  box-shadow: 0 4px 8px 0 rgba(255,0,213,0.73)
}

/* this is to style the titles */
.title, #pronouns li,#pronouns i{
  background: rgba(16,15,17, .75);
  font-size: 20px;
  padding: 10px;
  margin: 10px;
  width: auto;
}

/* Individual styling */
.frantitle{
  border: 1px solid #86b7eb;
  text-align:center;
  margin-left: auto;
  margin-right:auto;
  background-color:rgb(27,28,34);
  background-color:rgba(27,28,34,0.7);
  box-shadow: 0 4px 8px 0 rgba(134,183,235,0.38)
}

.frantitle{
  background: rgba(16,15,17,.75);
  font-size: 20px;
  padding: 10px;
  margin: 10px;
  width: auto;
}

.jesstitle{
  border: 1px solid #ad0668;
  margin-left: auto;
  margin-right:auto;
  background-color:rgb(27,28,34);
  background-color:rgba(27,28,34,0.7);
  box-shadow: 0 0 22px 4px rgba(206,0,247,0.9);

}

.jesstitle{
  background: #5e1040;
  font-size: 20px;
  padding: 10px;
  margin: 10px;
  width: auto;
  
}

.loztitle{
  border: 1px solid #124c04;
  margin-left: auto;
  margin-right:auto;
  background-color:rgb(18,76,4);
  background-color:rgba(18,76,4,0.7);
  box-shadow: 0 0 36px 4px rgba(46,255,196,0.55);

}

.loztitle{
  background: #124c04;
  font-size: 20px;
  padding: 10px;
  margin: 10px;
  width: auto;
  
}

/* this is to style the description box */
.box{
  margin: 20px;
  padding: 15px;
  text-align:justify;
}

/* this is to style the mini bios */
.mbio{
  position:relative;
  width:300px;
  height:auto;
  padding:10px;
  padding-bottom:15px;
  margin: 15px;
  border-radius: 20px;
}

/* this is to style the buttons */
.button1{
  line-height: 25px;
  width:auto;
  padding:3px;
  margin: 5px;
  text-decoration:none;
  border: 1px solid #ff00d5;
  border-radius: 0px !important;
  background: rgba(12,9,26, 0.2);
}
.button1:active{
  border: 2px inset #ff00d5;
  background: rgba(12,9,26, 0.7);
}
.button1:hover{
  background: rgba(12,9,26, 0.5);
  transition:all 1s;
}

/* this is to style the icons */
.icon{
  border-radius:50px;
  width: 100px;
  height: 100px;
  transition:all 1s;
}
.icon:hover{
  border-radius:20px;
  transition:all 1s;
}

/* this is to style the main page + tabs */
#main,#characters,#sketchbook,#gallery,#dajournals,.tab{
  position:relative;
  width:60%;
  height:auto;
  border: 2px solid rgba(12,9,26, 0.9);
  padding:5px;
  padding-bottom:5px;
  word-wrap: break-word;
  margin:auto;
  margin-bottom:50px;
  background-color:rgba(12,9,26, 0.7);
  box-shadow: 0 4px 8px 0 rgba(12,9,26, 0.7), 0 4px 8px 0 rgba(12,9,26, 0.7);;
}

/* this is for each of the sections */
.category{
  position:relative;
  width:45%;
  height:auto;
  padding:10px;
  word-wrap:break-word;
  margin-left:5px;
  margin-top:10px;
  text-align:justify;
  border: 2px solid black !important;
  background-color:rgba(27,28,34, 0.7) !important;
  box-shadow: 0 4px 8px 0 rgba(27,28,34, 0.7), 0 4px 8px 0 rgba(27,28,34, 0.7) !important;
}

.category2{
  position:relative;
  width:45%;
  height:auto;
  padding:10px;
  word-wrap:break-word;
  margin-left:5px;
  margin-top:10px;
  text-align:justify;

}

img {
  max-width:100%;
  align-self: center;
}

/* this is to style the tab buttons */
button1{
  position:relative;
  margin-top:50px;
  margin-bottom: 15px;
  color:white;
  padding: 5px;
  border: 2px solid black;
  background-color:rgba(27,28,34, 0.7);
  box-shadow: 0 4px 8px 0 rgba(27,28,34, 0.7), 0 4px 8px 0 rgba(27,28,34, 0.7);
  -webkit-filter: drop-shadow(1px 1px 2px rgba(12,9,26,.5)) drop-shadow(-1px -1px 2px rgba(12,9,26,.5));
  filter: drop-shadow(1px 1px 2px rgba(12,9,26,.5)) drop-shadow(-1px -1px 2px rgba(12,9,26,.5));
  transition:1s all;
 
}
button1:hover{
  background-color:rgba(12,9,26, 0.5);
  transition:1s all;
  cursor: pointer;
}
button1:active{
  transition:1s all;
  border: 2px solid rgba(12,9,26, 0.9);
  background-color:rgba(12,9,26, 0.9);
}

/* these are to separate things */
#section1{
  width:80%;
  height:100%;
  display:flex;
  flex-wrap: wrap;
  align-self: center;
  justify-content:space-evenly;
  margin:0 auto;
  padding:10px;
  
}
#section2{
  width:100%;
  height:100%;
  margin: auto;
  display:flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-self: center;
  justify-content:space-evenly;
  
  
}
#section3{
  width:100%;
  height:100%;
  display:flex;
  flex-wrap: wrap;
  align-self: center;
  justify-content:space-evenly;
  margin:0 auto;
  margin-bottom: 50px;
}
#section4{
  width:100%;
  height:100%;
  display:flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-self: center;
  justify-content:space-evenly;
  margin:0 auto;
  
}
#section5{
	width:100%;
	height:100%;
	display: flex;
	flex-wrap:wrap;
	flex-direction: row;
	justify-content:space-evenly;
	margin:0 auto;
}

/* this is to style the bullet for the like + interest lists */
#like li{
	list-style: '♡ ' inside !important;
}
#int li{
	list-style: '♥ ' inside !important;
}

/* portfolio styling attempt */

#daportfolio {
    /* if you want to keep it super simple, you can edit these top variables (variables = the things that start with --) to add some style and leave the rest of the code alone! */

    /* gallery styling */
    --minimum-img-width: 200px;
    --maximum-img-width: 800px;
    --maximum-columns: 8;
    --image-background: #fff;
    --column-gap: var(--spacing);

    /* misc styling */
    --spacing: 15px;
    --border-radius: 4px;
    --underline: wavy var(--accent-light);
    --border: dashed var(--accent) 1px;

    /* calculations - don't worry about this */
    --halfspacing: calc(var(--spacing) / 2);
    --doublespacing: calc(var(--spacing) * 2)
}

* {
    scrollbar-color: var(--accent);
    -ms-overflow-style: none;
    box-decoration-break:clone
}

main, header, footer {
    max-width: var(--max-width);
    margin: 0 auto;
}

footer {
    display: block;
    text-align: center;
    font-size: .9em;
    margin: var(--spacing) auto;
}

/* boxes & flex */
.box2 {
    padding: var(--spacing);
    border: var(--border);
    margin: var(--spacing) auto;
    border-radius: var(--border-radius);
    break-inside:avoid;
}

.flex {
    display: flex;
    flex-flow: row wrap;
    gap: var(--halfspacing) var(--spacing)
}

.flex > * {
    flex: 1 2 200px;
    margin:0 auto;
}

/* image gallery */
#portfolio {
    margin: var(--doublespacing) auto;
    display: block;
    text-align: center;
    line-height: 1.2em;
    font-size: .9em;
}
#portfolio.columns {
    columns: var(--minimum-img-width) var(--maximum-columns);
    gap: var(--column-gap);
}

#portfolio img {
    margin: var(--spacing) auto;
    max-width: min(var(--maximum-img-width), 100%);
    display:block;
    background-color:var(--image-background)
}

figure {
    margin: var(--spacing) auto;
    break-inside: avoid;
}


/* lightbox */
#portfolio img:hover {
    border-radius: var(--border-radius);
    cursor: pointer;
    outline: var(--border)
}

#lightbox {
    border: none;
    outline: none;
}
#lightbox img {
  max-height:90vh;
  max-width:90vw;
}

::backdrop {
    backdrop-filter: blur(2px) brightness(80%);
}

#portfolio:has(~ #lightbox:popover-open) {
    pointer-events: none;
}
/* makes the lightbox work on small screens, like phones */
@media only screen and (min-width: 600px) {
    #lightbox button {
        display: none;
    }
} 
@media only screen and (max-width: 600px) {
    #lightbox button {
        display: block;
        width:30px;
        height:30px;
        margin:10px auto;
    }
} 



/* this is to make the page mobile friendly. don't touch unless you know what you're doing! */
@media (max-width: 1000px) {
      .category {
         width: 90% !important;
         padding:10;
		 margin:auto;
		 margin:10px;
      }
      #section4{
        width:100% !important;
        padding:0;
      }
      #main,#characters,#sketchbook,#gallery,#dajournals,.tab{
        width:90%;
      }
   }
  