@charset "UTF-8";
body {
  background: #f1f5f6;
  font-family: "Noticia Text", sans-serif;
}

em {
  font-style: italic;
}

aside.context {
  text-align: center;
  color: #fff;
  line-height: 1.7;
}
aside.context a {
  text-decoration: none;
  color: #fff;
  padding: 3px 0;
  border-bottom: 1px dashed;
}
aside.context a:hover {
  border-bottom: 1px solid;
}
aside.context .explanation {
  max-width: 700px;
  margin: 6em auto 0;
}

footer {
  text-align: center;
  margin: 4em auto;
  width: 100%;
}
footer a {
  text-decoration: none;
  display: inline-block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: transparent;
  border: 1px dashed #fff;
  color: #fff;
  margin: 5px;
}
footer a:hover {
  background: rgba(255, 255, 255, 0.1);
}
footer a .icons {
  margin-top: 12px;
  display: inline-block;
  font-size: 20px;
}

* {
  box-sizing: border-box;
}

.main-content {
  max-width: 1200px;
  margin: auto;
}

.profile-content {
  width: 100%;
  min-height: 140vh;
  overflow-y: hidden;
  padding: 4em;
  display: grid;
  margin: auto;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: 250px repeat(3, 1fr);
}

input {
  display: none;
}
input:checked + label {
  font-weight: 700;
}
input:checked + label:before {
  height: 13px;
}

label {
  position: absolute;
  margin-top: 20px;
  top: 20px;
  left: 3em;
  padding-left: 1em;
  cursor: pointer;
  background: #f1f5f6;
  z-index: 20;
}
label:before {
  content: '';
  background: #000;
  width: 13px;
  transition: .2s ease;
  height: 0;
  top: 2px;
  position: absolute;
  left: -3px;
}
label[for="awards"] {
  top: 40px;
}
label[for="book"] {
  top: 60px;
}

/* controlling items */
.item {
  max-height: 800px;
  transition: all .4s ease;
  overflow: hidden;
  opacity: 1;
  position: relative;
  z-index: 10;
  width: 100%;
}
.item.page-1 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 10;
  transition: .4s ease;
}

.subitem {
  transition: .4s ease-in-out .3s;
  opacity: 0;
  position: relative;
  top: 15px;
}

#about:checked ~ .profile-content .page-2,
#about:checked ~ .profile-content .page-3 {
  max-height: 0;
  width: 0;
  opacity: 0;
}

#awards:checked ~ .profile-content .page-1,
#awards:checked ~ .profile-content .page-3 {
  max-height: 0;
  width: 0;
  opacity: 0;
}
#awards:checked ~ .profile-content .page-2 .subitem {
  opacity: 1;
  top: 0;
}

#book:checked ~ .profile-content .page-1,
#book:checked ~ .profile-content .page-2 {
  width: 0;
  max-height: 0;
  opacity: 0;
}
#book:checked ~ .profile-content .page-3 .subitem {
  opacity: 1;
  top: 0;
}

/* specfiic items */
.hamilton {
  grid-column: 3 / span 4;
  grid-row: 2 / span 3;
}

.chump {
  grid-column: 2 / span 2;
  grid-row: 4 / span 1;
}

.ith {
  grid-column: 7 / span 3;
  grid-row: 1 / span 3;
  margin-top: 3em;
}

.moana {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  margin-top: 10em;
}

.bringiton {
  grid-row: 3 / span 2;
  grid-column: 10 / span 2;
}

.profile-name {
  font: 120px/1 "Mr Dafoe", cursive;
  color: #e6e6e6;
  grid-row: 1 / span 1;
  grid-column: 1 / span 11;
  text-align: right;
}

.profile-pic img {
  position: fixed;
  top: 0;
  right: 2%;
  height: 180%;
  width: auto;
  z-index: 1;
}

