* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "gothic-light";
  src: url("../fonts/GothicA1-Light.ttf") format("truetype");
}

@font-face {
  font-family: "gothic-extrabold";
  src: url("../fonts/GothicA1-ExtraBold.ttf") format("truetype");
}

html {
  font-family: "gothic-light";
  font-size: 18px;
}

h1 {
  font-family: "gothic-extrabold";
  font-size: 45px;
}

h1,
h2 {
  color: white;
}

body {
  background: url("../../images/galleries/yno/bg.gif");
  background-color: black;
}

p {
  color: white;
}

a {
  color: red;
}

a:hover {
  color: darkred;
}

img {
  width: 640px;
  height: 480px;
  image-rendering: pixelated;
}

hr {
  border: none;
  margin-bottom: 10px;
  margin-top: -5px;
  height: 2px;
  color: white;
  background-color: white;
}

#container {
  max-width: 1000px;
  max-height: 700px;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  border: 5px solid white;
  border-radius: 5px;
  background-color: #000000dd;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 10px 20px;
  color: white;
  border-bottom: 5px solid white;
}

#rightheader {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

select {
  background-color: black;
  color: white;
  padding: 5px;
  border: 3px solid white;
  border-radius: 5px;
}

select:hover {
  color: red;
  border: 3px solid red;
}

button {
  color: white;
  background-color: black;
  border: 3px solid white;
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
  text-align: center;
  font-family: "gothic-light";
  text-decoration: underline;
}

button:hover {
  color: red;
  border: 3px solid red;
  cursor: pointer;
}

#content {
  display: flex;
  flex-direction: row;
}

main {
  max-width: 700px;
  padding: 20px 20px 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

#progress {
  font-family: "gothic-light";
}

aside {
  width: 100%;
  border-left: 5px solid white;
  padding: 10px;
  display: grid;
  grid-template-rows: repeat(2, 285px);
  justify-items: center;
  gap: 10px;
}

.halfheight {
  overflow: scroll;
  scrollbar-width: thin;
  border: 2px solid white;
  width: 100%;
  padding: 10px;
  max-height: 100%;
  font-size: 17px;
}

.halfheight p {
  padding-bottom: 5px;
}

nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 5px 20px 5px 20px;
}

@media screen and (max-width: 1000px) {
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  #container {
    max-height: none;
  }

  #content {
    flex-direction: column;
  }

  main {
    max-width: 100%;
  }

  aside {
    border-left: none;
  }
}

/*      BUDDY       */
.corner-buddy {
  position: fixed;
  left: 0;
  bottom: 0;
}

@media screen and (max-width: 1000px) {
  .corner-buddy {
    display: none;
  }
}
