/* fonts -------------------------------------------------------------------------------------------------------------*/
@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: OFL;
    font-style: normal;
    font-weight: normal;
    src: url(font/OFLGoudyStM-webfont.woff) format("woff"),
    url(font/OFLGoudyStM-webfont.woff) format("woff2"),
    url(font/OFLGoudyStM-webfont.eot) format("embedded-opentype"),
    url(font/OFLGoudyStM-webfont.ttf) format("truetype"),
    url(font/OFLGoudyStM-webfont.bin) format("bin"),
    url(font/OFLGoudyStM-webfont.otf) format("otf"),
    url(font/OFLGoudyStM-webfont.svg) format("svg");
}

@font-face {
    font-family: VampireWars;
    font-style: normal;
    font-weight: normal;
    src: url(font/VampireWars.otf) format("otf"),
    url(font/VampireWars.woff) format("woff"),
    url(font/VampireWars.woff) format("woff2"),
    url(font/VampireWars.ttf) format("truetype")
}

@font-face {
    font-family: JAB;
    font-style: normal;
    font-weight: normal;
    src:
            url(font/YEONSUNG.woff) format("woff"),
            url(font/YEONSUNG.ttf) format("truetype"),
            url(font/YEONSUNG.otf) format("otf")
}

/* Body --------------------------------------------------------------------------------------------------------*/
body
{
    font-family: OFL;
    width: 100%;
    margin: 0px;
    padding: 0px;
    height : 100%;
    overflow-x: hidden;
    text-align: left;
}

html
{
    margin: 0px;
    padding: 0px;
    height : 100%;
    overflow-x: hidden;
}

/* Header --------------------------------------------------------------------------------------------------------*/

.header
{
    background: url('RES/fond5.jpg') 100% 100%;
    border-top:solid 4px rgba(50,50,0, 0.25);
    border-bottom:solid 4px rgba(50,50,0, 0.25);
    text-align: center;
    padding: 10px;
    font-family: VampireWars;
    margin: auto;
    width: 100%;
}

.header h1
{
    font-weight: 100;
    margin: 0px;
}

.header em
{
    color: rgba(100,100,100, 0.90);
}

.header div
{
    display: inline-block;
}

.avatar
{
    width: 80px;
    border-radius: 100%;
    border: 5px solid rgba(0,0,0, 0.035);
}


/* .Shapes --------------------------------------------------------------------------------------------------------*/

section.Shapes
{
    width: 100%;
    margin: 0px;
    padding: 0px;
    text-align: left;
}


div.Shapes
{
    margin: 0px;
    padding: 0px;
    width: 49.25%;
    min-width: 700px;
    max-width: 1250px;
    display: inline-block;
    vertical-align: top;
}

@media screen and (max-width: 1400px) {
    div.Shapes {
        width: 100%;
        min-width: 0px;
    }
}
.Shapes img
{
    width: 15%;
    margin: 5px;
    min-width: 170px;
    display: inline-block;
    border: 5px solid rgba(0,0,0, 0.025);
}

.Shapes p
{
    font-size: 20px;
}

.Shapes p a
{
    text-decoration: none;
}


.Shapes img:hover
{
    transition: ease 0.5s;
    border-color: rgba(150, 50, 65, 1);
    opacity: 0.95;
}

.Shapes input
{
    font-family: VampireWars;
    font-size: larger;
    width: 49%;
    display: inline-block;
    cursor:pointer;
}

.Shapes input:hover
{
    transition: ease 0.5s;
    color: rgba(255,255,255, 0.90);
    background-color: rgba(0, 0, 0, 0.95);
}

.Render
{
    border: 5px solid rgba(0,0,0, 0.0075);

}

.x16R
{
    cursor: pointer;
    width: 24%;
    display: inline-block;
}

/* .Select --------------------------------------------------------------------------------------------------------*/

.Select
{
    font-family: VampireWars;
    background-color: rgba(150,150,0, 0.05);
    color: rgba(50,50,50, 0.90);
    border: solid 2px rgba(230,238,245, 1);
    display: inline-block;
    cursor:pointer;
    margin: 15px;
    padding-left: 5px;
    width: auto;
}

.Select:hover
{
    transition: ease 0.5s;
    color: rgba(255,255,255, 0.90);
    background-color: rgba(0, 0, 0, 0.95);
}

.Select label
{
    font-size: larger;
    display: inline-block;
    vertical-align: middle;
    cursor:pointer;
}

.Select button
{
    vertical-align: middle;
    cursor:pointer;
}

.Select select
{
    cursor:pointer;
    font-family: VampireWars;
    color: darkred;
    display: inline-block;
    height: 30px;
    background-color: rgba(255,255,255, 0.95);
}

.Select progress {
    background-color: darkred; /* Couleur du fond */
}

/* .Check --------------------------------------------------------------------------------------------------------*/
.Check
{
    margin: 10px;
    font-family: OFL;
    background-color: rgba(150,150,0, 0.10);
    background: url('RES/fond5.jpg') 100% 100%;
    font-size: 0.95em;
}

