html {
    scroll-behavior: smooth; !important;
}
body {
    margin: 0;
}
footer {
    margin: 100px;
    display: flex;
    justify-content: space-between;
}
footer .items{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
a {
    text-decoration: none;
}
a:visited {
    color: #1C6E31;
}
.text-grey {
    color: #f7f7f7;
}
.lato-thin {
    font-family: "Lato", sans-serif;
    font-weight: 100;
    font-style: normal;
}
.lato-light {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}
.lato-black {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
}

#screen1 {
    padding: 30px 100px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 200px);
    height: calc(100vh - 60px);
    position: relative;
    overflow: hidden;
}

#screen1 video {
    filter: brightness(80%);
    z-index: -1;
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
#title-logo {
    max-height: 40px;
}
#loginButton {
    border: 2px solid #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
}
#requestDemoButton {
    border: 2px solid #ffffff;
    padding: 10px 15px;
    background: white;
    border-radius: 5px;
    color: #1c6e31;
    font-size: 16px;
}
#screen1-content-div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin: 0 calc(0.0625rem + ((1vw - 16px) * 29.9375));
    gap: 80px;
}
#animating-chats-div {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: calc(100% + 24px);
    max-width: 600px;
    flex-shrink: 2;
}
@keyframes fadeinout {
    0%,100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

#animating-chats-div img {
    width: 100%;
    max-width: 40px;
}
#animating-chats-div .chat-1 {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}
#animating-chats-div .chat-2 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}
.animating-chats-box {
    padding: 16px;
    min-height: 19.33px;
    max-width: 62%;
    border-radius: 12px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, .15);
    white-space: pre-line;
}

#introducing-grubassist-text-div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
}
#introducing-grubassist-text-div div{
    display: inline;
}
#introducing-grubassist-text-div span{
    font-size: 64px;
}
#introducing-grubassist-text-div div span{
    font-size: 136px;
}
#introducing-text {
    font-size: 56px;
}
#scroll-down-div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#scroll-down-div img{
    filter: brightness(0.5);
    animation: bounce 2s ease infinite;
}
@keyframes bounce {
    70% { transform:translateY(0%); }
    80% { transform:translateY(-15%); }
    90% { transform:translateY(0%); }
    95% { transform:translateY(-7%); }
    97% { transform:translateY(0%); }
    99% { transform:translateY(-3%); }
    100% { transform:translateY(0); }
}
#scroll-down-div:hover {
    filter: brightness(2);
    cursor: pointer;
}



#screen2 {
    position: relative;
    width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    height: 100vh;
    max-height: 1600px;
}
#the-food-supply-text-div{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#the-food-supply-text-div span{
    font-size: calc(1.75rem + ((1vw - 3.2px) * 2.0139));
    color: #1c6e31;
    line-height: 145%;
    white-space: pre-line;
    text-align: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(208deg, #32A674 13.81%, #2CC483 53.92%, #A7CC5A 93.23%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fade-in-text {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear fade-in both;
    animation-timeline: --grubmarket;
    animation-range: cover 0% cover 50%;
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100%;
    }
}

.screen2-images {
    position: absolute;
    z-index: -5;
}

#top-left-corner {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear top-left-corner both;
    animation-timeline: --grubmarket;
    animation-range: entry 0% cover 70%;
}
@keyframes top-left-corner {
    0% {
        top: -329px;
        left: -325px;
        height: 315px;
        transform: rotate(30deg);
    }
    100% {
        top: calc(-9.625rem + ((1vw - 3.2px) * -5.5556));
        left: calc(-14.0625rem + ((1vw - 3.2px) * -4.2014));
        height: calc(32.1875rem + ((1vw - 3.2px) * 23.7847));
        transform: rotate(-10.298deg);
    }
}
#top-right-corner {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear top-right-corner both;
    animation-timeline: --grubmarket;
    animation-range: entry 0% cover 70%;
}
@keyframes top-right-corner {
    0% {
        right: -427px;
        top: -309px;
        height: 400px;
        transform: rotate(-30deg);
    }
    100% {
        right: calc(-16.875rem + ((1vw - 3.2px) * 0.4018));
        top: calc(-14.375rem + ((1vw - 3.2px) * -4.0179));
        height: calc(37.9375rem + ((1vw - 3.2px) * 14.9554));
        transform: rotate(22.087deg);
    }
}
#bottom-left-corner {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear bottom-left-corner both;
    animation-timeline: --grubmarket;
    animation-range: entry 0% entry 56%;
}
@keyframes bottom-left-corner {
    0% {
        bottom: -340px;
        left: -340px;
        height: calc(28.125rem + ((1vw - 3.2px) * 4.4643));
        transform: rotate(-85deg);
    }
    100% {
        bottom: calc(-13.875rem + ((1vw - 3.2px) * -7.0536));
        left: calc(-17.75rem + ((1vw - 3.2px) * -1.25));
        height: calc(36.625rem + ((1vw - 3.2px) * 20.5357));
        transform: rotate(0deg);
    }
}
#bottom-right-corner {
    right: calc(-11.375rem + ((1vw - 3.2px) * -5.7143));
    bottom: calc(-11.25rem + ((1vw - 3.2px) * -6.25));
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear bottom-right-corner both;
    animation-timeline: --grubmarket;
    animation-range: entry 0% entry 60%;
}
@keyframes bottom-right-corner {
    0% {
        height: calc(17.5rem + ((1vw - 3.2px) * 7.5893));
        transform: rotate(75deg);
    }
    100% {
        height: calc(30.875rem + ((1vw - 3.2px) * 21.0714));
        transform: rotate(30.098deg);
    }
}





