html
{
    background-color: black;
    background: url("https://wallpaperaccess.com/full/221429.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    text-align: center;
    color: black;
    font-family: 'Oswald',Georgia,"Times New Roman",Times,serif;
    width: 100%;
    min-height: 100%;
}

#header
{
    margin: 5px;
    padding: 5px;
    width: 150px;
    height: 35px;
    font-size: 25px;
    border: 1px white solid;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 25%) inset, 0 5px 10px 5px rgb(0 0 0 / 25%);
    transition: all 200ms ease-in-out;
}
#header:hover
{
    background-color: rgba(0, 0, 0, 0.5);
    color: black;
    border-color: white;
}

#popup
{
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    height: 500px;
    border: black 1px solid;
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    overflow-y: auto;
    color: black;
    text-align: left;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 25%) inset, 0 5px 10px 5px rgb(0 0 0 / 25%);
}

#block
{
    top: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
}

#close
{
    cursor: pointer;
    text-align: center;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    top: calc((100% - 505px) / 2 );
    right: calc(7% + 12px);
    width: 40px;
    height: 40px;
    font-size: 40px;
    align-items: center;
    vertical-align: middle;
    line-height: 40px;
    border: black 1px solid;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    transform: rotate(45deg);
}
#close:hover
{
    background-color: rgba(250, 250, 250, 0.8);
    color: black;
}

#main
{
    position: relative;
    width: 98%;
    height: 600px;
    margin-left: auto;
    margin-right: auto;
    
    vertical-align: middle;

}
#left
{
    float: left;
    
    width: 550px;
    vertical-align: middle;
    height: 550px;
    margin-top: 25px;
    
    background-repeat: none;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
canvas
{
    margin-top: 25px;
    background-color: rgba(250, 250, 250, 0.9); 
    border : 1px solid #d3d3d3;
    border-radius: 3px;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 25%) inset, 0 5px 10px 5px rgb(0 0 0 / 25%);
}
#right
{
    margin-top: 25px;
    background-color: rgba(250, 250, 250, 0.35);
    border-radius: 5px;
    float: right;
    height: calc(580px - 30px - 40px);
    width: calc(100% - 550px - 40px);
    overflow-y: auto;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 25%) inset, 0 5px 10px 5px rgb(0 0 0 / 25%);
}

input
{
    width: 125px;
    padding: 5px;
    margin: 3px;
    border: none;
    outline: none;
    border-radius: 10px;
    font-size: 20px;
    color: black;
}
input:focus, input:hover
{
    background-color: rgba(250, 250, 250, 0.411);
    color: black;
}
input:hover::placeholder,  input:focus::placeholder
{
    color: rgba(0, 0, 0, 0.7);
}
button
{
    width: 100px;
    padding: 8px;
    border: #d3d3d3;
    background-color: darkgreen;
    color: white;
    font-size: 18px;
    border-radius: 5px;
    outline: none;
}
button:hover
{
    color: darkgreen;
    background-color: white;
}

#result, #contain
{
    width: 85%;
    border-radius: 5px;
    font-size: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
}
a
{
    display: none;
    background-color:pink;
}
#footer
{
    clear: both;
    z-index: -1;
}

@media only screen and (max-width: 800px) 
{
    canvas
    {
        width: 300px;
        height: 300px;
    }
 
    #header
    {
        font-size: 17px;
        height: 30px;
        width: 100px;
    }
    #left
    {
        width: 325px;
        float: none;
        margin-left: auto;
        margin-right: auto;
        height: 325px;
        padding: 5px;
        margin-top: 0px;
    }
    #close
    {
        width:30px;
        height:30px;
        line-height:30px;
        font-size:30px;
        right: calc(7% + 5px);
    }
    #right
    {
        display: block;
        width: calc(100% - 40px);
        height: 350px;
        margin-top: 10px;
        padding-top: 10px;
        margin-bottom: 10px;
        z-index: 5;
    }

    #footer
    {
        
    }
    #result
    {
        width: 90%;

    }
    #popup
    {
        height: 500px;
        padding: 10px;
        font-size: 12px;
    }

}