body {
    background-image: url("../images/world1bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    overflow: hidden;
}

/*font-family: 'VT323', monospace;*/

#fish {
    margin-left: 20px;
    margin-right: 20px;
    position: absolute;
    height: 15%;
    bottom: 0;
}

.harpoon {
    position: absolute;
    right: 0;
    height: 4%;
    animation-name: spear;
    animation-duration: 2s;
    animation-iteration-count: infinite;

}

@keyframes spear{
    0% { transform: translateY(0);}
    33% {transform: translateY(-10px)}
    66% {transform: translateY(+10px)}
    100%{transform: translateY(0);}
}

.sweet{
    position: absolute;
    height: 8%;
    right: 0;
}

.ray{
    position: absolute;
    height: 13%;
    right: 0;
}

.worm{
    position: absolute;
    height: 8%;
    right: 0;
}

.skelly{
    position: absolute;
    height: 8%;
    right: 0;
}

#scoreboard{
    position: absolute;
    bottom: -15px;
    left: 10px;
    height: 15%;
    z-index: 2;
}

#scorecounter{
    position: absolute;
    left: 67px;
    bottom: 40px;
    z-index: 2;
    font-family: 'VT323', monospace;
    font-size: 40px;
    color: #6cc9f3;
}

.score-image {
    width: 40px; /* Adjust the width of the score images */
    height: 40px; /* Adjust the height of the score images */
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Prevent the score images from affecting mouse events */
}

.deducted-score-image {
    /* Adjust the style of the deducted score image */
    bottom: 0;
}

.additional-score-image {
    /* Adjust the style of the additional score image */
    bottom: 0;
}

#difficulty-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

#difficulty-slider {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-family: 'VT323', monospace;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 10px;
    border: 2px solid #ffffff;
}

#difficulty-slider label {
    margin-right: 10px;
}

#difficulty {
    width: 150px;
    background-color: #1c7293;
    border-radius: 5px;
}

#difficulty::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

#difficulty::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

#difficulty-label {
    color: #ffffff;
    padding-left: 5px;
}

#particle-canvas {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
}

#harpoon {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Set background color */
    border: 2px solid #ffffff;
    border-radius: 10px;
    color: #ffffff;
    font-family: 'VT323', monospace;
    font-size: 20px;
}

#info-container {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    transition: background-color 0.3s, opacity 0.3s;
}

#infos {
    display: inline-block;
    background-color: transparent;
    color: #a8e7d6;
    font-weight: bold;
    font-size: 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 2px solid #a8e7d6;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}


#infos:hover {
    background-color: rgba(108, 201, 243, 0.2);
}

#info-list {
    display: none;
    margin-top: 10px;
}

#info-container:hover {
    background-color: rgba(248, 248, 248, 0.9);
}

#info-container:hover #info-list {
    display: block;
}

#info-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 5px;
}

#info-list img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

#info-container:hover #infos {
    background-color: transparent;
}