
/*--------------- basic styling --------------- */
html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      font-family: "Roboto Mono" !important;
      background: #0f0f0f !important;
      color: #fff !important;
}

.whitespace {
      width: 100%;
      height: 100px;
}

@media(max-width: 768px) {
      .whitespace {
            display: none;
      }
}

/*--------------- typewriter effect --------------- */
.line {
      width: 24em;
      top: 50%;
      margin: auto;
      border-right: 2px solid rgba(255, 255, 255, 0.75);
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      transform: translateY(-50%);
}

.anim-typewriter {
      animation: typewriter 2s steps(40) 1s 1 normal both,
      blinkTextCussor 500ms steps(40) infinite normal;
}

@keyframes typewriter {
      from {
            width: 0;
      }
      to {
            width: 16em;
      }
}

@media(max-width: 768px) {
      @keyframes typewriter {
            from {
                  width: 0;
            }
            to {
                  width: 17em;
            }
      }
}

@keyframes blinkTextCussor {
      from {
            border-right-color: rgba(255, 255, 255, 0.75);
      }
      to {
            border-right-color: transparent;
      }
}

/*--------------- navigation --------------- */
nav {
      width: 100%;
      background: #0f0f0f;
      height: 80px;
      position: fixed;
      z-index: 1;
}

nav #brand {
      float: left;
      display: block;
      margin-left: 82px;
      line-height: 80px;
      font-weight: bold;
}

nav #brand a {
      color: #fff;
      transition: all 0.3s ease-out;
}

nav #brand a:hover {
      text-decoration: none;
}

nav #menu {
      float: left;
      right: 80px;
      position: fixed;
}

nav #menu li {
      padding-left: 40px;
      display: inline-block;
      cursor: pointer;
      font-weight: 300;
      line-height: 80px;
      position: relative;
      transition: all 0.3s ease-out;
}

nav #menu li span {
      font-weight: 700;
}

nav #menu li a {
      color: #fff;
}

nav #menu li a:hover {
      text-decoration: none;
}

#toggle {
      position: absolute;
      right: 30px;
      top: 20px;
      font-weight: 300;
      z-index: 2;
      width: 30px;
      height: 30px;
      cursor: pointer;
      float: right;
      transition: all 0.3s ease-out;
      visibility: hidden;
      opacity: 0;
}

.close-btn {
      position: absolute;
      right: 16px;
      font-weight: 300;
      z-index: 2;
      cursor: pointer;
      top: -2px;
      line-height: 80px;
}

#resize {
      z-index: 1;
      top: 0px;
      position: fixed;
      background: #0f0f0f;
      width: 100%;
      height: 100%;
      visibility: hidden;
      opacity: 0;
      transition: all 1s ease-out;
}

#resize #menu {
      height: 90px;
      position: absolute;
      left: 45%;
      transform: translateX(-40%);
      text-align: center;
      display: table-cell;
      vertical-align: center;
}

#resize #menu li {
      display: block;
      text-align: center;
      padding: 10px 0;
      font-size: 50px;
      min-height: 50px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease-out;
}

#resize li:nth-child(1) {
      margin-top: 140px;
}

#resize #menu li a {
      color: #fff;
}

#resize #menu li a:hover {
      text-decoration: none;
}

#resize.active {
      visibility: visible;
      opacity: 1;
}

@media(max-width: 768px) {
      #toggle {
            visibility: visible;
            opacity: 1;
            margin-top: 6px;
            margin-right: 4px;
      }

      nav #brand {
            margin-left: 24px;
      }

      #menu a {
            font-size: 20px;
            font-weight: 300;
      }

      #resize li span {
            font-weight: bolder;
      }

      nav #menu {
            display: none;
      }
}

@media(min-width: 768px) {
      #resize {
            visibility: hidden !important;
      }
}

/*--------------- hero section --------------- */
.hero {
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
}

.hero h1 {
      font-weight: lighter;
      text-align: center;
      letter-spacing: -2px;
      line-height: 58px;
}

@media(max-width: 768px) {
      .header h1 {
            font-size: 26px;
      }
}

