* {
  margin: 0;

}
/*INDEX PAGE*/
.indexcontainer{
	margin-left: 30px;
	margin-right: 30px;
}

.title {
	color: #2c2431;
	background-image: url(media/imgs/artworks/7-3-2024.jpg);
	  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
	height: 70vh;
}

footer{
	position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
	background-color: #000;
	color: #aea3e0;
  bottom: 0;
	padding-top: 20px;
	padding-bottom: 20px;
}

.comicfooter{
	position: relative;
	background-color: #000;
	color: #aea3e0;
  bottom: 0;
  
}

footer a{
	text-decoration: none;
	color: #edd1ff;
	margin-left: 15%;
	font-size: 20px;
}

footer a:hover{
	text-decoration: underline;
}

.gifsindex{
	display: flex;
	justify-content: space-around;
}
.gifsindex aside{
	font-size: 20px;
	line-height: 2;
	align-self: center;
	text-align: center;
}
.comicindex{
	display: flex;
	justify-content: space-around;
}

.comicindex section{
	font-size: 20px;
	line-height: 2;
	align-self: center;
	text-align: center;
	margin-right: 15px;
}


.aboutmeindex{
	display: flex;
	justify-content: space-around;
}

.aboutmeindex aside{
	font-size: 20px;
	line-height: 2;
	align-self: center;
	text-align: center;
	margin-left: 10px;
}

.artworkspage{
	display: block;
	margin-left: auto;
	margin-right: auto;
	line-height: 50px;
	width: 175px;
	font-size: 20px;
	background-color: #5e4e76;
	color: #ffffff;
	border-style: none;
	border-radius: 2px;
	cursor: pointer;
	transition: background-color .15s, color .15s, box-shadow .15s, line-height .15s, width .15s;
}

.artworkspage:hover{
	background-color: #ca9bf3;
	color: #321b42;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, .3);
	line-height: 55px;
	width: 200px;
}

.indexbutton{
	line-height: 40px;
	width: 170px;
	font-size: 20px;
	background-color: #5e4e76;
	color: #ffffff;
	border-style: none;
	border-radius: 2px;
	cursor: pointer;
	transition: background-color .15s, color .15s, box-shadow .15s, scale .15s;
}

.indexbutton:hover{
	background-color: #ca9bf3;
	color: #321b42;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, .3);
	scale: 1.2;
}

@media screen and (max-width: 1330px){
		.comicindex img{
		width: 100%;
	}
	
	footer a{
		font-size: 30px;
	}

}

@media screen and (max-width: 1000px){
	.gifsindex{
		flex-direction: column;
	}

	.gifsindex section{
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	.gifsindex img{
		width: 100%;
	}

}
	

@media screen and (max-width: 1330px){
	.aboutmeindex{
		flex-direction: column;
	}

	.aboutmeindex section{
		display: block;
		margin-left: auto;
		margin-right: auto;
		
	}

	.aboutmeindex img{
		width: 100%;
	}
	.comicindex{
		flex-direction: column-reverse;
	}

	.comicindex aside{
		display: block;
		margin-left: auto;
		margin-right: auto;		
	}

}
/* NAV BAR Using CSS portal and modified */

h2{
	background-color: #3e3661;
	text-align: center;
	color: #FFFFFF;
	padding-top: 10px;
}

h2 a{
	text-decoration: none;
	color: #FFFFFF;
}

h2 a:hover{
	color: #444444;
	opacity: .7;
}

.navbar li{
	float: right;	
}

.navbar a:hover{
	background: #c48bdf;
}

.navbar li:first-child{
	float: left;
}

#menu {
	background: #665d8f;
	height: 45px;
	padding-left: 0px;

}
#menu ul, #menu li {
	margin: 0 auto;
	padding: 0;
	list-style: none
}
#menu ul {
	width: 100%;
	text-align: left;
}
#menu li {
	display: inline-block;
	position: relative;
}
#menu a {
	display: block;
	line-height: 45px;
	padding: 0 14px;
	text-decoration: none;
	color: #FFFFFF;
	font-size: 16px;
	transition: color .5s, background-color .5s;
}
#menu a.dropdown-arrow:after {
	content: "\25BE";
	margin-left: 5px;
}
#menu li a:hover {
	color: #2b0e5f;


}
#menu input {
	display: none;
	margin: 0;
	padding: 0;
	height: 45px;
	width: 100%;
	opacity: 0;
	cursor: pointer
}
#menu label {
	display: none;
	line-height: 45px;
	text-align: center;
	position: absolute;
	left: 35px
}
#menu label:before {
	font-size: 1.6em;
	color: #FFFFFF;
	content: "\2261"; 
	margin-left: 20px;
}
#menu ul.sub-menus{
	height: auto;
	overflow: hidden;
	width: 170px;
	background: #23124f;
	position: absolute;
	z-index: 99;
	display: none;
}
#menu ul.sub-menus li {
	display: block;
	text-align: left;
	width: 100%;
}
#menu ul.sub-menus a {
	color: #FFFFFF;
	font-size: 16px;
}
#menu li:hover ul.sub-menus {
	display: block;
}
#menu ul.sub-menus a:hover{
	background: #c48bdf;
	color: #444444;
}
@media screen and (max-width: 1320px){
	#menu {position:relative}
	#menu ul {background:#515085;position:absolute;top:100%;right:0;left:0;z-index:3;height:auto;display:none;text-align:left;}
	#menu ul.sub-menus {width:100%;position:static;}
	#menu ul.sub-menus a {padding-left:30px;}
	#menu li {display:block;float:none;width:auto;}
	#menu input, #menu label {position:absolute;top:0;left:0;display:block}
	#menu input {z-index:4}
	#menu input:checked + label {color:#ceb7ff}
	#menu input:checked + label:before {content:"\00d7"}
	#menu input:checked ~ ul {display:block}
	#menu{
		font-size: 30px;
	}
}

