/*Body*/
body {
    background: black;
    height: auto;
    color: white;
}

/*Font Faces*/
@font-face {
    font-family: 'Vera Humana 95';
    src: url('Vera.ttf');
}

@font-face {
    font-family: 'Deja Vu';
    src: url('dejavusans-bold.ttf');
}

/*Header*/
#header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 25px;
}


/*Main*/
#main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  width: 750px;
  height: auto;
  margin: 15px auto auto auto;
  padding: 10px;
  font-family:'Deja Vu';
} #main h1 {
  font-family: 'Vera Humana 95';
  font-size: 42px;
  color: #ff4473;
  margin: 0;
} #main h2{
  font-size: 14px;
} #main li {
  list-style: none;
}

/*Sub*/
#sub {
  height: auto;
} #sub h2 {
  font-size: 23px;
}

a {
  color: white;
} a:hover {
  color: #606bc9;
}

details summary{
  color: white;
  user-select: none;
  margin-top: 5px;
  width: 150px;
} details summary:hover {
  color:#606bc9;
} details img{
  width: 150px;
}

.favorites-container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.image {
  position: relative;
  width: 100%;
  max-width: 130px;
} .image img {
  display: block;
  width: 100%;
  height: 130px;
} 

.overlay-text {
  color: white;
  font-size: 15px;
  text-align: center;
  padding: 10px;
  pointer-events: none;
  font-weight: bold;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image:hover .overlay {
  opacity: 1;
}

/*Navigation*/
#navigation {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 750px;
  margin: 0 auto 0 auto;
  padding: 10px;
  pointer-events: none;
  font-family: 'Deja Vu';
} #navigation a {
  text-decoration: none;
  pointer-events: all;
} 

/*CRT Effect*/
body::before {
content: "";
display: block;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
z-index: 2;
background-size: 100% 2px, 3px 100%;  /*affects 'bar' size */
pointer-events: none;
}
    
@media only screen and (min-width: 651px) {
  #topnav {
    display: none;
  }
}
  
@media only screen and (max-width: 650px) {
  
  .flex-container {
    display: flex;
    flex-direction: column;
  }
  #sidenav {
    display: none;
  }
  #aside {
    width: fit-content;
  }
   .extras {
    display: flex;
    flex-direction: row;
  } 
}