/*--------------- scroll down icon animation --------------- */
.scroll-down {
      position: absolute;
      left: 50%;
      bottom: 100px;
      display: block;
      text-align: center;
      font-size: 20px;
      z-index: 0;
      text-decoration: none;
      text-shadow: 0;
      width: 13px;
      height: 13px;
      border-bottom: 2px solid #fff;
      border-right: 2px solid #fff;
      -webkit-transform: translate(-50%, 0) rotate(45deg);
      animation: fade_move_down 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes fade_move_down {
      0% {
            transform: translate(0, -20px) rotate(45deg);
            opacity: 0;
      }
      50% {
            opacity: 1;
      }
      100% {
            transform: translate(0, 20px) rotate(45deg);
            opacity: 0;
      }
}

/*--------------- hobbies section ---------------*/
h6 {
      text-align: center;
}

.vertical {
      margin-top: 40px;
      border-left: 1px solid #fff;
      height: 80px;
      position: absolute;
      left: 50%;
}

.hobby {
      height: 500px;
}

.reading {
      background: url('/imgs/books.jpg') no-repeat center center;
      background-size: cover;
      height: 500px;
}

.reading::after {
      content: "reading.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 8%;
      left: -60%;
      right: 0;
      bottom: 0;
}

#goodreads p {
      color: white; 
  }
  

  #goodreads a {
      color: white; 
      text-decoration: underline; 
  }
  
  #goodreads a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

#book1 p {
      color: white; 
  }
  

  #book1 a {
      color: white; 
      text-decoration: underline; 
  }
  
  #book1 a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

#book2 p {
      color: white; 
  }
  

  #book2 a {
      color: white; 
      text-decoration: underline; 
  }
  
  #book2 a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

#book3 p {
      color: white; 
  }
  

  #book3 a {
      color: white; 
      text-decoration: underline; 
  }
  
  #book3 a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

.music {
      background: url('/imgs/music.jpg') no-repeat 100% 65%;
      background-size: cover;
      height: 400px;
}

.music::after {
      content: "music.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 80%;
      left: 90%;
      right: 0;
      bottom: 0;
}

#music1 p {
      color: white; 
  }
  

  #music1 a {
      color: white; 
      text-decoration: underline; 
  }
  
  #music1 a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

#music2 p {
      color: white; 
  }
  

  #music2 a {
      color: white; 
      text-decoration: underline; 
  }
  
  #music2 a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

#music3 p {
      color: white; 
  }
  

  #music3 a {
      color: white; 
      text-decoration: underline; 
  }
  
  #music3 a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

.fitness {
      background: url('/imgs/me2.jpg') no-repeat 50% 69%;
      background-size: cover;
}

.fitness::after {
      content: "fitness.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 80%;
      left: -50%;
      right: 0;
      bottom: 0;
}

.calligraphy {
      background: url('/imgs/callig.jpg') no-repeat 50% 70%;
      background-size: cover;
}

.calligraphy::after {
      content: "calligraphy/writing.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 10%;
      left: 90%;
      right: 0;
      bottom: 0;
}

#pen p {
      color: white; 
  }
  

  #pen a {
      color: white; 
      text-decoration: underline; 
  }
  
  #pen a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

@media(max-width: 768px) {
      .hobby {
            width: 90% !important;
            margin: 14px auto;
      }

      .vertical {
            display: none;
      }

      .reading::after, .music::after, .fitness::after, .calligraphy::after {
            display: none;
      }
}

/*--------------- experience section --------------- */
h6 {
      text-align: center;
}

.vertical {
      margin-top: 40px;
      border-left: 1px solid #fff;
      height: 80px;
      position: absolute;
      left: 50%;
}

.experience {
      height: 500px;
}


.research {
      background: url('/imgs/research.jpg') no-repeat center center;
      background-size: cover;
      height: 500px;
}

.research::after {
      content: "research.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 8%;
      left: -60%;
      right: 0;
      bottom: 0;
}

#MLBD p {
      color: white; 
  }
  

  #MLBD a {
      color: white; 
      text-decoration: underline; 
  }
  
  #MLBD a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

#HATLab p {
      color: white; 
  }
  

  #HATLab a {
      color: white; 
      text-decoration: underline; 
  }
  
  #HATLab a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

#citations p {
      color: white; 
  }
  

  #citations a {
      color: white; 
      text-decoration: underline; 
  }
  
  #citations a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

.projects {
      background: url('/imgs/projects.jpg') no-repeat center center;
      background-size: cover;
      height: 400px;
}

.projects::after {
      content: "projects.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 80%;
      left: 90%;
      right: 0;
      bottom: 0;
}

#project p {
      color: white; 
  }
  

  #project a {
      color: white; 
      text-decoration: underline; 
  }
  
  #project a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

.publications {
      background: url('/imgs/publications.jpg') no-repeat 50% 60%;
      background-size: cover;
}

.publications::after {
      content: "publications.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 80%;
      left: -100%;
      right: 0;
      bottom: 0;
}

#poster1 p {
      color: white; 
  }
  

  #poster1 a {
      color: white; 
      text-decoration: underline; 
  }
  
  #poster1 a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

