* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =============================
            STRUCTURE 
================================ */

/* Reused */

.flex {
    display: flex;
    flex-flow: row wrap;
}

/* Title */

.title {
    margin: 60px 0;
}

/* Main container */

.container {
    justify-content: space-between;
    margin: 0 auto 80px;
    width: 800px;
}

/* Button container */

.btn-container {
    width: 248px;
    padding: 24px;
}

label {
    display: inline-block;
}

.slider {
    width: 100%;
    margin-top: 8px;
}

.color-div {
    justify-content: flex-start;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 32px;
}

.color-picker {
    height: 40px;
    margin-left: 8px;
}

button {
    display: block;
    width: 100%;
    height: 44px;
    margin-top: 24px;
}

.btn-container {
    width: 248px;
    padding: 24px;
}

/* Draw container */

.draw-container {
    width: 480px;
    height: 480px;
}


/* =============================
      BGS, COLORS AND FONTS 
================================ */

/* Reused */

body {
    background-color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
}

label {
    color: #FFFFFF;
}

button,
.color-picker {
    background-color: #e8e8e8;
}

/* Title */

.title {
    color: #f1e776;
    font-family: 'Press Start 2P', cursive;
    font-size: 40px;
    text-align: center;
}

/* Main container */

.container {
    background-color: #333333;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.4);
    padding: 24px;
    border-radius: 8px;
}

/* Button container */

.btn-container {
    background-color: #4e4e4e;
}

.color-picker {
    border: none;
    border-radius: 3px;
}

button {
    border: none;
    border-radius: 8px;
    color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

button:hover {
    background-color: #fffbd3;
}

button:active {
    background-color: #faf3a7;
}

/* Draw container */

.draw-container > div {
    background-color: #FFFFFF;
}

.draw-container > div:hover {
    background-color: #e3e3e3;
}
