html {
    height: 100vh;
    font-size: 16px;
}

body {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: #f6f7fc;
    transition: background-color 0.55s;
    will-change: background-color;
    margin: 0;
    flex-direction: column;
}

.menu-item {
    width: 8vh;
    height: 8vh;
    border-radius: 12.5rem;
    display: inline-block;
    margin-left: 1.5rem;
    animation-name: close;
    animation-duration: 0s;
    will-change: width background-color;
    transition: background 0.55s;
    vertical-align: top;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 5px rgba(0, 0, 0, 0.3);
    font-size: 1.3vw;
}

.menu-item:first-child {
    margin-left: 0;
    background: #fabe2b;
}

.menu-item:nth-child(2) {
    background: #f43768;
}

.menu-item:nth-child(3) {
    background: #45e1a3;
}

.menu-item:nth-child(4) {
    background: #c152da;
}

.menu-item--animate {
    animation-duration: 0.5s;
}

.menu-item--active {
    width: 17rem;
    animation-name: open;
}

.menu-item--active.menu-item--yellow {
    background: #fabe2b;
}

.menu-item--active.menu-item--red {
    background: #f43768;
}

.menu-item--active.menu-item--green {
    background: #45e1a3;
}

.menu-item--active.menu-item--purple {
    background: #c152da;
}

.colorHex {
    color: #000000;
    background-color: whitesmoke;
    padding: 10px;
    border-radius: 15px;
    font-size: 1.5rem;
}

input[type="text"],
input[type="number"] {
    margin-bottom: 10px;
    padding: 5px 5px;
    width: 200px;
    height: 20px;
}
input[type="text"]{margin-right: 20px;}

label{min-width: 20px;
margin-right: 20px;}

.glow-on-hover {
    width: 100px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    font-size: 1rem;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.stroke{background: white;
    background-size: 200% 200%;
    font-weight: 300; -webkit-background-clip: text;
-webkit-text-stroke: 1px transparent;}