/*oh god i have to do this all over again. fuck.*/

@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

body {
  background-color: #000000;
  font-size: 18px;
  font-family: "Varela Round", Arial;
  margin: 0;
  color: white;
}

#body-bg {
  background-image: url('bg.webp');
  background-repeat: no-repeat;
	background-attachment: fixed;
  background-size: cover;
  position: fixed;
  left: 0;
  right: 0;
  z-index: -1;
  display: block;
  height: 1080px;
  width: 1920px;
  filter: blur(5px) brightness(0.8);
  z-index: -1;
}

#flex {
  display: flex;
}

#sidebar {
  order: 1;
}

#nestedContainer {
 display: flex;
 height: fit-content;
}

/* what do you mean i can put a size with margin: auto? waow.*/
#container {
  margin: 3em auto;
  width: 1000px;
  max-height: 500px;
}

#header {
  border: 1px  rgb(116, 222, 120) solid;
  min-height: 150px;
  background-color: rgba(0, 0, 0, 0.5);
}

#header h1 {
  text-align: center;
  font-size: 65px;
  z-index: 3;
}

#sharkie {
width: 250px;
height:auto;
}

#sharkie-container {
position: relative;
left: 150px;
bottom: 230px;
z-index: 2;
width: 250px;
}

#sharkie-container:hover {
  animation: sharkieshake 3s ease 0s 1 normal forwards;
}

@keyframes sharkieshake {
	0%,
	100% {
		transform: rotate(0deg);
		transform-origin: 50% 50%;
	}

	10% {
		transform: rotate(8deg);
	}

	20%,
	40%,
	60% {
		transform: rotate(-10deg);
	}

	30%,
	50%,
	70% {
		transform: rotate(10deg);
	}

	80% {
		transform: rotate(-8deg);
	}

	90% {
		transform: rotate(8deg);
	}
}


#content {
  border: 1px  rgb(116, 222, 120) solid;
  margin: 1em auto;
  background: rgba(0, 0, 0, 0.5);
}

main {
  flex: 1;
  order: 2;
  border-radius: 5px;
  display: block;
  width: 650px;
  max-height: 500px;
  padding: 3%;
  margin-top: 1%;
  overflow-y: scroll;
}


aside {
  background-image: url('minecraft_dirt.jpg');
  background-repeat: repeat;
  background-size: cover;
  font-size: 20px;
  display: block;
  float: left;
  width: 250px;
  height: 600px;
  padding: 2%;
  overflow-y: scroll;
  line-break: auto;
  line-height: 1.5em;
}

/*this was taken from the zonelets css... hopefully thats fine? i think it should be ok.*/
img {
  max-width: 100%;
  height: auto;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  text-align: center;
}

#sidebar h2 {
  text-align: center;
}

#sidebar ul {
  list-style-type: none;
  text-align: center;
  padding: 0;
}

#sidebar a {
  font-weight: bolder;
  color: white;
  text-decoration: none;
}

#sidebar a:hover {
  color: rgb(116, 222, 120);
  background-color: #14110e;
}

hr {
  border: 1px rgb(116, 222, 120) solid;
}

p {
  line-height: 1.5em;
}

a { 
  color: white;
}

a:hover { 
  color: rgb(116, 222, 120);
  background-color: #14110e;
}

footer {
  text-align: center;
  z-index: 5;
  line-height: 0.5em;
}

/* code from https://www.digitalocean.com/community/tutorials/how-to-change-a-css-background-images-opacity thank you digital ocean very cool*/


.allpurposebox {
  background-image: url('minecraft_dirt.jpg');
  background-repeat: repeat;
  position: relative;
  border: rgb(116, 222, 120) 3px solid;
  width: 90%;
  max-height: 300px;
  margin: auto;
  overflow-y: scroll;
}
