#message,
#advanced_message {
    font-size: 4em;
    font-family: "MelissaScript";
    /* margin: 10px; */
    line-height: 90%;
    height: 4em;
    color: #5393b1ff;
    text-align: center;
    /* padding: 1em; */
}

#message {
    margin-top: 1em;
}

#advanced_message {
    font-size: 3em;
    width: 13em;
    margin-top: 1em !important;
    margin: auto;
}



#state {
    color: grey;
}

button {
    font-size: 2em;
    margin: 1em;
    text-transform: capitalize;
}

#illustration {
    position: relative;
    display: block;
}

#illustration img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    aspect-ratio: 1 / 1;
}

#placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    visibility: hidden;
}


@font-face {
    font-family: 'MelissaScript';
    font-style: normal;
    font-weight: normal;
    src: local('MelissaScript-Medium.otf'), url('MelissaScript-Medium.otf') format('truetype');
}

svg tspan {
    font-family: 'MelissaScript' !important;
    font-size: 1.5em !important;
}

@media screen and (max-width: 800px) {
    main {
        flex-direction: column;
    }
}

@media only screen and (orientation : portrait) {
    main {
        flex-direction: column;
    }



}

main {
    display: flex;
    margin: auto;
    height: 96vh;
}

section {
    flex: 50%;
    padding: 1em;
}

#about h1 {
    font-weight: normal;
}

#mapmain h1 {
    font-weight: normal;
    font-family: "MelissaScript";
    font-size: 4em;
    line-height: 50%;
    color: #722f0d;
}

#about a,
#intro a,
#mapmain a {
    color: #005d89;
    text-decoration: none;
}

#about a:hover,
#intro a:hover,
#mapmain a:hover {
    color: #005d89;
    text-decoration: underline;
}


#about {
    display: block;
    max-width: 800px;
    margin: auto;
    font-size: 4em;
    font-family: "MelissaScript";
    line-height: 90%;
    height: 4em;
    color: #5393b1ff;
    text-align: center;
    padding: 1em;
    height: 85vh;
}

footer {
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: grey;
    text-decoration: none;
    margin: auto;
    padding: 1em;
}

#graph {
    margin-top: 3em;
}


#intro p,
#mapmain p {
    font-size: 4rem;
    font-family: "MelissaScript";

    color: #5393b1ff;
    text-align: center;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 33rem;
}

#intro p {
    margin-bottom: 10em;
    line-height: 90%;
    height: 4em;
    padding: 1em;
}

#intro section {
    height: 90vh;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
}

.pinned {
    position: absolute;
}

label {
    margin-right: 1em;
}

a.button {
    /* border: rgb(52, 99, 121) 2px solid; */
    /* background-color: #5393b1ff; */
    color: rgb(52, 99, 121);
    /* box-shadow: 2px 2px 4px rgb(52, 99, 121); */
    font-size: 0.6em;
    border-radius: 25px;
    padding: 1.5em;
    background-image: url(img/bouton-cestpartit.png);
    background-size: 6em 2.7em;
    background-repeat: no-repeat;
    background-position: center 1em;
}

a.button:hover {
    /* background-color: rgb(52, 99, 121); */
    box-shadow: 0px 0px 0px #000000;
}

.centered_image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

p.centered_image {
    font-family: "MelissaScript";
    font-size: 2em;
    color: #5393b1ff;
    text-align: center;

}

* {

    -webkit-touch-callout: none;
    /* Safari */
    -webkit-user-select: none;
    /* Chrome */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
}

#biblio {
    font-family: Sans;
    color: black;
}
