body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0;
    background-color: rgb(206, 201, 201);
    font-family: 'Balsamiq Sans', sans-serif;
}

#controls {
    margin: 20px 0 20px 0;
}

#simon-board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    
    text-align: center;
    margin-bottom: 1rem;
}

.simon-btn {
    width: 100px;
    height: 100px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    background-color: #3498db;
    color: #fff;
    transition: background-color 0.3s;
}

.top-left {
    background-color: darkgreen;
}

.top-right {
    background-color: darkred;
}

.bottom-left {
    background-color: goldenrod;
}

.bottom-right {
    background-color: darkblue;
}

.level-count {
    color: black;
    padding: 0.25rem 1rem;
}

#start-btn,
#power-btn {
    font-family: 'Balsamiq Sans', sans-serif;
    margin-top: 5px;
    padding: 10px;
    font-size: 16px;
    text-align: center;
     position: relative;
    width: 100%;
    cursor: pointer;
    background-color: #2ecc71;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}


#start-btn:hover,
#power-btn:hover {
    background-color: #27ae60;
}


#start-btn:disabled,
#power-btn:disabled {
    background-color: #484a4b;
    cursor: not-allowed;
}


#overlay2 {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(5, 5, 5, 0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#overlaytext{
    font-family: "Lucida Console", "Courier New", monospace;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}