@charset "UTF-8";

/* CSS Reset */

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.0;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

#root, #__next {
    isolation: isolate;
}










:root {
    --grey-green: #a0a792;
    --grey-green-bright: #d6dfc2;
}

html {
    width: 100vw;
    /* overflow-x: hidden; */
}

body {
    background-color: #222;
}

.page-wrapper {
    max-width: 1400px;
    margin: 0px auto;
}



/* Scroll blur */

.glassDiv {
    position: fixed;
    height: 100px;
    bottom: 0px;
    width: 100vw;
    z-index: 10;
    pointer-events: none;
}

.glassDiv:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(2px);
    isolation: isolate;
    mask: linear-gradient(to top, black 0%, transparent 100%);
    backdrop-filter: blur(3px) saturate(1.4) brightness(1.1);
}

.glassDivBlur {
    position: absolute; 
    inset: 0px;
    pointer-events: none;
}










/* HEADER */

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #1e1e1e;
    padding: 10px 40px 20px;
    align-items: center;
}

header .logo {
    width: 150px;
    z-index: 1001;
}

header nav.desktop {
    padding-top: 20px;
}

header nav.desktop a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

header nav.desktop a:hover {
    color: #a0a792;
    text-decoration: underline;
}

header nav.desktop a:not(:last-child) {
    margin-right: 40px;
}

header .unit-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ee8354;
    padding-top: 20px;
}

header .unit-toggle label {
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.unit-toggle label .mb {
    display: none;
}

header .toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

header .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

header .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: .4s;
    border-radius: 30px;
}

header .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

header input:checked + .slider {
    background-color: #ee8354;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

@media (max-width: 1099px) {
    
    header nav.desktop {
        display: none;
    }
    
    header .logo {
        margin-left: 50px;
    }
    
}

@media (max-width: 579px) {
    
    header {
        padding: 10px 20px 20px;
    }
    
    
    .unit-toggle label .dt {
        display: none;
    }
    
    .unit-toggle label .mb {
        display: block;
    }
    
}

@media (max-width: 400px) {
    
    header {
        padding: 10px 10px 20px;
    }
    
    header .logo {
        width: 120px;
        padding-top: 2px;
        margin-left: 40px;
    }
    
}











/* Hamburger Menu Button */

.menu-toggle {
    position: absolute;
    top: 27px;
    left: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Hamburger Icon */

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

/* Hamburger to X transformation */

.menu-toggle.active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.menu-toggle.active {
    transform: rotate(180deg);
}

/* Backdrop */

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */

.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 100px 20px 40px;
}

.mobile-menu.active {
    transform: translateX(320px);
}

/* Menu Items */

.menu-item {
    margin: 10px 0;
}

.menu-item a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: normal;
    display: block;
}

/* Responsive adjustments */

@media (min-width: 1100px) {
    
    .menu-toggle {
        display: none;
    }
    
}

@media (max-width: 400px) {
    
    .menu-toggle {
        left: 10px;
    }
    
}

@media (max-width: 380px) {
    .mobile-menu {
        width: 100%;
        left: -100%;
    }

    .mobile-menu.active {
        transform: translateX(100%);
    }
}










/* Hero */

#Hero {
    height: 900px;
    background-color: #222222;
    background-image: url("ev-hero-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #ffffff;
    padding: 65px 0 0 100px;
    font-size: 24px;
    position: relative;
}

#Hero h1 {
    font-size: 62px;
    margin-bottom: 30px;
    max-width: 760px;
    letter-spacing: -1px;
}

#Hero .hero-descriptor {
    max-width: 490px;
    line-height: 30px;
    margin-bottom: 110px;
}

#Hero .hero-button a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 15px 20px 15px 60px;
    border: 2px solid var(--grey-green);
    border-radius: 50px;
    background-image: url("ev-icon-leaf-grey.png");
    background-repeat: no-repeat;
    background-position: 20px 50%;
    background-size: auto 22px;
    animation: pulse 2.0s infinite;
    transition: all 0.5s;
}

