* {
  padding: 0;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
  color: #000;
  text-decoration: none;
}

html {
  height: 100%;
}

div.wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
}

aside.aside {
  width: 200px;
  border-right: 1px solid #ccc;
}

.aside h1 {
  text-align: center;
  margin: 30px 0;
}

.aside .menu-box {
  width: 100%;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aside .menu-box .menu-item {
  width: 170px;
  height: 50px;
  line-height: 50px;
  margin-bottom: 15px;
  border-radius: 15px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.aside .menu-box .menu-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
}

.aside .menu-box .menu-item:hover {
  background-color: #ccc;
}

.aside .menu-box .menu-item:active {
  background-color: #999;
}

.main-content {
  flex: 1;
  padding: 35px;
}

#class-table,
#shop-list,
#news-today,
#about-me {
  display: none;
}

#class-table:target {
  display: table;
}

#shop-list:target,
#news-today:target,
#about-me:target {
  display: flex;
}

#class-table th, #class-table td {
  padding: 5px 20px;
  text-align: center;
}

#shop-list {
  width: 100%;
  height: 100%;
  overflow: scroll;
}

#shop-list ul {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-content: start;
}

#shop-list ul li.shop-item {
  width: 300px;
  height: 200px;
  border-radius: 15px;
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #fff;
}

#shop-list ul li.shop-item h2,
#shop-list ul li.shop-item p {
  margin-bottom: 15px;
}

#news-today {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  padding: 0 20px;
  flex-direction: column;
}

#news-today h1 {
  text-align: center;
}

#news-today .article-info {
  text-align: center;
  margin-top: 15px;
  color: #ccc;
  font-size: 14px;
}

#news-today article {
  margin: 15px;
}

#news-today article p {
  text-indent: 2em;
  line-height: 2;
  margin-bottom: 20px;
}

#about-me {
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
}

#about-me .avatar {
  width: 150px;
  height: 150px;
  border-radius: 9999px;
  border: 2px solid #ccc;
}

#about-me h2 {
  margin-top: 20px;
}

#about-me .details {
  width: 700px;
  margin: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

#about-me .details .item {
  width: 100%;
  height: auto;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 15px;
}

#about-me .details .item ul {
  padding: 15px 0;
  border: 1px solid transparent;
}

#about-me .details .item ul li {
  float: left;
  margin-right: 10px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 3px 6px;
  cursor: pointer;
  transition: .3s;
}

#about-me .details .item ul li:hover {
  background-color: rgb(47, 179, 255);
  color: #fff;
  transform: scale(1.25);
}