body {
  background-image: url('pics/black.jpg');
  background-size: 100%;
  box-sizing: border-box;
  color: #AD9EBA;
}

h1, h2, h3, h4 {
  font-size: 16px;
  text-align: center;
}

span {
  text-decoration: underline;
  cursor: pointer;
}

button {
  cursor: pointer;
}

@keyframes loading {
  0%{}
  50%{}
  100%{}
}

@keyframes scroll {
  0%{transform: translate(-120%, 0);}
  100%{transform: translate(120%, 0);}
}

.griffy-regular {
  font-family: "Griffy", system-ui;
  font-weight: 400;
  font-style: normal;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  box-sizing: border-box;
  border-radius: 20px;
}

.container div {
  border: 2px solid black;
  height: 100%;
  padding: 1%;
  margin: 0;
  font-size: 30px;
  box-sizing: border-box;
  border-radius: 20px;
}

.nav {
  margin: 0;
  height: 100%;
  width: 20%;
  border-right: 2px solid black;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
  box-sizing: border-box;
  color: #2C2136;
}

.artmain {
  border: 2px solid black;
  overflow: auto;
  border-radius: 20px;
}

.contentrow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.content {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  margin-top: 0.5%;
  margin-left: 0.5%;
  margin-bottom: 0.5%;
  height: 250px;
  width: auto;
  border: 2px solid black; 
  border-radius: 20px;
  background-color: #BDD48A;
}

.content img {
  width: 100%;
  border-radius: 20px;
}

.contentactive {
  display: flex;
  height: 500px;
  box-sizing: border-box;
  margin: 0.5%;
  border: 2px solid black; 
  border-radius: 20px;
}

.description {display: none;}

.contentactive:hover .description {
  display: flex;
  height: 500px;
  width: 300px;
  border-radius: 20px;
}

.contentactive:hover .artimg {
  width: auto;
  border-right: 2px dotted black;
}

#everything {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 8px double black;
  background-color: #2C2136;
  width: 80%;
  height: 100%;
  margin: auto;
  padding: 0;
  box-sizing: border-box;
  border-radius: 20px;
  outline: 5px solid #4C709C;
}

#everything div {
  box-sizing: border-box;
}

#header {
  width: 98%;
  height: 200px;
  border: 2px solid black;
  padding: 1%;
  margin-left: 1%;
  margin-right: 1%;
  margin-top: 1%;
  box-sizing: border-box;
  border-radius: 20px;
  background-color: black;
}

#header img {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: 20px;
}

#nav {
  width: 98%;
  height: 50px;
  border: 2px solid black;
  margin-left: 1%;
  margin-right: 1%;
  margin-top: 0.5%;
  padding: 0;
  box-sizing: border-box;
}

#nav1 {background-color: #AD9EBA;}
#nav1:hover {background-color: #735C87;}

#nav2{background-color: #BDD48A;}
#nav2:hover {background-color: #839C4C;}

#nav3{background-color: #AD9EBA;}
#nav3:hover {background-color: #735C87;}

#nav4{background-color: #BDD48A;}
#nav4:hover {background-color: #839C4C;}

#nav5{background-color: #AD9EBA; border: 0;}
#nav5:hover {background-color: #735C87;}

#mainpage {
  width: 98%;
  height: 100%;
  margin-left: 1%;
  margin-right: 1%;
  margin-top: 0.5%;
  margin-bottom: 1%;
  box-sizing: border-box;
}