@import url("https://fonts.googleapis.com/css2?family=Lato:wght@100;700&display=swap");
.post-meta {
display: none;
}
h1 {
font-size: 32px;
margin-top: 1em;
font-weight: bold;
text-align: center;
}
@media only screen and (min-width: 768px) {
h1 {
font-size: 52px;
margin-top: 0;
}
}
.timelapse-calculator-wrapper {
padding: 2em 0;
background: url(//gohustl.co/images/timelapse-calculator-background.svg);
background-size: contain;
background-position: center center;
background-repeat: no-repeat;
}
@media only screen and (min-width: 768px) {
.timelapse-calculator-wrapper {
background-size: cover;
padding: 1em 3em;
}
}
.timelapse-calculator {
background: rgb(0, 0, 0, 0.1);
backdrop-filter: blur(100px);
border: 1px solid rgba(0, 0, 0, 0.2);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
border-radius: 6px;
padding: 2em 2em;
min-height: 15em; font-family: "Lato", sans-serif;
}
@supports not (backdrop-filter: none) {
.timelapse-calculator {
background: rgb(0, 0, 0, 0.95);
}
}
.timelapse-calculator-number-element .number-input,
.timelapse-calculator-number-element .number-input input {
font-weight: 100;
font-size: 42px;
}
.timelapse-calculator-number-element .number-input input {
background: transparent;
border: 0;
display: inline;
width: 2em;
color: rgb(240, 240, 240);
text-align: right;
}
@media only screen and (min-width: 768px) {
.timelapse-calculator-number-element .number-input input {
width: 1em;
}
}
.figure-title {
font-weight: 700;
font-size: 10px;
text-transform: uppercase;
}
.time-duration-element {
display: inline-block;
width: 100%;
}.fps-range-slider-wrapper {
}
.range {
position: relative;
}
.range input[type="range"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding: 0;
width: 100%;
height: 22px;
cursor: pointer;
display: block;
}
.range input[type="range"]:focus {
outline: none;
}
.range input[type="range"][disabled] {
opacity: 0.3;
cursor: default;
}
.range .rangeslider {
position: relative;
height: 22px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.range .rangeslider:before {
box-sizing: border-box;
width: 100%;
height: 4px;
background: #e6e6e6;
border-radius: 100px;
content: "";
position: absolute;
top: 50%;
left: 0;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.range input::-webkit-slider-runnable-track {
box-sizing: border-box;
width: 100%;
height: 4px;
background: #e6e6e6;
border-radius: 100px;
margin: 11px 0;
}
.range input::-moz-range-track {
box-sizing: border-box;
width: 100%;
height: 4px;
background: #e6e6e6;
border-radius: 100px;
margin: 11px 0;
}
.range input::-ms-track {
box-sizing: border-box;
width: 100%;
height: 4px;
background: #e6e6e6;
border-radius: 100px;
color: transparent;
padding: 11px 0;
background: transparent;
border-color: transparent;
}
.range input::-ms-fill-lower,
.range input::-ms-fill-upper {
box-sizing: border-box;
width: 100%;
height: 4px;
background: #e6e6e6;
border-radius: 100px;
}
.range input::-ms-fill-lower {
background: #60cd18;
}
.range .rangeslider-fill-lower {
background-color: #fbac34;
border-radius: 100px;
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
height: 4px;
will-change: width;
}
.range input::-webkit-slider-thumb {
box-sizing: border-box;
box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
border: 6px solid #fff;
height: 24px;
width: 24px;
border-radius: 100px;
background: #333940;
cursor: pointer;
-webkit-appearance: none;
appearance: none;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
margin-top: 2px;
}
.range input::-moz-range-thumb {
box-sizing: border-box;
box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
border: 6px solid #fff;
height: 24px;
width: 24px;
border-radius: 100px;
background: #333940;
cursor: pointer;
}
.range input::-ms-thumb {
box-sizing: border-box;
box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
border: 6px solid #fff;
height: 24px;
width: 24px;
border-radius: 100px;
background: #333940;
cursor: pointer;
}
.range .rangeslider-thumb {
box-sizing: border-box;
box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
border: 6px solid #fff;
height: 24px;
width: 24px;
border-radius: 100px;
background: #333940;
cursor: pointer;
position: absolute;
touch-action: pan-x;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
will-change: left;
}
.range .range-output {
position: absolute;
left: 6px;
top: 6px;
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transition: -webkit-transform 0.4s
cubic-bezier(0.175, 0.885, 0.32, 1.275);
transition: -webkit-transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
-webkit-transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
transition: all ease-in-out 0.1s;
opacity: 0;
}
.range .range-output .output {
display: block;
position: absolute;
height: 60px;
line-height: 60px;
min-width: 32px;
padding: 0 20px;
top: -26px;
-webkit-transform: translate(-50%, -100%);
transform: translate(-50%, -100%);
background: #383c42;
color: #fff;
border-radius: 100px;
white-space: nowrap;
font-weight: bold;
font-size: 1.2em;
text-align: center;
}
.range .range-output .output:before {
content: "";
position: absolute;
bottom: -8px;
left: 50%;
border: 10px solid #383c42;
border-bottom: none;
border-left-color: transparent;
border-right-color: transparent;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.fps-range-slider-wrapper form { width: 100%;
}