body {
  font-family: europa, sans-serif;
  font-weight: 400;
  font-style: normal;
  background: #EDF2F4;
}

h5 {
  font-size: 16px;
  font-family: europa;
  font-weight: 300;
  font-style: normal;
}

hr {
  border: dotted #EF233C8c 6px;
  border-bottom: none;
  width: 4%;
  margin: 2% auto 0 auto;
}

.subtitle {
  font-weight: 600;
  font-size: 20px;
  color: #2B2D42;
  text-align: center;
}

.subtitle2 {
  font-size: 18px;
  color: #2B2D42;
  text-align: center;
}

.email {
  text-align: center;
  float:right;
}

/* media */
.icon-top {
  background: #D90429;
}

.icon-top a {
  color: #EDF2F4;
  font-size: 25px;
  transition: color 1s ease;
}

.icon-top a:hover {
  color: #24242424;
}

.icon-top h5 {
  color: #8D99AE;
}

/* logo */
.navbar-brand {
  font-family: 'Montserrat';
  font-weight: 900;
  color: #EDF2F4;
  transition: all 2s ease;
}

.navbar-brand:hover {
  color: #242424;
}

.fa-heart {
  transition: all 2s ease;
  color: #D90429;
}

.fa-heart:hover {
  color: #ffffff;
}

/* navbar */
.navbar {
  background: #8D99AE;
  padding: 10px 20px;
  transition: padding 2s ease;
}

.navbar-background {
  padding: 10px 20px;
}

.bar1,
.bar2,
.bar3 {
  width: 23px;
  height: 3px;
  margin: 5px;
  background: #fff;
  transition: all 0.5s ease;
}

.change .bar1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(45deg) translate(-5px, -8px);
}

.nav-link {
  color: #fff;
  padding: 5px;
  transition: color 2s ease;
}

.nav-link:hover {
  color: #EF233C;
}

.navbar-toggler {
  border: 1px solid #EDF2F4;
  padding: 1px;
}

/* SKILL */
.skills-icon {
  margin-top: 0;
  max-width: 100%;
}

.skill-image {
  width: 100%;
  min-width:100%;
}

.text {
}

/* VIDEO-FILLER */
#modal-filler {
  min-height: 60vh;
  background: top 0px;
  background: linear-gradient(rgba(42,145,52,0.5),rgba(42,145,52,0.5)),url(images/angie.jpg)top/cover fixed no-repeat;
}

#modal-filler a {
  color: #f1fffa00;
  font-size: 80px;
  animation: myAnimation 5s ease infinite;
}

@keyframes myAnimation {
  50%{
    transform: scale(1.2);
    color:#f1fffa;
  }
}

@keyframes SlideInLeft {
  0%{
    opacity:0;
    transform: translateX(-100px);
  }
  100%{
    opacity:1;
    transform: translateX(0);
  }
}

.title {
  animation: SlideInLeft 1s ease;
}

@keyframes SlideDown {
  0%{
    opacity:0;
    transform: translateY(-200px);
  }
  100%{
    opacity:1;
    transform: translateY(0);
  }
}

#top h4 {
  animation: SlideDown 1s ease;
}

/********about************/
#about {
  min-height: 200vh;
  background: #EDF2F4;
  clip-path:polygon(0 0,100% 5%, 100% 100%, 0 90%);
}

#about .title a {
  background: #EDF2F4;
}

