@import url(https://www.fontspace.com/skulls-and-crossbones-font-f40791);

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: url('../otherimages/animedlebackground.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1c1c1c !important;
    overflow-x: hidden;
    position: relative;
    z-index: 9999999;
}

.header-project {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Ethnocentric Rg', sans-serif;
    font-size: 100px;
    color: #6f706f;
    -webkit-text-stroke: 5px #515251;
    text-shadow: 9px 9px 5px black;
    user-select: none;
    z-index: -1;
    animation: glow-dark 1s ease-in-out infinite alternate;
}

.header-projectprofile {
    width: 600px;
    height: auto;
    letter-spacing: 1px;
    font-family: 'Ethnocentric Rg', sans-serif;
    color: #6f706f;
    -webkit-text-stroke: 2px #515251;
    text-shadow: 7px 7px 3px black;
    user-select: none;
    z-index: 1;
    margin-top: 50px;
    animation: glow-dark 1s ease-in-out infinite alternate;
    text-decoration: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    pointer-events: none;
}

.grid-header {
    display: flex;
    align-items: center;
    justify-items: center;
    z-index: -3;
    max-width: 610px;
}

.grid-container {
    display: grid;
    margin-top: 100px;
    grid-template-columns: repeat(3, auto);
    grid-column-gap: 100px;
    grid-row-gap: 50px;
    padding: 10px;
    place-items: center;
    max-width: 1600px;
    height: auto;
}

.plankstyle {
    width: 416px;
    height: 208px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    pointer-events: none;
}

.plank-label {
    margin-top: 10px;
    font-family: 'Koulen', sans-serif;
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 1px 1px 6px black;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    pointer-events: none;
}

.hover-bluh {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    background-color: rgba(30, 30, 30, 0.85);
    border-radius: 12px;
    overflow: hidden;
    object-fit: cover;
    padding-bottom: 12px;
    transition: transform 0.3s ease;

}

    .hover-bluh:hover {
        box-shadow: 0px 0px 20px #ffffff;
        transition: box-shadow 0.3s ease-in-out, transform 0.3s ease;
        transform: scale(1.05);
        border-radius: 12px;
    }

.small-btn {
    width: 220px;
    height: 43px;
    place-items: center;
    align-items: center;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    pointer-events: none;
}

.plank {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    position: absolute;
    width: 490px;
    top: 20px;
    right: 20px;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.plankyes {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 20px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.styleplank {
    transition: transform 0.3s ease;
    width: 230px;
}

    .styleplank:hover {
        transition: box-shadow 0.3s ease-in-out;
        transform: scale(1.05);
        transition: transform 0.3s ease;
        border-radius: 15px;
    }

.charcreate {
    position: absolute;
    top: 65px;
}

.side-btn {
    text-decoration: none;
    color: black;
    font-family: "Almendra", serif;
}

a.welcome-btn {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

    a.welcome-btn:hover {
        opacity: 0.75;
    }

.profile-corner {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    z-index: 9999;
    transition: opacity 0.2s;
}

    .profile-corner:hover {
        opacity: 1;
    }

        .profile-corner:hover .profile-corner-pic {
            border-color: white;
            box-shadow: 0 0 15px white;
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
        }

        .profile-corner:hover .profile-corner-name {
            text-shadow: 2px 2px 10px white, 0 0 20px white;
            transition: text-shadow 0.3s ease;
        }

.profile-corner-pic {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #333;
    box-shadow: 0 0 10px black;
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.profile-corner-name {
    font-family: "Carter One", system-ui;
    font-size: 40px;
    color: white;
    font-weight: bolder;
    -webkit-text-stroke: 1px black;
    text-shadow: 2px 2px 10px black;
    user-select: none;
    transition: text-shadow 0.3s ease;
}

.leaderboard-link {
    position: absolute;
    top: 30px;
    left: 300px;
    z-index: 9999;
}

.lb-index-btn {
    font-family: "Carter One", system-ui;
    font-size: 40px;
    color: gray;
    text-decoration: none;
    font-weight: bolder;
    -webkit-text-stroke: 1px black;
    text-shadow: 2px 2px 10px black;
    transition: text-shadow 0.2s;
    user-select: none;
}

    .lb-index-btn:hover {
        text-shadow: 0 0 15px white, 2px 2px 10px black;
        color: white;
    }

.player-search-wrapper {
    position: relative;
    margin-top: 20px;
    z-index: 9999;
    width: 300px;
}

.player-search-input {
    width: 100%;
    font-family: "Carter One", system-ui;
    font-size: 1rem;
    background: rgba(0,0,0,0.6);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 6px 14px;
    color: white;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

    .player-search-input:focus {
        border-color: #5cb7ee;
    }

.player-search-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #222;
    border-radius: 12px;
    box-shadow: 0 4px 20px black;
    z-index: 9999;
    display: none;
    overflow: hidden;
}

    .player-search-dropdown.open {
        display: block;
    }

.player-search-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
}

    .player-search-option:hover {
        background: #333;
    }

    .player-search-option img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid #444;
    }

    .player-search-option span {
        font-family: "Carter One", system-ui;
        font-size: 1rem;
        color: white;
        letter-spacing: 1px;
    }