/* --- FOND GLOBAL --- */
@font-face {
    font-family: 'Charakterny';
    src: url(Charakterny.otf) format("opentype");
    font-weight: normal;
    font-style: normal;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Charakterny", serif;
    background: url("cimetiere.jpg") no-repeat center center fixed;
    background-size: cover;
    color: #f2f2f2;
    text-align: center;
	font-size: 95px;
}

/* --- TITRES --- */
u {
    font-size: 45px;
    color: #ffdd99;
    text-shadow: 2px 2px 8px black;
}

/* --- BLOCS DE TEXTE --- */
#fantome, #regret, #phobie {
    width: 70%;
    margin: 20px auto;
    padding: 20px;
    font-size: 50px;
    background: rgba(0,0,0,0.6);
    border-left: 5px solid #ffdd99;
    border-radius: 10px;
    box-shadow: 0 0 20px black;
}

/* --- INPUTS --- */
input[type="text"], .nombre {
    width: 500px;
    height: 60px;
    font-size: 40px;
    border-radius: 10px;
    border: 2px solid #ffdd99;
    padding-left: 10px;
    background: rgba(255,255,255,0.8);
}

/* --- BOUTONS --- */
input[type="submit"] {
    width: 250px;
    height: 70px;
    font-size: 50px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(180deg, #ffdd99, #cc8800);
    color: black;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px black;
    transition: 0.2s;
	font-family: "Charakterny", serif;
}

input[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #ffdd99;
}

/* --- MODAL --- */
#modalRate {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    text-align: center;
    padding-top: 150px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#modalRate.show {
    opacity: 1;
}

#modalRate.hide {
    opacity: 0;
}

#modalImg {
    width: 450px;
    border: 6px solid white;
    border-radius: 10px;
    box-shadow: 0 0 30px white;
}
