@font-face {
    font-family: KronaOne;
    src: url(Krona_One/KronaOne-Regular.ttf);
}

@font-face {
    font-family: Montserrat;
    src: url(Montserrat/Montserrat-SemiBold.ttf);
}



/* NAVBAR  */
.logo {
    max-width: 290px;
    height: auto;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 2px solid white;
    background-color: rgb(0, 0, 0);
}

.nav-links {
    display: flex;
    width: 60%;
    justify-content: space-around;
}

.nav-links li {
    list-style-type: none;
}

.nav-links a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: 0.3s ease-in-out;
    font-size: 25px;
}

.nav-links a:hover {
    background-color: #fff;
    color: #000;
    padding: 20px;
    border-radius: 50px;
}

.nav-links h1 {
    text-shadow: 0px 0px 10px #ffffff;
}


#jouer {
    background-color: #4ad59f;
    padding: 20px;
    height: 100px;
    border-radius: 50px;
    font-size: 25px;
    margin-left: 600px;
}

#jouer:hover {
    background-color: #7ba4fe;
    color: #000;
    border-radius: 50px;
}

/*------------------------*/


*{
    box-sizing: border-box;
}

body{
    background-image: url(WallpapersPendu/FFVII/ffvii_buster_sword_wallpaper_by_thetruemask_dextnu3-pre.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    color: #fff;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    font-family: 'KronaOne';
}


/*--------------------------------------------------*/


a{
    color: #000000;
    width: 95px;
    text-decoration: none;
    padding: 0px 10px;
    transition-duration: 1s;
}

p{
    font-family: 'KronaOne', cursive;
}


.jeu-contenant{
    position:absolute;
    margin: auto;
    justify-content: center;
    backdrop-filter: blur(5px);
    background-color: rgba(0,0,0, 0.4);
    text-shadow: 10px 10px 8px 10px #000;
    border-radius: 25px;
    border: 2px solid white;
    margin-left: 50px;
}

.figure-contenant{
    margin-top: 25px;
    stroke: #ffffff;
    stroke-width:5px;
    stroke-linecap:round;
    color: #4ad59f;
}

.figure-partie{
  display: none; 
  background-color: #4ad59f;  
}

.mauvaises-lettres-contenant{
    position: absolute;
    font-size: 25px;
    top: 10px;
    left: 200px;
    display: flex;
    flex-direction: column;
    text-align: right;
}


.mauvaises-lettres-contenant span{
    font-size: 25px;
    font-family: 'KronaOne';
}

.mot{
    display: flex;
    position: absolute;
    left: 50%;
    top: 300px;
    transform: translateX(-50%);
    padding-bottom: 100px;
}

.lettre{
    border-bottom: 2px solid #fff;
    display: inline-flex;
    font-size: 45px;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    width: 40px;
    height: 50px;
    font-family: 'KronaOne';
}

.popup-contenant{
    background-color: #000000c9;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none; 
    align-items: center;
    justify-content: center;
}

.popup{
    background-color: #4ad59f;
    border: 3px solid #fff;
    border-radius: 25px;
    padding: 10px;
    font-size: 'KronaOne';
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: -30px;
    margin-bottom: -30px;
}

.popup button{
    cursor: pointer;
    color: #000;
    margin-top: 10px;
    padding: 10px 25px;
    font-size: 25px;
    transition-duration: 0.4s;
    border: 2px solid #fff;
}

.popup button:hover{
    background-color: #000;
    color: #fff;
}

.popup button#bouton-play {
    font-family: 'KronaOne';
    font-size: 25px;
    transition-duration: 0.4s;
    border: 2px solid #fff;
}

.popup button#bouton-play:hover {
    background-color: #000;
    color: #fff;
}

#image-fin {
    border-radius: 25px;
    width: 20%;
}

#message-fin  {
    text-shadow: 1px 7px 10px rgb(0, 0, 0);
}


.music-container h1, h2 {
    text-shadow: 1px 7px 10px rgb(255, 255, 255);
}


.music-container p {
    font-family: 'Montserrat';
    font-size: 20px;
}


.music-container {
    backdrop-filter: blur(2px);
    background-color: rgba(0,0,0, 0.4);
    color: #ffffff;
    border-radius: 25px;
    position: relative;
    padding: 20px;
    border: 2px solid white;
    width: auto;
    height: 30%;
    display: grid;
    margin-left: 600px;    
    margin-right: 50px;
    margin-bottom: 20px;
}


.container {
    display: inline-flex;
}

h3 {
    text-align: center;
    font-size: 30px;
    text-shadow: 1px 7px 10px rgb(247, 247, 247);
}

#retacc {
    position: relative;
    top: -100px;
    background-color: #4ad59f;
    color: rgb(0, 0, 0);
    font-family: "Montserrat";
    font-size: 35px;
    border-radius: 20px;
    padding: 20px;
    top: -200px;
    margin-left: 110px;
    transition: 0.3S ease-in-out;
    border: 1px solid white;
}

#retacc:hover {
    background-color: #000;
    color: rgb(255, 255, 255);
} 

