/* body */
body {
  margin: 32px;
  font-family: sans-serif;
  font-size: 14px;
  color: gray;
}

/* header */

header {
  text-align: center;
}

h1 {
  font-weight: normal;
  /* border: 1px solid; */
  border-radius: 50% 20% / 10% 40%;
  /* border-radius: 16px; */
  background: skyblue;
  font-size: 22px;
  line-height: 100px;
  position: relative;
  margin: 0;
  color: white;
}

header p {
  /* display: inline-block ;
  border: 0;
  padding: 0; */
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 10px;
  color: white;
}

h1 small {
  font-size: 10px;
  position: absolute;
  top: 32px;
  right: 24px;
  color: gray;
}

/* main */
main {
  margin: 32px auto 0;
  width: calc(100% - 64px - 64px);
  max-width: 600px;
}

h2 {
  margin: 0;
  font-size: 14px;
  font-weight: normal;
}

h3 {
  margin: 0;
  font-weight: normal;
  margin-top: 8px;
  width: 200px;
  font-size: 12px;
  border: 1px solid;
  border-radius: 4px;
  padding: 4px 8px;
  /* background: orange; */
}

dl {
  margin: 0;
}

dl > div {
  margin-bottom: 32px;
}

dt {
  /* border: 1px solid gray; */
  border-radius: 50% 20% / 10% 40%;
  /* border-radius: 8px; */
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  user-select: none;
  position: relative;
  background: skyblue;
  color: white;
}

dt i {
  font-size: 18px;
}

dt:hover {
  background: orange;
}

dt::after {
  content: '+';
  position: absolute;
  top: 0px;
  right: 16px;
  transition: transform .3s;
}

/* dl div.appear dt {
  background: skyblue;
} */

dl div.appear dt:hover {
  background: orange;
}

dl>div.appear dt::after {
  transform: rotate(45deg);
}

dd {
  margin: 0;
  padding: 8px;
  display: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  margin-top: 8px;
  padding: 0;
  list-style-type: none;
  position: relative;
}

a:link {
  display: inline-block;
  text-decoration: none;
  color: gray;
  background: skyblue;
  /* border-radius: 4px; */
  border-radius: 50% 20% / 10% 40%;
  line-height: 2;
  padding: 0 8px;
}

a:visited {
  color: gray;
}

a:hover {
  background: orange;
}

.title {
  display: inline-block;
  border-radius: 8px;
  width: 256px;
}

.comment {
  display: inline-block;
  font-size: 10px;
}

.date {
  display: inline-block;
  font-size: 12px;
  position: absolute;
  right: 0px;
  top: 6px;
}

dl>div.appear dd {
  display: block;
  animation: .3s fadeIn;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    oapcity: 1;
    transform: nmone;
  }
}

/* footer */
footer {
  margin-top: 32px;
  line-height: 100px;
  text-align: center;
  /* border: 1px solid; */
  border-radius: 50% 20% / 10% 40%;
  position: relative;
  background: skyblue;
}

footer p {
  /* display: inline-block ;
  border: 0;
  padding: 0; */
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 10px;
}

footer small {
  font-size: 14px;
  color: white;
}

footer address {
  position: absolute;
  top: 32px;
  right: 24px;
  font-size: 10px;
}