.intro {
  grid-row: 1 / span 1;
  grid-column: 1 / span 8;
  margin-top: 3.5em;
  font: 28px/1.3 'Noticia Text', serif;
}

.book {
  grid-row: 2 / span 3;
  grid-column: 1 / span 3;
  margin-top: -4em;
}
.book img {
  width: 100%;
  object-fit: cover;
  margin-top: 40px;
}

.book-info {
  grid-row: 2 / span 4;
  grid-column: 4 / span 5;
  margin: 2.5em 0 0 4em;
  align-items: center;
}

h5.title {
  font: 700 30px/1.1 "Noticia Text", serif;
  color: #000;
  width: 85%;
}

p {
  font: 400 20px/1.5 "Noticia Text", serif;
  color: #555;
  margin-top: 20px;
  width: 80%;
}

.list {
  padding-right: 3em;
}

.list_item {
  line-height: 1.4;
  padding: 10px 0;
}
.list_item .award-recipient {
  font-size: 18px;
}
.list_item .award-title {
  color: #999;
  margin-top: 3px;
}
.list_item .award-year {
  color: #999;
  display: inline-block;
  position: relative;
  margin-left: 15px;
}
.list_item .award-year:after {
  content: "●";
  position: absolute;
  font-size: 8px;
  left: -10px;
  top: 5px;
}

.trophy {
  font: italic 700 24px/1 'Noticia Text', serif;
  margin-bottom: 1em;
}

.emmy {
  grid-column: 1 / span 3;
  grid-row: 2 / span 4;
}

.grammy {
  grid-column: 4 / span 3;
  grid-row: 2 / span 4;
}

.oscar {
  grid-column: 1 / span 2;
  grid-row: 3 / span 4;
  margin-top: 1em;
}
.oscar .trophy {
  margin-bottom: 1.5em;
}

.tony {
  grid-column: 7 / span 3;
  grid-row: 2 / span 4;
}

@media screen and (max-width: 1000px) {
  .profile-content {
    grid-auto-fill: dense;
    max-height: none;
    grid: min-content repeat(5, max-content)/35% 35% 30%;
  }

  .intro {
    grid-column: 1 / span 2;
    margin: 3em 0 2em;
  }

  .profile-name {
    font: 100px/1 "Mr Dafoe", cursive;
  }

  .profile-pic img {
    right: -2%;
    height: 100%;
  }

  .page-1.item img {
    width: 100%;
    height: auto;
  }

  .hamilton {
    grid-row: 2 / span 2;
    grid-column: 1 / span 2;
  }

  .moana {
    grid-row: 4 / span 1;
    grid-column: 1 / span 1;
    margin: 0;
  }

  .chump {
    grid-row: 5 / span 1;
    grid-column: 2 / span 1;
  }

  .ith {
    grid-row: 5 / span 1;
    grid-column: 1 / span 1;
    margin: 0;
  }

  .bringiton {
    grid-row: 6 / span 1;
    grid-column: 2 / span 1;
    margin: 0;
  }

  .trophy {
    margin: 1.5em 0 .5em;
  }

  .emmy {
    grid-row: 2 / span 1;
  }

  .grammy {
    grid-column: 1 / span 2;
    grid-row: 3 / span 1;
  }

  .oscar {
    grid-column: 1 / span 2;
    grid-row: 4 / span 1;
    margin: 0;
  }
  .oscar .coming-soon {
    margin: -.5em 0 .5em;
  }

  .tony {
    grid-column: 1 / span 2;
    grid-row: 5 / span 1;
  }

  .book {
    grid-row: 2 / span 4;
  }

  .book-info {
    grid-column: 1 / span 2;
    grid-row: 6 / span 1;
    margin-left: 0;
    margin-top: 3em;
  }

  .book img {
    width: auto;
    height: 200px;
  }
}
@media screen and (max-width: 600px) {
  label {
    left: 0;
  }

  .profile-content {
    padding: 3em 1em;
  }
}
