@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url(//db.onlinewebfonts.com/c/50eafd25cbb5f88fe7bb5cc77421bb49?family=Freestyle+Script);
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

@keyframes pulseUp {
    0% {
        transform: translateY(0);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-20px);
        opacity: 1;
    }
    66% {
        
        opacity: 0.3;
    }
    
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }
}

:root {
    --primary: #a08547;
    --secondary: #bda669;
}

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
	height: 100%;
}

body {
    font-size: 12px;
	font-family: sans-serif;
	background: #f0ebe1;
	min-height: 100%
}

.welcome {
    height: 100vh;
}

.ban {
    max-width: 100%;
    max-height: 100%;
}

#rucheBanBotContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow-container {
  display: block;
  width: 20vw;
  height: 8vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateZ(0deg);
}
.arrow-container:hover {
  cursor: pointer;
}
.arrow-container:hover .arrow {
  top: 50%;
}
.arrow-container:hover .arrow:before {
  transform: translate(-50%, -50%) rotateZ(-30deg);
}
.arrow-container:hover .arrow:after {
  transform: translate(-50%, -50%) rotateZ(30deg);
}

.arrow {
  position: absolute;
  left: 50%;
  transition: all .4s ease;
	animation: pulseUp 3s infinite ease-in;
}
.arrow:before, .arrow:after {
  transition: all .4s ease;
  content: '';
  display: block;
  position: absolute;
  transform-origin: bottom right;
  background: linear-gradient(to bottom, #c89116, #A08547);
    width: 0.6vw;
  height: 10vw;
  border-radius: 10px;
  transform: translate(-50%, -50%) rotateZ(-45deg);
}
.arrow:after {
  transform-origin: bottom left;
  transform: translate(-50%, -50%) rotateZ(45deg);
    background: linear-gradient(to bottom, #797979, #A08547);
}
.arrow:nth-child(1) {
  opacity: 0.3;
  top: 35%;
	animation-delay: 0s;
}
.arrow:nth-child(2) {
  opacity: 0.6;
  top: 55%;
	animation-delay: 0.2s;
}
.arrow:nth-child(3) {
  opacity: 0.9;
  top: 75%;
	animation-delay: 0.5s;
}

/* NAVIGATION */
nav {
  position: sticky;
  position: -webkit-sticky;
  position: -oz-sticky;
  width: 100%;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0px 5px 0px #dedede;
}

/* By Dominik Biedebach @domobch */
nav ul {
  list-style: none;
  text-align: center;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  display: block;
  padding: 1em 1.5em 1em 1.5em;
  text-decoration: none;
  color: #aaa;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 10px;
    font-size: 1.25em;
}

@media screen and (orientation: portrait) {
    nav ul li a {
        font-size: 16px;
    }
}

/* Pour que le lien contienne l’animation */
.fill ul li a {
    position: relative;
    overflow: hidden;
}

/* L’élément d’animation (stroke puis fill) */
.anim-fill {
    z-index: -10;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    height: 1px;
    background: #bda669;
    pointer-events: none;
}


nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav ul li a:hover {
  color: #555;
}

/* By Dominik Biedebach @domobch 


/* stroke 
nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
}
nav.stroke ul li a:after,
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #333;
  height: 1px;
}

nav.stroke ul li a:hover:after {
  width: 100%;
}

nav.fill ul li a {
  transition: all 2s;
}

/* By Dominik Biedebach @domobch

.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}
.fill ul li a:hover {
  color: #453b1f;
  z-index: 1;
}
.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 0.7s forwards;
  -webkit-animation: fill 0.7s forwards;
    -o-animation: fill 0.7 forwards;
  opacity: 1;
}
#sav:hover:after {
	 z-index: -10;
  animation: fillsav 0.7s forwards;
  -webkit-animation: fillsav 0.7s forwards;
    -o-animation: fillsav 0.7 forwards;
  opacity: 1;
}
*/
nav .active {
    
    color: #453b1f;
}

.section2 {
    top: 20vh;
    
}

.section3 {
	position: relative;
	padding-bottom: 10vh;
	padding-top: 30vh;
	z-index: 1;
	
}

#secc {
	
	
	position: relative;
	display: block;
	margin-right: auto;
	margin-left: auto;
	height: auto;
	width: 30vw;
	border: solid;
}

#secc h1 {
	font-size: 40px;
	font-family: Roboto;
	font-weight: 300;
	text-align: center;
	
}

#secc p {
	font-size: 20px;
	text-align: center;
	font-weight: 500;
	font-family: Roboto;
}

.box {
	text-align: center;
    background: white;
    padding: 5vh;
    width: 60%;
    margin: auto;
    margin-top: 10vh;
	margin-bottom: 15vh;
    border-radius: 3em;
	-webkit-box-shadow: 0px 0px 59px -17px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 59px -17px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 59px -17px rgba(0,0,0,0.75);
}

