* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lexend', Arial, sans-serif;
    font-weight: 400;
}

/* ------------------------ */
/* Header CSS */
/* ------------------------ */

.header {
    height: 88px;
    background: #262626;
    align-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.3);
}

.main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    width: 983px;
    margin: auto;
}

.site-logo img,
.right-logo img {
    height: 100%;
    width: 100%;
}

.center-content {
    text-align: center;
}

.center-content img {
    height: 65px;
    width: 348px;
    display: block;
    margin: auto;
}

@media (min-width: 766px) and (max-width: 1024px) {
    .main-container {
        width: 90%;
    }

    /* Hide center div */
    .center-content {
        display: none;
    }

    /* Adjust logos for better alignment */
    .site-logo img,
    .right-logo img {
        width: 200px;
        height: auto;
    }
}

@media (max-width: 765px) {
    .header {
        height: 71px;
        position: static;
    }

    .main-container {
        width: 90%;
    }
    
    /* Hide center div */
    .center-content {
        display: none;
    }

    /* Adjust logos for better alignment */
    .site-logo img,
    .right-logo img {
        width: 130px;
        height: auto;
    }
}

/* ------------------------ */
/* Hero Section CSS */
/* ------------------------ */

.hero-section {
    width: 100%;
    overflow: hidden;
}

.hero-section img {
    width: 100%;
    height: 800px;
    display: block;
    object-fit: cover;
}

@media (max-width: 765px) {
    .hero-section img {
        width: 100%;
        height: 322px;
        display: block;
        object-fit: cover;
    }
}

/* --------------------------- */
/* All Over Title Section CSS */
/* --------------------------- */

.title {
    background: #383838;
    align-content: center;
    height: 72px;
}

.title p {
    margin: 0;
    font-size: 40px;
    line-height: normal;
    text-align: center;
    color: #FFF;
}

.sf-title,
.ds-title,
.rm-title {
    letter-spacing: 8px;
    line-height: 52px;
}

.ls-heading {
    background: #585858;
}

@media (max-width: 765px) {
    .title {
        height: 55px;
    }

    .title p {
        font-size: 18px;
    }
}

/* ----------------------- */
/* Welcome Section CSS */
/* ----------------------- */

.scroll-bg-section {
    position: relative;
    width: 100%;
    /*height: 500px;*/
    background: url("https://crypto-lambo.com/assets/images/background_scroll_cards.png");
    background-repeat: repeat;
    overflow: hidden;
    transition: background-position 0.1s linear;
}

.scroll-bg-section .overlay {
    position: absolute;
    inset: 0;
    /* shorthand for top:0; right:0; bottom:0; left:0; */
    background: rgba(53, 53, 53, 0.9);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.scroll-bg-section .scroll-bg-inner {
    height: auto;
    width: 975px;
    padding: 40px 20px;
    /* IMPORTANT */
    z-index: 2;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: auto;
}

.scroll-bg-section .img {
    margin-bottom: 38px;
    height: 105px;
}

.scroll-bg-section img {
    width: 942px;
    height: 105px;
}

.scroll-bg-section .content-container {
    display: flex;
    justify-content: space-between;
}

.scroll-bg-section .box-1,
.scroll-bg-section .box-2,
.scroll-bg-section .box-3 {
    row-gap: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.scroll-bg-section .box-1 h3,
.scroll-bg-section .box-2 h3,
.scroll-bg-section .box-3 h3 {
    color: #FFF;
    margin: 0;
    font-size: 18px;
    line-height: 1.5em;
    text-align: center;
    font-weight: 400;
}

.scroll-bg-section .title-h {
    font-size: 19px;
}

.scroll-bg-section .box-1 {
    width: 257px;
}

.scroll-bg-section .box-2 {
    width: 342px;
}

.scroll-bg-section .box-3 {
    width: 300px;
}

@media (max-width: 765px) {
    .scroll-bg-section .overlay {
        align-content: normal;
    }

    .scroll-bg-section .scroll-bg-inner {
        padding: 20px;
        width: auto;
    }

    .scroll-bg-section .img {
        max-height: fit-content;
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
    }

    .scroll-bg-section img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .scroll-bg-section .content-container {
        flex-direction: column;
        row-gap: 30px;
    }

    .scroll-bg-section .title-h {
        font-size: 17px;
    }

    .scroll-bg-section .box-1,
    .scroll-bg-section .box-2,
    .scroll-bg-section .box-3 {
        width: auto;
        row-gap: 5px;
    }

    .scroll-bg-section .box-1 h3,
    .scroll-bg-section .box-2 h3,
    .scroll-bg-section .box-3 h3 {
        font-size: 14px;
    }
}

/* ----------------------- */
/* Race Mode Section CSS */
/* ----------------------- */

.modes-section {
    --overlay-color: rgba(30, 167, 255, 0.4);

    position: relative;
    width: 100%;
    min-height: 400px;
    background-image: url("https://crypto-lambo.com/assets/images/background_scroll_couch.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    /* parallax scroll effect */
    align-content: center;
}

.modes-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay-color);
    z-index: 1;
}

.modes-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* makes wrap on mobile */
    gap: 20px;
    height: 322px;
}

