:root {
    --green: #00D40A;
    --black: #151419;
    --dark-gray: #7e828c;
    --gray: #e6f0ff;
    --light-gray: #f7faff;
    font-size: 16px; /* This valoue should define 1em preciecly */
}

* {
    border: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    font-weight: 400;
}

img {
    max-width: 100%;
    max-height: 100%;
}

/* Typography */

h1,
h2,
h3,
label {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 2.75rem; /* 44px */
    line-height: 3.25rem; /* 52px */
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.125rem; /* 34px */
    line-height: 2.625rem; /* 42px */
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

h3,
.super-paragraph {
    font-size: 1.375rem; /* 20px */
    line-height: 1.875rem; /* 28px */
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

p,
a,
.btn,
button,
input,
label {
    font-size: 1.125rem; /* 18px */
    line-height: 1.625rem; /* 26px */
    margin-top: 0.125rem;
    margin-bottom: 0.625rem;
}

.highlight {
    color: var(--green);
}

/* Utility */

.btn,
button {
    position: relative;
    background-color: var(--green);
    padding: 0.625rem 2rem; /* 10px 32px */
    border-radius: 2rem; /* 32px */
    color: white;
    text-decoration: none;
    border: 0px solid;
    text-align: center;
    cursor: pointer;
    transition: ease-out 0.5s;
}

.btn:hover,
button:hover {
    transform: scale(1.05);
}

.btn.contrast,
button.contrast {
    background-color: white;
    color: var(--green);
}

/* Forms */

form {
    width: 100%;
    display: grid;
    gap: 1rem;
}

input {
    padding: 0.375rem 0.625rem; /* 6px 10px */
    margin: 0;
    border: 1px solid var(--dark-gray);
    border-radius: 0.375rem; /* 6px */
    color: var(--dark-gray);
}

label.required::after {
    content: '*';
    color: red;
}

/* Modal */

#modal-wrapper {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 4rem;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1100;
}

#modal-pseudo-element {
    position: absolute;
    z-index: 1150;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#close-button {
    position: absolute;
    top: 1rem; /* 16px */
    right: 1rem; /* 16px */
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
}

#modal-wrapper.open {
    display: flex;
}

#modal-container {
    position: relative;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 60em; /* 960px */
    padding: 2rem; /* 32px */
    padding-bottom: 3.5rem; /* 56px */
    border-radius: 2rem; /* 32px */
    background-color: white;
    z-index: 1200;
}

/* Hide scrollbar for Chrome, Safari and Opera */
#modal-container::-webkit-scrollbar {
    display: none;
}

/* Header */

header {
    height: 5rem; /* 80px */
    width: 100%;
    top: 0;
    display: flex;
    position: fixed;
    justify-content: space-between;
    padding: 0 2rem; /* 0px 32px*/
    align-items: center;
    background-color: white;
    box-shadow: 0px 2px 16px rgba(0, 212, 10, 0.26);
    z-index: 500;
}

.logo {
    position: relative;
    top: 0.3rem;
    height: 3rem; /* 48px */
}

#header-menu {
    display: flex;
    gap: 2.5rem; /* 40px */
    align-items: center;
}

nav > ul {
    display: flex;
    gap: 1.25rem; /* 20px */
    list-style: none;
}

nav > ul > li > a {
    text-decoration: none;
    color: var(--black);
}

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 0.375rem; /* 6px */
}

.bar {
    width: 2rem; /* 32px */
    height: 0.125rem; /* 2px */
    background-color: var(--black);
}

/* Wrappers, containers, layouts, boxes */

.page-content {
    margin-top: 5rem;
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 64em; /* 1024px */
    gap: 4rem; /* 64px */
    margin: 6rem 0; /* 96px 0px */
    z-index: 50;
}

.container.s {
    width: 48em; /* 768px */
}
.container.l {
    width: 80em; /* 1280px */
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* 16px */
}

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

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

/* Layouts */

.layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /*24px*/
}

.layout.twoColumns {
    grid-template-columns: 1fr 1fr;
}

