﻿html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 30px 0 0 0;
    position: relative;
    width: 100%;
    height: 100%;

    box-sizing: border-box;

    display: flex;
    justify-content: center;
    background-color: #393947;
}

body > div{
    display: flex;
}

body > div > div{
    margin-right: 20px;
}

#visualizer{
    width: 450px;
    height: 450px;
    background-color: #4b4b58;
    border-radius: 20px;
    justify-content: start;
    align-items: flex-start;
    align-content: flex-start;
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
    box-shadow: 0 0 5px;
}

#visualizer > div{
    width: 25px;
    height: 25px;
    margin: 10px;
    border-radius: 7px;
    box-shadow: 0 0 5px rgba(1, 1, 1, 0.66);
}

#buttonbox{
    display: flex;
}

#buttonbox button{
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    width: 150px;
    height: 50px;
    margin: 10px 0 10px 0;
    outline: none;
    border: none;
    box-shadow: 0 0 5px;
}

#buttonbox > div:nth-child(2){
    margin: 0 0 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#commands{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}



#commands > button{

    width: 200px;

    font-family: monospace;
}

#commands > button > span{
    opacity: 0;
    transition: opacity 0.2s;
}

#buttonbox *{
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

#commands > button:hover > span{
    opacity: 1;
}

.c1{
    background-color: rgb(87, 182, 88);
}

.c2{
    background-color: #2d76c7;
}

.c3{
    background-color: #85aee7;
}

.c4{
    background-color: #ef7827;
}

.c5{
    background-color: #c2c72d;
}

#reset{
    background-color: #ee4e4e;
}

#copy{
    background-color: #7d7d7d;
}

#snippet{
    width: 450px;
    height: 450px;
    margin: 0 0 0 20px;
    padding: 10px;
    box-sizing: border-box;

    background-color: #4b4b58;
    border-radius: 20px;
    box-shadow: 0 0 5px;
    overflow: auto;
}

#snippet > pre{
    margin: 0;
}

#snippet code{
    color: white;
}