:root {
  --max-width: 75vw;
  --white-mode-color: #FAFAFA;
  --white-mode-header-color: #EBEAEA;
  --white-model-header-btn-color: #EBEAEA;
  --white-model-header-btn-hover-color: #d1cece;
  --white-mode-text-color: #000;
  --white-mode-border-color: #9E00FF;
  --white-mode-sub-title-color: rgba(0, 0, 0, .6);

  --dark-mode-color: rgb(25, 32, 44);
  --dark-model-header-btn-color: rgb(32, 40, 50);
  --dark-model-header-btn-hover-color: rgb(50, 64, 88);
  --dark-mode-text-color: #FAFAFA;
  --dark-mode-border-color: #f0f;

}

img {
  border-radius: 10px;

}

body {
  display: flex;
  background-color: var(--white-mode-color);
  align-items: center;
  flex-direction: column;
  font-family: 'Inter';
  width: 100vw;
  height: 100vh;
  background-image: url("/img/background.png");
  background-size: 85vw 125vh;
  background-repeat: no-repeat;
  background-position: center top;
  /* background-size: cover; */
  /* overflow: scroll; */
  /* background-size: 70vw 100vh; */
}

a {
  color: var(--white-mode-text-color);
  text-decoration: none;
}

p {
  font-size: 2vh;
  color: var(--white-mode-sub-title-color);
}

h2 {
  color: var(--white-mode-sub-title-color);

}

button {
  border: none;

}

h5 {
  font-size: 1.2rem;
}

#main_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--max-width);
  height: 9vh;
  background-color: var(--white-mode-color);
  padding: 1vw;
  position: fixed;
  z-index: 2;
}

/* #main_header img{
  width: 30vw;
} */

#main_header h1 {
  font-size: 2vh;
  margin-right: 1vw;
}

#main_header .name_switch {
  display: flex;
  align-items: center;

}

.links {
  display: flex;
  justify-content: center;
  align-items: center;

}

.links button {
  padding: 1vw;
  height: 9vh;
  display: flex;
  align-items: center;
  background-color: var(--white-mode-color);

}

.links button:hover {
  background-color: var(--white-model-header-btn-hover-color);

}

.links .active_link {
  border-bottom-style: solid;
  border-bottom-color: var(--white-mode-border-color);
  border-bottom-width: 0.5vh;
  padding-bottom: 0.5vh;
}

#active_link {
  top: 9vh;
  left: 47.5vw;
  position: fixed;
  height: 0.5vh;
  width: 4.75vw;
  background-color: var(--white-mode-border-color);
  z-index: 2;
  transition: all .3s ease-in-out;

}

.dark-mode #active_link {
  background-color: var(--dark-mode-border-color);
}

#ass_lists {
  position: absolute;
  width: 12vw;
  height: 14vh;
  top: 9.2vh;
  left: calc(var(--max-width) - 1.9vw);
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#ass_lists button {
  padding-left: 1vw;
  background-color: var(--white-model-header-btn-color);
}

#ass_lists button:hover {
  padding-left: 1vw;
  background-color: var(--white-model-header-btn-hover-color);
}

.logo {
  transform: scale(0.15);
  margin-top: 2vh;
  margin-left: -20vw;
  margin-right: -20vw;
}

.container {
  width: var(--max-width);
}

.container img {
  width: 60vh;
  margin-bottom: 2vh;
}

.about_me {
  font-family: 'Poppins';
  display: flex;
  font-weight: 900;
  margin-top: 15vh;
  margin-bottom: 15vh;
  width: 75vw;

}

.about_me_title {
  margin-top: 13vh;
  margin-left: -5.5vh;
  /* float: left; */
  overflow: hidden;
}

.about_me_title h1 {
  font-size: 7vh;
  font-weight: 900;
}

.about_me_description {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 9vh;
  height: 55vh;
}

.about_me_description_contact {
  display: flex;
  flex-direction: center;
  justify-content: center;
}

