/* Welcome to the extra CSS file for Webcomical. This thing is very unorganized. I have nothing else to say.
- Tondron */

/* FONTS */
@font-face {
  font-family: type;
  src: url(/media/overpass.otf);
}

@font-face {
  font-family: logo;
  src: url(/media/oswald.ttf);
}

/* SITE-WIDE FEATURES */
html {
  cursor: url("/media/webcursor.png"), auto;
}

body {
  background-image: url("/media/graybgscroll.gif");
  background-color: white;
  color: black;
  font-family: type;
  margin: 0 4vw;
  font-size: 18px;
  overflow-x: hidden;
  /* background-attachment: fixed; */
}

img {
  border: 2px solid gray;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 8px;
  user-select: none;
}

unimg {
  border: 0px solid gray;
  box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0), 0 6px 20px 0 rgba(0, 0, 0, 0);
  border-radius: 0px;
  user-select: none;
}

#bannerImage, #dynamicImage {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  
  body {
    background-image: url("media/graystripebgscroll.gif");
  }
  
  #bannerImage, #comicimage, #dynamicImage, #comic-image { /* #comic-image is pre-javascript update */
    width: 100vw;
    height: auto;
    /*margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);*/
    margin-left: -4vw;
    user-select: auto;
    border-left: none;
    border-right: none;
    border-radius: 0;
    /*display: block;*/
  }
  
  .logog {
    font-size: 8.5vw;
  }
  
}

.navbar {
  background-color: #808080;
  border-radius: 8px;
  padding: 5px;
  padding-top: 8px;
  text-align: center;
  display: block;
  /* width: 100%; */
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px;
  background-color: #808080;
}

.logog {
  display: flex;
  justify-content: center; /* Align items horizontally */
  margin: 0 auto; /* Center the container horizontally */
  max-width: 100%;
}

logo {
  font-family: logo;
  font-size: 200%;
  color: red;
  line-height: 1.2;
  user-select: none;
  position: relative;
  
  /* text-shadow: -2px 2px #000000; */
  background: -webkit-linear-gradient(#ff9900, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 0px;
  -webkit-text-stroke-color: black;
  filter: drop-shadow(-3px 3px 0px rgba(0, 0, 0, 1)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.5));
}

boxed {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 10px;
  padding-top: 14px;
  line-height: 1;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: inline-block;
  border: 2px solid gray;
}

sinboxed { /* delete after purge is over */
  background-color: #000000;
  color: #ffffff;
  border-radius: 8px;
  padding: 10px;
  padding-top: 14px;
  line-height: 1;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: inline-block;
  border: 2px solid #ffffff;
}

sboxed {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: inline-block;
  border: 2px solid gray;
}

talkbox {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 5px 10px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
  display: block;
  border: 1px solid gray;
  margin: 20px;
}

button {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
  display: inline-block;
  border: 1px solid gray;
  font-size: 1.17em;
  cursor: url("/media/webpointer.png"), auto;
}

select {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
  display: inline-block;
  border: 1px solid gray;
  font-size: 0.75em;
  cursor: url("/media/webpointer.png"), auto;
}

#slider { /* length of the slider, obviously */
  width: 100%;
}

input, label {
  cursor: url("/media/webpointer.png"), auto; 
}

h22 { /* header 2 recreation */
  font-size: 1.5em;
  font-weight: bold;
}

h33 {
  font-size: 1.17em;
  font-weight: bold;
}

/* DEPRICATED JUNK (deletable)
img2 {
  border-radius: 0px;
  border: 0px solid #808080;
}
*/

/* CHANGEBLOG FEATURES */
summary {
  cursor: url("/media/webpointer.png"), auto;
}

.info {
  background-color: #d83030;
  border-radius: 8px;
  padding: 4px;
  padding-bottom: 0;
  line-height: 1;
  display: inline-block;
  color: #ffffff;
}

.site {
  background-color: #36b31d;
  border-radius: 8px;
  padding: 4px;
  padding-bottom: 0;
  line-height: 1;
  display: inline-block;
  color: #ffffff;
}

.new {
  background-color: #2e4ad8;
  border-radius: 8px;
  padding: 4px;
  padding-bottom: 0;
  line-height: 1;
  display: inline-block;
  color: #ffffff;
}

