@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
/* font-family: 'VT323', monospace; */
*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'VT323', monospace;
    display: flex;
    background-color: black;
    flex-direction: column;
    justify-content: space-between;
}
header {
    border-bottom: 3px dashed #c0c0c0;
}

header h1{
    color: #c0c0c0;
    text-align: center;
}

main{
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#status-msg{
    color: #c0c0c0;
    font-size: 30px;
}

footer{
    color: #c0c0c0;
    text-align: center;
    font-size: 20px;
}

footer i{
    color: #c0c0c0;
    font-size: 25px;
    padding: 10px 12px;
}

#board{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto auto;
    background-color: black;
    width: 70vw;
    height: 70vw;
    max-height: 450px;
    max-width: 450px;
}
.rows{
    display:flex;
}
.board-grids{
    font-family: 'VT323', monospace;
    font-weight: bolder;
    background-color: black;
    border: none;
    font-size: 40px;
    color: #c0c0c0;
}

#grid-1, #grid-4, #grid-7, #grid-2, #grid-5, #grid-8{
    border-right: 4px dashed #c0c0c0;
}

#grid-1, #grid-2, #grid-3, #grid-4, #grid-5, #grid-6{
    border-bottom: 4px dashed #c0c0c0;
}

#start-button, #restart-button{
    color: #c0c0c0;
    font-family: 'VT323', monospace;
    background-color: black;
    border: 3px solid #c0c0c0;
    font-size: 25px;
    padding: 5px 15px;
    margin-top: 30px;
}

#start-button:hover, #restart-button:hover{
    background-color: #c0c0c0;
    border: 3px solid #c0c0c0;
    color: black;
}

#choose-gameplay-bg, #name-form-bg{
    background-color: rgba(0,0,0,0.52);
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#choose-gameplay-form, #name-form{
    position: relative;
    color: #c0c0c0;
    background-color: black;
    border: 3px solid #c0c0c0;
    width: 80%;
    max-width: 700px;
    text-align: center;
}

#choose-gameplay-form h2, #name-form h2{
    border-bottom: 3px solid #c0c0c0;
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-size: 30px;
    margin-top: 45px;
}
input[type='radio']{
    display: none;
}

.gameplay-lbl{
    margin-top: 20px;
    border: 3px solid #c0c0c0;
    font-size: 30px;
    padding: 10px;
}
.gameplay-lbl:hover{
    background-color: #c0c0c0;
    color: black;
}

.gameplay-desc{
    font-size: 20px;
    margin-bottom: 30px;
}

#gameplay-form-button, #name-form-button{
    color: #c0c0c0;
    background-color: black;
    border: 3px solid #c0c0c0;
    font-family: 'VT323', monospace;
    font-size: 25px;
    padding: 5px 10px;
    margin-bottom: 20px;
}

#gameplay-form-button:hover, #name-form-button:hover{
    background-color: #c0c0c0;
    color: black;
}

.error-msg{
    font-size: 25px;
    color: #c0030e;
}

#input-name{
    border: none;
    color: #c0c0c0;
    border-bottom: 3px solid #c0c0c0;
    background:none;
    font-size: 25px;
    font-family: 'VT323', monospace;
    width: 70%;
    padding: 0 10px;
}

.exit-btn{
    position: absolute;
    top: 0;
    right: 0;
    color: #c0c0c0;
    background-color: black;
    border: none;
    font-size: 25px;
    border-bottom: 3px solid #c0c0c0;
    border-left: 3px solid #c0c0c0;
    padding: 5px 15px;
}

.exit-btn:hover{
    color: black;
    background-color: #c0c0c0;
}

input[type='radio']:checked+label{
    background-color: #c0c0c0;
    color: black;
}

@media only screen and (min-width: 500px) {
    #choose-gameplay-form h2, #name-form h2{
        margin-top: 20px;
    }
}