@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC&display=swap');
* {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 2vw;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  * {
    font-size: 1.5vw;
  }
}

@media screen and (min-width: 1200px) {
  * {
    font-size: 18px;
  }
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none !important;
  color: inherit;
}

p {
  margin: 0;
}

.text-indent {
  text-indent: 1rem;
  padding: 5px 0;
}

section {
  min-height: 100vh;
  padding-top: 120px;
}

/* left */

.my-profile {
  position: fixed;
  overflow-y: scroll;
  max-height: 100%;
  padding-top: 105px;
  /* padding-left: 10px; */
}

.my-profile-bg {
  background: rgb(242, 243, 247);
  height: 100%;
  width: 21vw;
  max-width: 250px;
}

@media (max-width: 1200px) {
  .my-profile-bg {
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .my-profile-bg {
    min-width: 115px;
  }
}

.my-photo {
  height: 7rem;
  width: 7rem;
  object-fit: scale-down;
  background: #ffffff;
}

.nav-item:hover, .nav-item:focus, .nav-item:active {
  border-bottom: 1.5px solid rgb(252, 191, 191) !important;
  margin-bottom: -1.5px;
  transition: .3s;
  /* transform: scaleY(1.05); */
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
  border-bottom: 1.5px solid rgb(252, 191, 191) !important;
  margin-bottom: -1.5px;
  transition: .5s;
  /* transform: scale(1.05); */
}

.contact {
  color: rgb(61, 61, 61);
}

.my-icon {
  opacity: 1;
  font-size: 1.5rem;
}

.my-icon:hover {
  opacity: 0.7;
}

.version {}

.version>a {
  font-size: .8rem;
  color: rgb(175, 176, 177);
}

.version>a:hover {
  border-bottom: 1.5px solid rgb(252, 191, 191) !important;
  margin-bottom: -1.5px;
  transition: .3s;
  color: rgb(59, 59, 59);
}

/* right */

.box {
  height: 125px;
  padding: 20px;
  box-shadow: 3px 3px 10px 3px rgba(163, 163, 163, 0.267);
}

.box-icon {
  font-size: 1.5rem;
}

.box-text {
  font-size: 0.9rem;
  color: gray;
  margin-top: 25px;
}

@media (max-width: 768px) {
  .box {
    height: 90px;
  }
  .box-text {
    margin-top: 10px;
  }
}

.box-color-db {
  color: rgba(238, 192, 107, 0.589);
}

.box-color-web {
  color: rgba(250, 90, 90, 0.589);
}

.box-color-hw {
  color: rgba(103, 216, 154, 0.589);
}

.box-border-db {
  border-bottom: 2px solid rgba(238, 192, 107, 0.589);
}

.box-border-web {
  border-bottom: 2px solid rgba(250, 90, 90, 0.589);
}

.box-border-hw {
  border-bottom: 2px solid rgba(103, 216, 154, 0.589);
}

.carousel-indicators li {
  cursor: pointer;
  background-color: rgb(161, 161, 161);
  opacity: 0.7;
}

.carousel-indicators .active {
  background-color: rgb(0, 0, 0);
  opacity: 0.9;
}

.caption-bg {
  background: rgba(90, 90, 90, 0.24);
  font-size: inherit;
}

.my-carousel-caption-aboutme {
  position: absolute;
  right: 15%;
  bottom: 5px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
  text-shadow: black 0.1rem 0.1rem 0.1rem;
}

.my-carousel-caption-mfnProj {
  position: absolute;
  right: 15%;
  bottom: 5px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: rgb(235, 235, 235);
  text-align: center;
  text-shadow: black 0.1rem 0.05rem 0.05rem;
}

.my-carousel-caption-ig {
  position: absolute;
  right: 15%;
  bottom: 5px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
  text-shadow: black 0.1rem 0.1rem 0.1rem;
}

.carousel-item img {
  width: 100%;
  max-height: 450px;
  object-fit: scale-down;
}

@media (max-width: 992px) {
  .carousel-item img {
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .carousel-item img {
    max-height: 200px;
  }
}

@media (max-width: 576px) {
  .carousel-item img {
    max-height: 160px;
  }
}

.my-carousel-inProject {
  max-height: 240px;
}

.my-carousel-inProject .carousel-item img {
  height: 240px;
  object-fit: scale-down;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23AAA' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23AAA' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}

.padding {
  padding-top: 20px;
  padding-bottom: 20px;
}

.card-header-bg {
  background: #F2F3F7;
}

.content {
  background: #F2F3F7;
  padding: 10px 20px;
  margin: 25px 0;
  border-radius: 8px;
}

.child {
  flex: 1 0 47%;
  margin: 5px;
}

.block {
  margin: 25px 0;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 3px 3px 10px 3px rgba(163, 163, 163, 0.5);
}

.timeline-centered {
  border-left: 4px solid rgb(242, 243, 247);
  padding-left: 37px;
  padding-bottom: 30px;
}

.timeline-entry-inner {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.timeline-icon {
  width: 35px;
  height: 35px;
  border: 4px solid rgb(242, 243, 247);
  border-radius: 50%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: -57px;
  top: -10px;
  font-size: 0.8rem;
}

.timeline-end {
  border-left: 4px solid rgb(242, 243, 247);
  padding-left: 37px;
}

.timeline-icon-end {
  width: 30px;
  height: 30px;
  border: 4px solid rgb(242, 243, 247);
  border-radius: 50%;
  position: absolute;
  left: -54px;
  top: -17px;
  background: white;
}

.timeline-icon-color1 {
  background: rgb(63, 163, 245);
}

.timeline-icon-color2 {
  background: rgb(252, 214, 92);
}

.timeline-icon-color3 {
  background: rgb(245, 63, 63);
}

.timeline-icon-color4 {
  background: rgb(74, 163, 108);
}

.timeline-duration {
  color: rgb(184, 184, 184);
  font-size: 1rem;
  margin-left: 0.5rem;
}

.fa-pencil-alt {
  color: white;
}

.timeline-label {
  background: #F2F3F7;
  padding: 1rem;
  border-radius: 8px;
}

.go-top {
  position: fixed;
  right: 2rem;
  bottom: 1rem;
  color: rgb(175, 176, 177);
  opacity: 0.8;
}

.go-top>a:hover, .go-top>a:focus {
  color: rgb(59, 59, 59);
}