.wow {
  border-radius: 8px;
  padding: 4px;
  padding-bottom: 0;
  line-height: 1;
  display: inline-block;
  color: #ffffff;
  animation: rainbow 4s linear infinite;
}

@keyframes rainbow {
  0% { background-color: red; }
  14% { background-color: orange; }
  28% { background-color: yellow; }
  42% { background-color: green; }
  57% { background-color: blue; }
  71% { background-color: indigo; }
  85% { background-color: violet; }
  100% { background-color: red; }
}

/* COOKIE CONSENT (deletable) */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Stick to bottom right of the screen */
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: none;
  width: 250px; /* Uniform width for the popup */
  z-index: 1000; /* Ensure popup is on top */
}

.cookie-consent-content {
  text-align: center; /* Center text */
  margin: 0; /* Remove margin */
  padding: 0; /* Remove padding */
}

.cookie-consent p {
  margin: 0; /* Remove margin for paragraphs inside popup */
  padding: 0; /* Remove padding for paragraphs inside popup */
}

.cookie-consent button {
  margin-top: 10px; /* Add margin to separate button from text */
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
}

.cookie-consent button:hover {
  background-color: #0056b3;
}

/* LINK DECOR */
a { /* Formerly a:link */
  color: #0000ff;
  background-color: transparent;
  text-decoration: none;
  cursor: url("/media/webpointer.png"), auto;
}

a:visited {
  color: #0000ff;
  background-color: transparent;
  text-decoration: none;
  cursor: url("/media/webpointer.png"), auto;
}

a:hover {
  color: #800080;
  background-color: transparent;
  text-decoration: underline;
  cursor: url("/media/webpointer.png"), auto;
}

a:active {
  color: #ffc0cb;
  background-color: transparent;
  text-decoration: underline;
  cursor: url("/media/webpointer.png"), auto;
}

/* .navbar a:link {
  color: purple;
}

.navbar a:visited {
  color: purple;
}

.navbar a:hover {
  color: blue;
} */

/* WEBCOMIC STYLE FEATURES */
.pagecontrols {
  margin-top: 8px;
  cursor: url("/media/webpointer.png"), auto;
}

.savecontrols {
  cursor: url("/media/webpointer.png"), auto;
}

.sizer {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

#comicimage {
  cursor: url("/media/webpointer.png"), auto;
}

/* pre-javascript update features */
.controls {
  text-align: center;
  margin-top: 10px;
}

.cookie-controls {
  text-align: center;
}

#comic-image {
  cursor: url("/media/webpointer.png"), auto;
}

/* COLUMN STYLE FEATURES */

.topimg {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

#columnbox {
  max-width: 650px;
  margin: 0 auto;
  background-color: white;
  border: 2px solid gray;
  padding: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

#columncontrols {
  display: flex;
}

#backcolumn {
  padding: 0px 20px 10px 20px;
  font-size: 1.5em;
}

#nextcolumn {
  padding: 0px 20px 10px 20px;
  font-size: 1.5em;
  margin-left: auto;
}

/* pre-javascript update features */

#contentBox { /* DELETE LATER */
  max-width: 650px;
  margin: 0 auto;
  background-color: white;
  border: 2px solid gray;
  padding: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

#navigationLinks { 
  display: flex;
  margin-top: 20px;
  padding: 0px 20px 10px 20px;
}

#navigationLinks a {
  font-size: 1.5em;
}

#nextLink {
  margin-left: auto; /* Pushes the NEXT link to the right */
}

#commentaryContent {
  max-width: 500px;
  margin: 20px auto;
  background-color: white;
  border: 2px solid gray;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none; /* Hidden by default, shown if content is loaded */
}

/* NEWSTYLE FEATURES */
imgbord {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 8px;
  border: 5px solid #808080;
}

oldheader {
  position: fixed;
  bottom: 100;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px;
  background-color: #808080;
}

vercen {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

coolbutton {
  background-color: yellow;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 8px;
  border: 5px solid #ff9900;
  color: black;
  padding: 6px 16px;
  text-align: center;
  display: inline-block;
  font-size: 18px;
  font-family: type;
}

h4 {
  background-color: #808080;
  border-radius: 8px;
  padding: 5px;
  text-align: center;
}