/* General for most pages :) */

body {
  background-image: url("/assets/pink_tartan.png");
  background-attachment: fixed;
  background-size: 180px;

  color: darkslategray;
  font-family: sans-serif;

  padding: 0;
  margin: 0;
}
h1{
  text-align: center;
  color: PaleVioletRed;

  margin-top: 0;
}
h2 {
  margin-top: 0;
  text-align: center;
}
h3{
  margin-top: 0;
  color: PaleVioletRed;
}
h4 {
  margin-top: 0;
}
small {
  color: dimgray;

}
hr {
  border: none;
  border-top: 10px dotted;
  margin-top: 25px;
  margin-bottom: 25px;
  color: oldlace;
  width: 300px;
}
code {
  background-color: white;
  border-radius: 0.4em;
}

header {
  background-color: #FFDBDB;
  padding-top: 1em;
  border-bottom: 0.5em solid #594100;
  margin-bottom: 40px; 
}
.contentandfooter {
  min-height: calc(100vh - 240px);
  padding-bottom: 130px; /* footer hieght + margin wanted*/
  position: relative;
}
footer {
  background-color: #FFDBDB;
  border-top: 0.5em solid #594100;

  padding-left: 15%;
  padding-right: 15%;

  position: absolute;
  bottom: 0;

  min-height: 100px; 
  width: 70%; /* Subtract padding for real width*/
}

/*Sections*/
.allcontent {
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}
.pageblock {
  background-color: oldlace;
  border-radius: 0.5em;

  padding: 25px 25px;

  margin: inherit;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 800px;
}
.codeblock {
  background-color: white;
  border-radius: 0.6em;
  padding: 0.3em;
}

/*Fonts*/
.serif {
  font-family: serif;
}

/****Fancy elements****/

/* star list */
ul { 
  list-style-position: inside;
  list-style-image: url("/assets/CatSitTransBro.gif");
}


/* The details element, currently only on the Blinkies page. */
details {
  background: linear-gradient(90deg, rgb(255, 228, 228) 20%, rgba(255, 255, 255, 0) 90%);
  padding: 8px;
  border-radius: 16px;
}
details p {
  padding-left: 20px;
  padding-right: 20px;
}
summary {
  padding: 8px;
}
summary:hover {
  color: #594100;
}

/* Links; unvisited, visited, hover state, when clicked */
a:link {
  color: hotpink;
}
a:visited {
  color: rosybrown;
}
a:hover {
  color: deeppink;
}
a:active {
  color: darkslategray;
}


/*misc*/
.constructionhighlight {
  background-color: white;
  width: fit-content;

  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
