@import url('https://fonts.googleapis.com/css?family=Lobster');
body {
    font-family: Helvetica, Arial, 'LiHei Pro', 'Microsoft JhengHei', sans-serif;
    background-color: #fff;
}

section{
  margin-bottom: 50px;
}

header{
  background-color: #f8f9fa!important;
  position: fixed;
  width: 100%;
  z-index: 2;
  box-shadow: 1px 1px 3px #ced4da;
}

.logo{
    width: 120px;
    margin-right: 20px;
}

.logo img{
  width: 100%;
}

.navbar-brand{
  color: #0193b9!important;
  font-weight: bold;
  font-size: 26px;
  padding: 0;
}

.navbar{
    padding: 5px 15px;
}

/*banner*/
.banner{
  position: relative;
}

.banner-img{
    position: relative;
}

.banner-img::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background-color: rgba(0, 0, 0, 0.25);
}

.banner-title{
    color: #ffffff;
    text-align: center;
    text-shadow: 3px 2px 3px black;
}

.banner-title h2{
    font-weight: bold!important;
    margin-bottom: 15px;
}

@media (max-width:767px){
    .banner-title h2{
        font-size: 24px;
    }

    .banner-title{
        margin-bottom: 15px;
    }
}

.banner-img img{
  width: 100%;
  min-height: 1100px;
  object-fit: cover;
}

.form-position{
  position: absolute;
  top: calc(50% - 400px);
  right: 0;
  z-index: 1;
  width: 100%;
}

@media (max-width:576px){
    .form-position{
        top: calc(50% - 470px);
    }
}

.form-title h4{
  margin-bottom: 10px;
  font-weight: bold!important;
}

.form-area{
  background-color: #0193b9cf;
  padding: 10px 5%;
  height: 800px;
  display: flex;
  align-items: center;
}

.mb-3{
  margin-bottom: 2rem!important;
}

.form-size{
  width: 100%;
}

.all-btn{
  text-align: center;
}

.all-btn button{
  background-color: #005369;
  width: 100px;
  height: 35px;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px;
}


.main-title h1{
  text-align: center;
  font-weight: bold!important;
}

.main-title{
  position: relative;
  margin-bottom: 30px;
}

.main-title::before{
  content: "";
  position: absolute;
  width: 140px;
  bottom: -5px;
  left: 50%;
  margin-left: -70px;
  height: 1px;
  background: #ebebeb;
}

.main-title::after{
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: -16px;
  left: 50%;
  margin-left: -12px;
  border: 5px solid #fff;
  border-radius: 20px;
  background: #0193b9;
}

.main-text{
  text-align:center;
  margin-bottom: 20px;
}

/*case*/

.case{
    background-image: url(../images/case.jpg);
    background-repeat: no-repeat;
    padding: 100px 0;
    background-size: cover;
    background-color: #dedede;
}

.case-user{
    padding: 15px 0;
    margin-bottom: 30px;
    text-align: right;
    color: #085ece;
}

.case-user img{
    width: 20px!important;
    margin-right: 10px;
}

.case-area{
    margin-bottom: 30px;
    padding: 0 15px;
}

.case-content{
    letter-spacing: 3px;
    line-height: 1.5;
    margin: 0 auto;
    text-align: justify;
}

.case-all{
    background-color: #ffffff;
    padding: 30px;
    border-bottom: 5px solid #0193b9;
    width: 80%;
    margin: 0 auto;
}

.case-title{
    color: #0193b9;
    font-size: 28px;
    font-weight: bold;
}

.case-img{
    margin-top: 15px;
    text-align: right;
}

.case-img img{
    width: 100px!important;
    margin-left: auto;
    border-radius: 50%;
    border: 2px dashed #00479d;
}

.case-site{
    display: flex;
    align-items: flex-end;
    width: 100%;
    justify-content: space-between;
}

@media (min-width: 1200px){
    .case .container {
        max-width: 70%;
    }
}

.case .container{
    padding: 0 15px;
}


/*about*/
.about-img img{
    width: 100%;
}

.about-item{
    padding: 15px 0;
    margin: 15px 0;
}

.about-right h3{
    border-bottom: 2px solid;
    padding-bottom: 15px;
    margin: 15px 0;
}

/*contact*/

.link-area{
    text-align: center;
    padding: 30px 0;
    background-color: #ffce0c;
    border-radius: 10px;
    margin-bottom: 15px;
}

.link-area.gray{
    background-color: #dcdcdc;
}

.link-icon img{
    width: 60px;
    margin: 0 auto;
}

.link-text{
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    margin-top: 30px;
    letter-spacing: 3px;
}

.link-area.gray .contact-text{
    color: #274354;
}

/*footer*/
footer{
  background-color: #0193b9;
  color: #ffffff;
  padding: 20px;
}

footer .contact-area{
    background-color: transparent;
}

footer p{
    line-height: 1.5;
    letter-spacing: 3px;
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #ffffff;
    margin: 0 auto;
}

.footer-dacn{
  text-align: center;
  margin-top: 30px;
  letter-spacing: 2px;
}

.footer-dacn a{
  color: #ffffff;
}

.footer-dacn a:hover{
  color: #002269;
  text-decoration: underline;
}

.footer-contact{
  float: right;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.footer-contact img{
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
}

.contact-area{
    background-color: #8d6232;
    padding: 15px;
    text-align: center;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
    font-size: 20px;
    color: #ffffff;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 20px;
}


.contact-area img{
    width: 50px;
    margin-right: 10px;
}


/*animate*/

@keyframes movetoleft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(1500px, 0, 0);
    transform: translate3d(1500px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes movetoright {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-1500px, 0, 0);
    transform: translate3d(-1500px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes movetotop {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 1500px, 0);
    transform: translate3d(0, 1500px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes movetobottom {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -1500px, 0);
    transform: translate3d(0, -1500px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.antoright{
  -webkit-transform-origin: 0 50%;
      -ms-transform-origin: 0 50%;
          transform-origin: 0 50%;
  -webkit-animation: movetoright 0.5s linear;
          animation: movetoright 0.5s linear;
}

.antoleft{
  -webkit-transform-origin: 0 50%;
      -ms-transform-origin: 0 50%;
          transform-origin: 0 50%;
  -webkit-animation: movetoleft 0.5s linear;
          animation: movetoleft 0.5s linear;
}


.antotop{
  -webkit-transform-origin: 0 50%;
      -ms-transform-origin: 0 50%;
          transform-origin: 0 50%;
  -webkit-animation: movetotop 0.5s linear;
          animation: movetotop 0.5s linear;
}

.antobottom{
  -webkit-transform-origin: 0 50%;
      -ms-transform-origin: 0 50%;
          transform-origin: 0 50%;
  -webkit-animation: movetobottom 0.5s linear;
          animation: movetobottom 0.5s linear;
}
