/*Defaults*/
html {
  overflow-y: scroll;
}

body {
  background-color: #070821;
  background-image: url(./stars.png);
  color: #d5d5d5;
  font-family: Georgia, "Times New Roman", serif; 
  /* font-family: sans-serif;*/
  margin-top:0px;
  line-height: 1.3;
  font-size: 19px;
  background-attachment: fixed;
  background-size:cover;
}

/*links*/
a:link {
  color: #b6b6d1;
}
a:visited {
  color: #b6b6d1;
}
a:hover {
  color: #293785;
}
/*text*/
p {
  line-height: 1.3;
  font-size: 19px;
  margin: 0px;
  margin-top: 15px;
}
h1 { 
  margin-top: 0px;
}
h2 {
  line-height: 1;
  font-size: 30px;
  margin-top: 15px;
  margin-bottom: 20px;
}
h3 {
  font-size: 24px;
  margin-bottom: 0px;
}
h4 {
  font-size: 19px;
  font-weight: normal;
  margin-top: -14px;
  margin-bottom: 14px;
  font-style:italic;
}
hr {
  height:2px;
  color:#001c31;
  background-color:#001c31;
}
ul {
  margin: 0px;
  margin-top: 15px;
}

.version {
  font-size:0.8em;
  color: #001c31;
  background-color: #d5d5d5;
  padding: 5px;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
  width: 12em;
  display: block;
  text-align: center;
  margin: 20px auto -4px auto;
}

/*Class for the banner at the top of comic menus*/
.banner {
  color: #001c31;
  background-color: #d5d5d5;
  display: block;
  margin: 20px auto -4px auto;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
}

.banner-and-socials
{
  position:relative;
  margin: 0px auto 20px auto;
  width: 948px;
  padding: 0px;
}
/* Buttons at the very top of the screen. On the main pages, it's a set of links to each other main page, in submenus there's also a back button*/
.socials ul {
  list-style-type: none;
  padding: 0.5 0;
  margin: 0;
  color: #001c31;
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  gap: 10px;
  padding: 0px;
  height: auto;
  text-align: center;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -100%);
  width:948px;
}
.socials img {
  height:auto;
  width:50px;
  margin-bottom: -7px;
}
.socials li {
  font-size: 32px;
  font-weight: bold;
  display: inline-block;
  border-width: 4px;
  padding: 7px;
  margin: -4px;
  color: #001c31;
}
.socials li a {
  background-color: inherit;
}
.socials li a:hover {
  text-decoration: underline;
  color: #001c31;
}
.socials img:hover {
  scale:1.1;
}