#Hero .hero-button a:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.75);
    background-color: rgba(0, 0, 0, 0.5);
}

#Hero .hero-continue {
    font-size: 16px;
    position: absolute;
    z-index: 12;
    left: 50%;
    transform: translateX(-50%);
    top: min(calc(100dvh - 110px), 870px);
    text-shadow: 0 0 #000;
    opacity: 0.6;
}

@keyframes pulse {
    
    0% {
        transform: scale(0.95);
    }
    
    50% {
        transform: scale(1.05);
    }
    
    100% {
        transform: scale(0.95);
    }
    
}

/* Hero Media Queries */

@media (max-width: 850px) {
    
    #Hero {
        padding: 65px 50px 0 50px;
    }
    
}

@media (max-width: 768px) {
    
    #Hero {
        height: calc(100dvh - 80px);
        padding: 50px 50px 0 50px;
        font-size: 20px;
    }
    
    #Hero .hero-descriptor {
        margin-bottom: 25px;
    }
    
    #Hero .hero-button a {
        background-color: #000;
    }
 
}

@media (max-width: 600px) {
    
    #Hero {
        padding: 25px 25px 0 25px;
        background-size: auto calc(100dvh - 200px - 80px);
        background-position: center bottom;
    }
    
    #Hero:before {
        content: "";
        width: 100%;
        height: 200px;
        left: 0;
        top: 0;
        background-color: #393a2e;
        position: absolute;
    }
    
    #Hero:after {
        content: "";
        width: 100%;
        height: 100px;
        left: 0;
        top: 200px;
        background: -webkit-linear-gradient(bottom, rgba(57, 58, 46, 0) 0%, rgba(57, 58, 46, 1) 100%);
        background: -o-linear-gradient(bottom, rgba(57, 58, 46, 0) 0%, rgba(57, 58, 46, 1) 100%);
        background: linear-gradient(to top, rgba(57, 58, 46, 0) 0%, rgba(57, 58, 46, 1) 100%);
        position: absolute;
    }
    
    #Hero h1 {
        font-size: 44px;
        margin-bottom: 20px;
    }
    
    #Hero h1,
    #Hero .hero-descriptor,
    #Hero .hero-button a {
        z-index: 1;
        position: relative;
    }
    
    #Hero .hero-button a {
        background-color: transparent;
    }
    
}










/* About */

#Intro {
    background-color: var(--grey-green);
    color: #ffffff;
    font-size: 24px;
    padding: 100px 120px;
    position: relative;
    overflow: hidden;
}

#Intro:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 75px;
    background: -webkit-linear-gradient(bottom, rgba(114, 119, 103, 0) 0%, rgba(114, 119, 103, 1) 100%);
    background: -o-linear-gradient(bottom, rgba(114, 119, 103, 0) 0%, rgba(114, 119, 103, 1) 100%);
    background: linear-gradient(to top, rgba(114, 119, 103, 0) 0%, rgba(114, 119, 103, 1) 100%);
}

h2 {
    color: #000000;
    font-size: 62px;
    max-width: 960px;
    letter-spacing: -2px;
    margin-bottom: 40px;
}

#Intro .text {
    line-height: 30px;
    padding: 50px 40px;
    position: relative;
    max-width: 780px;
}

#Intro .row {
    display: flex;
    position: relative;
}

#Intro .image {
    position: absolute;
}

/* Positioning */

#Intro .row2 {
    justify-content: flex-end;
}

#Intro .row3 {
    justify-content: center
}

#Intro .row1 .text {
    /* border-right: 10px solid var(--grey-green-bright); */
    padding-left: 0px;
}

#Intro .row2 .text {
    /* border-left: 10px solid var(--grey-green-bright); */
    padding-right: 0px;
}

#Intro .row3 .text {
    /* border-right: 10px solid var(--grey-green-bright); */
}

