@import url("font/font.css");

/* === GLOBAL STYLES ======================================================= */
/* GENERAL */
html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--fontStyle), sans-serif;
	font-size: var(--fontSize);
	margin: 0px;
	color: var(--contentFG);
	background-color: var(--rootBG);
	overflow-x: hidden;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 0%);
    -webkit-text-stroke: 1px transparent;
}

.hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	visibility: hidden;
	top: -10000px;
	left: -10000px;
}

a {
	color: var(--contentFG);
	text-decoration: none;
}

span.mnuSel_yes {
	border-bottom: 1px solid;
}

a:hover {
	color: var(--accentColorDark);
}

a img {
	border-width: 0px;
}

q::before,
q::after {
	content: "";
}

ul,
ol {
	margin: 5px 0 0 0;
	list-style-position: outside;
}

p {
	text-align: justify;
	line-height: 1;
}

table {
	border-collapse: collapse;
    background-color: #fff;
}

h2,
h3,
h4,
h5 {
	margin-bottom: 0.5em;
}

/* STRUCTURE / MENU */
#main {
	display: flex;
	min-height: 100vh;
}

#content {
	flex: 1;
	padding: 2rem;
	max-width: 900px;
    margin: 0 auto;
}

#menu {
	min-width: 17rem;
    background: var(--rootBGAlt);
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
	border-right: 1px solid #2e2d2c;
    box-shadow: rgb(0 0 0 / 35%) 0px 2px 12px 2px;
}

#menu .sw_menu_navList {
	margin: 0;
	padding: 0;
}

#menu .footer {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

#menu ul li {
	line-height: 1.5rem;
	line-height: 2.5;
    text-transform: uppercase;
}

#menu ul li:first-child {
	margin-bottom: 2rem;
    font-size: 150%;
	text-transform: capitalize;
}

#menu a,
span.mnuSel_yes {
	color: var(--accentColor);
	padding: 0.4rem;
}

#menu a:hover {
	color: var(--accentColorDark);
}

.links {
	margin: 1rem 0;
}

a.generatorLink  {
	font-size: 80%;
}

#menu .links a {
  background: url(img/links.svg) no-repeat;
  line-height: 24px;
  padding: 0 0 0 24px;
  margin: 0.2em 0;
  display: block;
}
#menu .links .website a {
  background-position: 0 -75px;
}
#menu .links .facebook a{
	background-position: 0 -50px;
}
#menu .links .twitter a{
	background-position: 0 -25px;
}
#menu .links .linkedin a{
	background-position: 0 0;
}
#menu .links .other {
	display: flex;
}
#menu .links .other a {
    background: none;
    padding: 0;
    display: flex;
    flex-direction: row-reverse;
}
#menu .links .other a > span {
    padding: 0 0 0 3px;
}
#menu .links .other a > img {
	height: 19px;
}

/* CONTENT */
.infos {
	display: flex;
	justify-content: center;
    align-items: center;
}

.personalInfos {
	margin-left: 3rem;
}

.personalInfos p {
	margin: 0;
}

.personalInfos > div {
    margin: 0.2rem 0;
    font-weight: bold;
}

img.photo {
	border-radius: 6px;
	border: 1px solid var(--accentColorDark);
}

.tagline {
	margin-top: 2rem;
}

h2 {
	text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.5;
  font-weight: normal;
  font-size: 2em;
	margin-bottom: 3rem;
}

h2 > span {
	padding: 0 20px 10px 20px;
    border-bottom: 3px solid var(--accentColorDark);
}

.lineBk {
	margin-bottom: 3rem;
}

.lineBk_ti {
	display: flex;
  font-weight: bold;
  align-items: baseline;
  justify-content: space-between;
}

.title {
	font-size: 150%;
  order:-1;
}

.location {
	color: var(--accentColorDark);
	font-weight: bold;
}

#burgerMenu {
	display: none;
  position: absolute;
  top: 0;
  right: 5px;
  color: var(--contentFG);
  background: transparent;
  border: 0;
  border-radius: 0.3em;
  font-size: 2rem;
  z-index: 3;
  cursor: pointer;
}

/* ACCESSIBILITE */
ul#accessibility {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0;
	width: auto;
	z-index: 90;
	font-size: 0.6em;
	top: 5px;
}

ul#accessibility a {
	color: var(--headerFG);
	text-decoration: none;
	opacity: 0;
}

ul#accessibility a:hover,
ul#accessibility a:focus {
	opacity: 1;
	color: var(--headerOver);
}

ul#accessibility li {
	float: left;
	margin-right: 10px;
}

@media (max-width: 1100px) {
	#burgerMenu {
		display: block;
	}

	#menu {
		display: none;
		position: fixed;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 2;
	}

	#menu.show_menu_false {
		display: block;
	}
}

@media (max-width: 750px) {
	img.photo {
		aspect-ratio: 1;
		width: 200px;
	}

	.tePlayer.teVideoType {
		width: 35em;
	}
}

@media (max-width: 650px) {
	h2 {
		font-size: 1.5rem;
	}

	.tePlayer.teVideoType {
		width: 25em;
	}
}

@media (max-width: 550px) {
	.infos {
		flex-direction: column;
	}

	.personalInfos {
		margin: 0;
	}

	h2 {
		font-size: 1rem;
	}

	body {
		font-size: 0.9rem;
	}
}
