/*-----DrawingApp CSS-----*/ 

*{
    box-sizing: border-box;
    font-family: "Fascinate Inline", system-ui;
    font-weight: 400;
    font-style: normal;
}

body{
    background-color: rgb(153, 107, 197);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    /*min-height: 100vh;*/
}

    /* nav bar */
    .topNav {
        overflow: hidden;
        background-color: #757575;
        margin-bottom: 35px;
        width: 100%;
        text-align: center;
    }
    
    .topNav a:first-child{
        margin-left: 35%;
    }


    .topNav a{
        float: left;
        display: flex;
        color: #4b4949;
        text-align: left;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 19px;

    }

    .topNav a:hover{
        background-color: blue;
        color: white;
    }

    .topNav .icon {
        display: none;
        align-self: left;
    }

    .topNav a.active{
        background-color: rgb(27, 27, 75);
        color: aliceblue;
    }

    /*media query to make nav bar vanish*/
    @media screen and (max-width: 600px){
        .topNav a:not(:first-child){
            display: none;
        }
        .topNav a.icon{
            margin-left: 0;
            float: right;
            display: block;
        }
        .topNav.responsive{
            position: relative;
        }
        .topNav.responsive .icon{
            position: absolute;
            right: 0;
            left: 0;
        }
        .topNav.responsive a{
            float: none;
            display: block;
            text-align: left;
        }
    }

    /* END nav */
canvas{
    border: 4px solid rgb(50, 28, 133);
    background-color: aliceblue;
    
}

.toolbox{
    background-color: rgb(72, 51, 146);
    border: 6px solid rgb(129, 108, 202);
    display: flex;
    padding-top: 8px;
    width: 808px;
}

.toolbox > * {
    background-color: rgb(194, 226, 255);
    border-color: white;
    display: inline-flex;
    justify-content: center;
    font-size: 2rem;
    padding: 0.25rem;
    /*margin: 0.25rem;*/
    height: 50px;
    width: 50px;
    padding-top: 15px;
}

.toolbox > *:last-child {
    margin-left: auto;
}

#clear {
    -webkit-text-fill-color: red;
}