#Intro .row1 .text:before,
#Intro .row1 .text:after,
#Intro .row2 .text:after,
#Intro .row3 .text:after,
#Intro .row3 .text:before {
    content: "";
    position: absolute;
    background-color: var(--grey-green-bright);
}

#Intro .row1 .text:before {
    width: 900px;
    height: 10px;
    right: 0px;
    top: 0px;
    background-image: url(ev-about-dots.gif);
    background-size: 20px;
    border-radius: 0 10px 0 0;
    mix-blend-mode: lighten;
}

#Intro .row1 .text:after {
    height: 10px;
    right: 0px;
    bottom: 0px;
    width: calc((400px + (1400px - 100vw)));
    min-width: 400px;
    background-image: url(ev-about-dots-left.gif);
    background-size: 20px;
    mix-blend-mode: lighten;
    border-radius: 10px 0 10px 0;
}

#Intro .row2 .text:after {
    height: 10px;
    left: 0px;
    bottom: 0px;
    width: calc(((590px + ((1400px - 100vw) / 2))));
    min-width: 590px;
    background-image: url(ev-about-dots.gif);
    background-size: 20px;
    border-radius: 0px 10px 0px 10px;
    mix-blend-mode: lighten;
}

#Intro .row3 .text:after {
    height: 10px;
    right: 0px;
    bottom: 0px;
    width: 50%;
    background-image: url(ev-about-dots-left.gif);
    background-size: 20px;
    border-radius: 10px 0px 10px 0px;
    mix-blend-mode: lighten;
}

#Intro .row3 .text:before {
    width: 10px;
    height: 120px;
    left: 50%;
    top: calc(100% - 10px);
    background-image: url(ev-about-dots-down.gif);
    background-size: 10px;
    border-radius: 10px 0 0 0;
    mix-blend-mode: lighten;
}

#Intro .row1 .image {
    right: calc(0px - 550px);
    bottom: 0px;
}

#Intro .row2 .image {
    left: calc(0px - 450px);
    top: 0;
}

#Intro .dotsdown {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 10px;
    height: 100%;
    background-image: url(ev-about-dots-down.gif);
    background-size: 10px;
    border-radius: 0 10px 10px 0;
    mix-blend-mode: lighten;
}

#Intro .row2 .dotsdown {
    left: 0;
    border-radius: 10px 0px 0px 10px;
    top: -10px;
    height: calc(100% + 10px);
}

#Intro .row3 .dotsdown {
    top: -10px;
    height: calc(100% + 10px);
}

/* Intro Media Queries */

@media (max-width: 1020px) {
    
    #Intro {
        padding: 100px 50px;
    }
    
    #Intro .row1 .text:after {
        width: calc((250px + (1400px - 100vw)));
    }
    
    #Intro .row2 .text:after {
        width: calc(((510px + ((1400px - 100vw) / 2))));
    }
    
}

@media (max-width: 879px) {
    
    #Intro .row1 .text:after,
    #Intro .row2 .text:after {
        width: 100%;
        min-width: auto;
    }
    
    #Intro .row3 .text {
        padding-left: 0px;
    }
    
}

@media (max-width: 768px) {
    
    #Intro {
        font-size: 20px;
    }
    
    h2 {
        font-size: 48px;
        letter-spacing: -1px;
    }
    
    #Intro .row1 .image {
        bottom: calc(0px - 100px);
        width: 250px;
        right: calc(50% - 125px);
        z-index: 2;
    }
    
    #Intro .row2 .image {
        left: calc(50% - 125px);
        top: calc(100% - 125px);
        z-index: 2;
        width: 258px;
    }
    
    #Intro .row1 .text {
        padding-bottom: 140px;
    }
    
    #Intro .row2 .text {
        padding-top: 140px;
        padding-bottom: 140px;
    }
    
    #Intro .row3 .text {
        padding-top: 140px;
    }
    
}