#poster2 p {
      color: white; 
  }
  

  #poster2 a {
      color: white; 
      text-decoration: underline; 
  }
  
  #poster2 a:hover {
      color: #cccccc;
      text-decoration: underline; 
}

.cv {
      background: url('/imgs/cv.jpg') no-repeat 50% 50%;
      background-size: cover;
}

.cv::after {
      content: "my cv.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 10%;
      left: 120%;
      right: 0;
      bottom: 0;
}

@media(max-width: 768px) {
      .experience {
            width: 90% !important;
            margin: 14px auto;
      }

      .research::after, .projects::after, .publications::after, .cv::after {
            display: none;
      }
}

/*--------------- footer section --------------- */
.collab {
      text-align: right;
}

.collab p {
      font-weight: lighter !important;
      margin-bottom: 20px;
}

.hr {
      background: rgba(255, 255, 255, 0.2);
      height: 1px;
}

.info h4 {
      font-size: 18px;
      font-weight: lighter;
      color: white;
}

/* Specific styling for links within h4 inside .info */
.info h4 a {
      color: white;           
      text-decoration: none; 
  }
  
  .info h4 a:hover {
      color: #cccccc;         
      text-decoration: underline;
  }

.info p {
      color: grey;
      font-weight: lighter;
}

.info li {
      font-weight: lighter;
      color: #fff;
      font-size: 18px;
      padding-left: 20px;
}

#media, #address {
      text-align: right;
}

#media ul {
      list-style: none;
}

#media ul li {
      display: inline-block;
}

@media(max-width: 768px) {
      .collab, #citations, #goodreads, #linkedin, #media, #address {
            text-align: center;
      }

      .info ul {
            margin: 0 0 0 -22px;
            padding: 0;
      }
}

/*--------------- experience page --------------- */

.hero-content {
      margin-left: 0%;
}

.hero-content p {
      font-weight: 300;
      line-height: 36px;
      color: grey;
}

.hero-content h6 {
      text-align: left;
}

@media(max-width: 768px) {
      .hero-content {
            padding-top: 50px;
            width: 96%;
            margin: 0 auto;
      }
}

/*---------------about page --------------- */

.about {
      height: 500px;
      margin-top: 120px;
}

.image {
      background: url('/imgs/me.jpg') no-repeat center center;
      height: 500px;
      border-radius: 100%;
}

.image2 {
      background: url('/imgs/books.jpg') no-repeat center center;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image3 {
      background: url('/imgs/music1.jpg') no-repeat center center;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image4 {
      background: url('/imgs/music2.jpg') no-repeat center center;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image5 {
      background: url('/imgs/music3.jpg') no-repeat center center;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image6 {
      background: url('/imgs/music4.jpg') no-repeat center center;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image7 {
      background: url('/imgs/me2.jpg') no-repeat 100% 65%;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image8 {
      background: url('/imgs/me3.jpg') no-repeat 100% 65%;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image9 {
      background: url('/imgs/me4.jpg') no-repeat 100% 65%;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image10 {
      background: url('/imgs/me5.jpg') no-repeat 100% 65%;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image11 {
      background: url('/imgs/callig2.jpg') no-repeat 100% 65%;
      background-size: cover;
      height: 500px;
      align-items: center;
}

.image12 {
      background: url('/imgs/callig.jpg') no-repeat 100% 65%;
      background-size: cover;
      height: 500px;
      align-items: center;
}

/*--------------- experience page --------------- */

.experience {
      height: 500px;
      margin-top: 120px;
}

/*--------------- contact form --------------- */

#contact-form {
      margin: 5% 1.4%;
}

#contact-form ul {
      list-style: none;
      border-radius: 5px;
      margin-bottom: 40px;
}

#contact-form li {
      padding: 10px;
}

#contact-form li:last-of-type {
      border-bottom: none;
}

#contact-form label {
      display: block;
      font-size: .8em;
      color: #999;
      padding-left: 5px;
}

#contact-form input, #contact-form textarea {
      width: 100%;
      padding: 5px;
      border: none;
      resize: vertical;
      background: transparent;
      color: #fff;
      font-weight: bolder;
}

input:focus {
      outline: none;
      border: none;
}

textarea:focus {
      outline: none;
      border: none;
}

.textarea {
      border-bottom: 1px solid #dfdfdf;
}

.send {
      margin-left: 50px;
      text-transform: uppercase;
      padding: 20px 30px;
      background: transparent;
      color: #dfdfdf;
      font-size: 14px;
      letter-spacing: 2px;
}

.send:hover {
      background: #dfdfdf;
      color: #101010;
}

@media(max-width: 768px) {
      #contact-form {
            margin: 5% -8%;
            width: 98%;
      }
}