
:root 
{
    --default-font-size: 16px;
    --h1-size: 40px;
    --h2-size: 24px;
    --h3-size: 18px;

    --default-font-weight: 400;

    --c-main-dark: #1C1D21;
    --c-dark-front: #26272E;
    --c-light-grey: #e5e5e5;
    --c-dark-grey: #9c9c9c;
    --c-accent: #23BC6A;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-9: 36px;
    --space-10: 40px;

    --f-border-radius: 24px;
}

b {
    color: var(--c-accent);
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    background-image: url("/src/background_dots.svg");
    background-repeat: repeat;
    background-size: 30px;

    -webkit-font-smoothing: antialiased;
    font-family: "Rubik", sans-serif;
    font-size: var( --default-font-size);
    font-weight: var( --default-font-weight);
    line-height: 1.5;
    color: var(--c-dark-grey);
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    color: var(--c-main-dark);
}

h1 {
    line-height: 1.2;
    font-size: var(--h1-size);
    font-weight: 700;
    letter-spacing: -2px;
    margin: 0;
}

h2 {
    font-size: var(--h2-size);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.72px;
    margin: 0;
}

h3 {
    font-size: var(--h3-size);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.72px;
    margin: 0;
}

p {
    margin: 0;
}

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-7 { gap: var(--space-7); }
.gap-8 { gap: var(--space-8); }
.gap-9 { gap: var(--space-9); }
.gap-10 { gap: var(--space-10); }

.icon-small { font-size: var(--space-3) }
.icon-medium { font-size: var(--space-5) }
.icon-large { font-size: var(--space-8) }

.scribble {
    width: 150px;
    position: absolute;
    z-index: -1;
    opacity: 0.1;
}

.space-1 { margin-bottom: var(--space-1); }
.space-2 { margin-bottom: var(--space-2); }
.space-3 { margin-bottom: var(--space-3); }
.space-4 { margin-bottom: var(--space-4); }
.space-5 { margin-bottom: var(--space-5); }
.space-6 { margin-bottom: var(--space-6); }
.space-7 { margin-bottom: var(--space-7); }
.space-8 { margin-bottom: var(--space-8); }
.space-9 { margin-bottom: var(--space-9); }
.space-10 { margin-bottom: var(--space-10); }

.icon-wrapper
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 100px;
    background-color: var(--c-main-dark);
}

.icon-wrapper > .icon
{
    height: 50%;
    width: auto;
}

.justify-center {
    justify-content: center;
}

.flex, .flex-vertical, .flex-between, .justify-center {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.flex-vertical {
    flex-direction: column;
}

.text-center, .flex-between {
    text-align: center;
}

.text-left {
    text-align: left!important;
}

.flex-between {
    justify-content: space-between;
}

.flex-center {
    display: flex;
    align-items: center;
}

.container {
    max-width: 100%;
    align-items: center;
}

.padding, .container {
    padding: var(--space-5);
}

a {
    text-decoration: none!important;
}

.btn, .second-btn, .btn-light {
    line-height: 1.2;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    text-align: center;
    letter-spacing: -0.96px;
    color: white;
    padding: 24px 24px;
    background-color: var(--c-main-dark);
    width: fit-content;
    border-radius: 12px;
}

.btn, .second-btn {
    font-weight: 700!important;
}

.subheadline {
    color: var(--c-accent);
    font-weight: 700;
}

.c-accent { color: var(--c-accent); }

.label {
    font-size: 70%;
    position: absolute;
    top: -12px;
    background-color: var(--c-accent);
    right: 12px;
    color: var(--c-light-grey);
    border-radius: 5px;
    padding: 6px 12px;
    color: white;
}

.btn-light {
    background-color: white;
    color: var(--c-light-grey); 
}

.second-btn {
    background-color: white;
    color: var(--c-main-dark);
}

.hero-section {
    padding-top: 64px;
    padding-bottom: 312px;
    position: relative;
}

.hero-section-picture {
    width: 90vw;
    position: absolute;
    bottom: 0;
}



.hero-transition {
    background-color: var(--c-main-dark);
}

.hero-transition > div {
    background-color: white;
    max-width: 100%;
    border-radius: 32px 32px 0 0;
}

.border {
    border-radius: var(--f-border-radius);
}


.width-25 { width: 25%; }
.width-40 { width: 40%; }
.width-50 { width: 50%; }
.width-60 { width: 60%; }
.width-100 { width: 100%; }
 
.gap-1 { gap: var(--f-space-1); }

.white-space-2 {
    padding-top: 124px;
    padding-bottom: 124px;
}

.white-space-1 {
    padding-top: 48px;
    padding-bottom: 48px;
}

.dark {
    background-color: var(--c-main-dark)!important;
}

.dark-front {
    background-color: var(--c-dark-front)!important;
}

.dark .icon-wrapper {
    background-color: white;
}

.dark h1, .dark h2{
    color: white!important;
}

.grey {
    background-color: var(--c-light-grey);
}

.white {
    background-color: white;
    color: var(--c-main-dark)!important;
}

.white .icon-wrapper{
    background-color: var(--c-main-dark)!important;
}

.white h1, .white h2{
    color: var(--c-main-dark)!important;
}


.card {
    border-radius: var(--f-border-radius);
}

.scroll-container {
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    padding-bottom: var(--f-space-1);
}

.scroll-container > :last-child {
    margin-right:  var(--f-space-2);
}

.scroll-container > div {
    margin-left:  var(--f-space-2);
    white-space: initial;
    flex: 0 0 auto; 
    width: 200px; 
    min-height: 100px; 
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

html.is-changing .transition-fade 
{
    transition: all 0.5s;
    top: 60px;
}

html.is-animating .transition-fade 
{
    top: 812px;
}

main {
    min-height: 100vh;
    box-sizing: border-box;
    background-color: white;
    position: absolute;
    top: 60px;
    width: 100%;
    padding: var(--f-space-2);
    border-radius: 20px 20px 0 0;
}

.icon-list-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: black;
    text-align: center;
}

.bordered, .bordered-accent{
    border: solid 1.5px var(--c-light-grey);
    border-radius: 12px;
}

.bordered-accent {
    border: solid 1px var(--c-accent);
}

.icon-list-wrapper {
    gap: var(--f-space-1);
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-grow: 1;
}

.icon-list-item > img {
    height: 30px;
    margin-bottom: 6px;
}

.styled-text {
    font-family: 'Kalam', cursive;
    line-height: 1.4;
    color: var(--c-main-dark);
    font-weight: 700;
}

@media screen and (min-width: 600px) {

    .mobile-only  {
        display: none;
    }

    .container {
        margin: auto;
        width: 1050px;
    }

    .hero-section-picture {
        width: 500px;
    }

    .hero-section {
        padding-top: 64px;
        padding-bottom: 248px;
        position: relative;
    }

    .hero-section {
        padding-top: 248px;
        padding-bottom: 64px;
    }
}

@media screen and (max-width: 600px) {

    .web-only {
        display: none;
    }

    .reveresed {
        flex-direction: column-reverse!important;
    }

    .responsive.width-50 {
        width: 100%; 
    }
    .responsive.width-60 {
        width: 100%; 
    }

    .responsive.flex {
        flex-direction: column;
    }
}
  