.lp-wrapper {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
}

.lp-top-sales {
    width: 100%;
}

.lp-title {
    width: 70%;
    text-align: left;
    margin: 20px auto;
    /* border-bottom: var(--color-primary) solid 2px; */
}

.lp-trending {
    background-color: #fafbfc;
}


.lp-region {
    position: relative;
}

.p-top {
    padding-top: 30px;
}

#lp-email-signup {
    border: var(--color-primary) 1px solid;
    margin: 20px 0;
    border-radius: 5px;
}

#lp-submit-button {
    border-radius: 5px;
}

.red {
    color: red;
}

@media screen and (max-width: 900px) {
    .lp-hero {
        position: relative;
        width: 100vw;
        height: 500px;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .lp-hero-img {
        object-fit: cover;
        overflow: hidden;
        width: 100%;
        height: 500px;
        object-position: 90% 50%;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 20px 40px;
        text-align: left;
        background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    }

    .hero-text {
        color: white;
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 30px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        max-width: 600px;
    }

    .trending-img{
        width: 60px;
        height: 60px;
        border: none;
        border-radius: 5px;
        object-fit: cover;
        margin-right: 20px;
    }

    .trending-wrapper {
        display: flex;
        flex-direction: row;
    }
    
    .all-sales {
        margin: auto;
        display: block;
        background-color: var(--color-primary);
        height: 40px;
        width: 150px;
        border: none;
        border-radius: 5px;
        line-height: 40px;
        color: black;
        text-decoration: none;
        text-align: center;
    }

    .lp-top-sales {
        display: grid;
        grid-template-columns: auto;
        justify-content: center;
        align-items: center;
        width: 90%;
        margin: auto;
    }

    .lp-sales-region-grid {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 40px;
        padding: 40px 0;
        width: 90%;
        margin: auto;
    }

    .lp-region-img {
        height: 150px;
        width: 150px;
        opacity: 0.6;
        object-fit:cover;
        border-radius:50%;
    }

    .lp-region-txt {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: black;
        font-size: 22px;
        font-weight: 800;
    }

    .lp-signup-img {
        width: 100%;
        object-fit: cover;
    }

    .lp-signup-form {
        padding: 30px;
    }

    #lp-email-signup {
        width: 90%;
    }

    .lp-trending-wrap {
        width: 80%;
        margin: auto;
        align-items: center;
    }

    .lp-trending-title {
        padding-top: 20px;
        padding-bottom: 20px;
        text-align: left;
        color: black;
        text-decoration: none;
        display: block;
    }

    .lp-trending-title:nth-child(2) {
        border-bottom: 1px solid grey;
        border-top: 1px solid grey;
    }


    .lp-trend-title {
        width: 80%;
        text-align: left;
        margin: auto;
        padding: 20px 0;
    }

    .lp-trending-index {
        margin-top: 30px;
    }
    
}

@media screen and (min-width: 901px) {
    .lp-trending-index {
        margin-top: 30px;
    }

    .lp-hero {
        position: relative;
        width: 100vw;
        height: 600px;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .lp-hero-img {
        height: 600px;
        object-fit: cover;
        overflow: hidden;
        width: 100%;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 60px 80px;
        text-align: left;
        background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    }

    .hero-text {
        color: white;
        font-size: 56px;
        font-weight: 800;
        margin-bottom: 40px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        max-width: 700px;
    }

    .trending-img{
        width: 60px;
        height: 60px;
        border: none;
        border-radius: 5px;
        object-fit: cover;
        margin-right: 20px;
    }

    .trending-wrapper {
        display: flex;
        flex-direction: row;
    }
    
    .all-sales {
        margin: 0;
        display: block;
        background-color: var(--color-primary);
        height: 40px;
        width: 150px;
        border: none;
        border-radius: 5px;
        line-height: 40px;
        color: black;
        text-decoration: none;
        text-align: center;
    }

    .lp-top-sales {
        display: grid;
        grid-gap: 50px;
        grid-template-columns: auto auto auto;
        justify-content: center;
        align-items: center;
        width: 90%;
        margin: auto;
    }

    .lp-signup {
        height: 500px;
        display: flex;
    }

    .lp-signup-img {
        width: 50%;
        object-fit: cover;
    }

    .lp-signup-form {
        padding: 80px 50px 50px 50px;
    }

    .lp-sales-region-grid {
        display: grid;
        grid-template-columns: auto auto auto;
        grid-gap: 40px;
        padding: 40px 0;
        width: 90%;
        margin: auto;
    }

    .lp-region-img {
        height: 200px;
        width: 200px;
        opacity: 0.6;
        object-fit:cover;
        border-radius:50%;
    }

    .lp-region-txt {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: black;
        font-size: 28px;
        font-weight: 800;
    }

    .lp-trending-wrap {
        display: flex;
        width: 70%;
        margin: auto;
        justify-content: space-between;
        align-items: center;
    }

    .lp-trending-title {
        width: 33%;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-right: 40px;
        text-align: left;
        color: black;
        text-decoration: none;
    }
    
    .lp-trending-title:nth-child(3) {
        padding-left: 20px;
    }

    .lp-trending-title:nth-child(2) {
        padding-left: 20px;
        border-right: 1px solid grey;
        border-left: 1px solid grey;
    }

    .lp-trending {
        padding-bottom: 20px;
    }

    .lp-trend-title {
        width: 70%;
        text-align: left;
        margin: auto;
        padding: 20px 0;
    }
}