*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
}

body {
    min-height: 100vh;
    height: fit-content;

    background-color: #fafafa;
    color: #ffffff;

    font: 600 1rem/1.75 'Source Sans 3', sans-serif;
    width: 100%;

    display: flex;
    align-items: center;
    justify-items: center;
}

h1 {
    margin: 0 auto 1rem;
    padding: 0 0 0.5rem;
    font: 400 2rem/1.4 'Mozilla Headline', sans-serif;
    letter-spacing: 0;
    border-bottom: solid 0.125rem #fafafa;
}

hr {
    all: unset;
    box-sizing: border-box;
    display: block;
    margin: 0.5rem 0;
    padding: 0;
    width: 100%;
    height: 1px;
    color: #44484b;
    background-color: #44484b;
}

label {
    width: fit-content;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}


textarea,
input,
select {
    padding: 0.25rem 0.5rem;
    font: 400 1rem/1.35 'Source Code Pro', monospace;
    border: none;
    border-radius: 0.5rem;
    background-color: #1a1b1c;
    color: #ffffff;
    box-shadow: inset 0.1875rem 0.1875rem rgba(0, 0, 0, 0.231);
}

input[type=color] {
    all: unset;
    box-sizing: border-box;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 0.25rem solid #1a1b1c;
    border-radius: 1rem;

    cursor: pointer;

    &:hover {
        border: 0.25rem solid #636363;
    }

    &::-webkit-color-swatch-wrapper {
        padding: 0;
    }

    &::-moz-color-swatch {
        border: none;
    }

    &::-webkit-color-swatch {
        border: none;
    }
}

input[type=checkbox] {
    height: 1.25rem;
    width: 1.25rem;
}

textarea {
    width: 100%;
    resize: none;
}

.group {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.container {
    margin: 2rem auto;
    padding: 3rem;
    width: calc(100% - 4rem);
    border-radius: 2rem;
    max-width: 30rem;
    height: fit-content;
    background: #222222;
    box-shadow: 0px 3rem 6rem -1rem rgba(0, 0, 0, 0.123), 0px 2rem 4rem -2rem rgba(0, 0, 0, 0.3);
}