.mode-card {
    width: 179px;
    min-height: fit-content;
    display: flex;
    justify-content: center;
    /*align-items: flex-start;*/
}

.mode-card-1 {
    width: 189px;
    min-height: 321px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mode-card img {
    width: 100%;
    height: 298px;
    display: block;
}

.mode-card-1 img {
    width: 100%;
    height: 307px;
    display: block;
    position: relative;
    bottom: 8px;
}

@media (min-width: 766px) and (max-width: 1024px) {
    .modes-inner {
        padding: 30px 0;
        height: auto;
    }

    .mode-card-1 img {
        position: unset;
    }
}

@media (max-width: 765px) {
    .modes-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 20px;
        height: auto;
    }

    .mode-card-1 {
        width: 100%;
        height: auto;
        min-height: 104%;
    }

    .mode-card-1 img {
        width: 100%;
        height: auto;
        object-fit: cover;
        bottom: 5px;
    }

    .mode-card {
        width: 100%;
        height: auto;
    }

    .mode-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

/* ----------------------- */
/* Launch Vehical Section CSS */
/* ----------------------- */

.scroll-horizontal-section {
    position: relative;
    width: 100%;
    height: auto;
    /* you can change */
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://crypto-lambo.com/assets/images/background_scroll_car.png');
    background-size: cover;
    background-repeat: repeat-x;
    /* horizontal repeat */
    transition: background-position 0.2s linear;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 56, 56, 0.9);
}

.content {
    position: relative;
    z-index: 2;
}

.scroll-horizontal-section h3 {
    margin: auto;
    width: 822px;
    margin-top: 30px;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 400;
    text-align: center;
}

