/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
  HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
:root {
  --header-image: url('https://sadhost.neocities.org/images/layouts/wp.jpeg');
  --body-bg-image: url('https://images.pyonkotchi.com/valphone bg tile.png');

  /* colors */
  --content: #43256E;
  --site-navigation-font-font-size-value: 1.2
}

body,
div,
main,
section,
article {
  box-sizing: border-box;
}

/* universal background color */
body {
  font-family: "Quicksand", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 15px;
  color: #801168;
  background-image: var(--body-bg-image);
  background-attachment: fixed;
  background-color: rgba(255, 255, 255, 0.87) !important;
  cursor: url(/images/cursor.png), default;
  opacity: 0;
  animation: fadeIn 1.3s forwards;
}

main {
  background-color: rgba(255, 255, 255, 0.87);


  width: 1150px;
  border-radius: 10px;

  /* this is the width of your layout! */
  /* if you change the above value, scroll to the bottom
  and change the media query according to the comment! */
  margin: 0 auto;

  /* this centers the entire page */
}

#page-content {
  max-width: 1150px;
  box-shadow: 0px 0px 8px 8px rgba(255, 255, 255, 0.82);
  overflow-x: hidden;
  background-color: rgba(255, 255, 255, 0.87);
  padding-bottom: 2vw;
  margin: 0 auto;
  p
}

/* header image */
header img {
  width: 500px;
  max-width: 98%;
}

header img:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}


/* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/*FONTS*/

/* header font */
#showComic,
header,
h1,
h2,
h3,
h4,
h5 {
  font-family: "Quicksand", serif;
  color: #e92da1;
}

h1 {
  padding-top: 10px;
}

/* body font */
.subPage p,
footer,
#authorNotes,
.archiveTable {
  font-family: "Quicksand", serif;
  font-size: large;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* STYLING FOR SUBPAGES (about, characters, etc) */

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  background-color: #ffffff;
  outline: 2px solid #ff9de3;
  border-radius: 10px;
  margin: auto;
  margin-bottom: 10px;
  padding: 0px 12px 12px;
  outline: 2px solid #ff63d36e;
  background-color: #fff5fe;
  border-image-width: 8px;
  border-image-source: url("https://static.tumblr.com/vsycwa1/9nurvtcax/pale7_opacity2.png");
  border-image-repeat: round;
  border-image-slice: 100;

}

.subPage:not(.archivePage) {
  text-align: center;
}

/* for pictures displayed to the left */
.leftPic {
  clear: left;
  float: right;
  margin-left: 20px;
}

/* for pictures displayed to the left */
.rightPic {
  clear: right;
  float: left;
  margin-left: 20px;
}

/* specific to Characters */
.charTable,
.charTable td {
  width: 100%;
}

/* link colors */
a {
  color: #5a0469;
  cursor: url(/images/cursorglow.png), default;
}

a:hover {
  color: #ff9de3;
}


/* HEADER */
header #nav {
  background-color: #ffd8f4;
  outline: 2px solid #ffb2e996;
  font-size: 20px;
  border-radius: 10px;
  width: 98%;
  padding: 5px;
  margin: auto;

  border: 4px dotted rgba(255, 255, 255, 0.8);

}

header a {
  color: #ed45b5;

  text-decoration: none;
  display: inline-block;
  margin-left: .5vw;
  margin-right: .5vw;

  font-family: "Quicksand", serif;

  font-weight: 700;
  font-style: normal;
  color: #fa67ca;
  text-align: right;
  transition: 0.2s;
}

header a:hover {
  color: #85c8ff !important;
}

/* HOMEPAGE */

/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
}

.comicNav img {
  width: 70px;
  max-width: 98%;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 10px;
}

/* style comic page image */
.comicPage img {
  width: 900px;
  max-width: 98%;

}

