:root {
  color-scheme: light dark; 
  
  --bg-color: light-dark(#ffffff, #333333);
  --text-color: light-dark(#1a1a1a, #ffffff);
}


body {
    font-family: Nunito;
    overflow-x: hidden;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);

}

.game {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 1.2;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.side-list {
    width: 250px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    z-index: -5;
    box-sizing: border-box;
    color: black;
}


.awesomplete > ul > li {
	padding: 12px 14px;
	margin: 4px 0;
	line-height: 1.5;
    color: black;
}

.awesomplete > ul {
	transition: none !important;
	animation: none !important;
}

.finished {
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 9999;
    width: fit-content;
    height: fit-content;
}

.boxthingy {
    width: 310px;
    height: 400px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    z-index: -5;
    color: black;
}

.trbutton {
  position: absolute;
  top: 20px;
  right: 20px;
}


button {
    font-family: Nunito;
    border-radius: 5px;

}

@media (min-width: 1000px) {
    .side-list {
        position: absolute;
        left: 20px;
        top: 20px;
    }
}

@media (max-width: 1700px) {
    .game {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .side-list {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 350px;
        order: 2;
    }

    .videowow {
        width: 50%;
        height: 50%;
    }

    .guessinput {
        width: 40ch;
    }

    
}

