/* Sign up and Sign in forms */
main {
    text-align: center;
}

#signForm,
.editProfile {
    display: inline-block;

    margin-left: auto;
    margin-right: auto;

    text-align: left;

    margin: 30px;
    padding: 50px;

    width: 500px;

    box-shadow: 2px 2px 20px rgb(207, 207, 207);

    border-radius: 15px;



}

.cart-link {
    text-decoration: none;
}


#imageForm {
    border-radius: 10px;
    margin-right: 20px;
    width: 270px;
    height: 320px;
}

#imageSignin {
    height: 400px;
}

.formAllign {
    justify-content: center;
    margin-top: 50px;
    display: flex;
}

#signupButton {
    margin-top: 40px;
    margin-left: 80%;
    background-color: rgb(0, 193, 0);
    border-color: rgb(0, 193, 0);
}

#signupButton:hover {
    background-color: rgb(5, 138, 0);
    border-color: rgb(5, 138, 0);
}

@media (max-width: 910px) {
    #imageForm {
        display: none;
    }
}

@media (max-width:1040px) {
    #signupButton {
        margin-left: 70%;
    }
}


/* Drop-down Profile */
.sub-menu-wrap {
    position: absolute;
    top: 85%;
    right: 2px;
    width: 320px;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s;
    z-index: 2;
}

.sub-menu-wrap.open-menu {
    max-height: 400px;
}

.sub-menu {
    background: rgb(211, 211, 211);
    padding: 20px;
    margin: 10px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info h3 {
    font-weight: 500;
}

.sub-menu hr {
    border: 0;
    height: 1px;
    width: 100%;
    background: #ccc;
    margin: 15px 0 10px;
}

.sub-menu-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #525252;
    margin: 12px 0;
}

.sub-menu-link p {
    width: 100%;
}

.sub-menu-link i {
    width: 40px;
    background: #e5e5e5;
    border-radius: 50%;
    padding: 8px;
    margin-right: 15px;
}

.sub-menu-link span {
    font-size: 22px;
    transition: transform 0.5s;
}

.sub-menu-link:hover span {
    transform: translateX(5px);
}

.sub-menu-link:hover p {
    font-weight: 600;
}

.btn-user {
    width: 40px;
    height: 40px;
    background-color: #525252;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    text-decoration: none;
    transition: background 0.5s;

}


.btn-user:hover {
    background-color: #383838;
}

#sm-banner {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 100px;
    row-gap: 20px;
}

/* Products Banners */
#sm-banner .banner-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: url("./images/SM-Nike-Kobe-6-Grinch_1400x1050.jpg");
    min-width: 580px;
    height: 50vh;
    background-size: cover;
    background-position: center;
    padding: 30px;
}

#sm-banner .banner-box2 {
    background-image: url("https://images.squarespace-cdn.com/content/v1/5fd29c0d5273722e2e5b3371/1675666267613-MK7H72CT83KP0G6EYGC8/_MG_0773.png");
}

#sm-banner .banner-box3 {
    background-image: url("https://img.freepik.com/free-photo/young-basketball-player-team-wearing-sportwear-training-practicing-action-isolated-blue-wall-neon-light_155003-35999.jpg");
}

#sm-banner .banner-box4 {
    background-image: url("https://images3.alphacoders.com/114/114807.jpg");
}

#sm-banner h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.496);
}

#sm-banner h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 4px 3px rgba(0, 0, 0, 0.496);
}


#sm-banner span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 15px;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.496);
}

a.buttonProduct {
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #fff;
    outline: none;
    transition: 0.2s;
}

#sm-banner .banner-box:hover .buttonProduct {
    background: #fff;
    border: 1px solid #fff;
    color: #383838;
}

/* Results box */
.results-card {
    width: 40%;
    max-height: 200px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.25);
    background: #fff;
    transition: 0.5s;
    border-radius: 7px;
    padding: 15px 15px;
    margin-top: 5px;
    position: absolute;
    z-index: 2;
    right: 0;

    overflow-y: scroll;
}

.not-visible {
    display: none;
}

.item {
    text-decoration: none;
}

img.item-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.border {
    border-bottom: 1px solid #383838;
}


@media(max-width:992px) {
    .results-card {
        width: 40%;
        height: 400px;
        box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.25);
        background: #fff;
        transition: 0.5s;
        border-radius: 7px;
        padding: 15px 15px;
        margin-top: 5px;
        position: absolute;
        z-index: 2;
        left: 0;

        overflow-y: scroll;
    }

    .card-marg {
        margin-top: 75px;
    }
}