#authorNotes {
  background-color: #ffdcf5;
  outline: 2px solid #ff63d36e;
  border-radius: 5px;

  margin: auto;
  padding: 3px;
  padding-top: 10px;
  margin-bottom: 10px;

  width: 900px;
  max-width: 98%;
  border: 13px solid transparent;
  border-image-repeat: stretch;
  border-image-slice: 100%;
  border-image-source: none;
  border-image-width: 1;
  border-image-width: 8px;
  border-image-source: url("https://static.tumblr.com/vsycwa1/9nurvtcax/pale7_opacity2.png");
  border-image-repeat: round;
  border-image-slice: 100;
}

/* ARCHIVE PAGE */

/* style table in which archive is displayed */
.archiveTable {
  width: 93%;
  border-collapse: collapse;
}

/* style archive table cells */
.archiveTable td {
  padding-top: 5px;

  vertical-align: center;

}

/* style table cell in which page title is displayed */
.archiveCellTitle:not(.leftAlignTableText) {
  max-width: 300px;
  text-align: center;
}

.archiveCellDate {
  text-align: right;
  min-width: 120px;
}

.archiveCellNum {
  text-align: center;
  min-width: 30px;
}

/* style the thumbnails on the archive page */
.archiveCellThumb {
  width: 500px;
  max-width: 60px;
  padding-right: 5px !important;

}

.archiveCellThumb img {
  max-width: 100%;
  border-radius: 10px;
}

/* for left aligning the text in a table cell */
.leftAlignTableText td {
  text-align: left;
}

/* highlight a table row and make pointer into hand when moused over */
.archiveRow:hover {
  background-color: #ffccf09e;
  border-radius: 10px;
  cursor: pointer;
  transform: scale(1.01);
  -webkit-box-shadow: 0px 0px 3px 4px rgba(255, 158, 211, 0.23);
  -moz-box-shadow: 0px 0px 3px 4px rgba(255, 158, 211, 0.23);
  box-shadow: 0px 0px 3px 4px rgba(255, 158, 211, 0.516);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  outline: 4px dotted #ff63d36e;
}


/* FOOTER */
footer {

  float: left;
  width: 100%;
  font-size: 12px;
  padding-top: 1em;
  padding-bottom: 1em;

  background-color: #ffdef3;
  border-top: 3px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(to bottom right, #e98807 0%, #ffe33f 2%, #ffff61 25%, #f6b64a 30%, #ffff 40%, #ffe33f 45%, #f6b64a 50%);
}

footer p {
  margin: auto;
}

footer a {
  color: #c8d32b
}

footer a:hover {
  color: #868d26
}

.social-icons a {
  margin-right: 0.5em;
}

/* take away margins from the edges of the screen */
html,
body {
  margin: 0;
}

.rarebit-credit {
  text-align: right;
  display: flex;
  align-items: center;
  right: 1em;
  position: relative;
  float: right;
  height: 75px;

}


.miraclelink {
  position: relative;
  width: 350px;
  height: 663px;
  margin: auto;
  padding-left: 4px;
  padding-top: 147px;
  background-image: url('/images/phoneborder.png');
  background-size: cover;
  /* <------ */
  background-repeat: no-repeat;
  background-position: center center;
}



.miraclelink .screen {
  width: 300px;
  height: 425px;
  margin: auto;
  
  background-image: url('https://images.pyonkotchi.com/valphone bg tile.png');
  box-shadow: inset 11px 0px 6px -10px #682d8c60, inset -11px 0px 6px -10px #682d8c60, inset 0px 11px 6px -10px #682d8c60, inset 0px -11px 6px -10px #682d8c60;
}

.mask1 { 
  width: 300px;
  height: 423px;
  margin: auto;
  -webkit-mask-image: url(/images/mask.png);
  mask-image: url(/images/mask.png);
  mask-repeat: no-repeat;
}


.masked {
  width: 300px;
  height: 300px;

  mask-image: url(/images/mask.png);;
  mask-size: cover;
  mask-repeat: no-repeat;

  /* For better browser support (especially Chrome/Safari) */
  -webkit-mask-image: url('mask-shape.png');
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
}
