html, body
{
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background-image : linear-gradient(135deg, #e9ecef 0%, #f1f3f5 100%);
}

.heading
{
    height: 8.5vh;
    width: 100%;
    font-size: 2.75em;
    text-align: center;
    padding: 0.9em;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background-color: #333;
    color: #fff;
}

.content
{
    padding-top: 50px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
    gap: 40px;
}

.boards
{
    display: flex;
    gap: 100px;
}
footer
{
    align-self: center;
    font-size: 1.2rem;
    padding-bottom: 0.4rem;
}

a img
{
    vertical-align: middle;
    opacity: 1;
    transition: opacity 0.4s ease-in 0.1s;
    margin-bottom: 0.3em;
}

a img:hover
{
    opacity: 0.7;
}


.currentTurn
{
    text-align: center;
    font-size: 32px;
}

.cell
{
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    background-color: #fff;
}
 /* ask chatgpt about this trick*/
.cell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: -1px;
    margin-left: -1px;
    border-top: solid #0065d83b 1px;
    border-left: solid #0065d83b 1px;
    z-index: 1;
}
.board
{
    display: grid;
    grid-template-rows: repeat(10, 30px);
    grid-template-columns: repeat(10, 30px);
    gap: 0px;
    border: 1px solid #333;
}


.boardName
{
    text-align: center;
    font-size: 24px;
}

.section
{
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 302px;
}

#board-buttons
{
    align-self: center;
    display: flex;
    gap: 16px;
}

#board-buttons button
{
    align-self: center;
    width: 110px;
}
button 
{
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    color: #fff;
    background-color: #007bff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

button:active
{
    background-color: #00408a;
}

#addShip
{
    display: flex;
    gap: 40px;
    align-items: center;
}

#submitShip
{
    width: 110px;
}

#cancel
{
    width: 110px;
    margin-left: -20px;
}

.redButtonResponsive {
    background-color: #ff4d4d; /* Initial state */
}

.redButtonResponsive:hover {
    background-color: #e60000; /* Hover state */
}

.redButtonResponsive:active {
    background-color: #b30000; /* Active state */
}

input
{
    padding: 5px;
    font-size: 16px;
}

select
{
    padding: 5px;
    font-size: 16px; 
}

.invisible
{
    display: none !important;
}

.visible
{
    display: block;
}

.cell.ship {
    background-color: #007bff; /* Blue background */
    border: 2px solid #0056b3;
}

.cell.miss {
    background-color: #fff; /* Keep background */
    border: 2px solid #000; /* Black border */
    position: relative;
}

.cell.miss::after {
    content: "●";
    color: #000;
    font-size: 18px;
    position: absolute;
}

.clickable
{
    cursor: pointer;
}
.cell.hit {
    background-color: #ff0000; /* Red background */
    border: 2px solid #990000;
    position: relative;
}

.cell.hit::after {
    content: "X";
    color: #ff0000;
    font-weight: bold;
    font-size: 24px;
    position: absolute;
}

.cell.sink {
    background-color: bisque;
}

.cell.hit::after {
    content: "X";
    color: black;
    font-weight: bold;
    font-size: 24px;
    position: absolute;
}

/*# sourceMappingURL=main.4ef46af1beec30e2d671.css.map*/