
header{
	text-align: center;
}

body{
	overflow-x: hidden;
}


/* nav styles */

.top-logo{
	position: absolute;
	    height: 100px;
        left: 10%;
        width: 100%;
        max-width: 18%;
}

nav{
	text-align:center;
	background-color: var(--black);
}

ul{
	margin-bottom: 0;
}

nav ul li{
	display:block;
	margin-bottom:0;
}

header ul a{
	display:block;
	padding: 23px;
	color: #de9700;
	text-decoration: none;
}

a:hover{
	opacity: 0.5;
}

.ul-main{
	height: 100px;
}

.main-menu{
	display:none;
}

.main-menu a{
	color: var(--white);
}

.main-menu a.orange{
	color: var(--orange);
}

.mobile-menu ul {
	display:none;
}

.hamburger, .hamburger:hover{
	text-align: right;
	color: #de9700;
}

.es-button:hover{
	transition: 0.3s ease-in-out;
}

.switch-img{
	position: relative;
	width: 180px;
    top: 18px;
}


.switch-img img{
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	position: absolute;
    left: 0;
	bottom: 0;
}

.switch-img .mobile-es{
    top: -40px;
}

.switch-img:hover img:first-of-type{
	opacity: 0;
}

.switch-img img:last-of-type{
	position: absolute;
	left: 0;
	bottom: 0;
	opacity: 0;
}

.switch-img:hover{
	opacity: 1;
}

.switch-img:hover img:last-of-type{
	opacity: 1;
}

.header-area{
	display: flex;
	justify-content: space-between;
	padding: 20px;
  }

  .hamburger{
	width: 40px;
	height: 25px;
	position: relative;
	padding-right: 16px;
	right: 20px;
  }

  .hamburger span{
	position: absolute;
	width: 100%;
	height: 3px;
	border-radius: 25px;
	background-color: #ff8d00;
	transition: .5s;
  }

  .hamburger span:first-of-type{
	/* line-one */
	top: 0;
  }
  .hamburger span:nth-of-type(2){
	/* line-2 */
	top: 50%;
	height: 3.2px;
  }
  .hamburger span:last-of-type{
	/* line-3 */
	top: 100%;
  }

  .slide-menu{
	background-color: rgba(0, 0, 0, 0.62);
	position: fixed;
	top: 65px;
	width: 100%;
	left: 0;
	transform: translateY(-120%);
	transition: .5s;
  }

  .slide-menu li{
	color: #fff;
	line-height: 400%;
	text-align: center;
	list-style: none;
  }

/* creating × */
  .hamburger.active span:first-of-type{
	top: 50%;
	transform: rotate(45deg);
  }
  .hamburger.active span:nth-of-type(2){
	opacity: 0;/* oppacity */
  }
  .hamburger.active span:last-of-type{
	top: 50%;
	transform: rotate(-45deg);
  }

  .slide-menu.active{
	/* transform: translateX(0);  */
	transform: translateY(0); 
  }

  .mobile-menu{
	transition: .4s;
  }

  .mobile-menu.active{
	background-color: rgba(0, 0, 0, 0.62);
	transition: .5s, background-color 0.86s;
	z-index: 2;
  }

  .header-area-mobile.active{
	background-color: rgba(0, 0, 0);
  }
/* creating × */


/* media query */

/* over 375px : mobile */
@media (min-width: 320px) {
	
	
}

@media (max-width: 501px) {
	.desktop-b{
		display: none;
	}
	.mobile-b{
		display: inline-block;
	}

	header{
		background-color: (0, 0, 0, .8);
	}
}

@media (min-width: 501px) {
	.mobile-b{
		display: none;
	}

	.link-w img{
		display: block;
	}

	.contact button {
		width: 30%;
	}
}


/* over 600px : tablet */
@media (min-width: 600px) {	

}

/* Larger than phablet */
/* @media (min-width: 900px) { */
	@media (min-width: 834px) {
	.sp-only{
		display: none;
	}

}

@media (min-width: 1025px) {
	.home .header-area{
		background-color: rgba(0, 0, 0, 1);
	  }
}



/* PC */

@media (min-width: 1200px) {
	.main-menu{
		display: block;
	}
	
	.mobile-menu{
		display: none;
	}

	.top-logo{
		height: 100px;
		left: 17%;
        width: 100%;
        max-width: 12%;
	}
	
	nav ul li{
		display:inline-block;
		border-bottom: 0;
	}

	.ul-main{
		padding: 13px;
		height: 100px;
		padding-left: 260px;
	}

	.switch-img img{
		margin-left: 16px;
	}
}

@media (max-width: 1024px) {
	.header-area{
		position: fixed;
		width: 100%;
	}

	.gallery .header-area{
		z-index: 1000;
		top: 0;
	}

	.gallery h2{
		margin-top: 32px;
	}
}
