/*
            Author : Steven
            Date : 25/03/26
*/
/* Définition des polices : Titre */
.montserrat {
  font-family: 'Montserrat';
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/* Définition des polices : Texte */
.inter {
  font-family: 'Inter';
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/* Définition des couleurs*/
:root {
  --color-primary: #F5CFCE;
  --color-primary-transp: #F5CFCE90;
  --color-secondary: #FFD390;
  --color-tertiary: #F57756;
  --color-accent : #E29EE6;
  --color-success: #16a34a;
  --color-warning: #2b261f;
  --color-danger: #dc2626;
  --text-color: #1B2429;
  --text-color-hover:#1a07ee;
  --bg-color: #ffffff;
  --font-family-text: 'Inter' , sans-serif;
  --font-family-title: 'Montserrat' , serif;
  --font-family-second: Tahoma , sans-serif;
}
/************************************************************************/
/************************************************************************/
/* Global */
/************************************************************************/
/************************************************************************/

/* typo */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
body{
    background-color: var(--color-primary-transp);
    background-position: center;
    background-repeat: repeat;
    margin: 0px 5px 5px 5px;
    padding: 0;
    color: var(--text-color);
    font-family: var(--font-family-text);
}

h1 , h2 , h3 , h4 , h5 , h6 {
    font-family: var(--font-family-title);
    color: var(--text-color); 
}
h1{
    font-size: 2em;
    font-weight: 700;
}
h2{
    font-size: 1.5em ;
    font-weight: 700;
}
h3{
    font-size: 1.2em;
    font-weight: 400;
}
h4{
    font-size: 1em;
    font-weight: 400;
}
h5{
    font-size: 0.8em;
    font-weight: 300;
}
h6{
    font-size: 0.5em;
    font-weight: 300;
}

/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/* others */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
@media (max-width: 460px){
  h1.site-name{
    font-size: 1.8em;
}
}
@media (max-width: 440px){
  h1.site-name{
    font-size: 1.5em;
}
}
@media (max-width: 400px){
  h1.site-name{
    font-size: 1em;
}
}
@media (max-width: 350px){
  h1.site-name{
    display: none;
}
    .site-name{
        justify-content: center;
    }
    .connect{
        justify-content: center;
    }
}
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/* links */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

a{
    text-decoration: none;
    color: var(--text-color);
}
a:hover{
    color: var(--text-color-hover);
}
li{
    list-style: none;
}
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/* forms */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
fieldset{
    display: inline-block;
    margin: 20px 0 px;
    padding: 20px;
    border: 10px solid var(--text-color);
    background-color: var(--color-primary-transp);
    width: 350px;
    align-items: center;
    border-style:groove;
}

label , input , select{
    display: block;
    font-size: 16px;
    font-family: var(--font-family-text);
    cursor: pointer;
}
label {
    margin-bottom: 5px;
    font-weight: 700;

}
label.required:after {
content: ' *';
}

input {
    width: 100%;
    margin-bottom: 20px;
    border: var(--text-color) 2px;
    background-color: var(--color-accent);
}
p .btn {
    display: inline-block;
}
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/* tables */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/


/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
.connect-btn , .btn { 
    background-color: var(--color-accent);
    color: var(--text-color);
    -webkit-box-decoration-break: slice;
    box-decoration-break: slice;
    margin: 1%;
    border: none;
    border-radius: 999px;
    display: flex;
    flex-direction: row;
    gap: 1%;
    font-size: 15px;
    padding: 5px 5px;
    font-weight: bold;
    white-space: nowrap;
}
.connect-btn a{
    text-decoration: none;
    color:var(--text-color);
}
.connect-btn:hover{
    background-color: var(--color-tertiary);
    color:var(--text-color);
}
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/************************************************************************/
/************************************************************************/
/* Layout */
/************************************************************************/
/************************************************************************/

/* header */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
header{
    width: 100%;
    position: fixed;
    padding: 5px 0px 0px 0px;
    left: 0;
    z-index: 100;
    background-color: var(--color-primary);
}
.banner{
    position: relative;
    height: 40px;
    display: flex;
    margin-bottom: 5px;
    background-color: var(--color-secondary);
}
.site-name{
    padding: 5px 0px;
    display: flex;
    flex: 1;
    white-space: nowrap;
    vertical-align: middle;
    align-items: center;
}
#logo{
    display: flex;
    align-items: center;
    width: 25px;
    height: auto;
    padding: 5px 10px;
}
.lien-logo{
    display: flex;
    vertical-align: middle;
}
.lien-logo:hover{
    opacity: 0.5;
}
.connect{
    margin: 3px 5px 0px 0px;
    background-color:none;
    flex: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*position: absolute;*/
    top: 0px;
    right:2%;
}
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/* nav */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
.menu , .sous_menu {
    color: var(--text-color);
    background-color: var(--color-primary-transp);
    padding: 10px;
    display: flex;
    gap: 5%;
    font-size: 20px;
    justify-content: center;
}
.menu a , .sous_menu a {
    color: var(--text-color);
    border-radius: 8px;
    display: block;
    height: 30px;
    border: 2px solid transparent;
    align-content: center;
}
.menu a:after, .sous_menu a:after {
    display: flex;
    content: '';
    height: 3px;
    width: 0;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}
.menu a:hover:after , .sous_menu a:hover:after {
    width: 100%;
}
.menu .active , .sous_menu .active {
    background-color: var(--color-tertiary);
    /*background-color: var(--color-accent);*/
    /*border-color: var(--color-secondary);*/
}
.gradient{
    background:linear-gradient(to right , var(--color-primary) 30%, var(--color-secondary)95%);
}
.gradient2{
    background:linear-gradient(to left , var(--color-accent) 30%, var(--color-secondary)95%);
}
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/* main */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
main{
    padding-top: 105px;
}
article{
    margin: 10px;
    text-align: center;
}
article h2 {
    display: inline-block;
    background-color: var(--color-primary-transp);
}
article p {
    text-align: justify;
}
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/* aside */ 
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

/* footer */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
footer{
    bottom: 0;
}
.footer{
    display: flex;
    justify-content: center;
    padding: 2%;
}
.footer-left , .footer-right{
    display: flex;
    justify-items: center;
    flex-direction: column;
    padding: 0% 5%;   
    left: 0;
}
.up-btn{
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-accent);
    padding: 1px 5px;
}
.up-logo{
    width: 25px;
    height: auto;
}
.gradient-foot{
    background:linear-gradient(to left , var(--color-accent) 30%, var(--color-secondary)95%);
}
.footer a:after{
    display: flex;
    content: '';
    height: 1px;
    width: 0;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}
.footer a:hover:after{
    width: 100%;
}
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/