.about_me_description_contact p {
  padding: 1vw;
}

.assessment {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  margin-top: 6vh;
  margin-bottom: 6vh;
}


.project {
  width: (var(--max-width));
  display: flex;
  /* align-items: center; */
  justify-content: center;
  margin-top: 6vh;
  margin-bottom: 6vh;
  /* margin-left: -9vh; */
}

.project1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* top: 20vh; */
  padding-top: 20vh;
  /* margin-top: 20vh;
  margin-bottom: 6vh;
  margin-left: -9vw;
  float: left; */
  /* overflow: hidden; */
  margin-right: -5vw;
  transform: scale(0.9);
}

.project2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* margin-top: 4vh;
  margin-bottom: 6vh;
  margin-left: -8vw;
  float: left; */
  /* overflow: hidden; */
  transform: scale(0.9);
}

.project3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20vh;
  margin-left: -5vw;
  /* margin-top: 20vh;
  margin-bottom: 6vh;
  margin-left: -7vw;
  float: left; */
  /* overflow: hidden; */
  transform: scale(0.9);
}

.project_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -2vw;
  /* overflow: hidden; */
}

.assessment h1 {
  font-size: 5vh;
  padding: 2vh;
  border-bottom-style: solid;
  border-bottom-color: var(--white-mode-border-color);
  border-bottom-width: 0.5vh;

}

.about_text {
  text-align: center;
  font-size: 1.8vh;
  /* letter-spacing: 1px; */
}

.footer {
  text-align: center;
  letter-spacing: 1.1px;
  font-size: 1.5vh;
}

/* switch */

.switch {
  display: inline-block;
  height: 4vh;
  width: 5vw;
  background-color: var(--white-mode-border-color);
  border-radius: 40px;
  margin: 0 5px;
  position: relative;
  transition: all 0.5s;
}

.switch::after {
  content: "";
  display: inline-block;
  height: 3vh;
  width: 3vh;
  background-color: var(--white-mode-color);
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 5px;
  transition: all 0.5s;
}

.dark-mode-button input:checked+.switch::after {
  left: 65px;
  background-color: #4b6584;
}

.dark-mode .switch {
  background-color: #080808;
  box-shadow:
    0 0 3px 1.5px #fff,
    /* inner white */
    0 0 2.5px 2.5px #f0f,
    /* middle magenta */
    0 0 7px 4.5px #0ff;
  /* outer cyan */
}

/* .dark-mode img {
  box-shadow:
    0 0 3px 1.5px #fff,
    inner white
    0 0 2.5px 2.5px #f0f,
    middle magenta
    0 0 7px 4.5px #0ff;
  outer cyan
} */

.dark-mode .switch::after {
  background-color: #fff;
  left: 3vw;
}

.dark-mode {
  background-color: var(--dark-mode-color);
}

.dark-mode p {
  color: var(--dark-mode-text-color);
}

.dark-mode h1 {
  color: var(--dark-mode-text-color);
}

.dark-mode h2 {
  color: var(--dark-mode-text-color);
}

.dark-mode h3 {
  color: var(--dark-mode-text-color);

}

.dark-mode h4 {
  color: var(--dark-mode-text-color);

}

.dark-mode h5 {
  color: var(--dark-mode-text-color);
}

.dark-mode #main_header {
  background-color: var(--dark-mode-color);

}

.dark-mode .links button {
  background-color: var(--dark-mode-color);
}

.dark-mode .links button:hover {
  background-color: var(--dark-model-header-btn-hover-color);
}

.dark-mode .links .active_link {
  border-color: var(--dark-mode-border-color);
}


.dark-mode #ass_lists button {
  background-color: var(--dark-model-header-btn-color);
  color: var(--dark-mode-text-color);
}

.dark-mode #ass_lists button:hover {
  color: var(--dark-mode-text-color);
  background-color: var(--dark-model-header-btn-hover-color);
}

.dark-mode .assessment h1 {
  border-bottom-color: var(--dark-mode-border-color)
}


