.box {
    display: block;
    overflow: hidden;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
}
a.box,
.box a {
    border-bottom: none;
}
.box.empty {
    pointer-events: none;
}
.box.feature-block {
    display: inline-block;
    margin: 0 10px;
}

#clip-paths {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}
[data-shape="triangle"] {
    clip-path: url(#clip-path-triangle);
}
[data-shape="circle"] {
    clip-path: url(#clip-path-circle);
}
[data-shape="hexagon"] {
    clip-path: url(#clip-path-hexagon);
}
.home-block [data-shape="hexagon"] {
    clip-path: url(#clip-path-hexagon-home);
}
[data-shape="rounded"] {
    clip-path: url(#clip-path-rounded);
}
[data-shape="rounded-more"] {
    clip-path: url(#clip-path-rounded-more);
}
[data-shape="rounded-less"] {
    clip-path: url(#clip-path-rounded-less);
}
[data-shape="spiky"] {
    clip-path: url(#clip-path-spiky);
}
[data-shape="diamond"] {
    clip-path: url(#clip-path-diamond);
}
.home-block [data-shape="diamond"] {
    clip-path: url(#clip-path-diamond-home);
}

.box-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: -1;
    pointer-events: none;
}


.huge {
	font-size: 160px;
	line-height: 160px;
    letter-spacing: -3px;
}

.bold,
[data-text-weight="bold"] {
    /* this is done the wrong way ! */
	font-family: standard-bold, Helvetica, Arial, sans-serif;
    /* font-weight: 900; */
}

.home-block[data-text-align="center"] {
    text-align: center;
}
.home-block:first-child,
.home-block:nth-child(2) {
    margin-top: 0px;
}
.feature-block {    
    width: 300px;
    text-decoration: none;
}

a.feature-block {
    border-bottom: none;
}

/* .home-block canvas {
    width: 100%;
    height: 100%;
} */
.box-shape {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.box-content {
    --translate-x: -50%;
    --translate-y: -50%;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    /* transform: translate(var(--translate-x), var(--translate-y)); */
    -webkit-transform: translate(var(--translate-x), var(--translate-y));
       -moz-transform: translate(var(--translate-x), var(--translate-y));
        -ms-transform: translate(var(--translate-x), var(--translate-y));
         -o-transform: translate(var(--translate-x), var(--translate-y));
    transform: translate(var(--translate-x), var(--translate-y));
    /* box-sizing: content-box; */
    padding: 100px;
}

.box[data-text-size] .box-content {
    padding: 10px;
    /* padding: 100px; */
}

.center,
[data-text-align="center"] {
    text-align: center;
}

[data-text-vertical-align="top"] .box-content {
    top: 0;
    --translate-y: 0;
}
.box .half {
    width: 50%;
    height: 50%;
}
.collapsed .box-content {
    transform: none;
    padding: 0;
    top: 0px;
    left: 0px;
}
#weather-block {
    max-width: 80%;
    overflow: visible;
    white-space:nowrap;
    display: inline-block;
    text-align: left;
    text-overflow: ellipsis;
}

#weather-block .coordinate {
    font-size: 0.5em;
    line-height: 1em;
}
#weather-block .temp-now,
#weather-block .temp-historical {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
#weather-block .temp-now {
    animation: blur-out 10s infinite ease-in-out alternate;
    z-index: 10;
}
#weather-block .temp-historical {
    animation: blur-out 10s infinite ease-in-out alternate-reverse;
    z-index: 5;
}
#weather-block .temp-now:before,
#weather-block .temp-historical:before {
    position: absolute;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 15px;
    left: 100%;
    bottom:0;
    transform: translate(-10px, -100%);
}


#logo.box {
    position: sticky;
    top: 30px;
}
#info.box {
    position: sticky;
    top: 200px;
    overflow: visible;
}
#weather-block .temp-now:before {
    content: 'now';
}
#weather-block .temp-historical:before {
    content: '100 yrs ago';
}
.bg-cfp {
    --image: #6000FF 0%, #6000FF 10%, #7F0000 45%, #C04000 70%, #FF9200 100%;
    background-position: center;
    background-size: 100%;
    background-image: linear-gradient(var(--image));
}
[data-shape="circle"] .bg-cfp {
    --image: #6000FF 0%, #6000FF 10%, #7F0000 50%, #C04000 73%, #FF9200 100%;
}
body[data-cfp-color="1"] .bg-cfp {
    --image: #FF9200 0%, #C04000 35%, #7F0000 60%,  #6000FF 100%;
    background-image: radial-gradient(var(--image));
}
body[data-cfp-color="1"] [data-shape="circle"] .bg-cfp {
    --image: #FF9200 0%, #C04000 26%, #7F0000 55%,  #6000FF 75%;
}

body[data-cfp-animation="1"] .cfp-box {
    animation: cfp-linear-1 2s linear forwards;
}
body[data-cfp-animation="2"] .cfp-box .box-content {
    opacity: 0;
    position: relative;
    animation: fade-in 1500ms 1000ms forwards;
}
.cfp-animation-mask {
    display: none;
}
body[data-cfp-animation="2"] .cfp-animation-mask  {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
body[data-cfp-animation="2"] .cfp-animation-mask .mask-circle{
    fill: transparent;
    stroke-dasharray: 315;
    stroke-width: 100px;
    transform-origin: center;
    stroke-dashoffset: 0;
    stroke: #666060;
    -webkit-animation: cfp-radial-1 1000ms forwards;
    animation: cfp-radial-1 1000ms forwards;
}
body[data-cfp-animation="3"] .bg-cfp{
    animation: cfp-animation-3 15000ms infinite;
}
body[data-cfp-animation="3"] .bg-cfp:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: -100%;
    left: 0px;
}
body[data-cfp-animation="3"] .bg-cfp:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: -200%;
    left: 0px;
}
body[data-cfp-animation="3"][data-cfp-color="0"] .bg-cfp:before{
    background-image: linear-gradient(to top, var(--image));
}
body[data-cfp-animation="3"][data-cfp-color="0"] .bg-cfp:after{
    background-image: linear-gradient(var(--image));
}
body[data-cfp-animation="3"][data-cfp-color="1"] .bg-cfp:before{
    /* background-image: linear-gradient(to top, var(--image)); */
    /* --image: #FF9200 0%, #C04000 20%, #7F0000 48%, #6000FF 50%, transparent 100%; */
    background-image: radial-gradient(var(--image));
}
body[data-cfp-animation="3"][data-cfp-color="1"] .bg-cfp:after{
    /* background-image: linear-gradient(var(--image)); */
    background-image: radial-gradient(var(--image));
}
.cfp-ring-wrapper {
    display: none;
}
body[data-cfp-animation="4"] .cfp-box {
    position: relative;
}
body[data-cfp-animation="4"] .cfp-ring-wrapper {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border-radius: inherit;
}
body[data-cfp-animation="4"] .cfp-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    /* animation: cfp-ring-grow 4000ms linear infinite; */
}
body[data-cfp-animation="4"][data-cfp-color="1"] .cfp-ring-1 {
    background: #FF9200;
    animation-delay: 0ms;
}
body[data-cfp-animation="4"][data-cfp-color="1"] .cfp-ring-2 {
    background: #C04000;
    animation-delay: -1000ms;
}
body[data-cfp-animation="4"][data-cfp-color="1"] .cfp-ring-3 {
    background: #7F0000;
    animation-delay: -2000ms;
}
body[data-cfp-animation="4"][data-cfp-color="1"] .cfp-ring-4 {
    background: #6000FF;
    animation-delay: -3000ms;
}
@media screen and (max-width: 823px) {
    .box.home-block,
    .box.feature-block {
        display: block;
        margin: 20px auto;
    }
}
@media screen and (max-width: 500px) {
    .home-block,
    .box.home-block {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
    }
    .box {
        width: auto;
    }
    .home-block.box,
    .feature-block.box {
        margin-left: auto;
        margin-right: auto;
    }
    .dot.home-block {
        height: auto;
    }

    #supports.home-block {
        height: 140px;
    }

    .padded .box-content,
    .box-content {
        padding: 50px;
    }
    .collapsed {
        height: 200px;
        padding-right: 100px;
    }

    .center.padded .box-content,
    [data-text-align="center"].padded .box-content {
        width: 60%;
    }
    .home-block [data-shape="hexagon"] {
        clip-path: url(#clip-path-hexagon);
    }
}

@keyframes cfp-linear-1 {
    0%{
        filter: blur(18px);
    }
    100% {
        filter: blur(0px);
    }
}

@-webkit-keyframes cfp-radial-1 {
    0% {
        stroke-dashoffset: 0;
    }
    
    100% {
        
        stroke-dashoffset: -315;
    }
}

@keyframes cfp-radial-1 {
    0% {
        stroke-dashoffset: 0;
    }
    
    100% {
        
        stroke-dashoffset: -315;
    }

}

@keyframes cfp-animation-3 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(0, 200%);
    }

}

@keyframes cfp-ring-grow {
    0% {
        transform: scale(0);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}