@media (max-width: 580px) {
    
    #Intro {
        padding: 50px 25px;
        font-size: 18px;
    }
        
    h2 {
        font-size: 36px;
    }
    
    #Intro .text {
        line-height: 25px;
    }
    
    #Intro .row1 .text,
    #Intro .row3 .text {
        padding-right: 25px;
    }
    
    #Intro .row2 .text {
        padding-left: 25px;
        padding-right: 0px;
    }
    
}










/* Calculator */

#Calculator {
    background-color: var(--grey-green-bright);
    padding: 80px 60px;
    /* overflow-x: hidden; */
}

#Calculator .calculator-wrapper {
    display: flex;
    gap: 60px;
}

#Calculator .calculator-wrapper > div {
    width: 50%;
    background-color: #c5cdb2;
    border: 2px solid #a1a892;
    border-radius: 10px;
    position: relative;
}

@media (max-width: 660px) {

    #Calculator .form-section {
        overflow-x: hidden;
    }

}

#Calculator h2 {
    max-width: none;
}

#Calculator .section-title {
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    line-height: 30px;
    padding: 15px 20px;
    background-color: #a1a892;
    margin-bottom: 20px;
    margin-top: 50px;
}

#Calculator .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
    position: relative;
}

#Calculator label {
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 4px;
}

#Calculator small {
    opacity: 50%;
    font-size: 14px;
    margin-top: 5px;
}

#Calculator .form-group select, 
#Calculator .form-group input {
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #a0a792;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #000;
}

#Calculator .form-group select {
    background-image: url(/images/ev-icon-down-arrow.png);
    background-repeat: no-repeat;
    background-size: 20px auto;
    background-position: calc(100% - 10px) 50%;
}

#Calculator .form-group select:focus, 
#Calculator .form-group input:focus,
#Calculator .checkbox-group:hover {
    outline: none;
    border-color: #999999;
    transform: translateY(-2px);
    box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.4);
}

#Calculator .checkbox-group {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin: 0 20px 20px;
    border: 1px solid #a0a792;
}

#Calculator .checkbox-group label {
    margin-bottom: 0px;
}

#Calculator .checkbox-group input[type="checkbox"] {
    width: 25px;
    height: 25px;
    margin-right: 12px;
    accent-color: #000000;
}

#Calculator .checkbox-group + .form-group {
    margin-left: 50px;
}

#Calculator .checkbox-group + .form-group:before {
    content: "";
    position: absolute;
    left: -2px;
    top: -18px;
    width: 20px;
    height: 68px;
    border-left: 1px dashed #000;
    border-bottom: 1px dashed #000;
}

/* button */

.calc-button-wrapper {
    max-width: 606px;
    margin: 0px auto;
}

.calculate-btn {
    margin: 20px 20px 25px;
    font-size: 32px;
    font-weight: bold;
    border-radius: 100px;
    padding: 20px 180px 20px 40px;
    text-align: left;
    line-height: 36px;
    border: 5px solid #7c8766;
    position: relative;
    background: transparent;
    transition: all 0.5s;
    color: #000;
    animation: glow 2s infinite ease-in-out;
    position: relative;
    display: inline-block;
}

/* .calculate-btn span {
    animation: glow 2s infinite ease-in-out;
    position: relative;
    display: inline-block;
} */

@keyframes glow {
    
    0% {
        border: 5px solid #000;
    }
    
    50% {
        border: 5px solid #0ba64e;
    }
    
    100% {
        border: 5px solid #000;
    }
    
}

.calculate-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.calculate-btn:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(326deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.59) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    z-index: 0;
}

.calculate-btn:hover:before {
    opacity: 1;
}

.calculate-btn > * {
    position: relative;
    z-index: 1;
}

.calculate-btn:after {
    content: "";
    position: absolute;
    right: -25px;
    top: calc(50% - 73px);
    width: 190px;
    background-image: url(/images/ev-leaf-green2.png);
    height: 130px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    transition: all 0.5s ease;
}