/* slide */
.slideanim {
  visibility: hidden;
}

.slide {
  animation-name: slide;
  -webkit-animation-name: slide;
  animation-duration: 2s;
  -webkit-animation-duration: 2s;
  visibility: visible;
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(10%);
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

@-webkit-keyframes slide {
  0% {
    opacity: 0;
    -webkit-transform: translateY(10%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}


.Part_a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.Part_a img {
  width: calc(var(--max-width)/2.2);

}

.Part_a p {
  /* width: calc(var(--max-width)/2.2); */
  font-size: 1.8vh;
  text-align: center;
  /* padding: 1vw; */

}

.Part_a_des {
  width: calc(var(--max-width)/2.3);
}

/* .short-description{
  width: calc(var(--max-width)*0.8);
} */


/* Adapted from https://codepen.io/savalazic/pen/QKwERN */

section {
  padding: 100px 0;
}

blockquote {
  margin-top: 30px;
  color: var(--white-mode-border-color);
  border-left-color: var(--white-mode-sub-title-color);
  padding: 0 20px;
}

.timeline {

  position: relative;
}

.timeline::before {
  content: '';
  background: var(--white-mode-border-color);
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.dark-mode .timeline::before {
  background: var(--dark-mode-border-color);
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  border-radius: 10px;
  background: #f5f5f5;
  box-shadow: 0 30px 35px -25px rgba(0, 0, 0, .3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
  display: flex;
}

.timeline-item::after {
  content: '';
  display: block;
  clear: both;
}

.timeline-item-right {
  width: 100%;
  margin-bottom: 70px;
  display: flex;
  justify-content: flex-end;
}


.timeline-item .timeline-content::after {
  content: '';
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 3vh;
  left: 26.25vw;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}


.timeline-item-right .timeline-content::after {
  content: '';
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}




.timeline-img {
  width: 30px;
  height: 30px;
  background: var(--white-mode-border-color);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}

.dark-mode .timeline-img {
  background: var(--dark-mode-border-color);

}

.dark-mode .timeline img {
  box-shadow: none;
}

.timeline p {
  text-align: center;
}

.dark-mode .timeline p {
  color: var(--white-mode-sub-title-color);
}

.timeline-img-header img {
  width: 24vw;
}

.timeline-img-header {

  height: 27vh;
  position: relative;
  margin-bottom: 20px;
}

.timeline-img-header h2 {
  color: var(--white-mode-sub-title-color) !important;
  position: absolute;
  bottom: 5px;
  left: 20px;
}

blockquote {
  margin-top: 30px;
  color: var(--white-mode-sub-title-color);
  border-left-color: var(--white-mode-sub-title-color);
  padding: 0 20px;
}

/* #name_slack{
  display: flex;
} */

#name_slack .name {
  /* padding-left: 1vw; */
  background: linear-gradient(to left, rgba(0, 224, 255, 1) 0%, var(--white-mode-border-color) 33%, rgba(0, 224, 255, 1) 66%, var(--white-mode-border-color) 100%);
  background-repeat: repeat-x;

  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-size: 3vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 6vh;
  margin-left: .5vw;

}

#name_slack .groupname {
  /* padding-left: 1vw; */
  /* background: balck;
  background-repeat: repeat-x;

  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */

  font-size: 2.5vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 6vh;
  margin-left: .5vw;

}


.dark-mode #name_slack .name {
  background: linear-gradient(to left, rgba(0, 210, 230, 1) 0%, var(--dark-mode-border-color) 33%, rgba(0, 210, 230, 1) 66%, var(--dark-mode-border-color) 100%);
  background-repeat: repeat-x;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.hong {
  transform: scale(0.45);
  margin-left: 17vw;
  margin-top: 1vh;
}

.han {
  transform: scale(0.45);
  margin-left: -2vw;
  margin-top: -7vh;
}

.wang {
  transform: scale(0.45);
  margin-left: -8vw;
  margin-top: -15vh;
}