.layout.threeColumns {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Element */

.element {
    position: relative;
    display: flex;
    gap: 0.5rem; /* 8px */
}

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

.element.noGap {
    gap: 0rem;
}

.element.fullWidth {
    width: 100%;
}

.element.centered {
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Card */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem; /* 32px */
    border-radius: 1rem; /* 16px */
}

.card.pseudo {
    padding: 0;
}

.card.gradient {
    border: 0.125rem solid var(--gray); /* 2px */
    background-image: linear-gradient(0deg, var(--gray), var(--light-gray));
}

.card.outlined {
    border: 0.125rem solid var(--green); /* 2px */
    padding-right: 3.5rem; /* 28px */
}

.card.centered {
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.card.banner {
    width: 100%;
    background: var(--green);
    color: white;
}

.badge {
    position: absolute;
    top: 0;
    right: 1.5rem; /* 32px */
    width: 2.5rem; /* 40px */
    height: 3.5rem; /* 56px */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--green);
    color: white;
    border-radius: 0 0 0.5rem 0.5rem; /* 0 0 8px 8px */
}

/* Footer */

footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2.5rem; /* 40px */
    justify-content: center;
    align-items: center;
    background-color: var(--gray);
    padding: 4rem 0; /* 64px 0px */
    color: var(--dark-gray);
}

.contact-card {
    position: relative;
    text-align: center;
    border-radius: 1rem; /* 16px */
    border: 0.125rem solid var(--dark-gray); /* 2px */
    padding: 1.25rem; /* 2px */
}

.contact-card-heading-wrapper {
    text-align: center;
    position: absolute;
    top: -1rem; /* -16px */
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
}

.contact-card-heading-wrapper > h3 {
    background-color: var(--gray);
    padding: 0 0.5rem; /* 0 8px */
}
.contact-card > p > a {
    text-decoration: none;
    color: var(--green);
    cursor: pointer;
}

/* Decorative */

.icon-small {
    width: 2rem; /* 32px */
    height: 2rem; /* 32px */
}

#usp {
    background-color: var(--green);
    color: white;
}

.contrast-block {
    position: absolute;
    right: -2rem;
    left: -2rem;
    display: flex;
}

.contrast-block.top {
    bottom: -1px;
}

.contrast-block.bottom {
    top: -1px;
}

.contrast-block > img {
    width: 102vw;
}

