@import url("https://fonts.googleapis.com/css?family=Questrial");

body {
    font-family: "Questrial", sans-serif;
}

.frame {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 400px;
    width: 400px;
    margin-top: -200px;
    margin-left: -200px;
    background: linear-gradient(to top right, #00b8d4 0%, #84ffff 100%);
    color: #29434e;
    border-radius: 2px;
    box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

.list {
    position: absolute;
    width: 240px;
    height: 280px;
    top: 60px;
    left: 80px;
    background: #ffffff;
    box-shadow: 4px 8px 12px 0px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
.list .head {
    padding: 20px 0;
    margin: 0 30px;
    border-bottom: 1px solid #d4dce0;
}
.list .title {
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}
.list .subtitle {
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}
.list ul {
    list-style: none;
    padding: 4px 0;
    margin: 0 40px;
}
.list ul li {
    position: relative;
    display: block;
    margin: 24px 0;
    height: 14px;
}
.list ul .text {
    float: left;
    font-size: 14px;
    line-height: 14px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.list ul .button {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    float: right;
    width: 14px;
    height: 14px;
    border: 1px solid #263238;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease-out 0.5s;
}
.list ul .checkmark {
    position: absolute;
    top: 2px;
    right: 0;
    stroke: #cfd8dc;
    fill: none;
    stroke-width: 1.5;
    stroke-dasharray: 30 30;
    stroke-dashoffset: 30;
    transition: all 0.5s ease-out;
}
.list ul input {
    display: none;
}
.list ul input:checked ~ .text {
    color: #cfd8dc;
}
.list ul input:checked ~ .button {
    transition: all 0.4s ease-in;
    transform: scale(1.5);
    opacity: 0;
}
.list ul input:checked ~ .checkmark {
    stroke-dashoffset: 0;
    transition: all 0.5s ease-out 0.4s;
}
