* {
    box-sizing: border-box;
}

button {
    outline: none;
    cursor: pointer;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

body {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(to right, #566a39 0%, #75986f 100%);
}

.pen-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.pen-title {
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    padding: 20px 0;
}

.pen-title a {
    text-decoration: underline;
    font-size: 0.75em;
    cursor: pointer;
}

.button-wrapper {
    position: relative;
    display: inline-block;
    padding: 23px;
    min-width: 160px;
    min-height: 160px;
    border-radius: 114px;
    box-shadow: 0px -2px 2px rgba(255, 255, 255, 0.22), inset 0px -2px 6px rgba(0, 0, 0, 0.2);
}

.button-wrapper.is_fixed_size {
    width: 160px;
    height: 160px;
}

.button {
    position: relative;
    height: 114px;
    min-width: 114px;
    padding: 0 34px;
    border-radius: 57px;
    box-shadow: inset 0px -1px 6px 0px rgba(255, 255, 255, 0.73);
    background: #28a745;
    background: linear-gradient(#28a745 0%, #28a745 100%, #28a745 100%);
    border: none;
    font-size: 45px;
    color: white;
    line-height: 114px;
    font-weight: 700;
}

.button__text {
    position: relative;
    display: block;
    height: 114px;
    white-space: nowrap;
    opacity: 1;
}

.button__text--download {
    width: 270px;
    transition: opacity 0.5s ease, width 0.5s ease;
}

.button__text--download.is_animated {
    overflow: hidden;
    width: 0px;
    opacity: 0;
}

.button__text--progress {
    margin-right: -35px;
    margin-left: -35px;
    width: 114px;
    font-size: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.button__text--progress sub {
    font-size: 0.5em;
    font-weight: normal;
}

.button__text--progress.is_animated {
    opacity: 1;
}

.button__text--complete {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    border-radius: 50%;
    height: 114px;
    width: 114px;
    box-shadow: inset 0px -1px 6px 0px rgba(255, 255, 255, 0.73);
    background: #3acaff;
    transform: scale(1.5);
    transition: transform 0.5s ease;
}

.button__text--complete.is_animated {
    transform: scale(1);
}

.button__icon--cloud-download,
.button__icon--checkmark {
    position: relative;
    top: 7px;
}

.pie-loader {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 160px;
    height: 160px;
    opacity: 1;
    transition: opacity 0.1s ease;
}

.pie-loader svg {
    width: 100%;
    height: 100%;
}

.pie-loader circle {
    fill: #3acaff;
    stroke: #3acaff;
    stroke-width: 80px;
    stroke-dasharray: 0 252;
    transition: all 0.1s linear;
}

.pie-loader.is_hidden {
    opacity: 0;
}