@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  color: #4d4d4d;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

.btn {
  color: #fff;
  background-color: rgb(54, 212, 138);
  text-decoration: none;
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.75rem;
  font-weight: 500;
  border: none;
  border-radius: 100px;
  margin-top: 2rem;
  transition: all 0.2s;
}
.btn:hover, .btn:focus {
  color: #fff;
  background-color: rgb(54, 212, 138);
}
.btn--go:hover, .btn--go:focus {
  animation: pulsate 1s infinite;
}
.btn--switch {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to right, rgb(54, 212, 138), rgb(34, 134, 88));
}
.btn--switch > * {
  display: inline-block;
  height: 100%;
  width: 100%;
  transition: all 0.2s;
}
.btn--switch__invisible {
  position: absolute;
  padding: 1rem 0;
  top: -100%;
  left: 0;
}
.btn--switch:hover {
  background-image: linear-gradient(to left, rgb(54, 212, 138), rgb(34, 134, 88));
}
.btn--switch:hover .btn--switch__visible {
  transform: translateY(150%);
}
.btn--switch:hover .btn--switch__invisible {
  top: 0;
}
@media screen and (max-width: 800px) {
  .btn {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 600px) {
  .btn {
    padding: 0.75rem 1.5rem;
  }
}

.navbar {
  font-size: 1.75rem;
  background-color: rgb(104, 237, 175);
}
.navbar-brand {
  font-size: inherit;
}
.navbar li.nav-item {
  margin: 0.5rem;
}
.navbar .dropdown:hover .dropdown-menu {
  display: block;
}
.navbar ul.dropdown-menu {
  border: none;
  background-color: rgb(104, 237, 175);
}
.navbar ul.dropdown-menu li .dropdown-item {
  font-size: 1.5rem;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    box-shadow: none;
  }
  50% {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}
.section-main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-height: 95vh;
  background-color: #fff;
  color: #4d4d4d;
}
.section-main .info {
  flex-basis: 450px;
}
.section-main .info h1 {
  font-size: 5.6rem;
}
.section-main .info h2 {
  font-size: 1.6rem;
}
.section-main .info button {
  border: none;
}
.section-main img {
  flex-basis: 300px;
  max-width: 30vw;
}
.section-about {
  background-color: rgb(231, 255, 233);
  padding: 8rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-about .desc {
  width: 80%;
}
.section-about .desc h2 {
  text-align: center;
  font-size: 3.2rem;
  margin-bottom: 2rem;
}
.section-about .desc .course__link {
  display: inline-block;
  padding-top: 0.8rem;
}
.section-about .desc .course__link:link, .section-about .desc .course__link:visited {
  text-decoration: none;
  color: rgb(34, 134, 88);
  transition: color 0.2s;
}
.section-about .desc .course__link:hover {
  color: rgb(19, 77, 50);
}
.section-resume {
  display: flex;
  flex-wrap: wrap;
  padding: 8rem 6rem;
}
.section-resume .table {
  flex: 5 1 50rem;
  padding: 2rem;
  color: #4d4d4d;
}
.section-resume .table table {
  border-collapse: collapse;
}
.section-resume .table table tr {
  border-bottom: 2px solid #4d4d4d;
  transition: all 0.2s ease;
}
.section-resume .table table tr:hover {
  background-color: rgb(184, 255, 222);
}
.section-resume .table table tr td {
  padding: 1rem;
}
.section-resume .picture {
  flex: 1 1 45rem;
  display: flex;
  justify-content: center;
  position: relative;
}
.section-resume .picture img {
  max-width: 30vw;
}
.section-resume .picture .greenRec {
  width: 50vw;
  height: 40vh;
  position: absolute;
  z-index: -1;
  border: 10px solid rgb(195, 255, 200);
  top: 10px;
  left: -250px;
}
.section-resume .picture .greenRec2 {
  width: 45vw;
  height: 40vh;
  position: absolute;
  z-index: -1;
  border: 10px solid rgb(195, 255, 200);
  top: 200px;
  left: -175px;
}

section:not(.section-main) {
  transition: transform 1s, opacity 1s;
}

@media screen and (max-width: 1060px) {
  .section-resume .picture .greenRec {
    left: 130px;
  }
  .section-resume .picture .greenRec2 {
    top: 180px;
    left: 280px;
  }
}
@media screen and (max-width: 900px) {
  .section-resume .picture .greenRec2 {
    top: 110px;
    left: 280px;
  }
}
@media screen and (max-width: 800px) {
  .section-resume .picture .greenRec2 {
    display: none;
  }
}
/*
- bubble動畫消失
- main部分：圖片與文字移動
- about：文字框佔比
- 處理resume的綠框(1消失)
*/
@media screen and (max-width: 700px) {
  #background-wrap {
    display: none;
  }
  .section-main {
    padding: 8rem;
    position: relative;
  }
  .section-main img {
    position: absolute;
    top: 23rem;
    max-width: 40vw;
  }
  .section-main .info {
    transform: translateX(7rem) translateY(12rem);
  }
  .section-about .desc {
    width: 100%;
  }
  .section-resume .picture .greenRec {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .section-resume .picture {
    display: none;
  }
}
@media screen and (max-width: 550px) {
  .section-main .info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
  }
  .section-main img {
    display: none;
  }
  .section-about, .section-resume {
    opacity: 1;
  }
}
.section-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 95vh;
  background-image: linear-gradient(135deg, #fff, rgb(195, 255, 200));
}
.section-intro .intro-text {
  max-width: 80%;
}
.section-intro .intro-text h1 {
  font-size: 5.6rem;
  letter-spacing: -0.5px;
}
.section-intro .intro-text h3 {
  font-size: 2.4rem;
}
.section-intro .intro-text .notes {
  display: block;
  margin-top: 2rem;
}
.section-intro .intro-text .notes li {
  padding-top: 1rem;
}
.section-project {
  padding: 8rem 10rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.section-project .project-text {
  flex-basis: 450px;
  margin-left: 0;
  margin-right: 2rem;
}
.section-project .project-text h2 {
  font-size: 4.8rem;
  letter-spacing: -1.5px;
}
.section-project .project-text h3 {
  font-size: 1.8rem;
}
.section-project .project-text-right {
  text-align: end;
  margin-left: 2rem;
  margin-right: 0;
}
.section-project .project-text .extra {
  margin-top: 2rem;
}
.section-project .project-text .extra-right {
  padding-left: 5rem;
  text-align: end;
}
.section-project .project-text .extra__list {
  list-style: none;
  padding-left: 0;
}
.section-project img {
  flex-basis: 200px;
  max-width: 45vw;
}

.align-right {
  background-color: rgb(231, 255, 233);
}

@media screen and (max-width: 1000px) {
  .section-project .project-text h2 {
    font-size: 4rem;
  }
}
@media screen and (max-width: 900px) {
  .section-project .project-text .extra-right {
    padding-left: 2rem;
  }
}
@media screen and (max-width: 800px) {
  html {
    font-size: 60%;
  }
  body {
    font-size: 1.4rem;
  }
  .section-intro .intro-text h1 {
    font-size: 4.8rem;
  }
  .section-intro .intro-text h3 {
    font-size: 2rem;
  }
  .section-project {
    min-height: auto;
  }
  .section-project .project-text h2 {
    font-size: 2.8rem;
  }
  .section-project .project-text h3 {
    font-size: 1.6rem;
  }
  .section-project img {
    max-width: 35vw;
  }
}
@media screen and (max-width: 700px) {
  .section-intro {
    padding: 0 2rem;
  }
  .section-project .project-text h2 {
    font-size: 3.2rem;
  }
}
@media screen and (max-width: 600px) {
  .section-intro .intro-text h1 {
    font-size: 4rem;
  }
  .section-intro .intro-text h3 {
    font-size: 1.6rem;
  }
  .section-project {
    padding: 6rem 6rem;
  }
}
@media screen and (max-width: 550px) {
  .section-project {
    justify-content: center;
  }
  .section-project img {
    display: none;
  }
}/*# sourceMappingURL=style.css.map */