/*
  Template Name: MyPortfolio
  Template URL: https://bootstrapmade.com/myportfolio-bootstrap-portfolio-website-template/
  Author: BootstrapMade.com
  Author URL: https://bootstrapmade.com/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

  /* Font */
  
@font-face {
  font-family: Roboto-Light;
  src: url("../font/Roboto/Roboto-Light.ttf");
}

@font-face {
  font-family: Roboto-Regular;
  src: url("../font/Roboto/Roboto-Regular.ttf");
}

@font-face {
  font-family: JhengHei;
  src: url("../font/JhengHei/JhengHei.ttf");
}

body {
  font-family: Roboto-Light, JhengHei, sans-serif;
  color: #0d1e2d;
}

a {
  color: #777;
  margin: auto 10px, auto 10px;
}

a:hover {
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: Roboto-Light, JhengHei, sans-serif;
}

.site-section {
  padding: 10rem 0;
}

.site-item {
  padding: 1.5rem 0;
}

.filters a {
  color: #000;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

.filters a:hover,
.filters a:focus,
.filters a:active {
  text-decoration: none;
}

.filters a:hover:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.filters a.active {
  color: #000;
}

.filters a.active:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.item {
  border: none;
  margin-bottom: 30px;
}

.item p{
  text-align: justify-all;
}

.filter-title {
  letter-spacing: 0.1rem;
  width: 100%;
  padding: 0 0 20px 0;
  text-align: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 100px;
  width: 100px;
  background-size: 100%, 100%;
  background-image: none;
}

.carousel-control-next-icon:after
{
  content: '>';
  font-size: 55px;
  font-weight: bold;
  color: rgb(200, 200, 200);
  outline: black;
  text-shadow: 2px 2px #00000077;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 55px;
  font-weight: bold;
  color: rgb(200, 200, 200);
  outline: black;
  text-shadow: 2px 2px #00000077;
}

.testimonial-wrap {
  padding: 50px 30px 80px 30px;
  background: #eceff2;
}

.testimonial-wrap .testimonial {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-wrap .testimonial img {
  border-radius: 50%;
  width: 120px;
  margin: 0 auto 30px auto;
}

.testimonial-wrap .testimonial blockquote p {
  font-size: 20px;
  text-align: justify;
}

.h3 {
  font-size: 20px;
  font-weight: bold;
}

.h4 {
  font-size: 16px;
}

.heading {
  font-size: 28px;
}

.testimonial-carousel .owl-dots {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot {
  display: inline-block;
}

.testimonial-carousel .owl-dots .owl-dot > span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #cbd3da;
  border-radius: 50%;
  margin: 5px;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  outline: none;
}

.testimonial-carousel .owl-dots .owl-dot.active > span {
  background: #0d1e2d;
}

.sticky-content {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* required */
}

.list-line li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.list-line li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .7rem;
  width: 10px;
  height: 2px;
  background: #000;
}

.form-control {
  border-radius: 0;
  background: #f8f9fa;
  border: 1px solid transparent;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.form-control:active,
.form-control:focus {
  background: #eff1f4;
  outline: none;
  box-shadow: none;
  border: 1px solid transparent;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#mainNav {
  min-height: 56px;
  background-color: #0d1e2d;
  font-family: Roboto-Regular, Roboto-Light, sans-serif;
}

#mainNav .navbar-toggler {
  font-size: 70%;
  padding: 0.75rem;
  color: white;
  border: 1px solid white;
}

#mainNav .navbar-toggler:focus {
  outline: none;
}

#mainNav .nav-link {
  color: rgba(255, 255, 255, 0.5);
}

#mainNav .navbar-brand {
  font-weight: 350;
  padding: .9rem 0;
  font-size: 2vmax;
  color: white;
}

#mainNav .navbar-nav .nav-item:hover {
  color: fade(white, 80%);
  outline: none;
  background-color: transparent;
}

#mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
  outline: none;
  background-color: transparent;
  color: white;
}

@media (min-width: 992px) {

  #mainNav {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    background-color: rgba(13,30,45, 0.05);;
    transition: background-color 0.3s ease-in-out;
  }
  #mainNav .navbar-brand {
    padding: .5rem 0;
    color: #0d1e2d;
    font-size: 2.2vmax;
  }
  #mainNav .nav-link {
    transition: none;
    padding: 2rem 1.5rem;
    color: rgba(0, 0, 0, 0.5);
  }
  #mainNav .nav-link:hover {
    color: rgba(0, 0, 0, 0.75);
  }
  #mainNav .nav-link:active {
    color: #467370;
  }
  #mainNav.navbar-shrink {
    background-color: rgba(13,30,45, 0.95);
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: white;
    font-size: 1.5vmax;
    padding: 0.5rem 1.5rem 0.25rem;
  }
  #mainNav.navbar-shrink .nav-link {
    color: white;
    padding: 0.5rem 1.5rem 0.25rem;
    border-bottom: 0.25rem solid transparent;
  }
  #mainNav.navbar-shrink .nav-link:hover {
    color: #64a19d;
  }
  #mainNav.navbar-shrink .nav-link:active {
    color: #aeeafc;
  }
  #mainNav.navbar-shrink .nav-link.active {
    color: #64a19d;
    outline: none;
    border-bottom: 0.25rem solid #64a19d;
  }
}

/* Custom Navbar */

.custom-navbar {
  padding-top: 50px;
  width: 100%;
}

.custom-navbar .navbar-brand {
  font-size: 1.7rem;
}

.footer {
  padding: 2rem 0 2rem 0;
  background-color: #0d1e2d;
  color: #FFF;
}

.footer a {
  color: #FFF;
}

.social a {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f8f9fa;
  position: relative;
  text-align: center;
  color: #0d1e2d;
}

.social a span {
  display: inline-block;
  left: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.social a:hover {
  color: #000;
}

@media (max-width: 780px) {
  .custom-navbar > .container {
    padding-right: 0;
    padding-left: 0;
  }
}

 /* Particle */

canvas {
  height:100vh;
  background-color:grey;
}

#particles-js{
  position: absolute;
  z-index: -999;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background-image: url('');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
