.calculate-btn:hover:after {
    transform: scale(1.2) rotate(10deg) translateX(10px) translateY(-10px);
}

@media (min-width: 768px) and (max-width: 1180px) {
    
    div#resultArea {
        min-width: 494px !important;
    }
    
}

@media (min-width: 1024px) and (max-width: 1380px), (max-width: 725px) {
    
    .calculate-btn {
        border-radius: 25px;
        padding: 20px 180px 20px 20px;
    }
    
}

@media (min-width: 1024px) and (max-width: 1200px), (max-width: 725px) {
    
    .calculate-btn {
        font-size: 26px;
        line-height: 28px;
        letter-spacing: -0.5px;
    }
    
}

@media (max-width: 725px) {
    
    .calculate-btn {
        padding: 20px 125px 20px 20px;
    }
    
    .calculate-btn:after {
        width: 140px;
        top: calc(50% - 53px);
    }
    
}



.info-box {
    padding: 0px 20px 40px 40px;
    text-indent: -20px;
    font-size: 16px;
    line-height: 20px;
    color: #555;
}

/* Calculator mobile styles */

@media (max-width: 1023px) {
    
    #Calculator .calculator-wrapper {
        flex-direction: column;
    }
    
    #Calculator .calculator-wrapper > div {
        width: 100%;
    }
    
}

@media (max-width: 660px) {
    
    #Calculator {
        padding: 80px 25px;
    }
    
}

@media (max-width: 544px) {
    
    #Calculator {
        padding: 60px 0px;
    }
    
    #Calculator h2 {
        padding: 0px 20px;
    }
    
    #Calculator .calculator-wrapper > div {
        border-radius: 0;
        border: none;
    }
       
}










/* Results */

/* Placeholder */

/* #resultArea {
    overflow-x: hidden;
} */

#placeholder {
    color: #666;
    text-align: center;
}

#placeholder .ready-icon {
    max-width: 490px;
    margin: 55px auto;
}

#placeholder .ready-icon img {
    margin-bottom: 20px;
}

#placeholder h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* Results */

#results {
    padding-top: 55px;
}

/* Simple odometer styling */

.result-card-wrapper {
    background-color: #231f20;
    color: #fff;
    width: 490px;
    margin: 0px auto;
    padding: 6px 5px 1px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.result-card-wrapper:before {
    content: "";
    position: absolute;
    top: -60px;
    right: -105px;
    width: 150px;
    height: 121px;
    background-image: url(ev-leaf-green.png);
    z-index: 11;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0 0;
    opacity: 1;
    transition: all 0.5s;
}

@media (max-width: 705px), (min-width: 1024px) and (max-width: 1340px) {
    
    .result-card-wrapper:before {
        display: none;
    }
    
}

.result-card-wrapper.negative-result:before {
    opacity: 0;
}

.result-number {
    font-size: 90px;
    letter-spacing: -2px;
    line-height: 1;
    height: auto;
    position: relative;
    font-family: "Chivo Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: #fff;
    background-color: #444;
    overflow: hidden;
    width: 442px;
    margin: 20px auto 15px;
    opacity: 1;
    transition: all 0.5s;
}

.negative-result .result-number {
    background-color: red;
    opacity: 0.5;
}

.negative-result .result-label, 
.negative-result .result-desc {
    color: #fff;
    opacity: 0.3;
}

.negative-explanation {
    padding: 0 20px;
    margin-bottom: 20px;
    color: red;
    font-size: 18px;
    line-height: 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease, margin 0.5s ease;
    text-align: left;
}

.negative-explanation.show {
    max-height: 200px;
    opacity: 1;
    padding: 15px 20px;
}

.negative-explanation span {
    display: block;
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: bold;
}

.odometer-container {
    display: inline-block;
    position: relative;
}

.odometer-digit {
    display: inline-block;
    width: 63px;
    height: 1em;
    overflow: hidden;
    position: relative;
    vertical-align: top;
}

.odometer-digit:not(:first-child), .odometer-comma {
    border-left: 2px solid #222;
}

.odometer-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: top 2.0s ease-out;
}

