@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');

* {

    font-family: Roboto;
}

body {

    margin: 0;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
}

.menu h4 {

    margin: 0 0 6px 0;
    font-weight: 400;
    font-style: italic;
}

.menu label {

    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.menu input[type="radio"] {
    accent-color: #4caf50;
}

.menu {

    padding: 16px;
    background-color: rgba(0, 0, 0, .65);


    display: flex;
    flex-direction: column;
    gap: 10px;

    color: white;
    border-radius: 8px;

    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.7);
    user-select: none;
}

.container:hover {

    cursor: move;
}

.menu button {
    margin-top: 10px;
    padding: 8px;
    background-color: #4caf50;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
}

.menu button:hover {
    background-color: #43a047;
}

.buttons {

    display: flex;
    gap: 10px;
}

.buttons button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.info {

    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    border-radius: 8px;
    max-width: 300px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 20;
    user-select: none;
}

.output {

    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    border-radius: 8px;
    max-width: 300px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 20;
    user-select: none;
    display: flex;
    flex-direction: column;
}

.container {

    width: 250px;
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


#num-rows,
#num-cols, 
#startcell,
#endcell,
#pathlength,
#path, #visitedcells {

    font-weight: 500;
    color: #ffd700;
    font-size: 14px;
    padding: 2px;
}

.error-message{

    font-weight: 500;
    color:rgb(2, 252, 6);
    font-size: 14px;
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 8px;
    max-width: 300px;
    font-family: Roboto, sans-serif;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 20;
    user-select: none;
    display: none;
}

.info h3{

    color: orange;
}