html {
    margin: 0;
    padding: 0;
    width: 100%;
}

header {
    background-color: white;
    padding: 1em;
}

body {
    margin: 0;
}

@font-face {
    font-family: "Jura-Bold";
    src: url(../fonts/Jura-Bold.ttf);
}

@font-face {
    font-family: "Jura-Regular";
    src: url(../fonts/Jura-Regular.ttf);
}

#logo {
    height: 5em;
}

h1,
h2,
h3,
.strong {
    font-family: "Jura-Bold";
}

h4,
h5,
p,
li {
    font-family: "Jura-Regular";
}

h1 {
    font-size: 5em;
    line-height: 0.25em;
}

.no-line-height {
    line-height: unset;
}

h2 {
    font-size: 2.5em;
}

h3 {
    font-size: 1.5em;
}

.flex-row {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.equal-flex-child {
    flex: 1 1 0px;
    width: 0;
}

#screenshot {
    height: 45vh;
    margin: 0 auto;
}

.center-flex-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-flex-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#features-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#features-container img {
    height: 4rem;
}

#testimonial {
    margin: 3em 0;
    background-color: #F6F7F9;
    padding: 1em;
    border-radius: 0.5em;
    margin-right: 2em;
}

#testimonial img {
    height: 7rem;
}

button {
    background: #13AEE9;
    padding: 1.5em;
    color: white;
    border: none;
    margin-top: 2em;
    cursor: pointer;
    transition: .2s ease all;
    border: 1px solid #13AEE9;
}

button:hover {
    background-color: white;
    color: #13AEE9;
}

#download-container img {
    max-height: 10em;
}

#download-pricing-section {
    padding: 2.5em;
    border-radius: 1.5em;
    background: linear-gradient(-15deg, #13AEE9, #F6F7F9, #6bd5ff, #30C6FF);
    background-size: 400% 400%;
    animation: gradient 3s ease infinite;
}

section {
    position: relative;
    margin: 2.5em 5em;
}

.no-x-margin {
    margin-left: 0;
    margin-right: 0;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

video {
    max-height: 35em;
}

.background-bar {
    background-color: #13AEE9;
    background-image: url(../img/poly-background.png);
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 3em);
    transform: translate(-50%, -50%);
    z-index: -1;
    padding: 1.5em;
    background-size: cover;
}

.inverse-text {
    color: white;
    text-align: center;
    font-size: 3em;
}

#hero {
    position: relative;
    align-items: normal;
    padding: 2em 2em 10em 5em;
    overflow-y: hidden;
    margin-top: 0;
}

#hero h1 {
    white-space: nowrap;
}

#hero video {
    position: absolute;
    max-height: unset;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: -1;
}

nav {
    margin: 0em 5em;
}

.three-d-tilt {
    transform: perspective(1000px) rotateY(10deg) rotateX(20deg) rotateZ(-10deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.three-d-tilt:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotateZ(0deg);
}

.section-img {
    height: 30em;
}

.relative {
    position: relative;
}

.a-center {
    text-align: center;
}

.flex-gap {
    gap: 7em;
}

.italic {
    font-style: italic;
}

.pricing-card {
    background-color: white;
    color: black;
    font-size: 2em;
    text-align: center;
    padding: 1.5em;
    border-radius: .75em;
    width: calc(100% - 3em);
    border: 2px solid rgb(223, 223, 223);
    text-align: left;
    font-size: 1em;
    margin-bottom: 1.5em;
    position: relative;
}

.pricing-card p {
    margin: 0;
}

.pricing-term {
    font-size: 1.25em;
}

.price-saving {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    color: white;
    background-color: #13AEE9;
    padding: .75em;
    border-radius: 1.5em;
}

.underline {
    width: 100%;
    border-bottom: 2px solid #13AEE9;
}

.statistic {
    color: #13AEE9;
    font-size: 4em;
    margin-bottom: .5em;
}

.statistic-reference {
    font-size: 0.75em;
}

footer {
    padding: 1em;
    background-color: #eee;
    text-align: center;
}

footer .center-flex-row {
    gap: 1em;
}

a {
    text-decoration: none;
    color: #13AEE9;
}

footer img {
    height: 5em;
}

.white {
    color: white;
}

.hide-desktop {
    display: none;
}

@media screen and (max-width: 1200px) {
    nav {
        margin: 0.5em;
    }

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

    #logo {
        width: 50%;
        height: unset;
    }

    .equal-flex-child {
        width: 100%;
        flex: 1;
        margin-bottom: 1em;
    }

    img.equal-flex-child, video.equal-flex-child {
        max-width: 50%;
    }

    #testimonials {
        flex-direction: row;
        margin: 0 1em;
        justify-content: space-between;
        gap: 1em;
    }

    #testimonial {
        margin: 0;
    }

    #download-pricing-section {
        border-radius: 0;
    }

    .mobile-flex-row {
        flex-direction: row;
    }

    .hide-mobile {
        display: none;
    }

    .carousel {
        margin: 0 auto;
        padding: 20px 0;
        overflow: hidden;
        display: flex;
    }

    .carousel>* {
        flex: 0 0 100%;
    }

    .group {
        display: flex;
        gap: 5em;
        will-change: transform;
        animation: scrolling 30s linear infinite;
        padding-right: 5em;
    }

    .card {
        width: 300px;
        text-align: center;
        box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
        padding: 1.5em;
        font-size: xx-large;
        justify-content: center;
        align-items: center;
    }

    .card p {
        font-size: .5em;
    }

    .card .underline {
        font-size: 2em;
    }

    h1 {
        font-size: 3em;
    }

    #hero video {
        -webkit-filter: blur(2px);
        -moz-filter: blur(2px);
        -ms-filter: blur(2px);
        -o-filter: blur(2px);  
        filter: blur(2px);
    }

    #recipe-finder-graphic {
        max-width: unset;
        width: 75%
    }

    h3.inverse-text {
        font-size: 2em;
        padding: 0 1em;
    }

    section p {
        padding: 0 1em;
    }

    h2 {
        font-size: 1.75em;
    }

    .no-x-margin-mobile {
        margin: 0;
    }

    #annual-price-card {
        padding-top: 2.5em;
    }

    @keyframes scrolling {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }
}