@import url('https://fonts.cdnfonts.com/css/vcr-osd-mono');

:root {
    --incorrect-color: #FB2C36;
    --correct-color: #00C950;
}

html {
    color-scheme: dark !important;
    width: 100%;
    height: 100%;
}

* {
    font-family: 'VCR OSD Mono', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #111;
}

.search-container {
    width: 480px;
    padding-block: 10px;
    height: 48px;
    position: relative;
}

textarea {
    resize: none;
    width: calc(100% - 16px);
    height: 100%;
    line-height: 48px;
    font-size: 1.2rem;
    padding-left: 10px;
    transition: border 0.1s linear;
    outline: none;
    border: 2px solid #626262;
    background-color: black;
}

.search-suggestions {
    position: absolute;
    width: calc(100% - 4px);
    z-index: 99999;
    height: fit-content;
    max-height: 300px;
    overflow: auto;
    background-color: black;
    border: 2px solid #626262;
    display: none;
}

textarea:focus {
    outline: none;
    border: 2px solid red;
}

main {
    padding: 50px;
}

h1 {
    margin-block: 0;
    font-size: 3.6rem;
}

.help {
    margin-top: 4px;
    opacity: 0.5;
    font-size: 0.9rem;
}

.search-suggestion-btn {
    height: 48px;
    display: flex;
}

.search-suggestion-btn:hover {
    cursor: pointer;
    background-color: #424242;
}

img {
    padding: 10px;
    height: calc(100% - 20px) !important;
    aspect-ratio: 1;
}

.guess-actualguess {
    display: flex;
    align-items: center;
    height: 72px;
}


.guess-actualguess>* {
    height: 100%;
}

.guess-actualguess>*>p {
    line-height: 72px;
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    user-select: none;
    pointer-events: none;
}

.name-pfp-container {
    width: 240px !important;
    min-width: 240px;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 0;
    padding-left: 0;
}

.guess {
    width: 180px;
}

.guess:hover {
    cursor: pointer;
}

.name-pfp-container>img {
    scale: 0.75;
}

.incorrect {
    border-left: 4px solid #FB2C36;
    background-color: #FB2C3633;
    color: #FB2C36;
}

.correct {
    border-left: 4px solid #00C950;
    background-color: #00C95033;
    color: #00C950;
}

.guesses {
    overflow: scroll;
    margin-top: 20px;
    max-height: 40vh;
}

.name-pfp-container>p {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip
}

.levels-container,
.health-container {
    width: 100px;
    min-width: 100px;
}

.type-container {
    width: 120px;
    min-width: 120px;
}

.weight-container {
    width: 140px;
    min-width: 140px;
}

.level-container {
    width: 300px;
    min-width: 300px;
}

.levels-container,
.level-container,
.health-container {
    display: flex;
}

.levels-container>p,
.level-container>p,
.health-container>p {
    text-align: left;
    padding-left: 24px;
}

.guess-arrow-indicator {
    width: fit-content !important;
}

@media all and (max-width: 1000px) and (orientation:portrait) {
    main {
        padding: 0;
    }

    .search-container {
        padding: 5px;
        width: calc(100vw - 25px);
    }

    textarea {
        width: 100%;
    }

    h1 {
        padding: 10px;
        /* padding-block: 10px; */
    }
}