#screen3 {
    --pw: calc(4rem + ((1vw - 12px) * 27));
    position: relative;
    padding: 0 var(--pw);
    width: calc(100% - var(--pw)* 2);
    height: calc(75.625rem + ((1vw - 12px) * 9.5));
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 56px;
}
#your-data-text-div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 90px;
    min-width: 712px;
}
#your-data-text-div span{
    font-size: calc(5.125rem + ((1vw - 12px) * 0.7));
    color: #1c6e31;
    line-height: 130%;
    white-space: pre-line;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(191deg, #32A674 8%, #2CC483 55%, #A7CC5A 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#grubassist-is-text-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 64px;
}
#grubassist-is-text-div span{
    font-size: calc(2rem + ((1vw - 12px) * 0.7));
    color: #7a7a7a;
    line-height: 150%;
    white-space: pre-line;
}
#download-icons-div {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 48px;
}
#mobile-assistants-icons-div{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 48px;
}
#popup-phone-image {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    /*width: calc(36.25rem + ((1vw - 12px) * 6.6));*/
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear popup-phone-image both;
    animation-timeline: --grubmarket;
    animation-range: entry 0% cover 100%;
}
@keyframes popup-phone-image {
    0% {
        top: 700px;
    }
    100% {
        top: 419px;
    }
}



#screen4 {
    --pw: calc(4rem + ((1vw - 12px)* 2.8));
    display: flex;
    flex-direction: column;
    position: relative;
    padding: var(--pw);
    width: calc(100% - var(--pw) * 2);
    border-radius: 50px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(208deg, #32A674 13.81%, #2CC483 53.92%, #A7CC5A 93.23%);
}
#scrolling-features-div {
    padding: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.10);
    gap: 72px;

    overflow: hidden;
}
#get-the-information-text{
    color: #FFF;
    text-align: center;
    font-size: min(56px, calc(2.8125rem + ((1vw - 12px) * 1.5278)));
    line-height: 130%;
    white-space: pre-line;
}
#scrolling-features-clickables-div {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    justify-content: center;
}
.scrolling-features-clickables {
    display: flex;
    min-width: 175px;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    border: 1px solid #EEE;
}
.scrolling-features-clickables-clicked {
    border: 2px solid #EEE; !important;
    background: rgba(255, 255, 255, 0.20); !important;
}
.scrolling-features-clickables span{
    color: #EEE;
    text-align: center;
    font-size: 16px;
    line-height: 135%;
    text-wrap: nowrap;
}
#promo-points-div {
    margin-top: 120px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
    width: 100%;
    max-width: 1600px;
    align-self: center;
}

.promo-points-card {
    border-radius: 20px;
    background: #FFF;
    display: flex;
    max-width: 387px;
    padding: 35px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.promo-points-card:nth-child(1) {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear promo-points-card both;
    animation-timeline: --grubmarket;
    animation-range: entry 0% cover 24%;
}
.promo-points-card:nth-child(2) {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear promo-points-card both;
    animation-timeline: --grubmarket;
    animation-range: entry 70% cover 30%;
}
.promo-points-card:nth-child(3) {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear promo-points-card both;
    animation-timeline: --grubmarket;
    animation-range: entry 90% cover 40%;
}
@keyframes promo-points-card {
    0% {
        transform: translateY(200px);
    }
    100% {
        transform: translateY(0px);
    }
}
.promo-points-card span {
    color: #1C6E31;
    text-align: center;
    font-size: 24px;
    line-height: 150%;
}
.promo-points-card div {
    color: #22282A;
    text-align: center;
    font-size: 20px;
    line-height: 150%;
}

@property --grad {
    syntax: '<percentage>'; /* <- defined as type number for the transition to work */
    initial-value: 30%;
    inherits: false;
}
#screen5 {
    width: 100%;
    /*margin-top: 150px;*/
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0px 0px 50px 50px;
    background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 25%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%),
    linear-gradient(208deg, #32A674 13.81%, #2CC483 53.92%, #A7CC5A 93.23%);
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear screen5 both;
    animation-timeline: --grubmarket;
    animation-range: cover 0% cover 60%;
}
@keyframes screen5 {
    0% {
        --grad: 90%;
    }
    100% {
        --grad: 30%;
    }
}

