*{
    user-select: none;

    color: black;

    outline: none;

    font-size: 20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
html, body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
}
a{
    color: #005a9e;
}

#main{
    width: 100%;
    height: calc(100% - 50px);

    position: absolute;
    top: 50px;
    left: 0;
    min-height: 540px;
}
#header{
    height: 50px;
    width: 100%;

    position: fixed;
    top: 0;
    left: 0;

    background-color: white;
    
    z-index: 1000;

    -webkit-box-shadow: 0 8px 17px -1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 17px -1px rgba(0, 0, 0, 0.3);
    
    display: flex;
    flex-direction: row;
    align-items: center;
}

.help{
    width: 20px;
    height: 20px;

    border-radius: 50%;

    display: inline-block;

    font-size: 20px;
    text-align: center;
    font-weight: bold;

    border: #95989c 2px solid;
    color: #95989c;

    cursor: pointer;
}

#keywords{
    -webkit-appearance: none;
    resize: none;
    outline: none;
    border: 0;
    padding: 10px;
    margin: 0;
    background-color: #dfe4ea;

    width: calc(100% - 26px);
    height: calc(100% - 26px);

    color: black;
}

#fontWeightChoose{width: 252px; display: inline-block; font-size: 15px;}
#fontWeight{width: calc(100% - 252px); display: none;}
@media screen and (max-width: 467px) {
    #fontWeight{width: 100%;}
}

#colorChoose{width: 252px; display: inline-block; font-size: 15px;}
#color{width: calc(100% - 252px); display: none;}
@media screen and (max-width: 467px) {
    #color{width: 100%;}
}

.input{
    -webkit-appearance: none;
    border: 0;
    margin: 0;
    padding: 0;
    outline: none;
    background-color: #dfe4ea;

    width: 100%;

    color: black;
}
.input:disabled{
    background-color: gray;
}

.button{
    -webkit-appearance: none;
    background-color: #dfe4ea;
    border: 0;
    border-radius: 3px;
    padding: 10px;
    color: black;
    outline: none;
}
.button:hover{
    background-color: #caced4;
}
.button:active{
    background-color: #c0c4c9;
}

#shower{
    position: relative;
}
#mainCanvas:hover + #mask{
    display: flex;
}
#mask:hover{
    display: flex;
}
#mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: none;
    justify-content: center;
    align-items: center;

    font-size: 30px;
    color: white;

    background-color: rgba(0, 0, 0, 0.5);

    cursor: zoom-in;
}

@media (prefers-color-scheme: dark){
    *{
        color: white;
    }
    a{
        color: #71afe5;
    }
    #header{
        background-color: #2B2C2D;
        color: white;
    }
    body, html{
        background-color: #303133;
    }
    .button, .input, #keywords{
        background-color: #5e6c7d;
        color: white;
    }
    .button:hover{
        background-color: #7d8fa6;
    }
    .button:active{
        background-color: #96acc7;
    }
    .help{
        border: #c0c4c9 2px solid;
        color: #c0c4c9;
    }
}