.hover-slider {
    width: 100%;
    overflow: visible;
    margin-bottom: 48px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.slider-track {
    display: flex;
    align-items: center;
    gap: 20px;
    will-change: transform;
    white-space: nowrap;
}

.slider-track img {
    width: 214px;
    height: 250px;
    object-fit: contain;
    flex-shrink: 0;
}

.hover-left,
.hover-right {
    position: absolute;
    top: 0;
    width: 6%;
    height: 100%;
    z-index: 30;
    cursor: pointer;
}

.hover-left {
    left: 0;
}

.hover-right {
    right: 0;
}

@media (min-width: 766px) and (max-width: 1024px) {
    .slider-track img {
        width: 25vw;
        height: auto;
    }

    .scroll-horizontal-section h3 {
        width: auto !important;
        padding: 0 30px;
    }
}

@media (max-width: 765px) {

    .hover-left,
    .hover-right {
        width: 12%;
    }

    .scroll-horizontal-section h3 {
        width: auto !important;
        font-size: 12px;
        line-height: 15px;
        padding: 0 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .hover-slider {
        margin-bottom: 18px;
    }

    .slider-track img {
        gap: 10px;
    }

    .slider-track img {
        width: 150px;
        height: 170px;
        object-fit: unset;
    }
}


/* ----------------------------- */
/* Launch Locations Section CSS */
/* ----------------------------- */

.launch-locations-section {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.launch-locations-bg {
    position: absolute;
    inset: 0;
    background-image: url("https://crypto-lambo.com/assets/images/background_scroll_track.png");
    background-size: auto 100%;
    /* IMPORTANT */
    background-repeat: repeat-x;
    /* MUST BE HERE */
    z-index: 1;
    transition: background-position 0.2s linear;
}

.launch-locations-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 56, 56, 0.8);
    z-index: 2;
}

.launch-locations-content {
    position: relative;
    z-index: 3;
}

.launch-locations-section h3 {
    margin: auto;
    width: 822px;
    margin-top: 30px;
    margin-bottom: 22px;
    color: #fff;
    font-weight: 400;
    text-align: center;
}

.infinite-slider-section {
    width: 100%;
    overflow: visible;
    margin-bottom: 50px;
}

.infinite-slider-container {
    position: relative;
    width: 100%;
    overflow: visible;
}

.infinite-slider-track {
    display: flex;
    align-items: center;
    gap: 30px;
    will-change: transform;
    position: relative;
    white-space: nowrap;
}

.infinite-slider-track img {
    width: 450px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    flex-shrink: 0;
}

.slide-hover-btn {
    position: absolute;
    top: 0;
    height: 100%;
    width: 5%;
    z-index: 20;
    cursor: pointer;
}

.slide-hover-left {
    left: 0;
}

.slide-hover-right {
    right: 0;
}

/*@media (max-width: 1024px) {*/
/*    .infinite-slider-track img {*/
/*        width: 33vw;*/
/*        aspect-ratio: 16 / 9;*/
/*    }*/
/*}*/

@media (min-width: 766px) and (max-width: 1024px) {
    .launch-locations-section h3 {
        width: auto !important;
        padding: 0 30px;
    }

    .infinite-slider-track img {
        width: 45vw;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 765px) {
    .launch-locations-section h3 {
        width: auto !important;
        font-size: 12px;
        line-height: 15px;
        padding: 0 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .infinite-slider-section {
        margin-bottom: 14px;
    }

    .infinite-slider-track img {
        width: calc(100% - 118px);
        aspect-ratio: 16 / 9;
    }

    .slide-hover-left,
    .slide-hover-right {
        width: 12%;
    }
}

/* ----------------------------- */
/* Graphics Modes Section CSS */
/* ----------------------------- */

.graphics-modes-section {
    position: relative;
    width: 100%;
    height: 398px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-bg {
    position: absolute;
    inset: 0;
    background: url("https://crypto-lambo.com/assets/images/background_scroll_tech.jpg") center/cover no-repeat;
    transform: scale(1);
    transition: transform 0.2s ease-out;
    will-change: transform;
    z-index: 1;
}

.gm-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.gm-card {
    width: 179px;
    height: auto;
    display: flex;
    justify-content: center;
}

.gm-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 765px) {
    .graphics-modes-section {
        height: auto;
        padding: 40px 0;
    }

    .gm-content {
        gap: 30px;
        padding: 0 20px;
    }

    .gm-card {
        width: 85%;
    }
}

/* ----------------------------- */
/* Screenshots Section CSS */
/* ----------------------------- */

.screenshots-fader {
    position: relative;
    width: 100%;
    height: 798px;
    overflow: hidden;
}

.sf-image-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease;
    /* slide effect */
}

.sf-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.sf-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    color: #fff;
    font-size: 26px;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    display: none;
    /* hidden on desktop */
}

.sf-left {
    left: 5px;
}

.sf-right {
    right: 5px;
}

@media (max-width: 765px) {
    .screenshots-fader {
        height: 300px;
    }

    .sf-image {
        height: 300px;
    }

    .sf-arrow {
        display: block;
    }
}

/* ----------------------------- */
/* Developed On Section CSS */
/* ----------------------------- */

.ds-title {
    background: #2f2e2e;
}

.ds-title p {
    margin-top: 18px;
}

.develope-section {
    display: flex;
    justify-content: center;
    background: #2f2e2e;
}

.ds-continer {
    display: flex;
    margin: 40px 0 47px;
    gap: 45px;
}

.ds-logo-1,
.ds-logo-2,
.ds-logo-3 {
    align-content: center;
}

.ds-logo-1 img {
    width: 300px;
    height: 32px;
}

.ds-logo-2 img {
    width: 256px;
    height: 75px;
}

.ds-logo-3 img {
    width: 280px;
    height: 69px;
}

@media (min-width: 766px) and (max-width: 1024px) {
    .ds-continer {
        gap: 40px;
    }

    .ds-continer img {
        width: 200px;
        height: auto;
    }
}

@media (max-width: 765px) {
    .ds-title p {
        margin-top: 0;
    }

    .ds-continer {
        flex-direction: column;
        margin: 0px 0 30px;
        gap: 10px;
    }

    .ds-logo-1,
    .ds-logo-2,
    .ds-logo-3 {
        justify-content: center;
        display: flex;
    }

    .ds-logo-1 img {
        width: 170px;
        height: 46px;
    }

    .ds-logo-2 img {
        width: 180px;
        height: 52px;
    }

    .ds-logo-3 img {
        width: 210px;
        height: 30px;
    }
}

/* ----------------------------------- */
/* Development Roadmap Section CSS */
/* ----------------------------------- */

.rm-title {
    background: #222;
}

.rm-title p {
    margin-top: 14px;
}

.roadmap-section {
    background: #222;
    padding: 30px 0 100px;
}

.rm-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rm-part-1,
.rm-part-2,
.rm-part-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.rm-part-1 {
    background-image: url("https://crypto-lambo.com/assets/images/Arrow-1.png");
    width: 292px;
    height: 155px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rm-part-2 {
    background-image: url("https://crypto-lambo.com/assets/images/Arrow-2.png");
    width: 343px;
    height: 155px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: -38px;
}

.rm-part-3 {
    background-image: url("https://crypto-lambo.com/assets/images/Arrow-3.png");
    width: 343px;
    height: 155px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: -38px;
}

.rm-heading {
    font-size: 30px;
    color: #FFF;
    line-height: 39px;
}

.rm-details {
    font-size: 18px;
    color: #fff;
    line-height: 18px;
}

@media (min-width: 766px) and (max-width: 1024px) {
    .rm-container {
        padding: 0 30px;
    }

    .rm-part-1,
    .rm-part-2,
    .rm-part-3 {
        background-size: contain;
    }

    .rm-heading {
        font-size: 24px;
    }

    span.rm-details {
        font-size: small;
    }
}

@media (max-width: 765px) {
    .rm-title p {
        margin-top: 10px;
    }

    .roadmap-section {
        padding: 16px 0 13px;
    }

    .rm-container {
        flex-direction: column;
    }

    .rm-part-1,
    .rm-part-2,
    .rm-part-3 {
        margin: 0;
        background-size: contain;
        width: 300px;
        height: 169px;
    }

    .rm-heading {
        font-size: 22px;
        line-height: 29.9px;
    }

    .rm-details {
        font-size: 14px;
        line-height: 14px;
    }
}

/* --------------------- */
/* Footer CSS */
/* --------------------- */

.main-footer {
    background: #222;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social-section {
    display: flex;
    gap: 40px;
    margin: 36px 0 38px;
}

.footer-logo-left,
.footer-logo-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-left spam,
.footer-logo-right spam {
    font-size: 10PX;
    line-height: 13px;
    letter-spacing: 5px;
    font-weight: 700;
}

.logo-item {
    height: 38px;
}


.footer-social {
    display: flex;
    gap: 40px;
}

.soc-item {
    width: 40px;
    height: 40px;
}

.footer-copy {
    font-size: 12px;
    letter-spacing: 0.12px;
    line-height: 15.6px;
    color: #A0A09F;
    margin-bottom: 31px;
}

@media (min-width: 766px) and (max-width: 1024px) {

    .footer-logo-left spam,
    .footer-logo-right spam {
        display: none;
    }

    .footer-social-section {
        gap: 30px;
    }

    .footer-social {
        gap: 30px;
    }
}

@media (max-width: 765px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-logo-left spam,
    .footer-logo-right spam {
        display: none;
    }

    .footer-social-section {
        display: flex;
        margin: 0 0 27px;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 0px;
    }

    .footer-logo-left,
    .footer-logo-right {
        width: 50%;
        justify-content: center;
        margin-bottom: 17px;
    }

    .logo-item {
        height: 32px;
    }

    .footer-social {
        gap: 52px;
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .soc-item {
        width: 32px;
        height: 32px;
    }

    .footer-copy {
        font-size: 10px;
        text-align: center;
        order: -1;
        margin: 21px 0 22px;
    }
}