@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@200&family=Roboto+Condensed&family=Roboto+Mono:wght@100;400&family=Space+Mono&display=swap');

:root{
    --dark-blue: rgb(3, 14, 31);
}

body{
    background: rgb(3, 14, 31);
    color: grey;
    font-family: 'Poppins', sans-serif;
}

p{
    margin: 0;
}

.game-container{
    display: flex;
}

.field-input{
    width: 3.5em;
    height: 3.5em;
    text-align: center;
    border: 1px solid rgb(71, 71, 71);
    border-radius: 8px;
    background: var(--dark-blue);
    color: grey;
}
.field-input:focus-visible{
    border: 1px solid grey;
    outline: none;
}

.field-input.green{
    background: green;
    color: white;
}

.field-input.yellow{
    background: rgb(202, 202, 16);
    color: white;
}

.field-input.none{
    color: red;
}

.game-settings-form{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    min-width: 200px;
}

.hide-radio{
    position: fixed;
    opacity: 0;
    pointer-events: none;
}

.custom-dropdown-item{
    display: flex;
    padding: 0.8em;
    border-bottom: 1px solid grey;
    transition: 0.1s;
    font-size: 0.8em;
}

.custom-dropdown-item:hover{
    box-shadow: inset 100px 100px 0 0 rgba(255, 255, 255, 0.212);
    cursor: pointer;
    border-left: 2px solid rgb(190, 190, 190);
    color: rgb(190, 190, 190);
}

.custom-dropdown input[type="radio"]:checked + label{
    box-shadow: inset 100px 100px 0 0 rgba(255, 255, 255, 0.08);
    color: white;
}
.custom-dropdown{
    border-left: 1px solid grey;
    border-right: 1px solid grey;
    position: absolute;
    top: 100%;
    width: calc(100% - 2px);
    background: var(--dark-blue);
    z-index: 1;
}

.custom-dropdown-placeholder{
    border: 1px solid grey;
    padding: 0.8em;
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-blue);

}



.custom-dropdown-placeholder:hover{
    cursor: pointer;
    box-shadow: inset 100px 100px 0 0 rgba(255, 255, 255, 0.05);
    color: white;
}



.dropdown-container{
    position: relative;
}


.play-field{
    margin: 0 auto;
    width: max-content;
    font-size: 20px;
}

.header{
    display: flex;
    align-items: center;
}

.header-wrapper{
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.header-name{
    font-size: 2rem;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.header-items{
    list-style: none;
    display: flex;
}

.header-link{
    padding: 0.5rem;
    text-decoration: none;
    color: rgb(190, 190, 190);
}

.header-link:hover{
    border-bottom: 2px solid white;
    /* transition: 0.3s; */
}

.logout{
    color: rgb(199, 36, 36);
    font-weight: bold;
}

.custom-input{
    background: transparent;
    border: 1px solid grey;
    border-radius: 8px;
    padding: 0.5rem;
    outline: none;
    color: grey;
}

.custom-btn{
    background: transparent;
    border: 1px solid grey;
    border-radius: 8px;
    padding: 0.5rem;
    color: rgb(155, 155, 155);
    letter-spacing: 1px;
}

.custom-btn:hover{
    background: rgba(128, 128, 128, 0.493);
    cursor: pointer;
}

.custom-select{
    background: transparent;
    border: 1px solid grey;
    border-radius: 8px;
    padding: 0.5rem;
    outline: none;
    color: grey;
    min-width: 20px;
}

.container{
    border: 1px solid rgba(128, 128, 128, 0.295);
    border-radius: 8px;
    padding: 1rem;
    width: max-content;
    margin: 2rem auto;
}

.display-block{
    display: block;
}
