@charset "UTF-8";

header {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	display: grid;
	width: 100%;
	height: calc(var(--header-height));
	grid-template-columns: min-content 1fr 1fr min-content;
	background-color: var(--color-grey-2);
}

.headerLogoAble {
	display: flex;
	flex-direction: row;
	flew-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.headerLogoAble img {
	height: calc(var(--header-height) - 20px);
	margin: 10px 0 0px 0;
}

.headerMeeting {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	position: relative;
}
.headerMeeting img {
	width: 50px;
	margin-right: 20px;
	vertical-align:middle;
}
.headerMeeting .tooltip {
	top: 110px;
	left: 50%;
	transform: translateX(-50%);
}
.headerMeeting:hover .tooltip {
	opacity: 1;
	visibility: visible;
}

.headerWhoAmI {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 20px;
	position: relative;
}
.whoAmIToggle {
	width: 142px;
	height: 40px;
	position: relative;
	background-color: var(--color-grey-2);
	border-radius: 20px;
	cursor: pointer;
	border: 2px solid #ccc;
	text-align: left;
}
.whoAmISlider {
	position: absolute;
	width: 34px;
	height: 34px;
	background-color: var(--color-grey-1);
	top: 3px;
	left: calc(71px - 17px);
	transition: all 0.5s;
	border-radius: 20px;
}
.whoAmISlider.left {
	left: 5px;
	background-color: var(--color-orange2);
}
.whoAmISlider.right {
	left: 104px;
	background-color: var(--color-blue1);
}
.whoAmIText {
	line-height: 40px;
}
#whoAmITextPro {
	padding-left: 10px;
}
#whoAmITextPerso {
	padding-left: 55px;
}
#whoAmITextPro.hide {
	display: none;
}
#whoAmITextPerso.hide {
	display: none;
}
.headerWhoAmI .tooltip {
	top: calc(var(--header-height));
	left: 50%;
	transform: translateX(-50%) translateY(-75%);
}
.whoAmIToggle:hover ~ #whoAmITooltip {
	display: block;
	opacity: 1;
	visibility: visible;
}

.headerAcc {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 10px;
	position: relative;
}
.headerAcc img {
	width: 100px;
}
.headerAcc .tooltip {
	top: 130px;
	left: 0;
	transform: translateX(-120px);
}
.headerAcc:hover .tooltip {
	opacity: 1;
	visibility: visible;
}

@media screen and (max-width: 900px), screen and (max-height: 900px) {
	:root {
		--header-height: 80px;
	}
	.headerLogoAble img {
		height: 70px;
		margin: 10px 10px 0px 0;
	}
	.headerMeeting .tooltip {
		top: 76px;
	}
	.headerWhoAmI {
		margin: 0 10px;
	}
	.whoAmIToggle {
		width: 80px;
	}
	.whoAmISlider {
		left: calc(40px - 17px);
	}
	.whoAmISlider.left {
		left: 5px;
	}
	.whoAmISlider.right {
		left: 42px;
	}
	.whoAmIText {
		display: none;
	}
	.headerWhoAmI .tooltip {
		transform: translateX(-50%) translateY(-15%);
}
	.headerAcc img {
		width: 60px;
	}
	.headerAcc .tooltip {
		top: 75px;
		transform: translateX(-160px);
	}
}
@media screen and (max-width: 700px) {
	.headerMeeting a:nth-child(2) {
			display: none;
		}
}