.odometer-number {
    height: 1em;
    line-height: 1;
    text-align: center;
}

.odometer-comma {
    display: inline-block;
    width: 60px;
    text-align: center;
}

.odometer-container:before,
.odometer-container:after {
    content: "";
    left: 0px;
    width: 100%;
    position: absolute;
    z-index: 10;
}

.odometer-container:before {
    top: 0px;
    height: 35px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.odometer-container:after {
    bottom: 0px;
    height: 55px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.result-card.result-beat {
    color: #3dc6ff;
}

.result-card.result-full {
    color: #a5e369;
}

.result-label {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    transition: all 0.5s;
}

.result-desc {
    font-size: 20px;
    margin-bottom: 20px;
    transition: all 0.5s;
}

/* Vehicle display*/

#vehicleDisplay {
    max-width: 570px;
    margin: -75px auto 0px;
    margin: -1px auto 0px;
    text-align: center;
    font-size: 20px;
    position: relative;
    padding: 20px 10px 0px;
}

#vehicleDisplay:after {
    content: "";
    width: 100%;
    height: 25px;
    display: block;
}

.vehicle-image img {
    position: relative;
}

.vehicle-image:before {
    content: "";
    position: absolute;
    top: -1px;
    width: 490px;
    height: 100px;
    background-color: #231f20;
    border-radius: 0 0 10px 10px;
    transform: translateX(-50%);
}

@media (max-width: 489px) {
    
    .vehicle-image:before {
        width: 100%;
        transform: none;
        left: 0;
    }
    
}

#vehicleName {
    font-size: 28px;
    font-weight: bold;
    margin: 5px 0px 15px;
}

#vehicleSpecs {
    display: flex;
    justify-content: center;
}

#vehicleSpecs > span:first-child {
    border-right: 2px solid #000;
    padding-right: 20px;
    margin-right: 15px;
}

.results-spacer {
    height: 40px;
}

/* Chart container */

.chart-container {
    width: 100%;
    max-width: 490px;
    margin: 0px auto 25px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
    position: relative;
}

/* Breakdown */

.breakdown {
    max-width: 490px;
    margin: 0px auto 60px;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.breakdown h3 {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #666;
    transition: all 0.3s ease;
}

.breakdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: 10px;
    padding-right: 10px;
}

.breakdown-item:last-child {
    border-bottom: none;
    font-weight: 600;
    border-top: 2px solid #666;
    margin-top: -1px;
}

.breakdown-item span:first-child {
    padding-right: 20px;
}

.breakdown-item span:last-child {
    white-space: nowrap;
}

.breakdown .understand-results {
    font-size: 14px;
    color: #666;
    line-height: 18px;
    padding-top: 10px;
    border-bottom: 1px dashed #666;
    padding-bottom: 10px;
}

.breakdown .list-item {
    position: relative;
    padding-left: 15px;
    margin-top: 5px;
}

.breakdown .list-item:before {
    content: "•";
    position: absolute;
    left: 0px;
    font-size: 20px;
}

/* Share buttons */

