html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  background-color: maroon;
  background-image:url("../images/bgstampdark.png");
  background-size: 80px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 5px;
  background-attachment: fixed;
  color: black;
}

/* bg options */
.darkbg {
  background-image:url("../images/bgstampdarkest.png");
}

.evilbg {
  background-image:url("../images/bgstampblood.png");
}

a:link {
  color:deeppink
}
a:visited {
  color: crimson;
}

#container {
  display: grid;
  gap: 15px;
  width: 800px;
  margin: 2em auto;
  /*specificer grid-template i filen*/
  
}

#bigcontainer {
  width: 1200px;
  margin: 2em auto;

}

.flex { /*mine flexrows*/
  display: flex;
  column-gap: 15px;

}

/* diff boxes */

header {
  background-color: #8b0000;
  border: solid 5px sienna;
  color: bisque;
  text-align: center;
  letter-spacing: 4px;
}

.content {
  padding: 1em;
}

.breathe {
  line-height: 1.5em;
}

main.filled {
  background-color: bisque;
  border: solid 3px burlywood;
  padding: 2em;
}


.title {
  background-color: #a0522d;
  color:#ffe4c4;
  padding: 1px;
  text-align: center;
}

.scrollbox {
  overflow-y: scroll;
  background-color: #deb887;
  padding:  0 1em;
  scrollbar-color: maroon #e9967a;
  height: 95%;
}

section {
  background-color: bisque;
  border: solid 3px burlywood;
  height: fit-content;
}

/* Non specific attribute adding */

.border {   border: solid 3px burlywood;

}
div img, a img {
  vertical-align: bottom; /*https://stackoverflow.com/questions/17905827/why-does-my-image-have-space-underneath*/
}

.content > p {
  margin: 0;
}

h2 {
  font-size: large;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.centerVert {
  display: block;
  margin-top: auto;
  margin-bottom: auto;
  width: 80%;
}

.icon {
  float: right;
  display: inline;
}

ul {
  line-height: 1.5em;
  list-style-type: "\1F408";
}
/*usynlig scrollbar - virker ikke*/
.invisiblescroll {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.invisiblescroll::-webkit-scrollbar { /*Chrome, Safari and Opera*/
  display: none;
}

/* Special effects */

.colorinvert:active {
  filter: invert(100%);
}

.colorshift:active {
  filter: hue-rotate(90deg);
}

.colordesat:active {
  filter: saturate(0%);
}

.hoverreveal { /*dark ver når ikke hover*/
  filter: brightness(0%);
}
.hoverreveal:hover { /*lys når hover*/
  filter: brightness(100%);
}


/* --This is for the gallery enlarge-- */
.images img:hover {
  cursor: zoom-in;
}

  /* The Modal (background) */
#modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* popup image */
#focusimage {
  margin: auto;
  display: block;
  width: auto;
  max-width: 800px;
  max-height: 99%;
}

/* exit button */
#closebutton {
  background-color: sienna;
  border: outset 3px sienna;
  color: bisque;
  position: absolute;
  display: inline-block;
  top: 20px;
  right: 20px;
  height: 20px;
  width: 20px;
}

#closebutton span {
  position: relative;
  bottom: 6px;
  right: -0.5px;
  font-size: 1.5em;
}

#closebutton:active {
  border: inset sienna;
}

/* mest til main.html*/

.catbar li {
  line-height: 2.5em;
  list-style-type: "\1F431";
}

.catbar li.happycat:hover {
  list-style-type: "\1F63A";
}

.catbar li.angrycat:hover {
  list-style-type: "\1F63E";
}

.catbar li.sadcat:hover {
  list-style-type: "\1F63F";
}

.catbar li.screamcat:hover {
  list-style-type: "\1F640";
}

.catbar li.crylaughcat:hover {
  list-style-type: "\1F639";
}

.catbar li.kisscat:hover {
  list-style-type: "\1F63D";
}

.catbar li.smirkcat:hover {
  list-style-type: "\1F63C";
}

.catbar li.laughcat:hover {
  list-style-type: "\1F638";
}

.catbar li.heartcat:hover {
  list-style-type: "\1F63B";
}

nav ul li a {
  text-decoration: none;
}
