/* 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." */

@import url("cursors.css");

html { 
  background-image: url("img/abacaxi_pattern.png");
  background-color: #ECB4E2;  
}

body, html {    
  color: #700000;
  font-family: Verdana;  
  margin: 10px;
  font-size: large;  
}

body {
  background-color: transparent;      
  background-image: none;   
}

::selection {  background-color: #700000; color: #ECB4E2; }

p, li {
   color: #700000;
   font-size: large;
}

a:link              {  color: #001185;  }
a:hover, a:active   {  color: #420000;  }
a:visited           {  color: #700000;  }

q {  font-style: oblique; }

div {  clear: both; }

@media only screen and (max-width: 600px) {
  .images{column-count: 2;}
}

button {
  background-color:  #ECB4E2; 
  color: #700000;
  border: #ECB434 outset 3pt;
  font-size: larger;
}
button:active {
  background-color: #B588AD;
  border: #ECB434 inset 3pt;
  
}

table, th, td {
  border: 1px solid;
  border-collapse: collapse;
}

.projects {
   position: absolute;
}


.rodape {
  display: block;
  position: relative;
  /*
  left: 0px;
  bottom: -100px;
  height: 10px;
  */
  /*
  position: absolute;
  top: 800px;
  */

}
/*
a {
  display: inline;
}
*/

li {  margin-bottom: 20px; }

footer {
  position: relative;
  bottom: -10px;
  font-size: smaller;
}

/*
a small {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  color: #ECB4E2;
  position:fixed;
  left:50%;
  top:-700px;

}
*/
hr {
  border-width:0;
 
  display: block;
  /*width: 150px;*/
	height: 20px; 
  /*border-top: 7px dotted #700000;*/
  background: transparent url(img/abacaxi_mini.png) center repeat-x;
  clear: both;
}

.center{
  display: block;
  /*position: fixed;*/
  margin-left: auto;
  margin-right: auto;
  /*width: 30%;*/ 
  /*transform: translate(-50%, -50%);*/
  text-decoration: none;
}

/*** MODO NOTURNO https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme ***/

@media (prefers-color-scheme: dark) {
    html { 
      background-image: url("img/abacaxi_pattern_dark.png"); 
      background-color: #333;   
      color: white;
    }
  
    body { 
      opacity: 1;
      background-color: transparent;      
      background-image: none;
    } 
    
    p, li, header, h1, body {
      
      color: white;
    }

    
    a:link              {  color: white;  }
    a:hover, a:active   {  color: white;  }
    a:visited           {  color: white;  }
}

/* não utilizado mas vai que */
.xoxota {
  font-family: "Comic Sans MS", sans-serif;
	font-smooth: never;
	text-decoration: underline red wavy 1px;
}


/*** RAREBITS *****/

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

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

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

/*general*/

.subPage {
  width: 1000px;
  max-width: 98%;
  /*background-color: #ffffff;*/
  outline: 3px solid #700000;
  margin: auto;
  margin-bottom: 10px;
  padding: 0px 12px 12px;
}

.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%;
}

/* HOMEPAGE */

/* style nav button images */
.comicNav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
}
.comicNav img {
  width: 80px;
  max-width: 98%;
  padding-right: 30px;
}

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

/* ARCHIVE PAGE */

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

/* style archive table cells */
.archiveTable td {
  padding: 3px;
  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;
}
.archiveCellThumb img{
    max-width: 100%;
  }

/* 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: #DA5437;
  cursor: pointer;
}



/*** RSS *****/

rss{
  display: block;
  font-family: verdana, arial;  
}
title {
  display: block;
  margin: 5px;
  padding: 2px;
  color: gray;
  border-bottom: 1px solid silver;
}
link {
  display: block;
  font-size: small;
  padding-left: 10px;
}
item {
  display: block;
  padding: 2px 30px 2px 30px;
}
docs {
  display: block;
  background-color: #ffffe6;
  margin: 20px;
  text-align: center;
  padding: 5px;
  color: #7f7f7f;
  border: 1px solid silver;
}

iframe{
  display: block;
  color: #000000;
  text-align: center;
  margin: auto;
  
}
language, lastBuildDate, ttl, guid, category, description, pubDate {
display: none;
}