/***********************************
SQUELETTE
************************************/
@media (orientation: landscape) and (max-device-width: 768px) {
	html,
	body {
		-webkit-text-size-adjust: 100%;
	}
}

* {
  box-sizing: border-box; /* pour maîtriser width et flex-basis */
}

html#html_login {
	margin:0px;
	padding:0px;
    height: 100%;
    /*overflow: hidden;*/
}

body{
	display: flex; /* crée un contexte flex pour ses enfants */
	flex-direction: column; /* affichage vertical */
	min-height: 100vh; /* toute la hauteur du viewport */
	margin: 0; 
	padding: 0;
	background-color: var(--color-principal-fond);
	font-family: "Roboto", Verdana, Helvetica, tahoma, Arial, sans-serif;
}

h1, h2, h3 {
	clear: both;
	display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-bottom: 0;
    margin-top: 0;
}


#page
{
display: flex; /* crée un contexte flex pour ses enfants */
flex-direction: column; /* affichage vertical */
min-height: 100vh; /* toute la hauteur du viewport */
margin: 0; 
padding: 0;
}


#container-principal {
-ms-flex: 1 1 auto;
-webkit-flex: 1 1 auto;
flex: 1 1 auto; /* occupe la hauteur restante */
width: 100%;
display: -webkit-flex;
display: flex;
overflow: hidden;
flex-direction:column; /* 3 */
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
font-size: 18px;
color: var(--color-principal-text);
margin-top: 0px;
margin-bottom: 0px;
padding-top: 0px;
padding-bottom: 0px;
}

#contenu {
width: 100%;
display: -webkit-flex;
display: flex;
flex-direction:column; /* 3 */
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
font-size: 18px;
color: var(--color-principal-text);
margin-top: 0px;
margin-bottom: 0px;
padding-top: 0px;
padding-bottom: 0px;
}
.anchor{
  display: block;
  height: 100px; /*same height as header*/
  margin-top: -50px; /*same height as header*/
  visibility: hidden;
}
.section1, .section2{
display: flex;
flex-direction:column;
-webkit-align-items: center;
align-items: center;
width: 100%;
margin-bottom: 0px;
padding-top : 50px;
padding-bottom : 50px;
}

.section-title-area {
display: block;
margin-bottom: 50px;
text-align: center;
color: var(--color-principal-text);
font-size: 30px;
letter-spacing: 3.5px;
font-weight: 800;
text-transform: uppercase;
word-break: break-word;
line-height: 1.2;
}

.container-section {
width: 88%;
max-width: 1024px;
font-size: 18px;
}

.container-sonia-presentation {
	display: flex;
	float: left;
}

#sonia-presentation {
	width: 300px;
	margin-right: 15px;
}


#button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-barre-menu-background-fixe-footer);
  color: var(--color-menu-text);
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 20px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  font-family: "FontAwesome";
  visibility: hidden;
  z-index: 1000;
}
#button:hover {
  cursor: pointer;
  color: var(--color-button-hover);
}
#button:active {
  color: var(--color-button-hover);
}
#button.show {
  opacity: 1;
  visibility: visible;
}

@media screen and (min-width: 616px) and (max-width: 819px)
{
.section1, .section2{
padding-top : 30px;
padding-bottom : 30px;
}
.section-title-area {
	margin-bottom : 30px;
	font-size: 25px;
	letter-spacing: 2.0px;
}
#sonia-presentation {
	width: 250px;
}
}

@media screen and (min-width: 461px) and (max-width: 615px)
{
.section1, .section2{
padding-top : 20px;
padding-bottom : 20px;
}
.section-title-area {
	margin-bottom : 20px;
	font-size: 24px;
	letter-spacing: 2.0px;
}
#sonia-presentation {
	width: 200px;
}
}

@media screen and (max-width: 460px)
{
.section1, .section2{
padding-top : 20px;
padding-bottom : 20px;
}
.section-title-area {
	margin-bottom : 20px;
	font-size: 20px;
	letter-spacing: 2.0px;
}
#sonia-presentation {
width: 100%; 
height: 240px;
margin-right: 0px;
object-fit: cover;
object-position: 0% 10%;
}
.container-sonia-presentation {
	float: none;
	justify-content: center;
}
}