html {
  height: 100%;
  width: 100%;
}

body {
  line-height: 1.2em;
  width: 730px;
  margin: 0px auto;
}

img {
  max-width: 100%;
}

.title {
  font-size: 2em;
  text-align: center;
  color: purple;
  background-color: pink;
  border: 2px purple solid;
  border-left: 40px purple solid;
  border-right: 40px purple solid;
  line-height: 30px;
  padding: 5px;
}

/* .sub {
  font-size: 1.5em;
  line-height: 1em;
  text-align: center;
} */

.profile {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "icon status"
    "icon character"
  ;
  border: 4pt navy double;
  width: auto;
}

.profile>.icon {
  grid-area: icon;
  display: flex;
  align-items: center;
  border-right: 3pt navy double;
  padding: 1px;
}

.profile>.profile-status {
  grid-area: status;
  color: brown;
  margin-left: 0em;
  padding: 3pt 1em;
}

.profile>.profile-character {
  grid-area: character;
  color: brown;
  margin-left: 0em;
  padding: 3pt 1em;
  border-top: 3pt navy double;
}

h1 {
  color: navy;
  font-size: 1.5em;
  border-left: 1.4em navy solid;
  border-bottom: 0.1em navy solid;
  padding: 5px;
}

h2 {
  border-bottom: 1px black solid;
}

.icon {
  display: block;
  float: right;
}

.status {
  color: brown;
  margin-left: 2em;
}

.status2 {
  color: brown;
  margin-left: 4em;
  font-size: 0.8em;
  line-height: 0.8em;
  font-style: itaric;
}

.header {
  color: navy;
  font-weight: bold;
}

.story {
  color: brown;
}

.story>.chara1 {
  text-indent: 1em;
  font-weight: bold;
  color: darkblue;
}

.story>.chara2 {
  text-indent: 1em;
  font-weight: bold;
  color: purple;
}

.story>.chara3 {
  text-indent: 1em;
  font-weight: bold;
  color: darkgreen;
}

.copyright {
  margin-left: 1em;
  text-indent: 0em;
  color: gray;
  background: lightgray;
  font-size: 0.8em;
  line-height: 1em;
}

@media screen and (max-width: 480px) {
  body {
    width: 100%;
  }

  .title {
    font-size: 1.3em;
  }

  .profile {
    display: grid;
    grid-template-columns: auto;
    grid-template-areas:
      "icon"
      "status"
      "character"
    ;
    border: 4pt navy double;
    width: auto;
  }

  .profile>.icon {
    grid-area: icon;
    display: flex;
    align-items: center;
    border-right: 0;
    border-bottom: 3pt navy double;
    padding: 1px;
  }
  
}
