:root {
    --colors--light-grey: #f9f9f9;
    --colors--dark-grey: #1a1a1a;
    --colors--grey: #ccc;
    --colors--yellow: #ffd026;
    --borders--stroke: .05rem;
    --colors--stroke-color: #e6e6e6;
    --color-paybotx: #5fa1f7;
}
html{
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    padding: 20px 60px;
    background-color: var(--colors--light-grey);
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    align-items: center;
    overflow-x: hidden;
    background-image: url("../img/card-background-opt.jpg");
    background-size: 500px auto;
    background-repeat: repeat;
    backdrop-filter: blur(2px);
    ;
}

nav {
    width: 90vw;
    background-color: var(--colors--dark-grey);
    border-radius: 1.5rem;
    padding: .64rem .64rem .64rem 1.8rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    position: sticky;
    top: 0px;
    z-index: 10;
    transition: top 0.3s;
}

.nav-logo-content {
    height: 40px;
    align-items: center;
    display: flex;
}

.nav-links-container ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
}
.nav-links-container ul li{
    list-style-type: none;
    padding: 6px 20px;
}

.nav-links-container ul li a{
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid #5fa1f700;
    transition: 250ms ease;
}
.nav-links-container ul li a:hover{
    border-bottom: 1px solid var(--color-paybotx);
}

header {
    position: relative;
    height: 300vh;
    width: 90vw;
    overflow-x: visible;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: start; */
    padding-top: 20px;
    margin-bottom: 200px;
}

h2 {
    transition: 650ms ease;
    color: var(--colors--light-grey);
    position: relative;
    left: -100px;
}

.header-content {
    position: sticky;
    top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100dvh;
}

.header-background {
    width: 80dvw;
    border-radius: 2rem;
    position: absolute;
    top: 0px;
    /* left: 0%; */
    /* transform: translate(-50%, 0); */
    transition: 250ms ease;
    /* border-radius: 100px; */
    z-index: 0;
}

header h1 {
    position: absolute;
    bottom: 0px;
    left: 15%;
    /* transform: translate(0%, -50%); */
    font-size: 5rem;
    color: white;
    max-width: 800px;
    z-index: 1;
    text-shadow: 1px 1px black;
}

.header-logo-container {
    z-index: 4;
    position: absolute;
    top: 10%;
    /* left: 15%; */
    /* bottom: 0px; */
    right: 0%;
    text-align: center;
}

.header-logo-container img {
    max-height: 300px;
    filter: drop-shadow(2px 2px 2px rgb(255, 255, 255));

    /* height: 200px; */
}

.first-section {
    background-color: hsla(0, 0%, 98%, 0.631);
    border-radius: 7.5rem;
    padding: 8.75rem 5rem;
    display: flex;
    margin: 100px 0px;
    backdrop-filter: blur(2px);

}

.first-section-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    align-items: start;
    max-width: 40%;
    margin-right: 40px;
}

.first-section-header h2 {
    font-size: 4rem;
}

.first-section-header p {
    font-weight: 400;
    font-size: 1.5rem;
}

.first-section-image-container {
    width: 100%;
    display: flex;
    overflow: hidden;
    border-radius: 5rem;
    align-items: center;
    justify-content: center;

}

.section-pos-title {
    font-size: 10rem;
    line-height: 10rem;
    margin-bottom: -8rem;
}

.highlights {
    /* color: var(--colors--grey); */
    color: var(--color-paybotx);
}

.section-pos-description-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.section-pos-description-container p {
    padding: 40px;
    /* border-left: 1px solid black; */
    max-width: 50rem;
    background-color: var(--colors--yellow);
    border-radius: 5rem;
    font-weight: 500;
    height: 10rem;
    align-items: center;
    justify-content: center;
    display: flex;
    color: var(--colors--dark-grey);
}

.section-pos-marquee-container {
    width: 37rem;
    height: 13rem;
    background-color: var(--colors--yellow);
    border-radius: 5rem;
}

.section-bubbles {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin-bottom: 200px;
}

.section-bubbles h2 {
    font-size: 10rem;
    line-height: 8rem;
    margin: 0px;
    z-index: 1;
}

