/* MENU MOBILE */

@media (max-width: 575px) {
	header {
		display: none;
	}
	.dispositionHeader {
		padding: 10px;
		display: grid;
		grid-template-columns: 50% 50%;
		align-items: center;
	}
	#hamburger {
		position: relative;
	}
	#headerMobile nav {
		background: #f7e17c;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease-in-out;
		z-index: 3000;
	}
	#headerMobile nav ul {
		list-style-type: none;
		padding: 0;
		margin: 0;
		position: absolute;
		left: 50%;
		transition: all 0.3s ease-in-out;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	#headerMobile nav ul li {
		-webkit-transform: translateY(50px);
		transform: translateY(50px);
		opacity: 0;
	}
	#headerMobile nav ul li a {
		display: block;
		font-size: 24px;
		text-transform: uppercase;
		text-decoration: none;
		padding: 20px 0;
		text-align: center;
		color: #000;
		font-weight: bold;
		transition: all 0.2s ease-in-out;
	}
	#headerMobile nav ul li a:hover {
		color: #fff;
	}
	.toggle-btn {
		display: block;
		position: absolute;
		z-index: 10000;
		right: 20px;
		top: -20px;
		cursor: pointer;
	}
	.toggle-btn .barmenu {
		width: 30px;
		height: 2px;
		margin: 7px auto;
		background-color: #000;
		transition: all 0.3s ease-in-out;
	}
	.toggle-btn .barmenu:nth-child(2) {
		width: 30px;
	}
	#toggle:checked~nav {
		opacity: 1;
		visibility: visible;
	}
	#toggle:checked~nav ul {
		top: 40%;
	}
	#toggle:checked~nav ul li {
		-webkit-transform: translateY(0px);
		transform: translateY(0px);
		opacity: 1;
	}
	#toggle:checked~nav ul li:nth-child(1) {
		transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.1s;
	}
	#toggle:checked~nav ul li:nth-child(2) {
		transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.2s;
	}
	#toggle:checked~nav ul li:nth-child(3) {
		transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.3s;
	}
	#toggle:checked~nav ul li:nth-child(4) {
		transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.4s;
	}
	#toggle:checked+label.toggle-btn .barmenu {
		background-color: #000;
	}
	#toggle:checked+label.toggle-btn .barmenu:nth-child(2) {
		-webkit-transform: translateX(50px);
		transform: translateX(50px);
		opacity: 0;
	}
	#toggle:checked+label.toggle-btn .barmenu:nth-child(1) {
		-webkit-transform: translateY(10px) rotate(45deg);
		transform: translateY(10px) rotate(45deg);
	}
	#toggle:checked+label.toggle-btn .barmenu:nth-child(3) {
		-webkit-transform: translateY(-8px) rotate(-45deg);
		transform: translateY(-8px) rotate(-45deg);
	}
}

/* FIN MENU MOBILE */

/* MENU */

@media (min-width: 576px) {
	/* HEADER */
	#headerMobile {
		display: none;
	}
	.header {
		position: static;
		background: #fff;
		padding: 40px 0 40px 0;
		-webkit-transition: all 0.5s;
		-moz-transition: all 0.5s;
		transition: all 0.5s;
	}
	.headerScroll {
		padding-top: 400px;
	}
	.headerScroll header {
		z-index: 1000;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		padding: 10px 0 10px 0;
		box-shadow: 0 2px 22px rgba(0, 0, 0, 0.2);
	}
	.dispositionHeader {
		display: grid;
		grid-template-columns: 30% 70%;
		align-items: center;
	}
	nav {
		justify-self: end;
	}
	nav ul {
		margin: 0;
		padding: 0;
	}
	nav ul li {
		display: inline;
		margin: 0;
		padding: 0 0 0 20px;
		list-style: none;
	}
	nav ul li a {
		text-decoration: none;
		font-weight: bold;
		font-size: 16px;
		color: #000;
		transition: all 0.2s ease-in-out 0s;
	}
	nav ul li a:hover {
		text-decoration: none;
		color: #f7e17c;
		border-bottom: 4px solid #f7e17c;
		padding-bottom: 10px;
	}
}

@media (min-width: 1000px) {
	nav ul li {
		padding: 0 0 0 50px;
	}
}

.top_link {
	position: fixed;
	right: 20px;
	bottom: 50px;
	display: none;
	padding: 20px;
	background: #000;
	opacity: 0.5;
	color: #fff;
	z-index: 2000;
}