body{
    overflow-x: hidden;
}
.bg-primary {
    /* background-color: #E9F2A7 !important; */
    background-color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--primary) !important;
}

.carousel-caption {
    background: rgba(205, 217, 119, 0.3);
}

.btn-primary {
    color: var(--dark) !important;
    background-color: var();
    border-color: #06A3DA;
}

.text-light {
    color: var(--dark) !important;
}

.btn-outline-light {
    color: var(--dark);
    border-color: var(--dark);
}

/* .nav-link {
    color: var(--dark) !important;
}
.nav-link.active {
    color: var(--primary);
} */
/* .navbar-nav>a {
    color: #6e6e6e !important;
} */

.navbar-nav>a:hover {
    /* font-size: 2rem !important; */
    /* font-weight: bold !important; */
    color: var(--dark) !important;
}

/* .dropdown-toggle {
    color: #464646 !important;
} */

.dropdown-toggle:hover {
    color: var(--dark) !important;
}
.dropdown-item:hover{
    color: var(--dark);
}
.nav-link::before {
    background: var(--dark) !important;
}

.text-primary {
    color: #ffffff !important;
}

.text-primary:hover {
    color: var(--dark) !important;
}

.btn-primary {
    color: #fff;
    background-color: var(--dark);
    border-color: var(--dark);
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--light);
    border-color: var(--light);
}

