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

html,
body {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    position: relative;
    min-height: 100%;
    /* font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,
        Segoe UI Emoji, Segoe UI Symbol; */
    background: #eceff1;
}

h1 {
    margin: auto;
    text-transform: uppercase;
    text-align: center;
    padding-top: 30px;
}

.flex {
    display: flex;
}

.container {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin: auto;
}

.info {
    justify-content: space-between;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 0;
    text-transform: uppercase;
    font-size: 90%;
    margin: auto -15px 30px;
}

.info-code {
    cursor: pointer;
}

.info-code:hover {
    /* color: salmon; */
}

.progress-wrapper {
    max-width: 50px;
    justify-content: space-between;
    margin: auto;
    padding: 40px 20px 30px;
    text-transform: uppercase;
}

[type='range'] {
    width: 50px;
}

.code {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 260px;
    height: 0;
    left: 0;
    margin: auto;
    line-height: 1.6;
    transition: visibility 0s, opacity 0.5s linear;
}

.show-code .code {
    visibility: visible;
    opacity: 1;
    height: 100%;
    top: 45px;
}

pre {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

code {
    /* height: calc(100% - 45px); */
    height: 50px;
    margin-top: -20px;
}

[data-pie-index='2'] {
    position: relative;
    border-radius: 50%;
    /* box-shadow: inset 0 0 25px 10px #a2caff; */
}

[data-pie-index='16'] {
    position: relative;
    border-radius: 50%;
    /* box-shadow: inset 0 0 25px 10px #f50057; */
}

.heart {
    position: absolute;
    font-size: 15px;
    margin: auto;
    width: 10%;
    bottom: 45px;
    text-align: center;
    animation: heart 0.8s linear infinite;
    /* text-shadow: 0px 0px 10px #f50057; */
}

@keyframes heart {
    0% {
        transform: scale(1.07);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.8);
    }
}