.Check td
{
    background-color: rgba(255,255,255, 0.8);
    margin: 25px;
    padding: 10px;
    padding-left: 10px;
    padding-right: 0px;
    width: auto;
    vertical-align: top;
    max-height: 100px;
}

.Check th
{
    border: 4px outset rgba(0,0,0, 0.04) ;
    font-family: VampireWars;
    font-size: 1.3em;
    color: rgba(50,50,50, 0.80);
    font-weight: lighter;
    background-color: rgba(250,200,65, 0);
    text-shadow:  1px 0 rgba(100,100,100, 0.30), 0 -1px rgba(100,100,100, 0.30);
    margin: 25px;
    padding: 10px;
    width: 110px;
}

.Check th input
{
    font-size: 1.1em;
}

.Check th:nth-child(odd)
{
    background-color: rgba(250, 200, 65, 0.05); /* Une couleur plus sombre pour les th impairs */
    color: rgba(50,50,50, 0.70);
}

.Check div
{
    font-family: OFL;
    font-size: larger;
    text-align: justify;
    vertical-align: top;
    padding: 10px;
}

.Check div h4
{
    font-family: VampireWars;
    opacity: 0.75;
    font-weight: lighter;
}

.Check div img
{
    display: block;
    width: auto;
    max-width: 100%;
    margin: auto;
}

.Check div input
{
    display: block;
    margin: auto;
}

.Check div a
{
    text-decoration: none;
}

.Check td:hover:has(input[type="checkbox"]), .Check td:hover:has(input), .Check td:hover:has(a)
{
    transition: ease 0.5s;
    color: rgba(255,255,255, 0.95);
    text-shadow: 0px 0px 15px black;
    background-color: rgba(0, 0, 0, 0.6);
}

.headerRow th:hover
{
    transition: ease 0.5s;
    color: rgba(255,255,255, 0.90);
    text-shadow: 0px 0px 15px black;
    background-color: rgba(0, 0, 0, 0.6);
}

.Check td:hover, .Check td:hover:has(input[type="submit"])
{
    transition: ease 0.5s;
    color: rgba(0, 0, 0, 0.95);
    text-shadow: 0px 0px 0px black;
    background-color: rgba(255,255,255, 0.90);
}

input[type="text"], input[type="email"], input[type="file"]
{
    font-family: OFL;
}

input[type="submit"], a input[type="text"]
{
    font-family: VampireWars;
    color: rgba(0, 0, 0, 0.95);
    border-radius: 20px;
    width: 230px;
    border: outset 4px darkred;
}

.Check td label
{
    font-family: VampireWars;
    vertical-align: middle;
    margin: 5px;
    display: inline-block;
    cursor:pointer;
}

.Check td input[type="checkbox"]:checked + label,
.Check td input[type="radio"]:checked + label
{
    color: darkred;
}

.Check td:hover input[type="checkbox"]:checked + label,
.Check td:hover input[type="radio"]:checked + label
{
    color: rgba(255,255,220, 0.70);
}

.Check td input[type='checkbox'], .Check td input[type='radio']
{
    vertical-align: middle;
    cursor:pointer;
    display: inline-block;
    margin-left: -50px;
    margin-right: -50px;
    height: 20px;
}

#headerRow th {
    cursor: pointer;
    /* additional styling for the headers as needed */
}

#Principal_Render.hidden,
#x16_Renders.hidden {
    display: none;
}

.hidden {
    display: none ;
}

.link {
    display: none;
}

/* Header --------------------------------------------------------------------------------------------------------*/

header {
    font-family: VampireWars;
    background-color: rgba(150,50,65, 0.95);
    color: white;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    line-height: 70px;
    font-size: 40px;
    position: absolute;
    z-index: 100;
    max-height: 90px;
}

header div a
{
    text-decoration: none;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin: 5px;
    margin-right: 10px;
}

.social-links{
    margin-right: 40px;
}

.social-links a {
    margin: 0 5px;
}

.social-links img {
    height: 30px;
    width: 30px;
}

header .avatar
{
    margin: 5px;
    margin-right: 40px;
    height: 60px;
    width: 60px;
    border: 3px inset rgba(0,0,0, 0.035);
}


nav{
    transition: ease 0.3s;
    opacity: 0.1;
    visibility: hidden;
    position: absolute;
    left: 0px;
    top: 59px;
    min-width: 160px;
    z-index: 1;
}

header:hover nav {
    transition: ease 0.3s;
    visibility: visible;
    opacity: 1;
}

nav .dropdown {
    position: relative;
    display: inline-block;
}

