body {
    background-image: url(fichiers/gif_chateau.gif);
    background-size: contain;
    background-attachment: fixed;
    background-repeat: repeat;
    cursor: url('fichiers/mon_curseur.png'),auto;
}

.chemin {
    text-align: right;
    padding-right:310px;
    transform: translateY(460px);
    opacity: 0.1;
}


a, area, button, .zone-tsoh, * {
    cursor: url('fichiers/mon_curseur.png'),auto !important;
}

.compteur {
    justify-content: center;
    display: flex;
}

h1 {
    font-family: "Eagle Lake", serif;
    font-size: 80px;
    line-height: 70px;
    color: rgb(0, 0, 0);
    text-shadow: 
        1px 1px 0px gold,
        2px 2px 0px gold,
        3px 3px 0px gold,
        4px 4px 0px gold,
        7px 7px 10px rgba(0,0,0,0.5);
    filter: drop-shadow(-2px -2px 1px rgb(255, 255, 255));
}

h2 {
    font-family: "IM Fell Great Primer SC", serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 30px;
    color: rgb(45, 255, 0);
}

h3 {
    color: rgb(255, 255, 255);
    font-size: 15px;
    text-align: center;
    border: 5px double gold;
    padding-left: 50px; 
    padding-right: 50px;        
    display: inline-block;
    background-color: black;
    font-family: "IM Fell Great Primer SC", serif;  
} 

h5 {
    font-family: "IM Fell Great Primer SC", serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 30px;
    color: rgb(0, 0, 0);
    margin-bottom: -2px;
}

.container {
    justify-content: center;
    display: flex;
    text-align: left;
}

.sidebar {
    max-width: 200px;
    background-color: rgba(0, 0, 0);
    padding-right: 20px;
    padding-left: 40px;
    color: white;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin-top: 100px;
    text-align: right;
}

.sidebar li {
    margin-bottom: 15px;
}

.sidebar a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
}

.sidebar a:hover{
    color: rgb(45, 255, 0);
    text-decoration: none;
    font-weight: bold;
}

.content {
    max-width: 600px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.8);
}

.infos {
    text-align: left;
    font-size: 15px;
    padding-left: 80px;
    padding-right: 165px;
    padding-top: 1px;
    padding-bottom: 120px;
    color: black;

}

.bloc_infos {
    background-image: url(fichiers/parchemin.webp);
    background-repeat: no-repeat;
    background-size: contain;
}

.biographie {
    text-align: left;
    color: rgb(45, 255, 0);

}

.travaux {
    text-align: left;
    color: rgb(45, 255, 0);

}

h4 {
    text-align: left;
    color: rgb(45, 255, 0);

}

.cadre_image {
    border-style: 5px ridge gold;
}

.sticker-mail {
    max-width: 110px;
}


@media screen and (max-width: 768px) {

html, body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden;
    }

body {
    background-image: url(fichiers/gif_chateau.gif);
    background-size: auto;
    background-attachment: fixed;
    background-repeat: repeat;
    cursor: url('fichiers/mon_curseur.png'),auto;
}

body, div, section, header {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        justify-content: center;
    }

.container {
    justify-content: left;
    text-align: left;
}

.sidebar {
    max-width: 100px;
    background-color: rgba(0, 0, 0);
    padding-right: 10px;
    padding-left: 10px;
    color: white;
}

.content {
    width:65vw;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
}

.bloc_infos {
    background-image: url(fichiers/parchemin.webp);
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 0 !important;
    display: block;
    max-width: 100%;
    padding-bottom: 70px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.infos {
    text-align: left;
    color: rgb(0, 0, 0);
    font-size: 12px;
    padding-right: 35px;
    padding-left: 35px;
    overflow-y: auto;
    box-sizing: border-box;
    max-height: 45vh;
    max-width: 30vh;
}

.biographie {
    text-align: left;
    color: rgb(45, 255, 0);
    font-size: 10px;
}

.travaux {
    text-align: left;
    color: rgb(45, 255, 0);
    font-size: 10px;
    margin-bottom: 70px;
}

h1 {
    font-family: "Eagle Lake", serif;
    font-size: 40px;
    line-height: 40px;
    color: rgb(0, 0, 0);
    text-shadow: 
        1px 1px 0px gold,
        2px 2px 0px gold,
        7px 7px 10px rgba(0,0,0,0.5);
    filter: drop-shadow(-2px -2px 1px rgb(255, 255, 255));
}

h2 {
    font-family: "IM Fell Great Primer SC", serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 20px;
    color: rgb(45, 255, 0);
}

h3 {
    color: rgb(255, 255, 255);
    font-size: 12px;
    text-align: center;
    border: 5px double gold;
    padding: 10px;         
    display: inline-block;
    background-color: black;
    padding-left: 50px; 
    padding-right: 50px;    
} 

h4 {
    text-align: left;
    color: rgb(45, 255, 0);
}

h5 {
    font-family: "IM Fell Great Primer SC", serif;
    margin-bottom: -2px;
    font-weight: 300;
    font-size: 20px;
    line-height: 20px;
    color: rgb(0, 0, 0);
}

.img-gerald {
    overflow-x: hidden;
    box-sizing: border-box;
    max-width: none !important; 
    width: auto !important;    
    display: block;
}

.cadre_image {
    max-width: 100%;
    overflow-x: auto;      
    overflow-y: hidden;
    margin-bottom: 20px;
    border-style: 5px ridge gold;
}

.sticker-mail {
    max-width: 100px;
}

}

.tsoh-active html,
.tsoh-active body {
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    touch-action: none;
    background: #000;
}

@supports not (height: 100dvh) {
    .tsoh-active html,
    .tsoh-active body {
        height: 100vh;
    }
}

.tsoh-active body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tsoh-container {
    width: 100dvw;
    height: 100dvh;
    max-width: 1920px;
    max-height: 1440px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

#TSOHCanvas {
    width: 100%;
    height: 100%;
    max-width: 100dvw;
    max-height: 100dvh;
    image-rendering: pixelated;
    object-fit: contain;
    display: block;
}

@media (max-width: 1024px) {
    .tsoh-container {
        max-width: 100dvw;
        max-height: 100dvh;
    }

@media screen and (max-width: 400px) {
    
.bloc_infos {
    background-image: url(fichiers/parchemin.webp);
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 0 !important;
    display: block;
    max-width: 100%;
    padding-bottom: 70px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.infos {
    text-align: left;
    color: rgb(0, 0, 0);
    font-size: 11px;
    padding-right: 30px;
    padding-left: 30px;
    overflow-y: auto;
    box-sizing: border-box;
    max-height: 35vh;
    max-width: 23vh;
}
}