.article {
    margin-top: 1rem !important; /* Remplace vh pour éviter les bugs sur mobile */
    margin-bottom: 6rem !important;
}

.article h1 {
    font-size: 2.4rem; /* Taille plus stable basée sur l'élément racine */
}

.article p {
    text-align: justify;
    font-size: 1.3rem;
}

.article img {
    width: 100%;
    border-radius: 2em;
    margin-top: 2vh;
    -webkit-box-shadow: 0px 0px 59px -17px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 59px -17px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 59px -17px rgba(0,0,0,0.75);
}

@media screen and (orientation: portrait) {
    .article h1 {
        font-size: 4em;
    }
    
    .article p {
        font-size: 2em
    }
}




/* Keyframes */
@keyframes fill {
    0% {
        width: 0%;
        height: 1px;
    }
    50% {
        width: 100%;
        height: 1px;
    }
    100% {
        width: 100%;
        height: 100%;
        background: #bda669;
    }
}

@-webkit-keyframes fill {
  0% {
    width: 0%;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  100% {
    width: 100%;
    height: 100%;
    background: #bda669;
  }
}

@-webkit-keyframes fillsav {
  0% {
    width: 0%;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  100% {
    width: 100%;
    height: 100%;
    background: #c89116;
  }
}

.info {
	
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	
}

.info li{
	
	margin-bottom: 5vh;
	padding: 3vh;
	margin: 10px auto 10px auto;
	list-style-type: none;
	border: solid 2px white;
	border-radius: 20px;
	width: 50%;
}

.info li.true + li {
	display: none;
}

.admininfo {
	font-family: 'Montserrat', sans-serif;
	font-size: 17px;
}

.admininfo li{
	position: relative;
	margin: auto!important;
	margin-top: 10px!important;
	padding: 5vh;
	margin: 1vh 10vh 1vh 10vh;
	list-style-type: none;
	border: solid 2px white;
	border-radius: 20px;
	width: 500px;
}

.admininfo li.true + li {
	display: none;
}

.tools {
	position: relative;
	display: block;
	width: 500px;
	margin: auto;
}

.tools img {
	height: 4rem;
}
.adminbutton {
	padding-right: 2vw;
	padding-left: 2vw;
}

#adminew {
	font-family: Montserrat, sans-serif;
	font-size: 20px;
	padding: 10px;
	border: solid 1px;
	border-color: black;
	background: black;
	color: aliceblue;
}

a:hover {
	
	cursor: pointer;
}

button:hover {
	
	cursor: pointer;
}

h1.error {
	color: red;
}

p.success {
	font-size: 20px;
    border: solid 1px;
    border-color: rgb(69, 59, 31);
    background-color: rgb(189, 166, 105);
    padding: 15px;
    font-weight: bold;
    border-radius: 15px;
	
}

p.error {
	font-size: 20px;
    border: solid 1px;
    border-color: rgba(256, 0, 0, .50);
    background-color: rgba(256, 0, 0, .70);
    padding: 15px;
    font-weight: bold;
    border-radius: 15px;
}

li.true {
	background: white;
	-webkit-box-shadow: 0px 7px 37px -3px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 7px 37px -3px rgba(0,0,0,0.75);
	box-shadow: 0px 7px 37px -3px rgba(0,0,0,0.75);
}

.box h1 {
	margin-bottom: 5vh;
    color: var(--primary);
    font-size: 2.3rem;
}
.box h2 a {
    color: var(--secondary);
}
.box h3 {
    margin: 2.5em;
}

.box .enclave {
    width: auto;
    margin-left: 1rem;
}

@media screen and (orientation: portrait) {
    
    .box {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        padding: 5dvh 2dvw 5dvh 2dvw;
    }
    
    .box .enclave {
        margin-left: 0;
        margin-right: 0;
    }
}

.box .mini {
    padding: 1em;
    width: fit-content;
    margin: auto;
    -webkit-box-shadow: 0px 0px 60px -11px var(--primary);
    -moz-box-shadow: 0px 0px 60px -11px var(--primary);
    box-shadow: 0px 0px 60px -11px var(--primary);
}
.mini h1 {
    margin: 0.2em!important;
}

@media screen and (orientation: portrait) {
    .box h1 {
        font-size: 4em;
    }
    .box h3 {
        font-size: 2em;
    }
}

footer{
	background: white;
	position: relative;
	bottom: 0;
	height: fit-content;
	padding: 1vh;
	border-top-left-radius: 3em;
	border-top-right-radius: 3em;
	-webkit-box-shadow: -4px 14px 100px -4px rgba(0,0,0,0.75);
	-moz-box-shadow: -4px 14px 100px -4px rgba(0,0,0,0.75);
	box-shadow: -4px 14px 100px -4px rgba(0,0,0,0.75);

}

.footer-content {
    display: flex;
    justify-content: space-between; /* Espacement maximal entre les éléments */
    align-items: center;
    text-align: center;
    width: auto; /* Utilise toute la largeur */
    padding: 0 5vw; /* Un petit padding pour éviter qu'ils touchent complètement le bord */
}

.footer-section {
    flex: 1;
    /* padding: 10px; */
}

.footer-section:nth-child(2) {
    flex: 2; /* Augmente la place pour l'élément central */
    text-align: center;
}

.footer-section:first-child {
    text-align: left;
}

.footer-section:last-child {
    text-align: right;
}



article {
	width: 75%;
	margin-top: 5vh;
	margin-left: auto;
	margin-right: auto;
	padding: 5vh;
	padding-top: 5vh;
	background: white;
	border-radius: 15px;
	font-family: Montserrat, sans-serif;
	-webkit-box-shadow: 0px 10px 55px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 10px 55px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 10px 55px 0px rgba(0,0,0,0.75);
	
}

.ml1 {
    font-family: "Great Vibes", serif;
	font-size: 1.5rem;
    width: fit-content;
    text-align: left;
	color: #af8871;
	height: 100%;
}

.ml1 p {
    /* margin-top: auto; */
}

.ml2 {
	width: fit-content;
	float: right;
	text-align: right;
}

.ml2 a p {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    color: black;
    margin-top: auto;
}

.ml3 {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    width: fit-content;
    text-align: center;
    color: black;
    height: 100%;
}

.ml3 p {
    margin-top: auto;
}

.detail-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fafffb;
}

