html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin-top: 0;
    margin-left: 0px;
    width: 100%;
    font-family: Arial, sans-serif;
    color: #333;
    background: linear-gradient(to bottom, #11001c, #4b025a, #11001c);
}

* {
    box-sizing: border-box;
}

.background-gradient {
    height: 2000px;
    width: 100vw;
    position: absolute;
    top: 0%;
    background-attachment: fixed;
    z-index: -999;
}

a,
a:visited {
    color: white;
    text-decoration: none;
}

header {
    width: 100%;
    height: 5em;
    background-color: #200135;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    align-items: center;
    position: sticky;
    top: 0px;
    z-index: 50;
    padding: 0 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.website-logo {
    width: 10.6em;
    height: 3.5em;
    background-image: url("images/homepage/logo.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.header-logos {
    height: 1em;
    width: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    background-color: #200135;
    border: none;
    cursor: pointer;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.search-bar {
    height: 5em;
    width: 60%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    max-width: 500px;
}

input {
    height: 2.2em;
    width: 80%;
    padding: 0 1em;
    border: 1px solid black;
    border-right: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 1em;
}

.search-logo {
    height: 1.9em;
    width: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    background-color: rgb(255, 255, 255);
    border: 1px solid black;
    border-left: none;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
}

main {
    background-image: url("images/homepage/bg1.png");
    background-repeat: repeat;
    padding-top: 1em;
    padding-bottom: 1em;
}

.section-bars-1 {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}

.parts {
    height: 500px;
    width: 26%;
    gap: 10px;
    color: white;
}

#leftside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

.txt-1 {
    font-size: 3.5em;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.txt-2 {
    font-size: 1.2em;
    font-style: italic;
}

#middleside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pink-back-div {
    height: 450px;
    width: 300px;
    background: linear-gradient(to bottom right, rgb(158, 0, 158), orange);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
}

.pink-div-above-img {
    background-image: url("images/homepage/image1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    height: 34em;
    width: 20em;
}

#rightside {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}

.prod-animations {
    height: 5em;
    width: 15em;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    gap: 5px;
    transition: 0.1s ease-in-out;
    transition-property: all;
    border-radius: 5px;
}

.prod-animations:hover {
    background-color: #731d85;
    border: 1px solid #ef9eff;
}

.product-img {
    height: 4.9em;
    width: 4.9em;
    background-color: #731d85;
    border-radius: 5px;
}

.prod-txt {
    font-size: 1em;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
}

#prod-1 {
    background-image: url("images/homepage/shoes.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#prod-2 {
    background-image: url("images/homepage/football.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#prod-3 {
    background-image: url("images/homepage/jersey.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.section-bars-2 {
    width: 98%;
    margin: 1.5em auto;
    padding: 1.5em;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
    overflow: visible;
}

.section-heading-area {
    height: 3em;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.section-heading-txt {
    font-size: 2em;
    font-weight: bolder;
    color: white;
}

#new-kicks-heading {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
}

#players-choice-heading {
    font-family: 'Merriweather', 'Libre Baskerville', 'Cambria', serif;
}

#top-categories-heading {
    font-family: 'Cinzel', 'Cormorant Garamond', serif;
}

.items {
    height: 20em;
    width: 15em;
    border: 1px solid rgb(125, 91, 165);
    border-radius: 5px;
    background-color: rgba(123, 70, 173, 0.418);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 1px 1px 15px rgba(255, 255, 255, 0);
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.items:hover {
    transform: translateY(-1px);
    box-shadow: 1px 1px 12px rgba(255, 255, 255, 0.432);
}

.grid-area {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    gap: 1em;
    flex-wrap: wrap;
    padding: 0;
}

.img-area {
    height: 14em;
    width: 94%;
    margin: 0em 0em 0.5em 0em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
}

.details-area {
    background-color: rgba(123, 70, 173, 0.418);
    height: 5em;
    width: 94%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 0.5em 3%;
    box-sizing: border-box;
}

.item-name-area {
    height: 2em;
    width: 100%;
    padding-bottom: 1.3em;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(255, 255, 255);
    font-size: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cost-details-txt {
    font-size: 1.4em;
    font-weight: 1000;
    color: #ffffff;
}

.cost-details-area-sales {
    height: 1.7em;
    width: 100%;
    font-family: 'Times New Roman', Times, serif;
    padding-left: 0.5em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.mrp {
    font-size: 1em;
    text-decoration: line-through 1px rgb(255, 255, 255);
    color: #ff3a3a;
}

.discount {
    font-size: 0.9em;
    font-weight: bold;
    color: rgb(131, 224, 131);
}

.reviews-area {
    padding-left: 0.5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: auto;
}

.score-area {
    height: 1.2em;
    min-width: 1.9em;
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(5, 170, 5);
    border-radius: 5px;
    color: rgb(255, 255, 255);
    padding: 0 0.2em;
}

.review-number-area {
    display: flex;
    align-items: center;
    padding-left: 0.5em;
    color: rgb(255, 255, 255);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.03em;
}

.item-name-txt,
.cost-details-txt,
.review-number-txt,
.score-area-txt {
    margin: 0px;
}

footer {
    height: 10em;
    width: 100%;
    background-color: #11001c;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-section-1,
.footer-section-2 {
    height: 5em;
    width: 100%;
    min-width: 200px;
    padding: 0em;
}

.footer-section-1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}

.phone-area,
.email-area,
.location-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0em;
    color: white;
    margin-bottom: 0em;
}

.footer-section-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profiles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
}

.profile-icons {
    font-size: 2em;
    transition: transform 0.2s ease;
}

.profile-icons:hover {
    transform: scale(1.1);
    color: #f1f1f1;
}

.menu-bar {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background-color: rgb(68, 14, 129);
    overflow: hidden;
    transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
}

.menu-bar.open {
    overflow-y: auto;
    width: 300px;
    opacity: 1;
    visibility: visible;
}

.close-menu-button {
    position: absolute;
    top: 15px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
    z-index: 101;
}

.main-nav {
    width: 100%;
    padding: 10px 0;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.menu-items li {
    text-decoration: none;
    font-size: 1.2em;
    color: #818181;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.menu-items li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 12px 32px;
}

.menu-items li a:hover {
    color: #f1f1f1;
    background-color: #370972;
}

.dropdown-content {
    background-color: rgb(68, 14, 129);
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.dropdown-content li a {
    padding: 8px 32px 8px 50px;
    font-size: 0.9em;
    color: white;
    white-space: nowrap;
}

.dropdown-content li a:hover {
    background-color: #370972;
}

.has-dropdown.active .dropdown-content {
    max-height: 500px;
    opacity: 1;
}

.dropdown-arrow {
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.has-dropdown.active>a .dropdown-arrow {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    #rightside {
        display: none;
    }

    header {
        justify-content: space-between;
        padding: 0 1em;
    }

    .website-logo {
        width: 10em;
        height: 3.33em;
    }

    .search-bar {
        width: 50%;
        max-width: 400px;
        flex-direction: row;
        align-items: center;
    }

    input {
        height: 2.1em;
        font-size: 0.9em;
    }

    .search-logo {
        height: 1.6em;
    }

    .contact {
        display: none;
    }

    .section-bars-1 {
        height: 330px;
        align-items: center;
    }

    .parts {
        height: 300px;
    }

    .pink-back-div {
        height: 250px;
        width: 200px;
    }

    .pink-div-above-img {
        height: 21em;
        width: 10em;
    }

    .txt-1 {
        font-size: 2.5em;
    }

    .txt-2 {
        font-size: 1em;
    }

    footer {
        flex-direction: column;
        height: auto;
        padding: 1em 0;
    }

    .footer-section-1,
    .footer-section-2,
    .footer-section-3 {
        width: 90%;
        min-width: unset;
        margin-top: 1em;
        margin-bottom: 1em;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .phone-area,
    .email-area,
    .location-area {
        justify-content: center;
    }

    .section-bars {
        width: 100%;
        padding: 0.8em;
        margin: 1.2em auto;
    }

    .items {
        height: 19em;
    }
}

@media (max-width: 768px) {
    header {
        height: 4em;
        justify-content: space-between;
        padding: 0 0.5em;
    }

    .website-logo {
        width: 7em;
        height: 2em;
    }

    .search-bar {
        width: 35%;
        max-width: 300px;
        flex-direction: row;
        align-items: center;
    }

    .header-logos {
        font-size: 1em;
    }

    .home {
        font-size: 0.8em;
    }

    input {
        height: 1.9em;
        font-size: 0.85em;
    }

    .search-logo {
        height: 1.4em;
    }

    .menu-bar.open {
        width: 250px;
    }

    .menu-items li a {
        padding: 10px 25px;
    }

    .dropdown-content li a {
        padding: 6px 25px 6px 40px;
    }

    .section-bars-1 {
        height: 330px;
        align-items: center;
    }

    .parts {
        height: 300px;
    }

    .pink-back-div {
        height: 250px;
        width: 200px;
    }

    .pink-div-above-img {
        height: 21em;
    }

    .txt-1 {
        font-size: 1.5em;
    }

    .txt-2 {
        font-size: 0.55em;
    }

    .section-bars {
        width: 90%;
        padding: 0.6em;
        margin: 1em auto;
    }

    .section-heading-area {
        margin-bottom: 0.8em;
    }

    .items {
        height: 18em;
    }
}

@media (max-width: 300px) {
    header {
        height: 3.5em;
        padding: 0 0.2em;
    }

    .website-logo {
        width: 6em;
        height: 2em;
    }

    .search-bar {
        display: none;
    }

    .header-logos {
        font-size: 1.2em;
        margin: 0 0.2em;
    }

    header {
        justify-content: space-around;
    }

    .menu-bar.open {
        width: 200px;
    }

    .menu-items li a {
        padding: 8px 20px;
        font-size: 1em;
    }

    .dropdown-content li a {
        padding: 4px 20px 4px 30px;
        font-size: 0.8em;
    }

    .close-menu-button {
        font-size: 1.5em;
        right: 15px;
        top: 10px;
    }

    .section-bars {
        width: 90%;
        margin: 0.8em auto;
        padding: 0.5em;
    }

    .section-heading-area {
        margin-bottom: 0.5em;
    }

    .section-heading-txt {
        font-size: 1.5em;
    }

    .grid-area {
        padding: 0.5em 0;
        justify-content: center;
    }

    .items {
        height: 17em;
        width: 100%;
        max-width: 15em;
    }

    .img-area {
        height: 11em;
    }
}

@media (max-width: 992px) {

    .footer-section-1,
    .footer-section-2 {
        align-items: center;
    }

    .profiles {
        justify-content: center;
    }
}

@media (max-width: 468px) {
    .section-bars-1 {
        justify-content: left;
        gap: 90px;
        margin-left: 10px;
    }

    .txt-1 {
        font-size: 1em;
    }

    .items {
        width: 11em;
    }

    .cost-details-txt {
        font-size: 1.2em;
    }

    .mrp {
        font-size: 1em;
    }

    .discount {
        font-size: 0.7em;
    }

    .review-number-txt {
        font-size: 0.8em;
    }
}

@media (max-width: 1047px) {
    .footer-section-1 {
        margin: 0;
        flex-direction: column;
        gap: 0;
    }

    .phone-area p,
    .email-area p,
    .location-area p {
        margin: 0;
    }
}
