html, 
body {
  overflow-x: clip;
}

body {
  background-color: aliceblue;
}

html.is_open,
body.is_open {
  overflow: hidden;
}

/* =====================================
  header
===================================== */
.header {
  align-items: center;
  background-color: rgba(240, 248, 255, .95);
  display: flex;
  height: 60px;
  justify-content: space-between;
  left: 0;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 5;
}
.header__title {
  font-weight: bold;
}
.header__humberger {
  height: 30px;
  width: 35px;
  z-index: 20;
}
.header__humberger span {
  background-color: #000;
  border-radius: 10px;
  display: block;
  height: 4px;
  margin: 6px 0;
  transition: 
    transform 0.3s ease-out,
    opacity 0.3s ease-out;
  width: 100%;
}
.header__humberger[aria-expanded="true"] span:nth-child(1){
  transform: translateY(10px) rotate(45deg);
}
.header__humberger[aria-expanded="true"] span:nth-child(2){
  opacity: 0;
}
.header__humberger[aria-expanded="true"] span:nth-child(3){
  transform: translateY(-10px) rotate(-45deg);
}
.header__overlay {
  background-color: rgba(0, 0, 0, .3);
  height: 100vh;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.4s ease-out;
  width: 100vw;
  z-index: 10;
}
.header__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.header__sideaera {
  background-color: aliceblue;
  display: block;
  height: 100vh;
  padding-top: 120px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.4s ease-out;
  width: 180px;
  z-index: 15;
}
.header__sideaera.is-open {
  transform: translateX(0);
}
.header__menu {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 50px;
}
.header__menu li {
  padding: 0 20px;
  text-align: center;
}
.header__menu li + li {
  padding-top: 30px;
}
.header__icon-list {
  margin-top: 50px;
  padding: 10px;
}
.header__icon-list h2 {
  box-sizing: border-box;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
.header__icon-list ul {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.header__icon img{
  aspect-ratio: 1 / 1;
  width: 29px;
}

/* =====================================
  main
===================================== */
.profile {
  justify-content: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1200px;
}
.profile__wrapper {
  align-items: center;
  display: flex;
  font-size: 20px;
  gap: 150px;
  justify-content: center;
  line-height: 1.2;
}
.profile__caption {
  order: 2;
}
.profile__title {
  font-size: 32px;
  font-weight: bold;
  order: 1;
}
.profile__body {
  line-height: 1.3;
  margin-top: 2em;
}
.profile__image {
  aspect-ratio: 1 / 1;
  border: 5px solid #000;
  border-radius: 50%;
  object-fit: cover;
  object-position: 70% center;
  width: 350px;
}
.profile__list-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-wrap: nowrap;
  padding-top: 80px;
}

.prof-info__title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}
.prof-info__list {
  margin-top: 10px;
  text-align: center;
}
.prof-info__list li {
  font-size: 20px;
  line-height: 1.8;
}
..prof-info__list--career {
  text-align: center;
}
.prof-info__list--career li {
  display: flex;
  gap: 20px;
  justify-content: left;
}
.datetime {
  flex: 0 0 5em;
  font-weight: bold;
}

.portfolio {
  margin: 0 auto;
  max-width: 1200px;
}
.portfolio__heading {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}
.portfolio__wrapper {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(2, 450px);
  justify-content: center;
  margin-top: 60px;
}
.portfolio__card {
  background:
    linear-gradient(to right, #244A64   50%, #fff 50%) right / 200% 100%;
  border-radius: 10px;
  box-shadow: 0 0 8px 2px #A3BFD9;
  display: flex;
  flex-direction: column;
  height: 550px;
  padding: 25px;
  transition: 
    background-position .3s cubic-bezier(.17,.67,.4,.99),
    color .3s cubic-bezier(.17,.67,.4,.99);
}
.portfolio__name {
  font-size: 24px;
  font-weight: bold;
  margin-top: 1em;
  order: 2;
}
.portfolio__img {
  aspect-ratio: 5 / 3;
  border: 5px solid #000;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 30%;
  order: 1;
  transition: 
    border-color .3s cubic-bezier(.17,.67,.4,.99);
  width: 100%;
}
.portfolio__img--poster {
  object-position: center top;
}
.portfolio__caption {
  line-height: 1.3;
  margin-top: 1em;
  order: 3;
}
.portfolio__link {
  background: #244A64;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  margin-left: auto;
  margin-top: auto;
  order: 4;
  padding: .5em 1em;
  transition: 
    background-color .3s cubic-bezier(.17,.67,.4,.99),
    color .3s cubic-bezier(.17,.67,.4,.99);
  width: max-content;
}

/* hover */
.portfolio__card:hover {
  background-position: left;
  color: #fff;
}
.portfolio__card:hover .portfolio__img {
  border-color: #fff;
}
.portfolio__card:hover .portfolio__link {
  background-color: #fff;
  color: #000;
}


/* =====================================
  footer
===================================== */
footer {
  background-color:  #244A64;
  color: #fff;
  margin-top: 100px;
  padding: .6em 0;
  text-align: center;
  
}


/* =====================================
  responsive
===================================== */

@media screen and (max-width: 992px){
  .profile {
    display: block;
    height: auto;
    margin-top: 100px;
  }
  .profile__wrapper {
    flex-direction: column;
    gap: 50px;
  }
  .profile__caption {
    text-align: center;
  }
  .profile__title {
    font-size: 20px;
  }
  .profile__body {
    font-size: 18px;
    margin-top: 1em;
  }
  .profile__image {
    width: 200px;
  }
  .profile__list-wrap {
    display: block;
    padding-top: 50px;
  }

  .prof-info {
    margin-top: 20px;
  }
  .prof-info__title {
    font-size: 18px;
  }
  .prof-info__list {
    margin: 10px auto;
    width: fit-content;
  }
  .prof-info__list li{
    font-size: 14px;
  }

  .portfolio__heading {
    margin-top: 50px;
  }
  .portfolio__wrapper {
    display: block;
    margin-top: 30px;
  }
  .portfolio__card {
    height: 400px;
    max-width: 350px;
    margin: 20px auto;
  }
  .portfolio__name {
    font-size: 18px;
  }
  .portfolio__caption {
    font-size: 14px;
  }
  .portfolio__link {
    font-size: 14px;
    font-weight: normal;
  }
}