body {
  background-color: #ffffff;
}

.title {
  text-align: center;
	line-height: 10;
  font-size: 30px;
}

@media screen and (max-width: 1320px){
	h2{
		line-height: 60px;
	}

	h2 img{
		scale: 1.5;
		margin-top: 10px;
	}

	#menu a{
		font-size: 25px;
	}

	#menu {
		height: 50px;
	}
	#menu ul.sub-menus a{
		font-size: 20px;
	}

	#menu a{
		padding-bottom: 5px;
	}
}
/*moving past the navbar and focusing on content of the index page*/
/*Comic Page*/
.comicpage {
	display: flex;
	flex-direction: row;
	margin: 2%;
	border: solid;
	border-radius: 5px;
	background-color: #dadada;
	padding-top: 30px;
	border-color: #685c74;
	justify-content: space-between;
}
.comicpage > img{
	width: 30%;
}

.coverimg	{
	padding-right: 30px;
	padding-left: 30px;
}

.comicinfo{
	display: flex;
	flex-direction: column;
	line-height: 1.5;
	margin-left: 20px;
	margin-right: 20px;
}

.comictitle {
	text-decoration: underline;
	align-self: center;
}

.chapterbutton{
	width: 90%;
	height: 40px;
	margin-bottom: 10px;
	margin-left: 10px;
	text-align: left;
	background-color: rgb(177, 177, 177);
	border-style: solid;
	border-color: #6d3170;
	cursor: pointer;
	transition: background-color .3s, color .3s;

}

.chapterbutton:hover{
	background-color: #e0c7d8;
	color: rgb(120, 13, 123);
}

@media screen and (max-width: 1320px){
 .comicpage{
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin-left: 5%;
	margin-right: 5%;
 }
 .comicpage > img{
	width: 75%;
 }
}

/*AboutMe Section*/
.aboutmecontainer{
	display: flex;
	margin: 15px;
	padding: 1%;
	background-color: #cac6ce;
	border-style: solid;
	border-width: 2px;
	margin-left: 10%;
	margin-right: 10%;
}

.aboutmecontainer > aside{
	line-height: 1.5;
	margin-left: 50px;
	font-size: 20px;
	align-self: center;
}

h1{
	text-decoration: underline;
	margin-top: 15px;
	text-align: center;
}

@media screen and (max-width: 1020px){
	.aboutmecontainer{
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin-left: 5%;
	margin-right: 5%;
	}

	.aboutmecontainer>img{
		width: 90%;
	}

	.aboutmecontainer>aside{
		margin-left: 5%;
		margin-right: 5%;
	}
	}

