:root {
	--lightpink: #ffe1ed;
	--darkpink: #9b2856;
	--brightpink: #b81456;
	--lightblue: #99c4f2;
	--blue: #3383d6;
	--darkblue: #14296e;
	--yellow: #f7b878;
	--white: #fffbf8;
	--purple: #570b73;
	--pink: #fa61a3;
}


body {
	background-color: var(--darkblue);
	background-image: url(background.png);
	background-repeat: no-repeat;
	background-size: cover;
	font-family: "Pixel Life", tahoma, sans-serif;
}

* {
	box-sizing: border-box;
}

#wrapper {
	display: grid;
	grid-template: 
	"header header header" auto
	"nav main aside" auto
	"nav main otheraside" auto
	"footer footer footer" auto;
	grid-template-columns: 220px 580px 220px;
	margin: auto;
	gap: 20px;
	max-width: 1100px;
	padding: 15px;
	border: 3px solid var(--lightpink);
	border-radius: 10px;
	background-color: rgba(42, 94, 173, 0.7);
}

img {
  padding: 0;
}

.thumbnail {
width: auto;
height: 150px;
padding: 10px;
}

.thumbnail:hover {
  background-color: var(--white);
  border-radius: 4px;
}

.image {
  width: 400px;
  float: left;
  padding: 10px;
}

.tabcontent {
  display: none;
  padding: 5px;
  background-color: var(--blue);
  border-radius: 3px;
  overflow: auto;
}

h1 {
  font-size: 3.85em;
  letter-spacing: 8px;
}

h2, h3, h4 {
  letter-spacing: 2px;
  margin-top: 8px;
  background: linear-gradient(var(--blue), var(--purple));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 1.85em;
  margin-bottom: 1px;
}

h3 {
  font-size: 1.43em;
}

p, li {
 font-size: 1.15em;
 letter-spacing: 0.5px;
 margin-top: 7px;
 background: linear-gradient(var(--darkblue), var(--blue));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

li {
  margin-top: 2px;
}

h2, h3, h4, p, li {
  margin-left: 5px;
}

b {
  letter-spacing: 0.9px;
  background: var(--darkblue);
  -webkit-background-clip: text;
            background-clip: text;
  -webkit-text-fill-color: transparent;
}

ul {
  margin-left: -15px;
}

hr {
  width: 100%;
  height: 3px;
  color: var(--lightpink);
  background-color: var(--lightpink);
}

.box {
	color: var(--blue);
	background-image: linear-gradient(var(--lightblue), var(--lightpink));
	padding: 10px;
	overflow: auto;
	border: 3px solid;
	border-color: var(--lightpink) var(--lightblue) var(--lightblue) var(--lightpink);
	border-radius: 10px;
	box-shadow: 10px 10px var(--darkblue);
}

article {
  background-color: var(--white);
  height: 100%;
  border-radius: 4px;
  padding-top: 5px;
}

#header {
	grid-area: header;
	color: var(--lightpink);
}

a {
	color: var(--pink);
	background: linear-gradient(var(--pink), var(--brightpink));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
	font-weight: bold;
	text-decoration: none;
	transition: all .15s ease-in-out;
	border-radius: 2px;
	letter-spacing: 0.07em;
}

a:hover {
	color: var(--lightblue);
	transform: scale(1.1);
	border: 2px solid var(--lightpink);
	cursor: pointer;
}

a:hover > img {
  filter: invert(78%) sepia(8%) saturate(2092%) hue-rotate(182deg) brightness(97%) contrast(96%);
}

.icon {
  height: 15px;
  width: auto;
  margin-right: 5px;
  filter: invert(82%) sepia(7%) saturate(963%) hue-rotate(299deg) brightness(111%) contrast(104%);
}

.grah {
  transition-duration: 0s;
  position: relative;
  bottom: 44%;
  right: 19%;
  margin-left: auto;
  margin-right: auto;
}

.grah:hover {
  transform: none;
  border: none;
}

@supports (-moz-appearance:none) {
  .grah {
    bottom: 46%;
    right: 21%;
  }
}

.button {
  background-color: var(--lightpink);
  color: var(--darkpink);
  padding: 3px 12px;
  width: 100px;
  text-align: center;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 5px;
}

.button:hover {
  color: var(--yellow);
  background-color: var(--white);
}

.buttonimage {
  padding: 0;
  width: auto;
  border: none;
  background: none;
}

dialog {
  color: var(--white);
  border: none;
  background: none;
}

.carousel {
  display: flex;
  overflow: hidden;
  margin: 0 auto;
}

.carousel img {
  min-width: 100%;
}

.blinkies {
  animation: scrolling 20s linear infinite;
  will-change: transform;
  height: 20px;
  width: auto;
  justify-content: center;
  align-items: center;
  margin-right: 7px;
}

@keyframes scrolling {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-522.5%);
    }
}

#nav {
	grid-area: nav;
	width: 220px;
	height: 102%;
}

#nav a {
  display: inline-block;
  margin-bottom: 4px;
  margin-left: 4px;
  font-size: 1.18em;
}

#nav a:hover {
  background-color: var(--white);
}
#nav h2, h3 {
  margin-bottom: 0.4em;
}

#main h2, h3 {
  text-decoration: none;
}

#main {
	grid-area: main;
	height: 700px;
}

#aside {
	grid-area: aside;
	height: 340px;
}

#fun {
  grid-area: otheraside;
  height: 340px;
  overflow: hidden;
}

#fun img {
  height: auto;
  width: 195px;
}

@keyframes shake {
  0% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0.2)
  }
}

#foot {
	grid-area: footer;
}

html {
	scrollbar-color: var(--lightpink) var(--darkblue);
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}
@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}
@media (max-width: 1100px) {
    #wrapper {
      	grid-template: 
	      "header header header" auto
      	"nav main aside" auto
      	"nav main otheraside" auto
      	"footer footer footer" auto;
      	grid-template-columns: 10% 30% 10%;
    }
}