html {
    scroll-behavior: smooth;
}

body {
    background-color: #1B1B1B;
    margin: 0;
    overflow-x: hidden;
}

p {
    width: fit-content;
}

a {
    text-decoration: none;
}

.jetbrains-mono {
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    color: white;
}

.rubik {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    color: #C8C8C8;
}

#nav-panel {
    margin: 0;
    position: fixed;
    background-color: #1B1B1B;
    width: 20%;
    height: 100%;
    top: 0;
    left: 0;
    border-right-width: 5%;
    border-right-color: #515151;
    border-right-style: solid;
    z-index: 1;
}

#content-panel {
    margin: 0;
    border: none;
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    right: 0;
    padding-left: 0%;
    background-color: #1b1b1b;
}

.section {
    width: 90%;
    padding-top: 10%;
    padding-left: 10%;
    padding-bottom: 10%;
    background-color: #1B1B1B;
    position: relative;
}

.alt-section {
    background-color: #292929;
}

#nav-title {
    font-size: 2.5vw;
    font-weight: 400;
    margin-left: 7%;
}

.nav-link {
    width: auto;
    font-size: 1.7vw;
    margin: 0;
    padding-left: 7%;
    padding-top: 3.5%;
    padding-bottom: 3.5%;
}

.sect-head {
    font-size: 2.15vw;
}

.typewrite {
  display: inline-block;
  overflow: hidden;
  border-right: .15em solid #A0CEFF;
  width: 0;
  white-space: nowrap;
  animation: type 1s steps(11, end) forwards, blink 1s infinite;
}

#intro-panel {
    margin-top: 0%;
    padding-bottom: 0%;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}

#intro-right {
  width: 28%;
  overflow: hidden;
  border-radius: 50%;
}

#intro-left {
  width: 52%;
}

#intro-img {
    border-radius: 50%;
    width: 20vw;
    height: 20vw;
    overflow: hidden;
    margin-top: 15%;
    margin-bottom: 40%;
}

#intro-img img {
  width: 20vw;
  height: 20vw;
}

#intro-btn {
    background-color: #1B1B1B;
    border: 3px solid #29CE00;
    color: #29CE00;
    font-size: 36px;
    font-weight: 600;
    padding: 15px;
    margin-top: 3%;
}

#abt-wrap {
  position: relative;
  width: 80%;
  height: 75%;
}

#abt-text {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 70%;
    font-size: 1.4vw;
}

#abt-slides {
    position: absolute;
    top: 10%;
    right: 0%;
    width: 30%;
}

#abt-img {
    width: 21.5vw;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

#abt-img-nav {
    display: flex;
    flex-direction: row;
    width: 21.5vw;
}

.abt-img-tab {
    width: fit-content;
    padding-left: 2%;
    padding-right: 3%;
    background-color: #3b3838;
    border-left: 2px #515151 solid;
    font-size: 0.775vw;
}

#fth-tab {
    background-color: #322f2f;
}

#proj-display {
    position: relative;
    margin-left: 10%;
    margin-right: 20%;
    width: auto;
    aspect-ratio: 2 / 1.2;
}

.proj-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #C8C8C8;
    width: fit-content;
}

#proj-wnd-display {
    width: 90%;
    height: 100%;
    margin: auto;
    background-color: #2c2c2c;
}

.proj-window {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #2C2C2C;
    overflow: hidden;
}

#proj1 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    height: 94%;
    padding-top: 2%;
    overflow-y: scroll;
}

.proj-menu-card {
    width: 44%;
    height: 44%;
    background-color: coral;
    overflow: hidden;
}

.proj-menu-img {
    width: 100%;
    height: 100%;
}

.proj-img {
  width: 100%;
  margin: auto;
}

.proj-desc {
    width: 90%;
    margin: auto;
    margin-top: 3%;
    text-align: center;
}
 
.proj-title {
    width: fit-content;
    margin: auto;
    font-size: 32px;
    color: #FF9D34;
}

#proj-link {
    position: absolute;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    text-decoration: underline;
    color: #FF9D34;
}

#exp-nav {
  font-size: 18px;
  color: #d1d1d1;
}

.timeline {
    position: relative;
    margin-right: 10%;
  }
  
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
  }
  
  .tl-container {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    width: 45%;
    height: fit-content;
    padding: 2%;
    font-size: 16px;
  }
  
  .tl-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -28px;
    background-color: white;
    border: 4px solid #ac6efe;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }
  
  .tl-left {
    left: 0;
  }

  .tl-left > .tl-content {
    text-align: right;
  }
  
  .tl-right {
    left: 50%;
  }
  
  /* Fix the circle for containers on the right side */
  .tl-right::after {
    left: -17px;
  }
  
  .tl-img-box {
    width: 35%;
  }

  .tl-img {
    width: 100%;
  }

  .tl-content {
    width: 55%;
    height: 100%;
    position: relative;
    border-radius: 6px;
  }

  .tl-header {
    width: auto;
    color: #ac6efe;
    margin: 0;
    font-weight: 600;
  }

  .edu-sect {
    margin-top: 3%;
  }

  .edu-sect > h3 {
    font-weight: 400;
  }

  .edu-title {
    color: #fff1a2;
  }

  #cont-panel {
    display: flex;
    justify-content: space-evenly;
    margin-right: 10%;
  }

  #cont-panel h2 {
    font-size: 1.4vw;
  }

  .cont-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30%;
  }

  .cont-icon {
    color: #b4ffc4;
    font-size: 56px;
  }

h1:hover {
    cursor: default;
}

.nav-link:hover {
    background-color: #383838;
}

#intro-btn:hover {
    color: #33ff00;
    border-color: #33ff00;
    cursor: pointer;
}

.abt-img-tab:hover {
    cursor: pointer;
}

.proj-arrow:hover {
    cursor: pointer;
}

.exp-filter:hover {
  cursor: pointer;
}


@keyframes type {
  from { width: 0% }
  to { width: 87% }
}

@keyframes blink {
  from { border-color: transparent }
  to { border-color: #A0CEFF; }
}

/* <weight>: Use a value from 100 to 800
 <uniquifier>: Use a unique and descriptive class name

.jetbrains-mono-<uniquifier> {
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;

  .rubik-<uniquifier> {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
}*/

  /*
  Add arrows to the left container (pointing right)
  .tl-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid red;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent red;
  }
  
  Add arrows to the right container (pointing left)
  .tl-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid red;
    border-width: 10px 10px 10px 0;
    border-color: transparent red transparent transparent;
  }

  Media queries - Responsive timeline on screens less than 600px wide
  @media screen and (max-width: 600px) {
    Place the timelime to the left
      .timeline::after {
        left: 31px;
      }
    
    Full-width containers
      .tl-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
      }
    
    Make sure that all arrows are pointing leftwards
      .tl-container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
      }
    
    Make sure all circles are at the same spot
      .tl-left::after, .tl-right::after {
        left: 15px;
      }
    
    Make all right containers behave like the left ones
      .tl-right {
        left: 0%;
      }
    }
*/