/*Artworks section*/

/* Gallery Taken from jestov on cssscript*/
.gg-container {
  --main-color: #000;
  --secondary-color: #111;
  --txt-color: #fff;
  --img-bg-color: rgba(65, 65, 65, 0.9);
  --backdrop-color: rgba(240, 240, 240, 0.9);
  --gap-length: 2px;
  --row-height: 200px;
  --column-width: 220px;
	margin-right: 7%;
	margin-left: 7%;
}

.gg-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--column-width), 1fr));
  grid-auto-rows: var(--row-height);
  grid-gap: var(--gap-length);
  margin: 20px 0;
}

.gg-box img {
  object-fit: cover;
  cursor: pointer;
  width: 100%;
  height: 100%;
  background: var(--img-bg-color);
}

.gg-box img:hover {
  opacity: 0.85;
}

#gg-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--backdrop-color);
  z-index: 9999;
  text-align: center;
}

#gg-screen .gg-image {
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#gg-screen .gg-image img {
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
}

.gg-btn {
  width: 35px;
  height: 35px;
  background-color: #442954;
  color: white;
  text-align: center;
  line-height: 35px;
  cursor: pointer;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  font-size: 20px;
  box-sizing: border-box;
	border-radius: 5px;
  padding-left: 2px;
  position: fixed;
  bottom: 10px;
}

h5{
	text-align: center;
}

.gg-btn:hover {
  background-color: #d9b8ed;
	color: #4a2856;
}

.gg-close {
  top: 10px;
}

.gg-close,
.gg-next {
  right: 10px;
}

.gg-prev {
  left: 10px;
}

.gg-prev,
.gg-next {
  bottom: 10px;
}


@media (min-width: 478px) {
  .gg-box img:nth-child(2n):not(:last-of-type) {
    grid-row-end: span 2;
  }

  [data-layout="horizontal"] img:nth-child(2n):not(:last-of-type) {
    grid-column-end: span 2;
    grid-row-end: span 1;
  }

  [data-layout="square"] img:nth-child(2n):not(:last-of-type) {
    grid-row-end: span 1;
    grid-column-end: span 1;
  }
}

@media (max-width: 1330px) {
  .gg-box {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: calc(var(--row-height) - 3vh);
    margin: 10px 0;
  }

	.gg-btn{
		scale:1.7;
	}

	.gg-next{
		bottom: 20px;
		right: 25px;
	}

	.gg-prev{
		bottom: 20px;
		left: 25px;
	}

	.gg-close{
		top: 20px;
		right: 25px;
	}
}

@media (max-width: 450px) {
  .gg-box {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

/*
Chapter
*/
h3{
	text-align: center;
}

.ChapterMenu{
	display: flex;
	justify-content: center;
}


.chapterdisplay img {		
    display: block;
   margin-left: auto;
    margin-right: auto;
}
body{
	margin: 0;
	padding: 0;
}

#tothetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #4a2c5c;
    color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    display: none;
		font-size: 20px;
		opacity: .9;
		transition: color .1s, background-color .1s;
}

#tothetop:hover {
	color: #442954;
	background-color: #a081bf;
}

@media (max-width: 1330px){
		#tothetop{
			scale: 2;
		}
}

.NextPrev {
	height: 30px;
	width: 40px;
	font-size: 20px;
	background-color: rgb(110, 72, 133);
	color: #f2d8ff;
	border-style: solid;
	border-color: #442954;
	border-radius: 3px;
	cursor: pointer;
}

.NextPrev:hover{
	background-color: #e0aeeb;
	color: #111;
}

@media screen and (max-width:1330px){
	.NextPrev{
		scale: 1.75;
		margin-left: 5%;
		margin-right: 5%;
	}

	.ChapterMenu label{
		scale: 1.5;
		margin-left: 2%;
		margin-right: 5%;
	}

	select{
		scale: 1.5;
		margin-left: 1%
	}


}

select{
	cursor: pointer;
}

.ChapterMenu label{
	font-size: 18px;
	margin-top: 5px;

}

h3 {
	font-size: 30px;
}

/*Sitemap*/
.sitemap{
	line-height: 1.75;
	list-style: square;
	margin-left: 5%;
}