nav .dropdown-content {
    transition: ease 0.3s;
    opacity: 0.1;
    width: 100%;
    visibility: hidden;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

nav .dropdown-content a {
    transition: ease 0.3s;
    color: black;
    padding: 10px 10px;
    font-size: 18px;
    text-decoration: none;
}

nav .dropdown-content a:hover {
    transition: ease 0.3s;
    color: darkred
}

nav .dropdown:hover .dropdown-content {
    opacity: 1;
    transition: ease 0.3s;
    visibility: visible;
}

nav .btn {
    line-height: 50px;
    font-family: VampireWars;
    font-size: 22px;
    background-color: rgba(150,50,65, 1);
    color: white;
    width: 160px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

nav img{
    height: 40px;
    display: inline-block;
}

/* Style pour les petits écrans */
@media screen and (max-width: 900px) {
    .social-links {
        display: none;
    }
}





p{
    font-size: 20px;
}

ul li{
    margin-bottom: 25px;
}

h1{
    font-size: 40px;
    text-shadow: -1px 0 black, 0 1px black;
}

h2{
    font-size: 30px;
    text-shadow:  1px 0 black, 0 -1px black;
}

strong{
    font-weight: lighter;
    font-family: VampireWars;
    font-size: 0.9em;
    color: rgba(150,50,65, 0.95);
}

.story
{
    background: url('RES/fond5.jpg') 100% 100%;
    border-top:solid 4px rgba(50,50,0, 0.25);
    padding: 20px;
    text-align: justify
}

.story div div a{
    color: rgba(150,50,65, 0.95);
    text-decoration: none;
    font-weight: bolder
}
.story div div{
    margin-bottom: 80px;
}

main {
    padding-top: 75px;

}

.story  img
{
    width: 100%;
    margin: 20px;
    min-width: 170px;
    display: inline-block;
    border: 5px inset rgba(0,0,0, 0.04) ;
}

fieldset
{
    max-width: 750px;
    margin: 0 auto;
    display: block;
    margin-bottom: 40px;
    margin-top: 40px;
    background: url('RES/fond5.jpg') 100% 100%;
    border: 4px outset rgba(0,0,0, 0.04) ;
    border-radius: 7px;
    text-align: center;
}

fieldset legend
{
    font-family: VampireWars;
    font-size: 30px;
    text-shadow:  1px 0 black, 0 -1px black;
}

fieldset label
{
    font-size: 20px;
    margin: 10px;
    display: block;
}

fieldset input
{
    background-color: rgba(255,255,255,0.85);
    font-size: 20px;
    display: block;
    margin: auto;
}

fieldset input[type="submit"], fieldset button
{
    font-family: VampireWars;
    font-size: 20px;
    width: auto;
    transition: ease 0.75s;
    color: rgba(255,255,255, 0.90);
    text-shadow: 0px 0px 15px black;
    background-color: rgba(150,50,65, 0.95);
    border-radius: 0%;
}

fieldset input[type="radio"]
{
    display: inline-block;
    transform: scale(1.5);
    margin-right: 8px;
}

fieldset input[type="submit"]:hover,fieldset button:hover
{
    transition: ease 0.5s;
    color: rgba(0, 0, 0, 0.95);
    text-shadow: 0px 0px 0px black;
    background-color: rgba(255,255,255, 0.90);
    cursor: pointer;
}

.posseded
{
    padding: 5px;
    background-color: rgba(255,255,255, 0.85);
    font-size: 20px;
    margin: 8px;
    display: inline-block;
    width:160px;
    font-family: VampireWars;
    border-radius: 5px;
}

.posseded img
{
    border-radius: 5px;
    display: block;
    width:160px;
}

.store a
{
    text-decoration: none; !important;
}


.modal {
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: 20;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}.modal {
     position: fixed;
     z-index: 10;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(0,0,0,0.4);
 }

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* L shaped Ruins ----------------------------------------------------------------------------------------------------------------------*/

.floor-container {
    width: 100%;
}

.floor-container a{
    display: inline-block;
    width:24%;
}

.floor-container a img {
    width:calc(100% - 10px);margin:0px;
}

.shape-selected {
    border: 5px solid rgb(150, 50, 65) !important;
}

/* Ajustements responsive -----------------------------------------------------------------------------------------------------------*/

/* ------------------- Responsive CSS ------------------- */

/* Responsive Menu uniquement */

/* Ajustements généraux du header sur mobile */
@media screen and (max-width: 900px) {

    header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 10px 5px;
        font-size: 24px;
        line-height: normal;
        position: relative;
        max-height: none;
    }

    header .logo {
        margin-bottom: 10px;
    }

    header .social-links,
    header .avatar {
        display: none; /* Masque ces éléments pour alléger le menu sur petits écrans */
    }

    nav {
        position: relative;
        visibility: visible;
        opacity: 1;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    nav .btn {
        width: 100%;
        box-sizing: border-box;
        font-size: 18px;
        margin-bottom: 5px;
    }

    nav .dropdown {
        width: 100%;
    }

    nav .dropdown-content {
        position: relative;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        width: 100%;
        padding-left: 0;
        margin-bottom: 5px;
        background-color: rgba(255,255,255,0.9);
    }

    nav .dropdown-content a {
        width: 100%;
        padding: 8px;
        font-size: 16px;
        box-sizing: border-box;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    nav .dropdown-content a:last-child {
        border-bottom: none;
    }
}