
:root{
    --canHeight: auto;
    --canWidth: auto;
}


body{
    overflow: hidden;
    position: relative;
    margin: 0;
    background-image: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,121,121,1) 0%, rgba(0,212,255,1) 100%);
}

header h1
{
    height: 100%;
    width: 100%;
    /* border: 1px solid red; */
    margin-top: 1rem;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    font-size: 3rem;
    color: whitesmoke;
    text-shadow: 2px 1px 3px rgba(2,0,36,1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}


div.draw-container
{
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    overflow: hidden;
    width: 100%;
    height: 100%;
    align-items: center;
    /* border: 2px solid rebeccapurple; */
    background-image: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,121,121,1) 0%, rgba(0,212,255,1) 100%);
}

canvas#draw
{
   border: 1px solid black;
   background-color: whitesmoke;
   height: var(--canHeight);
   width: var(--canWidth);
   box-shadow: 2px 1px 2px 1px rgba(2,0,36,0.4);
}

div.options
{
    display: flex;
    /* border: 5px solid red; */
    height: inherit;
    width: var(--canWidth);
    justify-content: flex-end;
    margin-top: 0.5rem;
}


select
{
    display: flex;
    width: inherit;
    border: 1px solid rgb(0, 0, 0);
    font-size: large;
    font-weight: bold;
    text-align: center;
    
}
option
{
    text-align: center; 
}


button#erase
{
    
    background-color: rgb(209, 50, 2);
    width: 4rem;
    color: white;
    border: 1.5px solid black;
    display: flex;
    justify-content: center;
    justify-items: center;
    text-align: center;
    border-radius: 20%;
    padding: 1rem;
    margin-right: 40rem;
    cursor: pointer;
}

#blue{background-color: blue;color: white;}
#red{background-color: red;color: white;}
#yellow{background-color: yellow;color: grey;}
#green{background-color: green;color: white;}
#purple{background-color: purple;color: white;}
#black{background-color: black; color: white;}
#indigo{background-color: indigo; color: white;}
#cadetblue{background-color: cadetblue; color: white;}
#grey{background-color: grey; color: white;}

@media screen and  (max-width: 600px) {
    #title{
        font-size: 1rem;
        margin: 0;
        padding: 0;
    }

    div.options{
        width: 95%;
        
    }

    div.draw-container{
        margin: 0;
    }

    select{
        
        margin: 0;
        padding: 0;
    }
    button#erase{
        padding: 0;
        margin-right: 0;
        width: 5em;
        height: 2.5em;
    }
    
}