*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family:  'Fantasy' , monospace;
    transition: all .5s;
}

body{
    min-height: 100vh;
    display: flex;
    flex-flow:row wrap;
    justify-content: center;
    overflow: hidden;
}

aside{
    max-width: 320px;
    width: 100%;
    min-height: 100vh;
    padding:0 1rem
}

h2{
    text-align: center;
    margin-top: 3rem;
    font-size: 3rem;
    background: linear-gradient(
            to right, #e2da30,#eeeef0,  #f6e144);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgb(88, 82, 82);
}

aside .color{
    margin-top: 2rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap:10px;
}
aside .color input[type="color"]{
    width: 100%;
    height:60px;
    cursor: pointer;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
}

input[type="color"]::-webkit-color-swatch{
    border-radius: 15px;
    border: 1px solid white;
}

.directions{
    display: flex;
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
    gap: 25px;
    justify-content:center;
}
.directions button{
    width: 45px;
    border: none;
    outline: none;
    height:45px;
    font-size: 20px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    cursor: pointer;

}

.directions button:hover{
background-color: white;
color: rgb(30, 27, 27);
}
.directions button.active{
background-color: #5a585a;
color: #fff;
}
.directions button.rotate{
transform: rotate(45deg);
}

.result{
    width: 100%;
    margin-top: 2rem;
}

.result .code{
    width: 100%;
    min-height: 90px;
    border: 1px solid rgb(115, 110, 110);
    padding:10px;
    font-size: 17px;
    outline:none;
    border-radius:15px;
    user-select: none;
    resize: none;
    cursor:default;
}
.result .code::selection{
    background-color:transparent !important;
}
.result .copy{
    margin-top: 10px;
    padding:8px 20px;
    border:none;
    outline:none;
    margin-left: auto;
    display: block;
    cursor: pointer;
    background-color:#706d6f;
    color:#fff;
    border-radius: 8px;
    font-size: 16px;
}

.random{
    width: 30vh;
    height:45px;
    border-radius: 6px;
    background-color: #1a1316;
    color: #fff;
    border: none;
    outline:none;
    font-size: 17px;
    margin-top: 1.2rem;
    cursor: pointer;
}
.random:active{
    transform: scale(.9)
}