.about-text a {
  color: #EDF2F4;
  background:#D90429;
  border: 2px solid #D90429;
  transition: all 1s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.about-text a:hover {
  color: #D90429;
  background:#EDF2F4;
  border: 2px solid #EDF2F4;
  transform:translateY(-7px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

.about-progress{
  background: linear-gradient(rgba(42,145,52,0.5),rgba(42,145,52,0.5));
  outline: 5px solid #2B2D42;
  outline-offset: 10px;
}

.progress-bar{
  background: #EF233C;
}

.lead{
  font-size: 16px;
  font-family: europa;
  font-weight: 300;
  font-style: normal;
  line-height: 1.5em;
}

.aboutme-box{
  text-align: left;
}

.aboutme-title{
  font-size: 20px;
  font-weight: bold;
}

/* CREATIVE */
.img-container {
  position: relative;
  overflow: hidden;
  background: #2B2D42;
}

.img-container img{
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.img-container:hover .project-image{
  opacity: 0.3;
  transform: scale(1.05);
}

.search-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 4rem;
  color: #8D99AE;
  transition: margin 0.3s ease-in-out,color 0.5s ease-in-out,opacity 0.75s ease-in-out;
  margin-top: -50%;
  opacity:0;
}

.img-container:hover .search-link{
  margin-top: 0;
  opacity: 1;
}

.search-link:hover {
  color: #EDF2F4;
}

/********************************** WEB ***************************************/
.web {
  background-color: grey;
  margin: 10px 5px 10px 5px;
  min-height: 300px;
  max-height: 400px;
  position: relative;
  overflow: hidden;
}

.web2 {
  margin: 5px 5px;
  min-height: 300px;
  max-height: 400px;
  min-width: 300px;
  max-width: 300px;
  overflow: hidden;
}

.div5 img{
  min-height: 300px;
  max-height: 400px;
  min-width: 300px;
  max-width: 300px;
}

.othersimg{
  margin:10px 5px;
}

.col-lg-4{
  padding:0;
}

.web-images {
  object-fit: cover;
  object-position:left;
  object-position: top;
  width:100%;
  height:300px;
  opacity: 0.1;
}

.web:hover .web-images{
  opacity: 1;
}

.web-text {
  position: absolute;
  color: #ffffff;
  font-size: 1rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  opacity:1;
}

.web:hover .web-text{
  opacity: 0;
}

/***************** Web inner page ***************/
#example {
  overflow: hidden;
}

.carousel-indicators li {
    background-color: #8D99AE;
}
.carousel-indicators .active {
    background-color: #D90429;
}

.web-subtitle {
  color: #2B2D42;
  font-size: 16px;
  font-family: europa, sans-serif;
  font-weight: 300;
  font-style: normal;
  line-height: 1.5em;
}

.chinese {
  font-family: "微軟正黑體", 'Noto Sans TC' ,"Arial"; /*字型*/
  font-size: 12pt; /*字大小*/
  font-weight: 400;
  src: url('../fonts/Microsoft-JhengHei.ttf') format("ttf");
}

/************* Visual ******************/
.border {
  border: 5px solid #EDF2F4;
}

.visual-image {
  width: 100%;
  min-width:100%;
}

.visual-image2 {
  max-width:100%;
  max-height:600px;
}

.visual-image4{
  max-width:49%;
}

.div1 {
  padding: 0 3% 3% 3%;
  background-color:#EDF2F4;
  padding-bottom: 20px;
  color:#8D99AE;
}

.div2 {
  padding: 3%;
  background-color: #8D99AE;
  padding-bottom: 20px;
  color:#EDF2F4;
}

.div3 {
  padding: 3%;
  background-color:#EDF2F4;
  padding-bottom: 20px;
  color:#8D99AE;
}

.visual-subtitle {
  font-family: 'Lexend Peta', sans-serif;
  font-size:30px;
  font-weight: 600;
}

.tocenter {
  text-align: center;
}

.visual-text {
    font-size: 18px;
    font-family: europa;
    font-weight: 300;
    font-style: normal;
    line-height: 1.5em;
  }

/*************** ux *****************/
.poster {
  max-width: 100%;
  max-height:100%;
}

.text-small {
  font-size: 16px;
  font-family: europa;
  font-weight: 300;
  font-style: normal;
  line-height: 1.8em;
}

#creative a:link {
  color: #2B2D42;
}

#creative a:visited {
  color: #2B2D42;
}

/********** audio player in ux***************/
figure {
    margin: 0;
}

audio {
    width: 100%;
    height: 54px;
}

/*********** ui **************/
.carousel-caption {
  color: #D90429;
  background-color: #8D99AE6e;
  padding-top: 0;
  padding-bottom: 0;
}

/************* VIDEO *************/
.videowiper {
  max-width: 100%;
}
