
html {
    height: 100%;
}

body {
    margin: 0;
    height: 100%;
    background-color: #DFEAF9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-toggler {
    opacity: 0;
    position: fixed;
}

.tf-container {
    position: relative;
    height: 485px;
    width: 485px;
    border-radius: 50% 50%;
    background-color: transparent;
    box-shadow: 0 0 40px 54px #FDEBE6,
                inset 0 0 0 10px #FFF;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.tf-container:after {
    content: '';
    position: absolute;
    height: 485px;
    width: 485px;
    border-radius: 50% 50%;
    background-color: transparent;
    cursor: pointer;
}

.tf-tail-fin {
    position: absolute;
    height: 110px;
    width: 40px;
    background-color: #F0592A;
    border: solid 3px black;
    border-radius: 0 50% 0 50%;
    box-shadow: inset 5px -11px 14px 3px #CE4728;
    transform: rotate(-5deg) skewX(-15deg) skewY(5deg);
}

.tf-tail-fin--top {
    top: 156px;
    left: 6px;
}

.tf-tail-fin--bottom {
    z-index: -1;
    top: 275px;
    height: 60px;
    width: 40px;
    border-radius: 50% 0 50% 0;
}

.tf-body {
    position: absolute;
    left: 98px;
    top: 90px;
    height: 360px;
    width: 360px;
    background-color: #F0592A;
    border: solid 3px black;
    border-radius: 100px 300px 300px 300px / 50px 280px 280px 280px;
    box-shadow: inset 20px -20px 56px 20px #CE4728;
    transform: rotate(-0.125turn);
}

.tf-eye {
    position: absolute;
    top: 200px;
    height: 80px;
    width: 60px;
    background-color: #F0592A;
    border: solid 3px black;
    border-radius: 50% 50% 50% 50% / 50% 50% 36% 50%;
    box-shadow: inset 5px -11px 14px 3px #CE4728;
}

.tf-eye::after {
    display: none;
    content: '';
    position: absolute;
    top: 38px;
    left: 17px;
    height: 10px;
    width: 10px;
    background-color: #000;
    border-radius: 50% 50%;
}

.tf-eye--right {
    left: 420px;
    top: 195px;
    height: 75px;
    width: 55px;
}

.tf-eye--left {
    left: 350px;
}

.tf-lip {
    position: absolute;
    left: 350px;
    height: 50px;
    width: 135px;
    background-color: #F0592A;
    border: solid 3px black;
    border-radius: 0 45% 45% 50%;
    box-shadow: inset 5px -11px 14px 3px #CE4728;
    transform: skewX(10deg) rotate(-10deg);
}

.tf-lip--top {
    top: 300px;
}

.tf-lip--bottom {
    top: 320px;
    left: 355px;
    width: 100px;
    transform: skewX(10deg) rotate(0deg);
}

.tf-side-fin {
    position: absolute;
    top: 400px;
    height: 110px;
    width: 40px;
    background-color: #F0592A;
    border: solid 3px black;
    border-radius: 50% 0 50% 0;
    box-shadow: inset 12px 8px 14px 3px #CE4728;
    transform: rotate(-133deg) skewX(-2deg) skewY(-20deg);
}

.tf-side-fin--left {
    left: 170px;
}

.tf-side-fin--right {
    z-index: -1;
    left: 300px;
    height: 100px;
    width: 30px;
}

.tf-toggle-base {
    position: absolute;
    top: 80px;
    left: 200px;
    height: 60px;
    width: 160px;
    background-color: #8A8A8A;
    border: solid 3px black;
    border-radius: 50% 50%;
    box-shadow: inset 4px -7px 14px 3px #6D6E6E;
}

.tf-toggle-ball::before {
    z-index: -1;
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    height: 100px;
    width: 120px;
    border-radius: 140px 140px 80px 80px;
    background: #000;
}

.tf-toggle-ball {
    position: absolute;
    top: 25px;
    left: 226px;
    height: 94px;
    width: 114px;
    background-color: #8A8A8A;
    border-radius: 134px 134px 74px 74px;
    box-shadow: inset 4px -7px 14px 3px #6D6E6E,
                inset 4px -7px 14px 3px #FFF;
}

.tf-toggle-ball::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 24px;
    height: 24px;
    width: 66px;
    background-color: #000;
    border-radius: 10px 10px;
}

.tf-toggle-shaft {
    position: absolute;
    top: -6px;
    left: 270px;
    height: 50px;
    width: 20px;
    background-color: #8A8A8A;
    border: solid 3px black;
    border-radius: 0 0 50% 50% / 0 0 10% 10%;
    box-shadow: inset 4px -7px 14px 3px #6D6E6E;
    transform-origin: 10px 110px;
    transform: rotate(-20deg)
}

.tf-toggle-tip {
    position: absolute;
    top: -16px;
    left: 260px;
    height: 30px;
    width: 40px;
    background-color: #8A8A8A;
    border: solid 3px black;
    border-radius: 50% 50%;
    box-shadow: inset 4px -7px 14px 3px #6D6E6E,
                inset 4px -7px 14px 3px #FFF;
    transform-origin: 20px 120px;
    transform: rotate(-20deg)
}

.tf-toggler:checked ~ .tf-container {
    box-shadow: 0 0 40px 54px #DFF9E3,
                inset 0 0 0 10px #FFF;
}

.tf-toggler:checked ~ .tf-container .tf-tail-fin {
    background-color: #4FB95E;
    box-shadow: inset 5px -11px 14px 3px #459C4B;
}

.tf-toggler:checked ~ .tf-container .tf-body {
    background-color: #4FB95E;
    box-shadow: inset 20px -20px 56px 20px #459C4B;
}

.tf-toggler:checked ~ .tf-container .tf-eye {
    background-color: #FFF;
    box-shadow: inset 0 6px 14px 3px #A8DCE2;
}

.tf-toggler:checked ~ .tf-container .tf-eye::after {
    display: block;
}

.tf-toggler:checked ~ .tf-container .tf-lip {
    background-color: #4FB95E;
    box-shadow: inset 5px -11px 14px 3px #459C4B;
}

.tf-toggler:checked ~ .tf-container .tf-side-fin {
    background-color: #4FB95E;
    box-shadow: inset 12px 8px 14px 3px #459C4B;
}

.tf-toggler:checked ~ .tf-container .tf-toggle-shaft {
    transform: rotate(20deg)
}

.tf-toggler:checked ~ .tf-container .tf-toggle-tip {
    transform: rotate(20deg)
}