.share-section {
    padding: 0px 60px 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.share-section.is-negative {
    display: none;
}

.share-section button {
    padding: 20px;
    text-align: left;
    border-radius: 50px;
    border: 2px solid #a1a892;
    background-color: var(--grey-green-bright);
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.share-section button:hover {
    transform: translateY(-5px);
    box-shadow: 0px 7px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 544px) {
    
    .share-section {
        position: sticky;
        bottom: 0;
        z-index: 20;
        background-color: #333;
        flex-direction: row;
        gap: 0;
        padding: 0px;
        justify-content: center;
        /* delete below if no good */
        backdrop-filter: blur(8px);
        background-color: rgba(0, 0, 0, 0.3);
        box-shadow: inset 0 0 20px 5px rgba(255, 255, 255, 0.5);
    }
    
    .share-section button {
        text-align: center;
        background: transparent;
        border: 0;
        box-shadow: none;
        color: #fff;
        font-size: 16px;
        font-weight: normal;
        border-radius: 0px
    }
    
    button.share-btn i {
        display: block;
        font-size: 24px;
        margin-bottom: 8px;
        margin-left: 50%;
        transform: translateX(-50%);
    }
    
    .breakdown {
        margin-bottom: 30px;
    }
    
    .share-section button:hover {
        transform: none;
        box-shadow: none;
    }
       
}












/* Pages */

.page-normal {
    background-color: var(--grey-green-bright);
    color: #000000;
    padding: 100px 120px;
    position: relative;
    overflow: hidden;
    font-size: 18px;
    line-height: 24px;
}
.page-normal:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 75px;
    background: -webkit-linear-gradient(bottom, rgba(114, 119, 103, 0) 0%, rgba(114, 119, 103, 1) 100%);
    background: -o-linear-gradient(bottom, rgba(114, 119, 103, 0) 0%, rgba(114, 119, 103, 1) 100%);
    background: linear-gradient(to top, rgba(114, 119, 103, 0) 0%, rgba(114, 119, 103, 1) 100%);
}

.page-normal h1 {
    color: #000000;
    font-size: 62px;
    line-height: 66px;
    max-width: 960px;
    letter-spacing: -2px;
    margin-bottom: 40px;
}

.page-normal h2 {
    font-size: 42px;
    line-height: 46px;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.page-normal h3 {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 18px;
}

.page-normal p,
.page-normal  ul,
.page-normal  ol{
    margin-bottom: 18px;
}

.page-normal li {
    margin-bottom: 8px;
}

.page-normal .larger {
    font-size: 24px;
    line-height: 30px;
}

.page-normal hr {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
    margin: 60px 0px;
}

.page-normal a {
    color: #000;
    transition: background-color 0.3s;
}

.page-normal a:hover {
    background-color: #c5cdb2;
}

/* Mobile styles */

@media (max-width: 1024px) {
    
    .page-normal {
        padding: 100px 60px;
        font-size: 16px;
        line-height: 22px;
    }
    
    .page-normal .larger {
        font-size: 20px;
        line-height: 26px;
    }
    
}

@media (max-width: 767px) {
    
    .page-normal {
        padding: 50px 25px;
        font-size: 14px;
        line-height: 20px;
    }
    
    .page-normal h1 {
        font-size: 48px;
        line-height: 52px;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }
    
    .page-normal h2 {
        font-size: 36px;
        line-height: 40px;
        margin-bottom: 20px;
    }
    
    .page-normal h3 {
        font-size: 22px;
        line-height: 26px;
    }
    
}









/* Footer */

footer {
    padding: 30px 60px;
    display: flex;
    position: relative;
    z-index: 12;
    background-color: #000;
    align-items: stretch;
    justify-content: space-between;
}

.footer-links, .footer-other, .footer-version {
    padding-left: 20px;
    border-left: 1px dashed #666;
    padding-right: 20px;
}

footer a, footer p {
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.footer-version p {
    color: #a1a892;
}

footer .footer-logo img {
    max-width: 150px;
}

footer button {
    background: none;
    border: none;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

footer #contactInfo {
    color: var(--grey-green-bright);
}

footer #contactInfo a {
    color: var(--grey-green-bright);
}

footer #contactInfo p {
    margin-bottom: 5px;
}

@media (max-width: 970px) {
    
    footer {
        flex-direction: column;
    }
    
    footer .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-links, .footer-other {
        padding-left: 20px;
        padding-right: 40px;
        margin-top: 0px;
        margin-left: 0px;
    }
    
    footer button {
        margin-bottom: 10px;
    }
    
}

@media (max-width: 660px) {
    
    footer {
        padding: 30px 25px;
    }
    
}







