@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    text-decoration: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
a {
    color: #0b65de;
}
li {
    list-style-type: none;
}
body {
    font-family: 'Open Sans', sans-serif;
    width: 100vw;
    height: 100dvh;
    position: relative;
    background-color: #F2F1F6;
}
header {
    padding: 48px 16px 16px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.user-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

main {
    padding: 0 16px 66px 16px;
}
.favorites {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
}
.box {
    padding: 16px;
    width: 100%;
    background-color: #ffffff;
    margin-bottom: 10px;
    border-radius: 10px;
}
.box:last-child {
    display: none;
}
.box .top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.box .top .left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #F87932;
    font-size: 14px;
}
.box .top .left h3 {
    margin-left: 4px;
}
.box .top .right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #AAAAAA;
    font-size: 14px;
}
.box .top .right .arrow {
    width: 16px;
    height: 16px;
}
.box .main {
    width: 100%;
    margin-top: 8px;
}
.box .main .description {
    font-size: 16px;
    color: #AAAAAA;
    font-weight: bold;
}
.box .main .left {
    display: flex;
    font-size: 12px;
}
.box .main .left .column {
    display: flex;
    flex-direction: column;
    margin-right: 8px;
}
.box .main .left .divider {
    width: 2px;
    height: 50px;
    margin-right: 8px;
    background-color: #e0e0e0;
}
.box .main .left .column .title {
    font-weight: bold;
}
.box .value {
    font-weight: bold;
    font-size: 24px;
}
.box .value .measure {
    font-size: 16px;
    color: #AAAAAA;
}
.activity-box .main .left .column:nth-child(1) .title {
    color: #de3a3a;
}
.activity-box .main .left .column:nth-child(3) .title {
    color: #5ec539;
}
.activity-box .main .left .column:nth-child(5) .title {
    color: #3ac0de;
}
.box-heart-rate .top .left h3 {
    color: #de3a3a;
}
.box-sleep .top .left h3 {
    color: #13BAB1;
}

.bottom-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
    height: 60px;
    background-color: rgba(242, 241, 246, 0.47);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e1e1e1;
}
.bottom-nav ul {
    display: flex;
    height: 100%;
}
.bottom-nav ul li {
    flex-grow: 1;
    height: 100%;
    font-size: 13px;
    color: #767676;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.bottom-nav ul li:first-child {
    color: #0E75FB;
}
.bottom-nav .icon {
    width: 24px;
    height: 24px;
}

svg {
    position: relative;
    width: 150px;
    height: 150px;
    transform: rotate(-85deg);
}

svg circle {
    width: 100%;
    height: 100%;
    stroke: #191919;
    stroke-width: 10;
    stroke-linecap: round;
    transform: translate(5px, 5px);
}
svg circle:nth-child(2) {
    stroke-dasharray: 440;
    stroke-dashoffset: calc(440 - (440 * 50) / 100);
    stroke: #de3a3a;
}
svg circle:nth-child(3) {
    stroke-dasharray: 219;
    stroke-dashoffset: calc(219 - (219 * 90) / 100);
    stroke: #7dec52;
}
