/*4e69bc,79a776,ddc4dd,dccfec,1a3a3a*/
/*color texte 163131*/
/*E2D7EF,163131*//*ACC18A,DAFEB7*/
:root {
    --fontColor: #163131;
    --backColor: #DAFEB7;
    --borderColor: #ACC18A;
    --shadowColor: #3A5199;
    --oppColor: #E2D7EF;
}

@font-face {
    font-family: "PlumBAL";
    src:
      url("fonts/plume/PlumBAL.ttf") format("TrueType"),
}
@font-face {
    font-family: "Ronde";
    src:
    url("fonts/BV rondes/Bvcursive.ttf") format("TrueType"),
}
@font-face {
    font-family: "Avenir";
    src:
    url("fonts/Avenir/Avenir-Book.ttf") format("TrueType"),
}

body {
    background-color: var(--backColor);
    color: var(--fontColor);
    font-family: 'Avenir';
    font-size: 1.1em;
}
a {
    text-decoration: none;
}
hr {
	border: 1px solid red;
	border-radius: 50px;
    width: 100%;
}
.XL {
    display: none;
}
.XS {
    display: flex;
}

/*header*/
h1 {
    font-family: 'Ronde','PlumBAL';
    font-size: 3em;
    max-width: max-content;
    margin: auto;
    text-align: center;
    background-color: var(--fontColor);
    color: var(--oppColor);
    border: 2px solid var(--borderColor);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 3px 3px 6px var(--shadowColor);
}
h1 a {
    color:var(--oppColor);
}
/* form*/
form {
    border: 1px solid var(--borderColor);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 3px 3px 6px var(--shadowColor);
    width: 100%;
}
fieldset {
    display: flex;
    flex-direction: column;
}
select, input, button {
    margin: 5px;/*pour éviter le décalage du hover*/
    padding: 5px;
    font-family: 'Avenir';
    font-size: 1.1em;
    border-radius: 5px;
    border: 1px solid var(--borderColor);
}
input[type=submit]:hover, input[type=reset]:hover,  button:hover {
    background-color: var(--shadowColor);
    color: var(--oppColor);
    cursor: pointer;
}
select:hover, select:active, select:focus {
    margin: 3px;/*pour éviter le décalage du hover*/
    outline: none; /* supprime css defaut du navigateur */
    border: 3px solid var(--shadowColor);
}
legend {
    font-family: 'Ronde','PlumBAL';
    font-size: 1.5em;
    margin: auto;
    text-align: center;
    padding: 15px;;
}
/*footer*/
footer div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer ul {
    list-style-type: none;  /* Supprime les puces */
    margin: 0;              /* Supprime les marges */
    padding: 0;             /* Supprime le padding */
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}
footer li {
    list-style: none;
    margin-right: 5px;
}
/*nav*/
.menu {
    border-top: solid 2px var(--borderColor);
    border-bottom: solid 2px var(--borderColor);
    padding: 10px;
    display: flex;
}
.menu ul {
    padding: 10px;
    margin: 0px 10px;
    font-size: 1.2em;
    max-width: max-content;
    background-color: var(--fontColor);
    border: 2px solid var(--borderColor);
    border-radius: 10px;
    box-shadow: 3px 3px 6px var(--shadowColor);
    list-style: none;
}
.menu ul:hover {
    rotate: 10deg;
}
.menu a {
    color:var(--oppColor);
}
/*story*/
h2 {
    font-family: 'Ronde','PlumBAL';
    font-size: 2.5em;
    max-width: max-content;
    margin: auto;
    text-align: center;
    background-color: var(--borderColor);
    color: var(--oppColor);
    border: 2px solid var(--fontColor);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 3px 3px 6px var(--shadowColor);
}
.prompt {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    border: 2px solid var(--fontColor);
    border-radius: 10px;
    box-shadow: 3px 3px 6px var(--shadowColor);
    width: 100%;
    margin: 10px 0px;
}
.test2 {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.gras {
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: underline;
}

.histoire p {
    text-align: justify;
}

.bouton form {
    display: flex;
    margin-bottom: 5px;
    padding: 5px;
}

.bouton input {
    width: 100%;
    text-align: center;
}

@media screen and (min-width: 480px) {
    .XL {
        display: flex;
    }
    .XS {
        display: none;
    }
    /*header*/
    h1 {
        font-size: 4.5em;
    }
    /*footer*/
    footer li {
        margin-right: 15px;
    }

    .test {
        display: flex;
        flex-direction: row;
        border: 2px solid var(--fontColor);
        border-radius: 10px;
        box-shadow: 3px 3px 6px var(--shadowColor);
        width: 100%;
    }
    .test2 {
        align-items: center;
    }
    .bouton {
        flex-direction: row;
    }
    .bouton form {
        margin: 15px;
    }
}