body {
    background: #000;
    color: #fff;
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#info {
    opacity: 1;
    transition: all 2s ease-in-out;
}

#info p {
    text-align: center;
}

#lancer {
    display: block;
    padding: 15px;
    border: 2px solid #fff;
    background: #00aa2b;
    border-radius: 10px;
    color: #1b1616;
    cursor: pointer;
    text-align: center;
    font-size: 24px;
}

#lancer:hover {
    background: #fff;
    color: #000;
}

#emulateur {
    display: none;
}

#emulateur>div {
    display: none;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    height: 560px;
}

#contenu {
    width: 100%;
    max-width: 1020px;
    margin: 20px auto;
    box-sizing: border-box;
    padding: 0 10px;
}


video#intro {
    width: 100%;
}

#ecranHome {
    background: no-repeat url(fond.gif);
    background-size: cover;
    flex-direction: column;
    padding: 45px;
    justify-content: space-between;
}

#ecranHome>.status {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#ecranHome>.status>.perso {
    display: flex;
    gap: 8px;
}

#ecranHome>.status>.perso img {
    width: 50px;
    border-radius: 100px;
    overflow: hidden;
    object-fit: fill;
    border: 2px solid #fff;
}



#ecranHome>.games {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}


#ecranHome>.games>div:first-child {
    position: relative;
    border: 5px solid transparent;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.5s ease-in-out;
}

#ecranHome>.games>div:first-child::after {
    content: "";
    position: absolute;
    inset: -5px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    animation: glow 1.5s ease-in-out infinite;
}

#ecranHome>.games>div:first-child:hover {
    border-color: #00bbff;
}

#ecranHome>.games>div:first-child:hover::after {
    opacity: 1;
    transition-delay: 0.5s;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px #00bbff;
    }

    50% {
        box-shadow: 0 0 20px #00bbff;
    }
}

#ecranHome>.games>div {
    width: 218px;
    height: 218px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#ecranHome>.games>div img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}



#ecranHome>.boutons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


#ecranHome>.boutons>div {
    width: 50px;
    height: 50px;
    border-radius: 100px;
    overflow: hidden;
}

#ecranHome>.boutons>div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#ecranJeu {
    position: relative;
}

#ecranJeu > #jeuvid {
    position: absolute;
    top: 0;
    left: 0;
}

#ecranJeu > #fps {
    z-index: 9999;
    position: absolute;
    right: 15px;
    top: 15px;
    color: #fafa00;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

video {
    display: block;
    width: 100%;
    object-fit: contain;
}