/*The most basic of menus*/
.basic-menu {
  color: #293785;
  background-image: radial-gradient(#f6e0ac, #eec484,#eec484, #8b4812);
  display: block;
  padding: 20px;
  padding-bottom: 30px;
  margin: 20px auto 20px auto;
  width: 900px;
  border-style: double;
  border-color: #293785;
  border-width: 7px;
}
.basic-menu a:hover {
  color: #001c31;
}

/* Buttons at the very top of the screen. On the main pages, it's a set of links to each other main page, in submenus there's also a back button*/
.header ul {
  list-style-type: none;
  padding: 0.5 0;
  margin: 0;
  color: #001c31;
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  gap: 10px;
  padding: 0px;
  margin: 40px auto 0px auto;
  height: auto;
  text-align: center;
}
.header li {
  font-size: 32px;
  font-weight: bold;
  display: inline-block;
  background-color: #d5d5d5;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
  padding: 12px;
  margin: 2px;
  color: #001c31;
}
.header li a {
  background-color: inherit;
}
.header li a:hover {
  text-decoration: underline;
  color: #001c31;
}

/*Class for the banner at the top of comic menus*/
.comic-banner {
  color: #001c31;
  display: block;
  margin: 20px auto -15px auto;
  width: 940px;
  height: 150px;
}
/*Class the comic page img on a comic page page*/
.comic-page {
  display: block;
  margin: 0px auto -4px auto; 
  max-width: 940px;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
}
/*buttons at the top and bottom of a comic page that lead to previous and next pages, and to the first and last pages of the chapter, and the navigation menus in regular comic menus*/
.comic-page-menu ul {
  list-style-type: none;
  padding: 0.5 0;
  margin: 0;
  color: #001c31;
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  gap: 10px;
  padding: 0px;
  margin: 0px auto 0px auto;
  height: auto;
  text-align: center;
  width:940px;
}
.comic-page-menu li {
  font-size: 30px;
  font-weight: bold;
  display: inline-block;
  background-image: radial-gradient(#f6e0ac, #eec484,#eec484, #8b4812);
  border-style: double;
  border-color: #293785;
  border-width: 7px;
  padding: 8px;
  padding-left: 15px;
  padding-right: 15px;
  color: #293785;
  margin-left:-4px;
  margin-right:-4px;
  margin-bottom:-4px;
}
.comic-page-menu li a {
  background-color: inherit;
}
.comic-page-menu li a:hover {
  text-decoration: underline;
}
/* The grid of covers used for lists of comics and chapters */
.comics-grid {
  display: block;
  grid-template-columns: repeat(auto-fit, 440px);
  justify-content: center;
  gap: 15px;
  margin: 20px auto 20px auto;
  align-self: center;
  text-align: center;
  min-width: 900px;
}
/*an icon in the comic grid*/
.comic-icon {
  color: #001c31;
  background-color: #d5d5d5;
  display: inline-block;
  padding: 15px;
  margin: 5px;
  padding-bottom: 25px;
  width: 370px;
  height: auto;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
  text-align: left;
  vertical-align: top;
  /* position:relative;
  z-index: auto;
  margin-left: -100px;
  margin-right: -100px; */
}
/*
.comic-icon:hover {
  transform: rotate(-2.5deg);
}*/
.comic-icon a:hover {
  color: #001c31;
} 
.comic-icon p {
  line-height: 1.6;
  font-size: 18px;
  padding-bottom: 20px;
}
.comic-icon h2 {
  line-height: 1;
  font-size: 30px;
  margin-bottom: 0px;
  margin-top: 15px;
}
.comic-icon img {
  width:370px;
}
.comic-icon img:hover {
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
  margin: -4px;
}
.grid-category {
  color: #001c31;
  background-color: #b9b9b9;
  display: block;
  padding: 10px;
  margin: 20px auto 20px auto;
  max-width: 95%;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
  text-align: center;
}
.grid-category a:hover {
  color: #001c31;
}


/*The grid of art on the art page*/
.art-grid {
  display: block;
  grid-template-columns: repeat(auto-fit, 440px);
  justify-content: center;
  gap: 15px;
  margin: 20px auto 20px auto;
  align-self: center;
  text-align: center;
  min-width: 900px;
}
.art-icon {
  color: #001c31;
  background-color: #d5d5d5;
  display: inline-block;
  padding: 15px;
  padding-bottom: 0px;
  margin: 2px 2px 2px 2px;
  width: auto;
  height: auto;
  border-style: none;
  border-color: #001c31;
  border-width: 4px;
  position: relative;
  text-align: center;
}
.art-icon a:hover {
  color: #001c31;
}
.art-icon p {
  line-height: 1.6;
  font-size: 18px;
}
.art-icon h2 {
  line-height: 1;
  font-size: 30px;
  margin-bottom: 0px;
}
.art-date {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: 5px;
  color: #001c31;
  background-color: #d5d5d5;
}
.art-icon a {
  color: #001c31;
  text-decoration: none;
}
.art-description {
  position: absolute;
  top: 0px;
  left: 0px;
  color: #001c31;
  width:100%;
  height:100%;
  opacity:0;
  padding:0px;
  text-align: left;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.art-description p {
  font-size: 17px;
  margin:0px;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #d5d5d5;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.art-description p:hover {
  opacity:.1;
}

.art-description:hover {
  opacity:.95;
}


.music-grid {
  display: block;
  grid-template-columns: repeat(auto-fit, 440px);
  justify-content: center;
  gap: 15px;
  margin: 20px auto 20px auto;
  align-self: center;
  text-align: center;
  min-width: 900px;
}
.music-icon {
  color: #001c31;
  background-color: #d5d5d5;
  display: inline-block;
  padding: 0px;
  margin: -15px;
  width: 400px;
  height: 400px;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
  text-align: left;
  position:relative;
  margin-left: -70px;
  margin-right: -70px;
  transform: translate(0px, 20px);
  -webkit-transition: transform 0.1s ease-in-out;
  -moz-transition: transform 0.1s ease-in-out;
  -ms-transition: transform 0.1s ease-in-out;
  -o-transition: transform 0.1s ease-in-out;
  transition: transform 0.1s ease-in-out;
  --note-bg: 0; /* local scope */
  z-index: var(--note-bg);
}
.music-icon:hover {
  z-index:calc(var(--note-bg) + 100);
  transform: translate(0px, 0px);
}
.music-icon img {
  width:400px;
  height:400px;
  padding: 0px;
}
.music-bumper {
  display: inline-block;
  padding: 0px;
  margin: 0px;
  width: 10px;
  height: 1px;
  text-align: left;
  position:relative;
}
.music-description {
  position: absolute;
  top: 0px;
  left: 0px;
  color: #d5d5d5;
  width:100%;
  height:100%;
  opacity:0;
  padding:0px;
  text-align: left;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}
.song-title {
  position: absolute;
  top:0%;
  left: 50%;
  transform: translate(-50%, 0);
  width:400px;
  text-align:center;
}
.music-description h3 {
  font-size: 25px;
  background-color: #001c31;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin:-4px;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
}

.music-description:hover {
  opacity:1;
}
.music-date {
  font-size:17px;
  position: absolute;
  top:12%;
  left: 50%;
  transform: translate(-50%, 0);
  width:110px;
  text-align:center;
  padding: 5px;
  background-color: #001c31;
  margin:-4px;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
}
.music-play {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: px;
  background-color: #001c31;
  margin:-4px;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
}
.music-links {
  position: absolute;
  bottom: 0px;
  right: 0px;
  padding: 7px;
  background-color: #001c31;
  margin:-4px;
  border-style: solid;
  border-color: #001c31;
  border-width: 4px;
}
.music-links img {
  width:50px;
  height:auto;
}
.music-links img:hover {
  scale:1.1;
}
.music-links ul {
  list-style-type: none;
  margin: 0;
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  gap: 10px;
  padding: 0px;
  margin: 0px auto -10px auto;
  height: auto;
  text-align: center;
}
.music-links li {
  padding: 0px; }
