* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('bg.png');
    /* background: linear-gradient(160deg, #1a1330 0%, #241b45 45%, #2d1b4e 100%); */
    color: #e8e4ff;
    min-height: 100vh;
}

nav {
    display: flex;
    overflow: hidden;
    width: 100vw;
    justify-content: center;
}

nav a {
    float: left;
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 120%;
    background-color: #2f3699;
    transition: background-color 0.15s ease, color 0.15s ease;
}

nav a:hover {
    background-color: #1c64ff;
    cursor: pointer;
}

.hintPresentation {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.summaryText {
    text-align: center;
    font-size: medium;
    line-height: 2rem;
    margin-top: 10vh;
    padding: 5px;
    background-color: #2f3699;
}

.screenshotGrid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
}

.screenshotItem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #1c23ff;
}

.hideTitle {
    background-color: black;
    width: 900px;
    height: 50px;
    position: relative;
    top: -600px;
}

.dancingGif {
    padding-top: 10vh;
    min-height: 30vh;
    max-height: 50vh;
}


.misc {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.timer {
    background-color: #2f3699;
    border: 3px #1c23ff outset;
    padding: 8px 18px;
    width: fit-content;
    margin: 12px;
    font-size: 200%;
    font-weight: bold;
}

.solution {
    display: inline-block;
    background-color: #2f3699;
    border: 3px #1c23ff outset;
    border-radius: 8px;
    padding: 6px 14px;
    margin: 12px;
    font-size: 200%;
    font-weight: bold;
    z-index: 3;
}

.loader {
    --color-1: #fff;
    --size: 2px;
    width: calc(48 * var(--size));
    height: calc(48 * var(--size));
    border: calc(5 * var(--size)) solid var(--color-1);
    position: absolute;
    left: calc(50% - (24 * var(--size)));
    top: calc(50% - (24 * var(--size)));
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.guesser {
    width: 100%;
    max-width: 220px;
    height: 45px;
    padding: 12px;
    border-radius: 12px;
    border: 1.5px solid lightgrey;
    outline: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0px 0px 20px -18px;
}

.guesser:hover {
    border: 2px solid lightgrey;
    box-shadow: 0px 0px 20px -17px;
}

.guesser:active {
    transform: scale(0.95);
}

.guesser:focus {
    border: 2px solid grey;
}

.guessedList {
    position: fixed;
    bottom: 0;
    display: flex;
    flex-direction: column-reverse;
}

.guessed {
    display: inline-block;
    background-color: #464646;
    border: 2px solid #303030;
    padding: 10px;
    font-size: large;
    min-width: 20vw;
}

.chat {
    background-color: #464646;
    border: 4px dashed #303030;
    position: fixed;
    bottom: 0;
    right: 0;
    display: inline-block;
    height: 30vh;
    width: 20vw;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.chatMessages {
    display: flex;
    justify-content: end;
    flex-direction: column;
    height: 100%;
    overflow: auto;
    sc
}

.chatMessages div {
    background-color: rgba(0, 0, 0, 0.05);
    margin: 2px;
}

.chat-system {
    color: greenyellow;
}

.chatRename {
    display: flex;
    justify-content: space-between;
}

.chatRename input {
    width: 100%;
}


.chatInput {
    display: flex;
    justify-content: space-between;
}

.chatInput input {
    width: 100%;
}
