body {
    background-color: #0d0d0d;
    color: #f0f0f0;
    font-family: 'Courier New', monospace;
    text-align: center;
    padding: 3rem 1rem;
}

.container {

    max-width: 600px;
    margin: auto;
    position: fixed;
    top: 350px;
    right: 250px;
    z-index: 999;
    pointer-events: none;
}

h1 {
    font-size: 3rem;
    color: #ff6f61;
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.back-home {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #5fcf80;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.back-home:hover {
    transform: scale(1.05);
    background-color: #47b96a;
}

.spider {
    width: 120px;
    margin-bottom: 2rem;
    margin-top: 2rem;
    animation: bounce 2s infinite;
    position: absolute;
    right: -55px;
    top: 300px;

}

.spider-thread-bounce {
    position: absolute;
    top: -350px;
    right: -55px;
    animation: bounce 2s ease-in-out infinite;
}

.spider-thread {
    width: 6px;
    height: 350px;
    background-color: gray;
    margin: 0 auto;

}

.spider-web {
    position: fixed;
    top: 0;
    right: 0;

    width: 200px;
    /* web's width*/
    height: 200px;
    /* optional */
    background-image: url("../assets/images/spider_web.png");
    /* design later via gimp */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 998;
    /* to keep it on top */
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 600px) {

    .message {
        margin-top: 12rem;
    }

    .spider-wrapper {
        width: 120px;
        height: 180px;
        top: 20px;
        right: 10px;
    }

    .spider-web {
        width: 100px;
        height: 100px;
        background-size: contain;
    }

    .spider-thread-bounce {
        top: -350px;
        right: -152px;
    }

    .spider-thread {
        height: 200px;
        width: 3px;
    }

    .spider {
        width: 90px;
        top: 110px;
        left: -45px;
    }
}