.strike-box {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strike-box > .element {
    padding: 0.5rem;
    background-color: white;
}

.strike-box > .element > h3 {
    margin: 0;
}

.blueLine {
    position: absolute;
    align-items: center;
    height: 0.25rem;
    background: var(--green);
    top: auto;
    bottom: auto;
    right: 0;
    left: 0;
    z-index: 0;
}

/* Slider */

.mockup {
    position: relative;
    z-index: 200;
}

.slider-wrapper {
    position: absolute;
    top: 15rem;
    right: 2rem;
    left: 2rem;
    z-index: 100;
}

.slider {
    position: relative;
    top: 0;
    height: 32rem;
    width: 48rem;
    margin: auto;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: auto;
    transition: transform 1s ease-out;
}

.prev,
.next {
    position: absolute;
    width: 2rem;
    height: 2rem;
    padding: 0.5rem;
    font-size: 1rem;
    line-height: 1rem;
    top: 42.5%;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    z-index: 125;
}

.prev {
    left: 16rem;
}

.next {
    right: 16rem;
}

.background-gradient {
    position: absolute;
    width: 100%;
    height: 30rem; /* 480px */
    top: 19rem; /* 176px */
    background-image: linear-gradient(0deg, white, var(--gray) 3%, white);
    z-index: 0;
}

@media only screen and (max-width: 1280px) {
    /* Typography */

    h1 {
        font-size: 2.25rem; /* 36px */
        line-height: 2.75rem; /* 44px */
    }

    h2 {
        font-size: 1.75rem; /* 28px */
        line-height: 2.25rem; /* 36px */
    }

    h3,
    .super-paragraph {
        font-size: 1.125rem; /* 20px */
        line-height: 1.625rem; /* 24px */
    }

    p,
    a,
    .btn,
    button,
    input {
        font-size: 1rem; /* 16px */
        line-height: 1.5rem; /* 24px */
    }

    header {
        height: 4.5rem;
    }
    .container {
        width: 56em; /* 896px */
        gap: 3rem; /* 48px */
        margin: 4rem 0; /* 64px 0px */
    }

    .container.s {
        width: 45em; /* 720px */
    }
    .container.l {
        width: 59em; /* 944px */
    }

    .card {
        padding: 1.5rem; /* 24px*/
    }

    /* Decorative */
    .background-gradient {
        top: 12em;
    }

    /* Slider */

    .product-illustration-box > button {
        top: 42.5%;
    }

    .slider-wrapper {
        top: 12rem;
    }
    .slider {
        width: 43rem;
        height: 29rem;
    }

    .prev {
        left: 8rem;
    }

    .next {
        right: 8rem;
    }
}

@media only screen and (max-width: 960px) {
    /* Typography */

    h1 {
        font-size: 2rem; /* 32px */
        line-height: 2.25rem; /* 36px */
    }
    h2 {
        font-size: 1.5rem; /* 24px */
        line-height: 1.75rem; /* 26px */
    }
    h3,
    .super-paragraph {
        font-size: 0.875rem; /* 14px */
        line-height: 1.375rem; /* 22px */
    }

    p,
    a,
    .btn,
    button,
    input,
    label {
        font-size: 0.75rem; /* 12px */
        line-height: 1.25rem; /* 16px */
    }

    /* Mobile Menu */

    #header-menu {
        display: none;
    }

    #header-menu.active {
        position: absolute;
        top: 4rem;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        background-color: white;
        padding: 2rem;
        z-index: 1000;
        box-shadow: 0 1rem 1rem var(--gray);
    }

    #header-menu-items-wrapper {
        display: flex;
        flex-direction: column;
    }

    .menu-icon {
        display: flex;
    }

    .container,
    .container.l {
        width: 33em; /* 528px */
        margin: 2rem 0; /* 32px 0*/
    }

    .container.s {
        width: 28em;
    }

    .layout {
        gap: 1rem;
    }

    .card {
        padding: 1.5rem; /* 24px*/
    }

    #hero > .container > .layout.twoColumns,
    #salesForm {
        grid-template-columns: 1fr;
    }
    #hero > .container > .layout > .wrapper.wrapper.vertical {
        text-align: center;
        align-items: center;
    }

    .layout.threeColumns {
        grid-template-columns: 1fr 1fr;
    }

    #integrations > .container > .layout.layout.threeColumns {
        grid-template-columns: 1fr;
    }

    #modal-container {
        padding: 1.25rem;
        height: 100%;
        width: 30em;
    }

    .logo {
        height: 2.5rem; /* 40px */
    }

    .icon-small {
        width: 1.5rem; /* 24px */
        height: 1.5rem; /* 24px */
    }

    .background-gradient {
        height: 16rem; /* 256px */
        top: 11rem; /* 144px */
    }

    form {
        gap: 0.75rem;
    }

    .footer {
        gap: 2rem; /* 32px */
    }

    /* Slider */

    .slider-wrapper {
        top: 9rem;
    }
    .slider {
        width: 25rem;
        height: 18rem;
    }

    .product-illustration-box > button {
        top: 42.5%;
    }

    .prev {
        left: 5%;
    }

    .next {
        right: 5%;
    }
}

@media only screen and (max-width: 560px) {
    /* Header */

    .logo {
        height: 2.25rem; /* 36px */
    }

    header {
        padding: 0 1rem; /* 0 16px */
    }

    .container,
    .container.l {
        width: 20em; /* 336px */
    }

    .container.s {
        width: 17em;
    }

    #modal-wrapper {
        padding: 1rem;
    }
    #modal-container {
        padding: 1rem;
        width: 20em;
    }

    #close-button {
        height: 0.75rem;
        width: 0.75rem;
    }

    .layout.twoColumns,
    .layout.threeColumns {
        grid-template-columns: 1fr;
    }

    #benefits > .container > .layout > .element {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .background-gradient {
        height: 10rem; /* 160px */
        top: 10rem; /* 112px */
    }

    .badge {
        right: 1rem;
        width: 1.75rem;
        height: 2.25rem;
    }

    /* Slider */

    .slider-wrapper {
        top: 9rem;
    }
    .slider {
        height: 10.5rem;
        width: 15.5rem;
    }
    .prev,
    .next {
        height: 1.25rem;
        width: 1.25rem;
        font-size: 0.75rem;
        line-height: 0.75rem;
        padding: 0.25rem;
    }

    .prev {
        left: 2.5%;
    }

    .next {
        right: 2.5%;
    }

    .product-illustration-box > button {
        top: 37.5%;
    }

    .contrast-block > img {
        width: 110%;
    }
}
