 body {
    overflow: hidden;
     background-color: black;
     text-align: center;
     width: 100%;
     color: white;
     overflow-x: hidden;
}

.ptable {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family:Verdana;
    font-size: 19px;
  }

.candleth {
    vertical-align: bottom;
}

.parent {
    text-align:center;
    width:95%;
    margin:auto;
    position: relative;
}

#player_box{
    width:0px;
}

.essential_audio {
    left: 200px;
    top: 174px;
    position: absolute;
}

#day, #dead, #alive {
    color: white;
}

.search {
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    font-family:Verdana;
    font-size: 15px;
}

input[type=text] {
    border: 2px solid #aaa;
    border-radius: 4px;
    margin: 3px 0;
    outline: none;
    padding: 2px;
    box-sizing: border-box;
    transition: .3s;
}
input[type=text]:focus{
    border-color: rgb(56, 67, 211);
    box-shadow: 0 0 18px 0 rgb(30, 8, 197);
}

#button {
    background-color: black;
    border: 1px solid white;
    color: white;
    padding: 3px 6px;
    text-align: center;
    font-size: 12px;
    border-radius: 20px;
}

#button:hover{
    background-color: rgb(60, 61, 74);
    /*color: black;
    border: 1px solid black;
    */
}

.laurence img{
    text-align: center;
    width: 90%;
    height: auto;
}

a:link {
    text-decoration: none;
    color: white;
    font-size: 22px;
}
a:visited {
    color: white;
}

a:hover {
    color: rgb(56, 67, 211);
}

.name {
    position: absolute;
    font-size: 20px;
    /*font-weight: bold;*/
    color: #00FFFF; /* Bright Cyan */
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8), 0 0 15px rgba(0, 255, 255, 0.5);
    opacity: 0;
    animation: appear 2.8s ease-out;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #00FFFF; /* Bright Cyan */
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.9);
    animation: sparkle 1.5s ease-out;
    opacity: 0;
}

@keyframes appear {
    0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(var(--rotation)); }
    100% { opacity: 0; transform: scale(1.2) rotate(var(--rotation)); }
}

@keyframes sparkle {
    0% { transform: scale(0.5); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(0.2); opacity: 0; }
}

@media only screen and (max-width: 767px) {
    .ptable {
        width: 300px;
    }

    .search {
        font-size: 13px;
    }
    #graveimg {
        width: 150px;
    }

    #candleimg1, #candleimg2 {
        width: 30px;
    }
    
    .essential_audio {
        width: 10px;
        left: 88px;
        top: 88px;
        position: absolute;
    }
    #player_box{
        width:0px;
    }
    #dead {
        font-size: 18px;
    }

    #day, #alive {
        font-size: 13px;
    }
}