body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  background-image: url("background.jpg");
  background-size: cover;
  background-attachment: fixed;
  font-family: "Courier New";
  font-weight: bold;
  font-size: 15px;
  line-height: 1.25;
}

::selection {
  background-color: #ff0098;
  color: white;
}

p {
  color: white;
  margin: 15px;
}

a {
  color: #ff0098;
  text-decoration: none;
  transition: 0.4s ease;
}

a:hover {
  color: white;
}

a:active {
  color: white;
}

a:visited {
  color: #ff0098;
}

.enter {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  margin: 0;
  padding: 20px 5px;
  border: 3px solid #ff0098;
  background: black;
  font-family: "Courier New";
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  transition: 0.4s ease;
}

.enter a:hover {
  color: white;
}

.pagetitle {
  text-align: center;
  color: #ff0098;
  flex-shrink: 0;
}
@media only screen and (max-width: 579px) {
  .pagetitle {
    color: black;
  }
}

.copyright {
  flex-shrink: 0;
  text-align: center;
  color: white;
}
@media only screen and (max-width: 579px) {
  .copyright {
    color: black;
  }
}

.nav {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  padding-left: 15px;
  list-style-type: none;
  color: white;
}
.nav a {
  color: white;
}
.nav a:hover {
  color: #ff0098;
}
@media only screen and (max-width: 579px) {
  .nav a:hover {
    color: black;
  }
}
.nav li::before {
  content: "– ";
  color: white;
}
@media only screen and (min-width: 580px) and (max-width: 649px) {
  .nav li::before {
    content: none;
  }
}
@media only screen and (min-width: 580px) and (max-width: 649px) {
  .nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 0.9;
  }
  .nav li {
    display: inline-block;
    visibility: visible;
  }
  .nav a {
    color: white;
    text-decoration: none;
  }
  .nav a:hover {
    color: #ff0098;
  }
}

.content {
  position: absolute;
  margin: 0;
  height: calc(100vh - 12vw);
}
@media only screen and (max-width: 549px) {
  .content {
    position: relative;
  }
}
@media only screen and (max-width: 1089px) {
  .content {
    width: 88vw;
    max-width: 872px;
  }
}
@media only screen and (min-width: 1090px) {
  .content {
    width: 80vw;
    max-width: 1250px;
  }
}

.main {
  float: left;
  overflow: auto;
  border: 3px solid #ff0098;
  background-color: black;
}
@media only screen and (max-width: 579px) {
  .main {
    float: none;
    width: calc(100% - 6px);
    height: calc(100% - 60px - 6px);
    margin-top: 0px;
    transition: margin-top 0.4s ease, height 0.4s ease;
  }
  .main.shifted {
    margin-top: 205px;
    height: calc(100% - 205px - 60px - 6px);
  }
}
@media only screen and (min-width: 580px) {
  .main {
    width: calc(100% - 6px);
    height: calc(100% - 105px - 6px);
  }
}
@media only screen and (min-width: 650px) {
  .main {
    width: calc(100% - 170px - 10px - 6px);
    height: calc(100% - 6px);
  }
}
@media only screen and (min-width: 814px) {
  .main {
    width: 74%;
    height: calc(100% - 6px);
  }
}

@media only screen and (max-width: 579px) {
  .bar {
    float: left;
    width: 100%;
    height: 60px;
  }
}
@media only screen and (min-width: 580px) {
  .bar {
    float: left;
    width: 100%;
    height: 105px;
  }
}
@media only screen and (min-width: 650px) {
  .bar {
    float: right;
    width: 170px;
    height: 100%;
  }
}
@media only screen and (min-width: 814px) {
  .bar {
    float: right;
    width: calc(26% - 10px - 6px);
    height: 100%;
  }
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  border: 3px solid #ff0098;
  background-color: black;
}
@media only screen and (max-width: 579px) {
  .title {
    float: right;
    margin-left: -2px;
    width: calc(100% - 60px - 6px);
    height: calc(100% - 2px);
  }
}
@media only screen and (min-width: 580px) {
  .title {
    float: left;
    width: calc(30% - 6px - 3px);
    height: calc(100% - 2px);
  }
}
@media only screen and (min-width: 650px) {
  .title {
    float: right;
    width: calc(100% - 6px);
    height: 20%;
  }
}

.menu {
  border: 3px solid #ff0098;
  background-color: black;
}
@media only screen and (max-width: 579px) {
  .menu {
    display: block;
    clear: both;
    margin: 0;
    margin-top: -12px;
    padding: 0;
    width: calc(100% - 6px);
    max-height: 0;
    overflow: auto;
    background-color: #ff0098;
    transition: max-height 0.4s ease;
  }
  .menu.show {
    max-height: 205px;
  }
  .menu p {
    line-height: 1.5;
  }
}
@media only screen and (min-width: 580px) {
  .menu {
    float: right;
    width: 70%;
    height: calc(100% - 2px);
    overflow: hidden;
    border-left: 0;
    border-bottom: 0;
  }
  .menu p {
    line-height: 0.9;
  }
}
@media only screen and (min-width: 650px) {
  .menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    float: right;
    margin-top: 10px;
    width: calc(100% - 6px);
    height: calc(80% - 10px - 6px - 5px);
    overflow: auto;
    border-left: 3px solid #ff0098;
    border-bottom: 3px solid #ff0098;
  }
  .menu p {
    line-height: 1.5;
  }
}

@media only screen and (max-width: 579px) {
  .menubtn {
    display: inline-block;
    align-items: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    height: 58px;
    width: 58px;
    border: 3px solid #ff0098;
    border-right: 0;
    background-color: black;
  }
}

@media only screen and (max-width: 579px) {
  .btnbg {
    float: left;
    height: 58px;
    width: 58px;
    border-right: 3px solid #ff0098;
    transition: 0.4s ease;
  }
  .change .btnbg {
    background-color: #ff0098;
  }
}

@media only screen and (max-width: 579px) {
  .bar1, .bar2, .bar3 {
    width: 35px;
    height: 6px;
    margin: 6px 11px;
    background-color: #ff0098;
    transition: 0.4s ease;
  }
  .bar1 {
    margin-top: 13px;
  }
  .change .bar1 {
    transform: translate(0, 12px) rotate(-45deg);
    background-color: black;
  }
  .change .bar2 {
    opacity: 0;
  }
  .change .bar3 {
    transform: translate(0, -12px) rotate(45deg);
    background-color: black;
  }
}