/*
Theme Name: HVRL
Description: Original WordPress Theme for HVRL
Theme URI: http://hvrl.ics.keio.ac.jp
Author: Tomoya Matsubara
Author URI: http://hvrl.ics.keio.ac.jp
Text Domain: hvrl
Version: 2.2.1
Tags: keio, hvrl
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Font size */
body > * {
  grid-column: 1/-1;
}

main {
  padding-bottom: 0;
}

#prof-wrapper {
  position: relative;
  width: 100%;
  padding-top: 30px;
  background: linear-gradient(90deg, rgb(2, 0, 36) 0%, rgb(77, 5, 5) 50%, rgb(0, 0, 0) 100%);
  display: grid;
  grid-template-columns: 20px 20px 60px 1fr 60px 20px 20px;
}
#prof-wrapper > * {
  grid-column: 4/-4;
}
#prof-wrapper #prof-name {
  letter-spacing: 2px;
  margin-bottom: 20px;
}
#prof-wrapper #prof-email {
  text-align: center;
  margin-bottom: 40px;
}
#prof-wrapper #wave-wrapper {
  grid-column: 1/-1;
}
#prof-wrapper #wave-wrapper .waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}
#prof-wrapper .parallax > use {
  animation: wave-animation 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
#prof-wrapper .parallax > use:nth-child(1) {
  animation-delay: -8s;
  animation-duration: 28s;
}
#prof-wrapper .parallax > use:nth-child(2) {
  animation-delay: -12s;
  animation-duration: 40s;
}
#prof-wrapper .parallax > use:nth-child(3) {
  animation-delay: -16s;
  animation-duration: 52s;
}
#prof-wrapper .parallax > use:nth-child(4) {
  animation-delay: -20s;
  animation-duration: 25s;
}

article {
  background-color: rgba(0, 0, 0, 0.7411764706);
  padding-bottom: 60px;
}
article > .block {
  display: grid;
  grid-template-columns: 20px 20px 60px 1fr 60px 20px 20px;
}
article > .block > * {
  grid-column: 4/-4;
}
article > .block > div {
  border: 1px solid white;
  margin: 80px 0;
  position: relative;
  padding: 20px;
  display: flex;
}
article > .block > div h2 {
  position: absolute;
  display: inline-block;
  top: -45px;
  left: 50%;
  line-height: 1;
  transform: translateX(-50%);
  background-color: black;
  padding: 0 10px;
  white-space: nowrap;
}
article > .block > div ul.fa-hvrl-list {
  position: relative;
  padding: 0;
  margin: auto;
}
article > .block > div ul.fa-hvrl-list li {
  list-style-type: none;
  padding: 0.5em 0.5em 0.5em 2em;
}
article > .block > div ul.fa-hvrl-list > li::before {
  font-family: "Font Awesome 5 Free";
  position: absolute;
  left: 0.5em;
  font-weight: bold;
  color: #af3333;
}
article > .block > div ul.fa-hvrl-list.link > li::before {
  content: "\f05a";
}
article > .block > div ul.fa-hvrl-list.prof-edu > li::before {
  content: "\f19d";
}
article > .block > div ul.fa-hvrl-list.prof-member > li::before {
  content: "\f2bb";
}
article > .block > div .wp-block-table {
  margin: auto;
  margin-top: 25px;
}
article > .block > div .wp-block-table table tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.123);
}

@keyframes wave-animation {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
/* Smaller than 834px (tablets) */
@media screen and (max-width: 834px) {
  #prof-wrapper > * {
    grid-column: 3/-3;
  }
  article > .block > * {
    grid-column: 3/-3;
  }
}
@media screen and (max-width: 640px) {
  ul > li ul {
    padding: 0;
    margin-left: -3em;
  }
  ul > li ul li {
    font-size: 0.8em;
  }
}
/* Smaller than 480px (smartphones) */
@media screen and (max-width: 480px) {
  #prof-wrapper > * {
    grid-column: 2/-2;
  }
  article > .block > * {
    grid-column: 2/-2;
  }
  article > .block > div {
    margin: 50px 0;
  }
  article > .block > div h2 {
    font-size: 1.56em;
    top: -36px;
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
}/*# sourceMappingURL=professor.css.map */