body{
    margin:0%;
    padding:0%;
    font-family: 'Noto Sans TC', sans-serif;
    font-family: 'PT Sans Narrow', sans-serif;
    /*
    font-family: 'Noto Sans TC', sans-serif;
    font-family: 'Roboto', sans-serif;
    */
}

.navbar{
    width:100%;
   /* background-image: url(/image/bannerhomepage.jpg); */ 
    background-repeat: no-repeat;
    background-color:gray;
}

.navbar-brand{
    float:left;
    text-decoration: none;
    font-size: 10px;
    font-family: 'Noto Sans TC', sans-serif;
    font-family: 'PT Sans Narrow', sans-serif;
    padding: 0.2em 0.7em;
    color: rgb(255, 255, 255);

}
.navbar-nav{
    margin:0%;
}
.navbar .navbar-nav .nav-item{
    display:inline;
    list-style: none;

}
.navbar-nav .nav-item a{
text-decoration: none;
display: inline-block;
font-family: 'Noto Sans TC', sans-serif;
font-family: 'PT Sans Narrow', sans-serif;
font-size: 0.8em;
padding: 0.9em 0.7em;
color:white;
}

.toggle-collapse{
    float: right;
    width:45px ;
    height: 32px;
    margin: 1.6em 1.6em;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 3px solid rgba(132, 220, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    display: none;
}
.toggle-collapse:hover{
    color: rgb(179, 224, 255);
}

@media screen and (max-width: 456px){
    .navbar-brand{
        display: inline-block;
        float:none;
    }
    .toggle-collapse{
        display: inline-block;
    }
    .navbar-nav{
        color:white;
        padding: 0%;
    }
    .navbar .navbar-nav .nav-item{
        display: block;
        list-style: none;
    }
    .navbar-collapse{
        width: 100%;
        overflow: hidden;
        text-align: center;
        height:0vh;
        transition: all 499ms ease;
    }
    .collapse{
        height:45vh;
    }
}
/*pure css to make carousel*/

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
  text-align: center; /* align slide in center of screen*/
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color:darkgray;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;

  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;

}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
/*end*/
  

/* responsive website setting for 1200px */
@media screen and (min-width: 1200px){

    .img-carousel{
      max-width:50%;
      float:center;
      height:auto;
      margin:0;
      padding: 0.5em 1em;
    }
    .img-responsive{
        max-width:40%;
        height:auto;
        margin: auto;
        padding: 1em 2em;
}
    /* 圖片下方*/
    p {
  color:black;
    font-size: 2em;
        padding:1em 1em;       
}
    .form-horizontal{
        padding:1em 2em;
    }  
}

/* responsive website setting for 375px */
@media screen and (min-width: 375px){
  .img-carousel{
      max-width:80%;
      float:center;
      height:auto;
      margin:0;
      padding: 0.5em 1em;
  }
  .img-responsive{
      max-width:60%;
      height:auto;
      margin: auto;
      padding: 1em 2em;
}
  /* 圖片下方*/
  p {
color:black;
  font-size: 1em;
      padding:1em 1em;       
}
  .form-horizontal{
      padding:1em 2em;
  }
}

footer p{
  color:white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
}

aside {
  margin: 1em;
  border: solid 2px lightgray;
  border-radius: 10px;
  padding: 0.5em 1em;
}

footer {
  width:100%;
  height:auto;
  background: linear-gradient(to bottom,rgba(43, 120, 200, 0.8),rgba(44, 92,141 , 1)
  )}

header {background:linear-gradient(to bottom, #8ea1bf, white)}

 /*Hind the items to make the website for CV only / Start*/
#nav-item-hind{
   display: none;
 }

  /*Hind the items to make the website for CV only / End*/