
/*----------------------------------------------------------------------- 
table of content
-------------------------------------------------------------------------* /


File:           CSS Base
Version:        1.1
Last change:     
Author:         HTMLmate


*/

/*-------- css code for responsive layout  --------*/
/*  To make Responsive
---------------------------------------------------------------------- /
*   1 - media screen and (max-width: 1199px)
*   2 - media screen and (max-width: 991px)
*   3 - media screen and (max-width: 767px)
*   4 - media screen and (max-width: 680px)
*   5 - media screen and (max-width: 480px)
*
---------------------------------------------------------------------- 


/*  1 - media screen and (max-width: 1199px)
------------------------------------------------------------------------------------------ */


@media screen and (min-width: 1100px) {
.descrip {
		max-width: 1000px;
		font-size: 22px;
		}

}

@media screen and (max-width: 1199px) {
.descrip {
		max-width: 1000px;
		font-size: 20px;
		}

}


@media screen and (max-width: 991px) {
	.page-head-content {
		left: 0%;
	}
	.latest-blog-text-pic {
		max-width: 370px;
		margin: 0 auto;
		padding-bottom: 30px;
		display: table;
	}
	.contact-info-item input {
		margin-right: 18px;
	}
	.section-title h2 {
		font-size: 26px;
	}
}


@media screen and (max-width: 768px) {
	
	.descrip {
		max-width: 700px;
		font-size: 18px;
		}
	
	.page-head-content {
		left: 50%;
		transform: translateX(-50%);
	}
	.container {
		padding: 0 30px;
	}
	.item-grid{
		width: 50%
	}
	#site-header {
		padding: 20px 0px;
	}
	.page-head-section {
		top: 85px;
	}
	.section-content {
		padding: 50px 0px;
	}
	.contact-text span {
		font-size: 20px;
	}
	.contact-map {
		padding-top: 35px;
	}
	.contact-adress {
		padding-top: 35px;
	}
	.service-text-icon {
		max-width: 270px;
		margin: 0 auto;
		padding-bottom: 35px;
		display: table;
	}
}  
@media screen and (max-width: 580px) { 
	
	.project-description h3 {
		font-size: 16px;
	}
}

@media screen and (max-width: 480px) { 
	.descrip {
		max-width: 400px;
		font-size: 15px;
		}
	.page-head-social {
		height: 150px;
	}
	.newsletter-title h2 {
		font-size: 30px;
	}
	.newsletter-title {
		padding-bottom: 25px;
	}
	.newsletter-section {
		padding-bottom: 65px;
	}
	.pt90 {
		padding-top: 35px;
	}
	.pb75 {
		padding-bottom: 35px;
	}
	.button-group button {
		margin-right: 30px;
	}
	.section-title h2 {
		font-size: 30px;
	}
	.contact-info-item input {
		width: 100%;
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 420px) { 
	.item-grid{
		width: 100%
	}
	.page-head-section {
		padding-bottom: 330px;
	}
	.page-head-social {
		height: 90px;
	}
	#page-head-effect, #page-head-effect canvas {
		height: 330px !important;
	}
	.page-head-title h1 {
		font-size: 24px;
	}
	.portfolio-section {
		padding-top: 70px;
	}
	.button-group button {
		margin-right: 20px;
		font-size: 14px;
	}
	.pb45 {
		padding-bottom: 20px;
	}
	.blog-head h2 {
		font-size: 18px;
	}
	.newsletter-title h2 {
		font-size: 26px;
	}
	.section-title h2 {
		font-size: 26px;
	}
	.footer-2 {
		margin-top: 0;
	}
	.meta-list li a {
		margin-right: 10px;
	}
	.scrollup,
	.scrollup:before,
	.scrollup:after{
		border: none;
		content: none;
	}
	.breadcrumb>li+li:before {
		padding: 0px 4px;
	}

}

@media screen and (max-width: 375px) { 
		
.page-head-content {
		left: 50%;
	}
	.descrip {
		max-width: 370px;
		font-size: 14px;
		}
	.blog-main-text-pic {
	max-width: 350px;
	margin: 0 auto;
	padding-bottom: 35px;
}

}


/* 只在寬度大於1199px時顯示 */
@media (min-width: 1200px) {
  .desktop-only {
    display: block !important;
  }
  #menu-burger {
    display: none !important;
  }
}

/* 導覽選單樣式 */
.main-nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 20px;
}

.main-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
}

.main-nav .nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 10px 20px;
  display: block;
  transition: color 0.3s;
}

.main-nav .nav-list li a:hover {
  color: #007bff;
}

@media (max-width: 1199px) {
  .desktop-only {
    display: none !important;
  }
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 美化選單 */
.nav-menu li a {
  text-decoration: none;
  padding: 15px 20px;
  color: #333;
  font-weight: bold;
}

@media (max-width: 991px) {
  .mobile-padding {
    padding-left: 20px;
    padding-right: 20px;
  }
}