.section-bubbles p {
    z-index: 3;
    font-weight: 400;
    font-size: 2rem;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.item-bubble {
    height: 200px;
    width: 200px;
    border-radius: 100px;
    background-color: tomato;
    position: absolute;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    transition: transform 0.7s ease-out;
    will-change: transform;
    background-image: url(../img/2149160653.jpg);
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.bubble-two {
    background-image: url(../img/2149893800booble.jpg);
}

.bubble-three {
    background-image: url(../img/2149167237opt.jpg);
}

.bubble-four {
    background-image: url(../img/2150039403booble.jpg);
}

.products {
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

.products h2 {
    font-size: 5rem;
    line-height: 8rem;
    margin: 60px;
    text-align: center;
    /* width: 100%;
    position: sticky;
    top: 0px; */
}

.vendors-container {
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    gap: 20px;
    padding: 20px;
    /* position: sticky;
    top: 0px; */
    z-index: -1;
}

.vendors-item-container {
    align-self: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vendors-item-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-container {
    position: relative;
    /* height: 100dvh; */
    /* width: 100%; */
    /* padding: 100px 0px; */
    width: 1400px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    /* background-color: var(--colors--light-grey); */
    border-radius: 8rem;
    margin-bottom: 100px;
    overflow: hidden;
    box-shadow: 0 3rem 36px -3rem #cdcccc99;
    border: var(--borders--stroke) solid var(--colors--stroke-color);
}

.product-container-background {
    /* background-color: tomato; */
    background: rgba(255, 255, 255, 0.2);
    /* background: linear-gradient(0deg, rgba(161, 161, 161, 1) 0%, var(--colors--light-grey) 100%); */
    background-image: url("../img/card-background.jpg");
    backdrop-filter: blur(5px);
    background-size: 500px auto;
    background-repeat: repeat;
    position: absolute;
    top: 0px;
    /* left: 0px; */
    height: 100%;
    /* width: 100dvw; */
    width: 1400px;
    z-index: -1;
    opacity: 0.9;
}

.product-text {
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    overflow-x: visible;
    margin: 100px 0px;
}

.product-title-container {
    display: flex;
    flex-direction: column;
    margin: 100px 0px;

    /* overflow-y: hidden; */
    /* background-color: tomato; */
}

.product-text h3 {
    font-size: 5rem;
    line-height: 5rem;
    margin: 0px 0px 40px 0px;
    text-align: end;
    transition: 250ms ease;
    position: relative;
    bottom: -100px;
    /* line-height: -1rem; */

}

.product-text p {
    font-weight: 400;
    text-align: justify;
    font-size: 1.2rem;
}

.product-text b {
    font-size: 1.5rem;
}

.products-logo-payconnect {
    max-width: 600px;
}

.product-image {
    /* height: 80%; */
    width: 500px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: 1000ms ease;
    opacity: 0;
}
.product-image img {
        /* max-width: 800px; */
        max-height: 600px;
        align-items: center;
        /* object-fit: contain; */
    }

.product-image {
    /* width: 100%;     */
    /* height: 600px; */
    object-fit: cover;
    /* right: 100px; */
}

.product-logo-container {
    position: relative;
    top: 0px;
    display: flex;
    overflow: visible;
    width: 100%;
}

.product-logo-container img {
    width: 200px;
    height: 100%;
    object-fit: cover;
}


.product-highlight {
    background-color: var(--colors--yellow);
    border-radius: 5rem;
    font-weight: 500 !important;
    align-items: center;
    justify-content: center;
    display: flex;
    color: var(--colors--dark-grey);
    padding: 10px 80px;
    text-align: center !important;
}

.easy-smart-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0px;
    margin-bottom: 100px;
}

.easy-smart-section h2 {
    font-size: 8rem;
    text-align: center;
    /* margin: 200px 0px; */
}

.easy-smart-section-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.easy-smart-section-content img {
    width: 30%;
    border-radius: 5rem;
}

.easy-smart-section-content p {
    font-size: 1.5rem;
    text-align: justify;
    width: 60%;
}

.divider {
    height: 2px;
    width: 100%;
    background-color: var(--colors--stroke-color);
    /* margin-bottom: 100px; */
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
    /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
    /* box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 8px; */
}

.merchant-services-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qaa {
    position: sticky;
    top: 20%;
    background: rgba(255, 255, 255, 0.6);
    width: 80%;
    justify-content: center;
    border-radius: 5rem;
    margin: 200px 200px;
    padding: 100px 0px;
    backdrop-filter: blur(28px);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.merchant-services-section h2 {
    font-size: 8rem;
    margin: 0px;
}

.merchant-services-section p {
    font-size: 1.5rem;
    margin-bottom: 100px;
    /* padding: 60px; */
    padding: 0px 20px;
    border-radius: 5rem;
    line-height: 4rem;
    /* max-width: 800px; */
    /* text-align: justify; */
}

.section-savings {
    height: 100dvh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.section-savings h2 {
    font-size: 6rem;
}

table {
    /* height: 600px; */
    font-size: 1.5rem;
    border-radius: 5rem;
    background-color: var(--colors--light-grey);
    padding: 20px 200px;
}

td {
    /* width: 300px; */
    height: 60px;
    margin: 0px;
    border: 0px;
}

.table-row-content {
    width: 200px;
    text-align: right;
}

.paybotx-content {
    color: var(--color-paybotx);
    font-weight: 600;
}

.table-savings-content {
    text-align: center;
}

.table-savings-color {
    color: red;
    font-weight: bold;
    font-size: 2rem;
    border-top: 1px solid tomato;
}

.section-contact-us {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-bottom: 100px
}

form {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    width: 100%;
}

input,
textarea {
    color: var(--colors--dark-grey);
    background-color: #fafafa;
    border: 1px solid #1a1a1a1a;
    border-radius: 1rem;
    height: 4.1rem;
    margin-bottom: 40px;
    padding-left: 1.4rem;
    font-size: 1.1rem;
    line-height: 110%;
    max-width: 600px;
}

label {
    width: 25rem;
    margin-bottom: 1.1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.section-contact-us img {
    border-radius: 5rem;
    height: 100%;
}

.decoration-contact-us {
    position: relative;
}

button {
    cursor: pointer;
    border-radius: 1.1rem;
    position: relative;
    overflow: hidden;
    border: none;
    font-size: 1rem;
    background-color: var(--colors--dark-grey);
    color: var(--colors--light-grey);
    padding: 1.67rem 3.45rem;
}

.section-contact-info {
    /* height: 100dvh; */
    /* width: 100dvw; */
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    background-color: var(--color-paybotx);
    color: var(--colors--light-grey);
    padding: 100px 100px 0px 100px;
    border-radius: 5rem;

}
  .contact-info div {
        display: flex;
        margin: 10px;
        text-align: right;
        justify-content: end;
    }

.contact-info {
    font-size: 4rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    text-align: right;
}

a {
    color: var(--colors--light-grey);
}

.footer-logo-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    width: 100%;
    font-weight: bold;
}

/* 
.contact-info:hover {
    transition: all 0.3s ease-in-out;
    transform: scaleY(0);
} */
/* mobile  responsive*/
@media only screen and (max-width: 600px) {
    body {
        padding: 0px 0px;
    }

    main {
        width: 100%;
        overflow: hidden;
    }

    .header-content {
        align-items: center;
        justify-content: center;
    }

    .header-background {
        display: flex;
        background-color: tomato;
        /*  */
    }

    .header-content video {
        height: 80dvh;
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    .header-logo-container {
        /* bottom: 4%; */
        top: none;
        display: flex;
        height: 100px;
        width: 200px;
        justify-content: center;
    }

    header h1 {
        font-size: 2rem;
        max-width: 200px;
        top: 200px;
    }

    nav {
        width: 100%;
    }
    .nav-links-container{
        display: none;
    }

    .first-section {
        flex-direction: column;
        padding: 1rem;
    }

    .first-section-header {
        max-width: 100%;
    }

    .first-section-header h2 {
        font-size: 2rem;
    }

    .first-section-header p {
        font-size: 1rem;
    }

    .section-pos {
        overflow-x: hidden;
        padding: 10px 20px;

    }

    .section-pos-title {
        font-size: 2rem;
        line-height: 2rem;
        margin-bottom: 2rem;
    }

    .section-pos-description-container p {
        padding: 80px 20px;
    }

    .section-bubbles h2 {
        font-size: 3rem;
        line-height: 2.5rem;
    }

    .item-bubble {
        height: 120px;
        width: 120px;
    }

    .section-bubbles p {
        font-size: 1rem;
    }

    .products-logo-payconnect {
        max-width: 300px;
    }

    .products h2 {
        font-size: 3rem;
        line-height: 2.5rem;
    }

    .vendors-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-container {
        width: 100%;
        flex-direction: column;
        padding: 100px;
    }

    .product-image {
        width: 100%;
        padding: 0px;
        height: auto;
    }

    .product-image img {
        max-width: 100%;
        /* max-height: 400px; */
        align-items: center;
    }

    .product-text {
        max-width: 375px;
        padding: 10px 10px 10px 10px;
        margin: 0px;
    }

    .product-text h3 {
        font-size: 3rem;
        line-height: 2.5rem;
        text-align: start;
    }

    .product-title-container {
        margin: 0px;
    }

    .product-text p {
        font-size: 1rem;
    }

    .easy-smart-section h2 {
        font-size: 3rem;
        line-height: 2.5rem;
    }

    .easy-smart-section-content {
        flex-direction: column;
    }

    .easy-smart-section-content img {
        width: 100%;

    }

    .section-savings h2 {
        font-size: 3rem;
        line-height: 2.5rem;
    }

    .qaa {
        margin: 200px 0px;
        padding: 40px 0px;
    }

    .merchant-services-section h2 {
        font-size: 3rem;
        line-height: 2.5rem;
    }

    .merchant-services-section p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    table {
        font-size: 1rem;
        padding: 0px;
    }

    table td {
        width: 100px;
    }

    .table-row-content {
        width: 100px;
    }

    .section-contact-us {
        flex-direction: column;
    }

    form {
        padding: 10px;
        width: 100%;
    }

    input,
    textarea,
    button {
        max-width: 80%;
    }

    textarea {
        resize: both;
        overflow: auto;
    }

    .decoration-contact-us img {
        width: 100%;
        margin-top: 40px;
    }

    .section-contact-info {
        padding: 40px 10px 80px 10px;
        border-radius: 2rem;
    }

    .contact-info {
        font-size: 1.1rem;
        line-height: 2.5rem;
    }
}