.logo {
    width: 60px;
    border-radius: 200px;
}
.s1{
    background-image: url(../img/Group\ 38.png);
    background-size: cover;
    height: 170vh;
}
.btn1 {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    position: relative;
    top: 50vh;
    left: 550px;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 3px solid transparent;
    padding: 15px 30px;
    font-size: 40px;
    line-height: 1.5;
    border-radius: 40px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  .btn2 {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    position: relative;
    top: 90vh;
    /* left: 700px; */
    right: -75vw;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 3px solid transparent;
    padding: 15px 50px;
    font-size: 40px;
    line-height: 1.5;
    border-radius: 40px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  .btn3 {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    position: relative;
    top:60vh;
    left: 30vw;
    /* right: -70vw; */
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 3px solid transparent;
    padding: 15px 40px;
    font-size: 40px;
    line-height: 1.5;
    border-radius: 40px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
.btn-primary {
    color: #fff;
    background-color: #CDD977;
    border-color: #D4EA8C;
  }
  
.btn-primary:hover {
    color: #D4EA8C;
    background-color: #ffffff;
  }
.btn-primary1:focus, .btn-primary1.focus {
    color: #fff;
    background-color: #E9F2A7;
    border-color: #c3c3c3;
    box-shadow: 0 0 0 0.2rem rgba(176, 176, 176, 0.5);
  }
.btn-primary>h3{
    font-size: 3rem;
    margin: 0px ;
    color: #fff;
}
.btn-primary>h3:hover{
    font-size: 3rem;
    margin: 0px ;
    color: #CDD977;
}
.btn-primary1 {
color: #fff;
    background-color: var(--dark);
    border-color: var(--dark);
  }
  
.btn-primary1:hover {
    color: #fff !important;
    background-color: #ffffff;
    
  }
.btn-primary1:focus, .btn-primary1.focus {
    color: #fff;
    background-color: #E9F2A7;
    border-color: #c3c3c3;
    box-shadow: 0 0 0 0.2rem rgba(176, 176, 176, 0.5);
  }
.btn-primary1>h3{
    font-size: 3rem;
    margin: 0px ;
    color: #fff;
}
.btn-primary1>h3:hover{
    font-size: 3rem;
    margin: 0px ;
    color: #CDD977;
}
.btn-outline-light {
  color: #fff;
  border-color: #fff;
}
/* 隱藏彈出視窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  /* 彈出視窗內容 */
  .modal-content {
    background-image: url(../img/slogn.png);
    background-size: cover;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 50px;
    width: 50vw;
    height: 90vh;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
      0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: modalopen;
    animation-duration: 0.4s;
  }
  
  /* 彈出視窗動畫 */
  @keyframes modalopen {
    from {
      opacity: 0;
      transition: all 0.2s ease;
    }
    to {
      opacity: 1;
      transition: all 0.2s ease-out;
    }
  }
  .close{
    margin-right: 4%;
    margin-left: auto;
    cursor: pointer;
  }
.s1>h1{
    font-size: 6.5rem;
    color: var(--dark);
    position: relative;
    top: 30vh;
    left: 16vw;
}
.s1>h6{
    color: #212529;
    position: relative;
    font-size: 1.2rem;
    letter-spacing: 10px;
    padding: 10px;
    top: 40vh;
    left: 20vw;
}
.s2>h1{
    font-size: 6.5rem;
    color: var(--dark);
    position: relative;
    top: 70vh;
    left: 55vw;
}
.s2>h6{
    color: #212529;
    position: relative;
    font-size: 1.5rem;
    letter-spacing: 10px;
    padding: 10px;
    top: 80vh;
    left: 55vw;
}
.s3{
    background-image: url(../img/Group\ 39.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 250vh;
    width: 100vw;
    position: absolute;
    top: 300vh;
    z-index: -1;
}

.s4>h1{
    font-size: 6rem;
    color: var(--dark);
    position: relative;
    /* left: -1vw; */
    letter-spacing: 4px;
    top: 50vh;
}
.s4h{
    width: 3000px !important;
    font-size: 10rem;
    color: #fff;
    position: absolute;
    left: 10vw;
    letter-spacing: 4px;
    top: 452vh;
    z-index: 200;
    text-shadow: 2px 2px 2px rgba(136, 136, 136 ,0.8);
}
.s4>p{
    color: #212529;
    position: relative;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 10px;
    padding: 20px 10px;
    top: 60vh;
}
.s5>p{
    color: #fff;
    position: relative;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 10px;
    padding: 20px 10px;
    top: 120vh;
    left: 30vw;
    text-shadow: 1px 1px #385a7b;
    background: linear-gradient(to top, #98e5e5, #c6c6c6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.s5>a{
  position: relative;
  top:1000px;
  left: 65vw;
  letter-spacing: 10px;
  font-size: 2rem;
}
.section-title::before {
    background: var(--dark) !important;
}
element.style {
    height: 50px;
}
.bg-light {
    background-color: var(--secondary) !important;
}
.da{
    color: var(--dark);
    transition: all 0.4s ease !important;
}
.da:hover{
    color: var(--light);
}
.sp{
    height: 80vh;
}

.as{
  background-color: #CDD977 !important;
}
.bg-light{
  background-color: #E9F2A7 !important;
}
.h-340{
  height: 320px;
}
.text-primary{
  color: #385a7b!important;
  transition: all 0.2s ease;
}
.text-primary:hover{
  color: #347777 !important;
}
  .map>.d1>iframe{
    position: relative;
    

    border: #CDD977 solid 1px;
    border-radius: 10px;
  }
  .map>.d1{
    width: 35vw;
    height: 430px;
    background-color: var(--secondary);
    position: relative;
    left: 10vw;
    bottom: 15vh;
    border: 5px solid var(--dark);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    
    align-items: center;
  }
  .map>h1{
    position: relative;
    top: 30vh;
    font-size: 7rem;
    color: var(--dark);
    text-shadow: 0px 0px 10px #53bbbba4;
  }
  .map>img{
    position: relative;
    top: 50vh;
    left: -50px;
  }
  .map>a{
    top:45vh;
    left: 100px;
    position: relative;
    font-size: 1.5rem;
    color: var(--dark);
    margin: none;
    /* z-index: 10px; */
  }
  .map>.aa{
    position: relative;
    top: 49.5vh;
    left: 50px;
    width: 30vw;
    height: 50px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 100px;
  }
  .bb{
    width: 50vw;
  }
  /* .hw{
    color: var(--secondary);
    transition: all 0.2s ease;
  }
  .hw:hover{
    color: #fff;
  } */
  .bg-header {
    background: linear-gradient(var(--dark),var(--secondary)), url(../img/carousel-1.jpg) center center no-repeat !important;
    background-size: cover;
}

/* 123 */
:root {
	
	/* tiles */
	--red: hsl(10 83% 52%);
	--green: hsl(157 91% 43%);
	--blue: hsl(210 100% 45%);
	--purple: hsl(266 100% 67%);
	--yellow: hsl(49 100% 73%);
	--black: hsl(0 0% 0%);

	/*  */
	--cubic: cubic-bezier(0.25, 0.1, 0, 2.05);
}



@keyframes height-resize {
	to {
		padding-block: 0;
	}
}


.flying-squares {
	position: absolute;
	z-index: -100;
	
	.square {
		position: inherit;
		width: 15vw;
		height: 20vw;
		rotate: 0.4turn;
		background-color: var(--square-color);
		top: var(--y);
		left: var(--x);
		opacity: 0.5;
		rotate:  var(--rx) var(--ry) var(--rz) 0.55turn;
		animation: flying 2s infinite alternate both;
		
		&:nth-of-type(1) {
      
		  width: 20vw !important;
		  height: 30vw !important;
			--y: -10vh;
			--x: 7vw;
			--rx: 0.5;
			--ry: 2.1;
			--rz: 1.6;
			--square-color: var(--secondary);
			
			animation-delay: 1s;
		}
		
		&:nth-of-type(2) {
      width: 28vw !important;
		  height: 45vw !important;
			--y: 20vh;
			--x: 60vw;
			--rx: 1.7;
			--ry: 2.3;
			--rz: 2.1;
			--square-color: var(--dark);
		}
		
		&:nth-of-type(3) {
			--y: 90vh;
			--x: 10vw;
			--rx: 1.75;
			--ry: 3.5;
			--rz: 2.7;
			--square-color: var(--secondary);
			
			animation-delay: 0.5s;
		}
		&:nth-of-type(4) {
      width: 40vw !important;
		  height: 40vw !important;
			--y: 140vh;
			--x: 55vw;
			--rx: 0.7;
			--ry: 4.5;
			--rz: 3.1;
			--square-color: var(--primary);
		}
	}
}

@keyframes flying {
	to {
		translate: 0 -5vh;
	}
}

