﻿/**
* Template Name: Amoeba - v4.8.0
* Template URL: https://bootstrapmade.com/free-one-page-bootstrap-template-amoeba/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@media (max-width: 768px) {
   .navbar-brand {
       font-size: 16px;
   }
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
 html {
  scroll-behavior: smooth;
 }
 
 body {
  font-family: "微軟正黑體", 'Roboto Condensed', "Open Sans", sans-serif;
  color: #154360;
  background-color: #F0F0F0;
}

a {
  text-decoration: none;
  color: #0F4C7E;
}

a:hover {
  color: #217F97;
  text-decoration: none;
}

.subtitle {
	min-height: 60px;
	font-family: 'Abril Fatface', cursive; 
	color: #052D61;
}
.subtitle > span {
	display: inline-block;
	height: 60px;
	background-image: url("../images/b2.jpg"); 
	background-repeat: repeat-x;
}

.ucase { text-transform:uppercase !important; }

h1,
h2,
h3,
h4,
h5,
h6,
.font-primary {
  font-family: "Lato", sans-serif;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #112643; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #fff; /* Add a white background on hover */
  color: #2171C1;
}

/* .title-offset {min-height:62px; margin-top:-40px;} */

@media (max-width: 768px) {
  /* .title-offset {min-height:58px; margin-top:-30px;} */
  .navbar-toggler {color: white !important;}
  .navbar-toggler-icon {color: white !important;}
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar-toggler-icon{
    font-size: 0.8em;
}

.navbar-toggler{
    padding-top: 2%;
    padding-bottom: 2%;
}

.navbar-brand, .navbar-brand:hover{
  color: #fff;
}

.navbar {
  padding: 5px 0;
  /* background-color: #2D6760 !important; */
  /* background-image: linear-gradient(#306876, #47A3BA); */
  background: linear-gradient(to right, #0F2B02 0%, #5D9335  51%, #B6E63A 100%) !important;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  color: #d2ece9;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 16px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #fff !important;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  text-transform: none;
  font-size: 18px;
  font-weight: 500;
  color: #4f85cc;
}

.navbar .dropdown ul a i {
  font-size: 14px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul li .active,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  background-color: #4f85cc !important;
  color: #fff !important;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 80vh;
  background: url("../images/hero.jpg") top center;
  background-size: cover;
  position: relative;
  margin-bottom: 0px;
}

#hero:before {
  content: "";
  /* background: rgba(113, 174, 185, 0.85); */
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .hero-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  padding-top: 0px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 62px;
  font-weight: 600;
  line-height: 66px;
  color: #fff;
}

#hero h2 {
  color: #eee;
  font-size: 46px;
  font-weight: 300;
}

#hero h3 {
  color: #eee;
  margin-bottom: 50px;
  font-size: 20px;
  font-weight:300;
}

#hero  .hero_buttons {
	margin-top:200px !important; 
}

#hero .btn-get-started {
  font-family: "微軟正黑體", "Lato", sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px 8px 28px;
  border-radius: 50px;
  transition: 0.5s;
  border: 1px solid #fff;
  color: #fff;
  margin-top: 5px;
}

#hero .btn-get-started:hover {
  background: #fff;
  color: #70b9b0;
  border: 1px solid #70b9b0;
}

/* @media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
} */

@media (max-width: 768px) {
 #hero {
   background: url("../images/hero.jpg") top center;
   background-size: cover;
   height: 30vh;
 }
 
 #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 10px;
  }
  
  #hero .hero_buttons {
	margin-top:110px !important; 
  }
  
  #hero .btn-get-started {
    font-size: 12px;
    padding: 4px 20px 4px 20px;
  }
}

/*--------------------------------------------------------------
# Introduction Section
--------------------------------------------------------------*/
.intro-text {
	font-size: 28px;
	font-family: 'cwTeXFangSong', 'Roboto Condensed', sans-serif;
}

.in-text {
	font-size: 26px;
	font-family: 'cwTeXFangSong', 'Roboto Condensed', sans-serif;
}

@media (max-width: 768px) {
	.intro-text {
		font-size: 22px;
		font-family: "cwTeXFangSong", 'Roboto Condensed', sans-serif;
	}
	.in-text {
		font-size: 20px;
		font-family: "cwTeXFangSong", 'Roboto Condensed', sans-serif;
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: linear-gradient(to right, #0F2B02 0%, #5D9335  51%, #B6E63A 100%) !important;
  padding: 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}