/* This thing is largely bashed together from SadGrl's layout template (at https://sadgrl.online/projects/layout-builder/) and https://www.w3schools.com/ and some StackOverflow threads */ 






/* CODE AGE VERIF */

/* remettre tailwind en css */

#age {
    display: none; 
    position: fixed; 
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0; 
    padding: 1.25rem; 
    width: 100%; 
    height: 100%; 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; 
    color: #ffffff; 
    background-color: #000000; 
    --bg-opacity: 0.7; 
    backdrop-blur: blur(16px);
    z-index: 5;

}

#age2 {
    padding-top: 5rem; 
    max-width: 28rem; 
    text-align: center; 
    margin-inline: auto;
}

#age3 {
    margin-bottom: 1rem; 
    font-size: 1.6rem;
    line-height: 2rem; 
    font-weight: 700; 
    color: rgb(117, 92, 0);
}

#age4 {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

#age5 {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem; 
    padding-left: 1rem;
    padding-right: 1rem; 
    margin-top: 0.5rem; 
    border-width: 0; 
    width: 100%; 
    color: #ffffff; 
    background-color: rgb(135, 110, 0); 
    cursor: pointer; 
    font: inherit;
}

#age6 {
    color: #ffffff; 
}

#age7 {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem; 
    padding-left: 1rem;
    padding-right: 1rem; 
    margin-top: 0.5rem; 
    border-width: 0; 
    width: 100%; 
    color: #ffffff; 
    background-color: #7a7a7a; 
    font: inherit ;
}

/* */

/* FIN CODE AGE VERIF */










@font-face {
    font-family: urfont;
    src: url("fonts/yusei.ttf");
}




body {
                font-family: 'urfont',sans-serif;
                margin: 0;
                background-color: rgb(255, 212, 107); /* arrière plan de ce qui dépasse (si l'écran est trop gros) */
                color: #000000; /* couleur du texte normal */
            }

html, body {margin: 0}

            * {
                box-sizing: border-box;
            }

            #container {
                max-width: 1070px;
                margin: 0 auto;
            }

            a {
                color: #0066cc;
                font-weight: normal;
                text-decoration:none;
            }

            h1 a, h2 a, h3 a, h4 a, h5 a {
                color: #000000;
                text-decoration:none;
            }

            a:hover {
                color: #75b3f1;
            }


            #header {
                width: 100%;
                background-repeat: no-repeat;
                background-size: auto 100%;
                background-position: center;
                background-color: #d4d4d4;
                height: 150px;
            }

            main {
                background-color: rgb(255, 212, 107); /* couleur arrière plan de la zone principale */
                padding: 0px 20px 20px 80px;
                text-align: justify;
            }

            h1, h2 {
                text-align: left;
                border-bottom: 1px #876e34 solid;
                width: 100%;
            }

            h4 {
                text-align: left;
                font-size: 19px;
                margin: 0px;
                width: 100%;
            }

            footer {
                background-color: #edc363;
                width: 100%;
                height: 40px;
                padding: 10px;
                text-align: center;
            }

            .imagehere {
                height: 150px;
                width: 150px;
                margin-left:auto;
                margin-right:auto;
                background-repeat: no-repeat;
                background-position: center;
                background-size: auto 100%;
            }

            .charactermain-image {
                height: 350px;
                width: 300px;
                margin-left:auto;
                background-repeat: no-repeat;
                background-size: auto 100%;
                background-position: center;
                border: 1px #876e34 solid;
            }

            .galleryimage {
              float: left;
              width: 170px;
              height: 170px;
              background-repeat: no-repeat;
              background-size: auto 100%;
              background-position: center;
              margin: 10px;
              border: 1px #876e34 solid;
            }

            h1,
            h2,
            h3 {
                color: rgb(117, 92, 0); /* COULEUR DES TITRES TITLES */
            }

            h1 {
                font-size: 40px;
            }

            h2 {
                font-size: 25px;
            }

            h4 {
                font-weight: 100;
            }


            /* Thanks to LetoLeGaosaure on Pillowfort for pointing this out! */
            h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {
                color: inherit;
            } 
            /* -------- */

            .box {
                background-color: #edc363;
                border: 1px solid #000000;
                padding: 10px;
            }

            .gallery {
                background-color: none;
                padding: 10px;
                overflow: hidden;
            }

            #toc {
                float: left;
                text-align:left;
                width: 200px;
                margin-right:auto;
                margin: 0px 40px 10px 0px;
                background-color: #edc363;
                border: 1px solid #000000;
            }

            ol {
                padding-left: 8%;
                list-style-type: circle;
                }

            li {
                padding-bottom: 3px;
                }

            .characterprofile {
              float: right;
              width: 300px;
              margin-left:auto;
              margin: 0px 0px 30px 30px;
              background-color: #edc363;
            }

            /* Clear floats after the columns */
            .row:after {
              content: "";
              display: table;
              clear: both;
            }


            table {
              border-collapse: collapse;
              width: 300px;
              background-color: #edc363;
              border-top: 1px solid black;
              border-bottom: 1px solid black;
            }

            tbody {
              margin: 3px 10px;
            }

            td, th {
              text-align: left;
              padding: 3px 10px;
              border-right: 1px solid black;
              border-left: 1px solid black;
            }

            td:nth-child(odd) {
              font-weight: 600;
                text-align: right;
            }

            tr:nth-child(odd) {
              background-color: #d6b059;
            }


            /* MEDIA QUERY */

            @media only screen and (max-width: 1350px) {
              main {
                float: left;
                width: 100%;
                margin-left: auto;
                margin-right: auto;
                margin: 0px 0px 0px 00px;
                padding: 0px;
              }
            }

            @media only screen and (max-width: 1100px) {
              table, .characterprofile {
                float: left;
                width: 100%;
                margin: 00px 0px 0px 00px;
              }
                
            .characterprofile {
                float: left;
                width: 100%;
                margin: 0px 0px 30px 0px;
              }
                
            main {
                padding: 20px;
            }
                
            .charactermain-image {
                width: 100%;
                margin: 0px 0px 10px 00px;
              }

            }