#screen6 {
    --pw: calc(4rem + ((1vw - 12px)* 2.8));
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    padding-top: 96px;
}

#screen6-1 {
    width: calc(100% - 200px);
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
}

#case-studies-text {
    color: green;
    text-align: center;
    font-size: calc(1.6875rem + ((1vw - 2.8px) * 2.0652));
    line-height: 130%;
}

#case-studies {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.case-study {
    text-align: center;
    width: 385px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 350px;
    padding: 1rem;
    box-sizing: border-box;
}

.case-study img {
    border-radius: 10px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study p {
    line-height: 150%;
    flex-grow: 1;
    min-width: 353px;
    font-size: 0.9rem
}

.view-case-studies-btn {
    border: 2px solid green;
    padding: 10px 15px;
    border-radius: 5px;
    color: green;
    font-size: 16px;
    text-decoration: none;
    margin-top: 1rem;
    width: 150px;
}

#screen5-1 {
    --pw: calc(4rem + ((1vw - 12px)* 2.8));
    width: calc(100% - 200px);
    padding: 96px 100px 0px 100px;
    display: flex;
    flex-direction: column;
}
#request-demo-div {
     display: flex;
     flex-direction: column;
     align-items: center;
     border-radius: 20px;
     background: #FFF;
     margin: 0 120px;
     padding: 50px 0 70px;
     gap: 42px;
     width: 100%;
     max-width: 1900px;
     align-self: center;
 }
#request-demo-div span {
    color: #333;
    text-align: center;
    font-size: 24px;
    line-height: normal;
    letter-spacing: 1px;
}
#request-demo-button{
    display: flex;
    padding: 16px 34px;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px;
    background: #278C59;
}
#request-demo-button span {
    color: #FFF;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
}
#screen5-2 {
    display: flex;
    width: calc(100% - 64px * 2);
    padding: 100px 64px 96px 64px;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}
#also-from-grubmarket-text {
    color: #FFF;
    text-align: center;
    font-size: 56px;
    line-height: 130%;
    margin: 0 16px;
}

#other-products-div{
    display: flex;
    justify-content: center;
    gap: 15px;
}

.other-products-card {
    display: flex;
    width: 100%;
    max-width: 540px;
    padding: 35px 35px 0 35px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    border-radius: 20px;
    background: rgba(51, 51, 51, 0.20);
    box-sizing: border-box;
}

.other-products-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: center;
}

.other-products-card:nth-child(1) {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear promo-points-card both;
    animation-timeline: --grubmarket;
    animation-range: entry 0% cover 20%;
}

.other-products-card:nth-child(2) {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear promo-points-card both;
    animation-timeline: --grubmarket;
    animation-range: entry 25% cover 30%;
}

.other-products-card:nth-child(3) {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear promo-points-card both;
    animation-timeline: --grubmarket;
    animation-range: entry 35% cover 40%;
}

.other-products-card:nth-child(4) {
    view-timeline-name: --grubmarket;
    view-timeline-axis: block;
    animation: linear promo-points-card both;
    animation-timeline: --grubmarket;
    animation-range: entry 40% cover 45%;
}

.other-products-card span {
    color: #FFF;
    text-align: center;
    font-size: 18px;
    line-height: 150%;
}

.other-products-card a {
    display: flex;
    padding: 10px 34px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 2px solid #FFF;
    color: #FFF;
    margin-top: auto;
}

.other-products-card-logo {
    height: 24px;
}

.other-products-card-ss {
    height: 112px;
    object-fit: contain;
    box-shadow: 0px -1px 5px 0px rgba(0, 0, 0, 0.20);
}

.contact-us-buttons {
    color: #1C6E31;
    font-size: 18px;
}

#privacy-policy {
    color: #1C6E31;
    font-size: 14px;
    line-height: 268%;
}
#privacy-policy a{
    color: #1C6E31;
}