* {
    box-sizing: border-box;
}

:root {
    --color-background: #a3daf5;
    --color-border: #ccc;
    --color-text: #111;
}

html {
    background-color: var(--color-background);
    font-family: 'DM Sans', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

body {
    color: var(--color-text);
    margin: 0 auto;
    padding: 0;
}

a {
    border-bottom: 2px solid #c77676;
    color: #c25c5c;
    display: inline-block;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
}

a:hover {
    border-bottom: 2px dotted #aaa;
}

body {
    padding: 1rem 2rem;
}

.c-wrapper {
    margin: 0 auto;
}

.c-egg-box {
    align-items: center;
    /*background-color: #8ec9e7;*/
    /*border: 2px solid #6bb4d7;*/
    /*border-radius: 6px;*/
    display: grid;
    font-size: 4rem;
    gap: 0.25rem;
    grid-template-columns: repeat(auto-fit, minmax(4.75rem, 1fr));
    padding: 2rem;
    position: relative;
}

.c-bowl {
    position: relative;
}

.c-bowl__inner {
    font-size: 4rem;
    height: 15.625rem;
    position: relative;
    width: 25rem;
}

.c-bowl__base {
    align-items: flex-start;
    background: url('./images/bowl-transparent.png') no-repeat;
    background-size: 25rem auto;
    display: flex;
    height: 13.75rem;
    justify-content: center;
    padding-top: 3.5rem;
    width: 25rem;
}

.c-bowl__overlay {
    background: url('./images/bowl-transparent copy.png') no-repeat;
    background-size: 25rem auto;
    height: 13.75rem;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 25rem;
    z-index: 1;
}

.c-image.is-dragging {
    opacity: 0.5;
}

.is-hover {
    background-color: rgba(0, 191, 165, 0.04);
}

.c-image {
    cursor: pointer;
    display: block;
    height: auto;
    max-width: 7rem;
    user-select: none;
    -webkit-user-select: none;
}

.c-egg-raw.is-visible {
    opacity: 1;
    position: initial;
    z-index: 1;
}

.c-egg.is-hidden,
.c-egg-raw.is-hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    z-index: -1;
}

.c-egg-raw {
    max-width: 15rem;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    user-select: none;
    -webkit-user-select: none;
    z-index: -1;
}

.c-egg-raw:nth-of-type(2) {
    top: 4px;
}

.c-egg-raw:nth-of-type(3) {
    left: -9px;
}

.c-egg-raw:nth-of-type(4) {
    left: 14px;
    top: 5px;
}

.c-scramble.is-hidden {
    display: none;
}

.c-scramble.is-visible {
    display: block;
}

.c-scramble-image {
    max-width: 28rem;
}


button {
    background-color: peachpuff;
    border: 1px solid orange;
    border-radius: 24px;
    color: #b36920;
    font-family: inherit;
    font-size: 100%;
    line-height: 1;
    margin: 0;
    padding: 0.5rem 1rem;
}

.c-scramble-button {
    opacity: 0;
    position: absolute;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    z-index: -1;
}

.c-scramble-button.is-visible {
    opacity: 1;
    position: initial;
    z-index: 1;
}

.c-footer {
    font-size: 0.85rem;
    padding: 1rem 1.5rem 2rem;
    text-align: center;
    width: 100%;
}