.detail-box p {
    font-size: 1em;
    text-align: center;
}

.detail-box.shadow {
    -webkit-box-shadow: 0px 0px 100px -50px var(--shadowColor);
    -moz-box-shadow: 0px 0px 100px -50px var(--shadowColor);
    box-shadow: 0px 0px 100px -50px var(--shadowColor);
    margin: 4em 0 2em 0;
    border-radius: 3em;
    padding-top: 2em
}
#ruralmaster {
    --shadowColor: #257a24;
}
#api {
    --shadowColor: #bda400;
}

#api .vertical-separator {
    --shadowColor: #ffdb00;
}

#api img {
    padding: 1em;
    width: auto;
}

.detail-box--left {
    flex: 1;
}

.detail-box--left img {
    width: 100%;
    height: auto;
}

.detail-box--left img, .detail-box--right img {
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.detail-box--right {
    flex: 2;
    padding-left: 20px;
    text-align: left;
}

.detail-box--right h1 {
    margin: 0;
    font-size: 2.2em;
    font-weight: bold;
}

.detail-box--right h3 {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.5em;
    font-weight: normal;
    line-height: 1.5em;
}

.detail-box--right-content {
    border-left-width: 3px;
    border-left-style: solid;
    border-image: linear-gradient(90deg, rgba(36,0,0,0) 0%, var(--shadowColor) 25%, var(--shadowColor) 75%, rgba(121,9,9,0) 100%);
    margin-bottom: 10px;
    margin-top: 10px;
}

.detail-box--right i {
    margin-right: 10px;
    font-size: 1.5rem;
    vertical-align: sub;
}

.vertical-separator {
    
    width: 10px;
    height: 30em;
    background-image: -webkit-radial-gradient(closest-side, var(--shadowColor) 0, rgba(255,255,255,0) 100%);
    background-image: -moz-radial-gradient(closest-side, var(--shadowColor) 0, rgba(255,255,255,0) 100%);
    background-image: radial-gradient(closest-side, var(--shadowColor) 0, rgba(255,255,255,0) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
}

.container-contact100 {
	
	margin: 9vh;
	
}

.wrap-contact100 {
	padding: 5vh;
	margin-left: auto;
    margin-right: auto;
	width: fit-content;
	padding-left: 10vh;
	padding-right: 10vh;
}

.contact100-more {

	font-family: Montserrat, sans-serif;
	background: #e1e6f0;
	border-radius: 3em;
    padding: 10vh;
	text-align: center;
	-webkit-box-shadow: 0px 0px 68px -23px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 68px -23px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 68px -23px rgba(0,0,0,0.75);
	
}

.contact100-more h2 {
	font-size: 1.7rem;
}

.contact100-more p {
	font-size: 1rem;
}

.contact100-more a {
	color: black;
	text-decoration-line: none;
}

.contact100-more i {
    padding: 0 0.5em 0 0;
}

@media screen and (max-width: 600px) {
    .container-contact100 {
        margin: 0;
    }

    .wrap-contact100 {
        padding: 10dvh 0 10dvh 0;
        width: 100%;
        margin: 0;
    }
}

