﻿body {
    height: auto;
    background-image: url("../img/classic.jpg");
    background-attachment: fixed;
}

.pixel {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.pixel-info-panel {
    background: linear-gradient(to top left, #092c4f, #300a5e);
    border-radius: 20px;
    box-shadow: 0px 5px 8px rgb(0, 0, 0);
    height: auto;
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.pixel-info-title {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 0;
}

.pixel-info-desc {
    font-size: 16px;
    color: white;
    opacity: .6;
    margin-top: 0;
}

.pixel-char-info {
    height: auto;
    width: 60%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    color: white;
    text-align: center;
}

.pixel-hints {
    width: 100%;
    height: auto;
    display: flex;
    margin-bottom: 10px;
    justify-content: space-around;
}

.pixel-panel {
    width: 480px;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    height: 150px;
    margin-bottom: 0px;
}

.hint-button {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    color: #777777;
    font-size: 20px;
    min-width: 120px;
    width: auto;
    border: none;
    pointer-events: none;
    padding: 10px;
}

.hint-button-1 {
    height: auto;
}

.hint-button-2 {
    height: auto;
}

#hint1.active {
    background: rgba(0, 0, 0, 0.8);
    pointer-events: all;
}

#hint2.active {
    background: rgba(0, 0, 0, 0.8);
    pointer-events: all;
}

.universe-clue {
    display: none;
}

.hint-clue {
    display: none;
}

.universe {
    font-weight: bold;
}

.hint {
    font-weight: bold;
}

.pixel-guess-div {
    background: linear-gradient(to bottom right, #461a7c, #133f6b);
    box-shadow: 0px 5px 8px rgb(0, 0, 0);
    border-radius: 12px;
    width: 430px;
    height: 60px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.pixel-input {
    width: 100%;
    height: 90%;
    padding-left: 15px;
    border-radius: 10px;
    border: none;
    background: rgba(0,0,0,0.4);
    outline: none;
    color: white;
}

.submit-guess-button {
    background: rgba(0,0,0,0.4);
    border: none;
    border-radius: 10px;
    color: #777777;
    height: 90%;
    width: 15%;
    transition: all .1s;
}

    .submit-guess-button:hover {
        color: white;
    }

.search-wrapper {
    position: relative;
    width: 82%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-Dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: linear-gradient(to bottom right, #461a7c, #133f6b);
    border-radius: 12px;
    box-shadow: 0 4px 20px black;
    z-index: 9999;
    display: none;
}

    .search-Dropdown.open {
        display: block;
    }

.search-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    cursor: pointer;
    background-image: linear-gradient(#5cb7ee, #2f63a4);
    -webkit-text-stroke: 0.2px black;
    color: white;
    background-clip: text;
    font-family: "Arial", sans-serif;
    font-size: 1.1rem;
    transition: background 0.15s;
}

    .search-option:hover,
    .search-option.highlighted {
        background: #313131;
        background-image: linear-gradient(#b7e4ff, #5ca4fe);
        background-clip: text;
    }

    .search-option img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid #333;
    }

.guesses-container {
    height: auto;
    width: auto;
}

.guesses-div {
    margin-top: 0;
    height: auto;
    width: auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    perspective: 1200px;
}

.character-traits {
    width: 100%;
    height: 35px;
    display: none;
    color: white;
    margin-bottom: 6px;
    gap: 6px;
}

#characterImage {
    transition: filter 0.4s ease;
    image-rendering: pixelated;
}

#image-wrapper {
    height: 280px;
    width: 280px;
}

.guesses-square-group {
    height: auto;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 3px solid black;
}

    .guesses-square-group.correct {
        background: #2ecc71;
        box-shadow: 0 4px 10px #2ecc71;
    }

    .guesses-square-group.wrong {
        background: #e74c3c;
        box-shadow: 0 4px 10px black;
    }

.charImg {
    border-radius: 10px;
}

.square {
    font-family: Arial;
    color: white;
    font-weight: bold;
}

canvas {
    border: 2px solid #fff;
    image-rendering: pixelated;
}

.filters-div {
    position: absolute;
    top: 0;
    right: 0;
    background-color: lightblue;
}

.filters-btn {
    height: 40px;
    width: 40px;
    border: none;
}

.filters-container {
    background: lightgreen;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(100%);
    opacity: 0;
}

.filtersConActive {
    opacity: 1;
}


.nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
}

.nav-list {
    position: relative;
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
}


    .nav-list::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 3px;
        background: white;
        transform: translateY(-50%);
        z-index: 0;
    }

.nav-item {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

    .nav-item.active {
        border-color: #e5e5e5;
        box-shadow: 0 0 10px white;
        transform: scale(1.15);
    }

li a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 50%;
    background: black;
    border: 3px solid white;
}

.noton {
    transition: transform .15s ease
}

    .noton:hover {
        transform: scale(1.1);
    }


.victory-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    background: linear-gradient(to top left, #092c4f, #300a5e);
    border-radius: 20px;
    box-shadow: 0px 5px 8px rgb(0, 0, 0);
    animation: popIn .5s ease;
}

.hidden {
    display: none;
}

.victory-box {
    margin: 20px;
    text-align: center;
}

@keyframes popIn {
    from {
        transform: scale(.6);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-text {
    color: white;
}

.Next-Button {
    background: rgba(0,0,0,0.4);
    border: none;
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
    color: white;
    transition: all .1s ease;
    text-decoration: none;
}

    .Next-Button:hover {
        color: white;
    }