html,
body {
    top: 0;
    margin: 0;
    width: auto;
    min-height: 95vh;
    font-family: 'Fira Code', monospace;
    display: flex;
    flex-direction: column;
    background-color: lemonchiffon;
}

footer {
    bottom: 10px !important;
    margin-top: 30px;
    text-align: center;
    position: relative;
    font-size: 20px;
}

.link {
    text-decoration: none;
    font-weight: bold;
    color: rgb(98, 89, 184);
}

#menu,
#random,
#start {
    margin-right: 10px;
    cursor: pointer;
}

.title {
    /* background-color: #cc1c10; */
    text-decoration: none;
    text-align: center;
    font-size: 25px;
}

.center {
    margin: 0 auto;
    border: 5px solid rgb(98, 89, 184);
    border-radius: 30px;
    width: 900px;
    height: 480px;
    max-width: 411px;
    max-height: 731px;
}

#box {
    height: 550px;
}

.array {
    display: flex;
    align-items: flex-start;
    min-height: 80vh;
    height: 40vh;
    padding: 1rem;
    flex-direction: row;
}

.cell {
    display: flex;
    align-items: flex-start;
    flex: 0.5;
    width: 0.000001%;
    margin: 1px;
    background-color: #D6D6D6;
    resize: horizontal;
    position: relative;
    transition: all .4s ease-in;
}

.cell.done {
    background-color: #9CEC5B;
    border-color: #9CEC5B;
    color: white;
    transition: all .4s ease-out;
}

.cell.visited {
    /* border-color: #6184D8; */
    border-color: blue;
    background-color: blue;
    /* background-color: #6184D8; */
    color: white;
    transition: .5s;
}

.cell.current {
    /* border-color: #50C5B7; */
    border-color: red;
    background-color: red;
    /* background-color: #50C5B7; */
    color: white;
    transition: all .4s ease-out;
}

.cell.min {
    /* background-color: #FF1493; */
    background-color: black;
    border-color: black;
    /* border-color: #FF1493; */
    color: white;
    transition: all .4s ease-out;
}

.navbar {
    top: 0;
    left: 0;
    width: 100%;
    font-size: 18px;
    min-height: 60px;
    overflow: hidden;
    text-align: center;
    background-color: rgb(98, 89, 184);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.navbar .options {
    text-align: center;
}

.navbar a {
    outline: none;
    cursor: pointer;
    color: #ccd6f6;
    font-weight: bold;
    padding: 13px 13px;
    text-decoration: none;
}

.navbar #menu {
    margin-top: 15px;
    width: 150px;
    height: 25px;
    outline: none;
}

.navbar>a:hover {
    color: #64ffda;
}

.navbar>.icon {
    display: none;
}

.footer .color1 {
    border: 1px solid black;
    background-color: black;
    color: white;
    padding: 5px;
}

.footer .color2 {
    border: 1px solid grey;
    background-color: grey;
    color: white;
    padding: 5px;
}

.footer .color3 {
    border: 1px solid black;
    background-color: red;
    color: white;
    padding: 5px;
}

.footer .color4 {
    border: 1px solid black;
    background-color: #9CEC5B;
    color: black;
    padding: 5px;
}

@media screen and (max-width: 900px) {
    .navbar a,
    .navbar .options {
        display: none;
    }
    .navbar a.icon {
        float: right;
        display: block;
    }
    .navbar.responsive {
        position: relative;
    }
    .navbar.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .navbar.responsive a,
    .navbar.responsive .options {
        float: none;
        display: block;
        text-align: center;
    }
}