:root {
    --colorBody: white;
    --colorText: black;
    --ColorNumberOne: #3f87a6c2;
    --ColorNumber2: #48c0ec;
    --ColorNumber3: #15698f;
    --ColorNumber4: #1f4057;
    --ColorNumber5: #85c4dd ;
    --colorText2: white;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    color: var(--colorText);
    background: var(--colorBody);
	font-family: 'Lato', sans-serif;	
	
	font-weight:300;


}

#prefond {
    position: fixed;
    background: linear-gradient(114deg, var(--ColorNumberOne), var(--ColorNumber2), var(--ColorNumberOne), var(--ColorNumber3));
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;
    width: 20vw;
    height: 100vh;
    z-index: -2;
    top: 0vh;
    left: 40vw;
}

#fond {
    position: fixed;
    background-image: url(images/fond.jpg);
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 90vw;
    left: 5vw;
    height: 50vh;
    z-index: -1;
    top: 35vh;
    transition: background-image 1s ease; /* Transition pour un effet de fondu */
	display:none;
}


@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

a {
    color: var(--colorText);
    text-decoration: none;
}

a:hover {
    color: gold;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 12px;
}

::-webkit-scrollbar:horizontal {
    height: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #2eb9ec;
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #3f87a6c2;
}

h1 {
    margin: 0;
}

h2 {
    margin: 0;
}

h3 {
    margin: 0;
}

p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-weight: 300;
    padding: 3vh;
}

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 10px;
    border-color: var(--colorText);
}

.margin-top-10 {
    padding-top: 10px;
}

.line-break {
    border-bottom: 3px solid var(--colorText);
    width: 60vw;
    margin: 0 auto;
    margin-bottom: 6vh;
}

img {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* Safari seems to support, but seems deprecated and does the same thing as the others. */
    image-rendering: -webkit-optimize-contrast;
}

.flex {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;	
}

.alternative {
    background: linear-gradient(114deg, var(--ColorNumber2), var(--colorBody), var(--ColorNumber3), var(--ColorNumber4));
    background-size: 400% 400%;
    animation: gradient 10s ease infinite;
    color: var(--colorText);
}



.alternative2 {
    background: #000000c2;
}

.transparent {
    background-color: transparent;
	color:white;
	padding:2vh;
}

.Format80 {
    width: 80vw;
    margin: 3vh 10vw 3vh;
}

.Format70 {
    width: 70vw;
    margin: 3vh 20vw 3vh 25vw;
}

.Format60 {
    width: 60vw;
    margin: 3vh 20vw 3vh;
}

@media screen and (orientation: portrait) {
    .Format60 {
        width: 80vw;
        margin: 3vh 10vw 3vh;
    }
	
	.Format70 {
    width: 70vw;
    margin: 3vh 20vw 3vh 25vw;
}
}

.supertitle {
    font-size: 2.5em;
    text-transform: uppercase;
    font-weight: 300;
    padding: 1vh;
    text-align: center;
}

.title {
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 300;
    padding: 1vh;
    text-align: center;
}

.subtitle {
    font-size: 1.5em;
    text-align: center;
    padding: 1vh;
}

.text {
    font-size: 1em;
    text-align: justify;
    padding: 2vh;
	hyphens:auto;
	-webkit-hyphens : auto;
}


@media screen and (orientation: portrait) {
    .supertitle {
        font-size: 1.5em;
    }

    .title {
        font-size: 1.2em;
    }

    .subtitle {
        font-size: 1.1em;
    }
.text {
    font-size: 0.8em;
}
}

@media screen and (orientation: landscape) and (max-width: 1024px){
    .supertitle {
        font-size: 1.5em;
    }

    .title {
        font-size: 1.2em;
    }

    .subtitle {
        font-size: 1.1em;
    }
}

.shadow {
    box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(200, 200, 200, 0.2);
}

.shadow2 {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.radius {
    border-radius: 2vh;
}

#BaliseH1 {
    width: 92%;
    margin: 4%;
}




.row {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100vw;
	align-items: center;
}

.column {
    flex: 50%;
    margin: 20px;
    display: grid;
    align-content: center;
    max-width: 80vw;
    justify-content: center;
    justify-items: center;
}

.column1 {
    flex: 50%;
    margin: 20px;
    display: grid;
    align-content: center;
    justify-content: center;
    justify-items: center;
}

.column2 {
    flex: 50%;
    margin: 20px;
    display: grid;
    align-content: center;
    justify-content: center;
    justify-items: center;
}


.row2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
	background-color:white;
}



.column3 {
    flex: 50%;
    display: grid;
    align-content: center;
    max-width: 80vw;
    justify-content: center;
    justify-items: center;
	filter:grayscale(1);
}

.column4 {
    flex: 40%;
    margin: 20px;
    display: grid;
    align-content: space-evenly;
    max-width: 80vw;
    justify-content: center;
    justify-items: center;
}



#Titre {
flex-direction: row;
}
#Titre img{
	width: 20%;
    margin: 1vh;
}

@media screen and (orientation: portrait) and (max-width: 600px){
	
#Titre {
flex-direction: column;
}

#Titre img{
	width: 20%;
    margin: 1vh;
}

.column3 {
margin-top: 2vh;
}

}

@media screen and (orientation: portrait) and (min-width: 601px){
	
#Titre {
flex-direction: column;
}

#Titre img{
	width: 20%;
    margin: 1vh;
}

.column3 {
margin-top: 2vh;
}

}

/* contact */

input {
    width: 30vw;
    padding: 6px 10px;
    margin: 8px 0;
    box-sizing: border-box;
    margin-left: 0vw;
    background-color: transparent;
    color: white;
    border: solid white 1px;
}

input::placeholder {
    font-style: italic;
    color: white;
}

textarea {
    width: 30vw;
    padding: 6px 10px;
    margin: 8px 0;
    box-sizing: border-box;
    margin-left: 0vw;
    background-color: transparent;
    color: white;
    border: solid white 1px;
}

textarea::placeholder {
    font-style: italic;
    color: white;
}

.ButtonForm {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin: 1em;
    cursor: pointer;
    border-radius: 50px;
    width: 8vw;
}

.ButtonForm:hover {
    background-color: #8f0808;
}

@media screen and (orientation: portrait) {
    input {
        width: 80vw;
    }

    textarea {
        width: 80vw;
    }

    .ButtonForm {
        width: 80vw;
    }
}

/* contact */


/* Empechement du paysage */
#PortraitSVP {
  background-color: silver;
  color: black;
  width: 100vw;
  height: 100vh;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#PortraitSVP img {
  width: 30%;
}

/* Empechement du paysage */



#footer {

	background:black;
	display: flex;
    justify-content: center;
	padding:2vh;
	height:10vh;
	
	}
	
#footer p{
	
	font-size:12px;
	
	}
	
#footer a{
	
	color:blue;
	text-decoration:underline;
	
	}