@font-face {
  font-family: 'Applekid';
  src: url("/fonts/earthbound.woff2");
}

@font-face {
 font-family: 'Ninten';
 src: url("fonts/earthbound-beginnings.woff");
}

body {
  background-image:
  linear-gradient(rgba(172,132,0,1), rgba(255,255,149,1));
 
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

header {
  position:sticky;
  top:0;
  min-height: 90px;
  margin: -8px -8px 15px -8px;
  border-bottom: solid 5px #000;
  z-index:1
}

main {
  flex-grow:1;
}

footer {
  
}

.box {
  background-color:#f5f5ff;
  padding:10px;
  margin-bottom:15px;
  border:4px;
  border-radius: 8px;
}

.box .gallery {
 margin:auto;
}

.box .title {
  margin-left:5%;
  margin-right:5%;
  border-bottom: solid 3px #159995;
}

.error {
  color: white;
  font-size:x-large;
  text-shadow: 0 0 7px black;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.error h1 {
  color: white;
  font-size:xx-large;
  text-shadow: 0 0 7px black;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.error img {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:5px;
}

.featured {
  display:block;
  max-width:60vw;
  margin:auto;
  border: 3px black;
  border-radius: 2px;
}

.showcase {
  position:relative;
  margin: 20px 0 20px 0;
}

.censor:hover {
  opacity:0;
}

.censor {
  display:none;
  position:absolute;
  top:50%;
  left:50%;
  right:0;
  bottom:0;
  height:100%;
  width:60vw;
  opacity:1;
  transition: .5s ease;
  background-color: #ACACCF;
  transform: translate(-50%, -50%);
}

.censor p {
  display:flex;
  position:relative;
  top:45%;
  left:50%;
  transform: translate(-50%, -50%);
  text-align:center;
  flex-direction:column;
  font-family:'Ninten';
  font-weight:300;
  font-size:x-large;
  padding:10px;
  margin:auto;
}

.cgallery {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  width:85%;
  max-height:0;
  overflow:hidden;
  transition: max-height 0.2s ease-out;
  margin:auto;
  justify-content:center;
}

.cgallery img {
  display:inline-grid;
  padding: 4px;
  border: solid 2px #9A9A9A;
  border-radius: 5px;
  margin:9px;
}

.collapse {
  display:flex;
  margin:9px auto;
  background-color: #119CDD;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 85%;
  border: 0;
  border-radius: 5px;
  justify-content: center;
  font-size: 15px;
  transition: 0.5s ease;
}

.collapse:hover {
  background-color: #0A78CC; 
}

.gallery {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  width:85%;
  justify-content:center;
}

.gallery img {
  display:inline-grid;
  padding: 4px;
  border: solid 2px #9A9A9A;
  border-radius: 5px;
  align-items:flex-start;
  margin:9px;
}

.hostedby {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:5px;
}

.hostedby img {
  padding:5px;
}

.title {
  display:flex;
  align-items:center;
  flex-direction:column;
}

.title h1 {
  font-family: 'Applekid';
  color:#FFFFFF;
  font-weight:100;
  font-size:xx-large;
  border-bottom: solid 2px #FFFFFF;
}

.title h2 {
  font-family: 'Applekid';
  color:#000;
  font-weight:100;
  font-size:x-large;
  text-decoration:underline;
  margin: 9px 0 9px 0;
}

.title h3 {
  font-family: 'Applekid';
  color:#000;
  font-weight:100;
  font-size:large;
  font-style:italic;
  margin:0 0 9px 0;
}

#navigation {
  list-style:none;
  font-family: 'Applekid';
  color: #FFFFFF
}

#navigation ul {
  padding-left:10%;
  padding-right:10%;
  display:flex;
  justify-content:space-around;
}

#navigation li {
  list-style:none;
  display:inline;
  padding:5px;
}

#navigation li span {
  margin:4px 4px 0 4px;
  display:inline-block;
  font-size:20px;
}

#navigation a:link,#navigation a:visited{
  text-decoration:none;
  color:#FFFFFF;
}

#navigation a:hover {
  text-decoration:none;
  color:#FFFFC0;
  text-shadow: 0 0 15px black;
}