* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #b4c1c5;
}

#buttonContainer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

#start {
    padding: 10px;
    width: 150px;
    height: 60px;
    font-size: 24px;
    background-color: #2647c0;
    color: white;
    cursor: pointer;
    border: 4px outset #3962f3;
}

#start:hover {
    outline: 4px solid #d8dffe;
}

#start:active {
    border: 4px inset #3962f3;
}

#primaryBoard div,
#shootingBoard div {
    background-color: #53719c;
    border: none;
    border: 1px dashed #2c3d56;
}

#shootingBoard div:hover {
    border: 1px solid white;
}

#primaryBoard,
#shootingBoard {
    display: grid;
    grid-template-columns: repeat(10, 45px);
    grid-template-rows: repeat(10, 45px);
    box-shadow: 0 0 10px 5px #898989;
}

#boardContainer {
    display: flex;
    gap: 300px;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#boardContainer #primaryBoard .ship {
    background-color: white;
}

#shootingBoard div[data-state="hit"],
#boardContainer #primaryBoard div[data-state="hit"] {
    background-color: #c46d6d;
}

#shootingBoard div[data-state="hitShip"],
#boardContainer #primaryBoard div[data-state="hitShip"] {
    background-color: #b0b0b0;
}

#selectContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

#selectContainer label {
    font-size: 20px;
    font-weight: bold;
}

#selectContainer select {
    padding: 3px;
    font-size: 20px;
}

.hidden {
    display: none;
}

.focus {
    outline: 5px solid white;
}

#result-text {
    color: #010f18;
    font-weight: bold;
    font-size: 25px;
    position: absolute;
}