* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: #fbfbfb;
}

.container {
    max-width: 1200px;
    min-height: 100vh;
    max-height: max-content;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin: 0 2rem; */
    padding: 1.5vh 0;
    min-height: 12vh;
    max-height: 15vh;
}

logo img {
    max-height: 10vh;
    width: 10vh;
    border-radius: 50%;
    box-shadow: 2px 2px 4px;
}

.navlinks {
    display: flex;
    list-style-type: none;
    gap: 3rem;
}

.navlinks li a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    opacity: 0.9;
}

#navbar button {
  padding: 0.6rem 2rem;
  color: white;
  background-color: #007bff; /* blue theme */
  border: hidden;
  border-radius: 0.3rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#navbar button:hover {
  background-color: #005fd1;
}

.sidebar {
    top: 4.5rem;
    right: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.776);
    min-width: 50vw;
    list-style-type: none;
    transform: translateX(120%);
    transition: transform 0.5s ease-in-out;
    z-index: 10;
    visibility: hidden;  
    position: fixed;  
}

.sidebar.visible {
        /* transform: translateX(0); */
        transform: translateX(0);
        visibility: visible;
}

.sidebar li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem;
  text-align: center;
  background-color: transparent;
  transition: background-color 0.3s;
}

.sidebar li a {
    text-decoration: none;
    font-weight: bold;
    color: white;
    
    
}

.sidebar li:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* hero */
#hero {
    min-height: 85vh;
    display: flex;
    padding: 0 1rem;
    justify-content: space-between;
    background-color: #f5f7f8;
}

.left-hero {
    max-width: 50%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* background-color: cyan; */
}

.left-hero #prod {
    color: rgb(29, 168, 46);
}

.left-hero #para1 {
    color: rgb(37, 168, 219);
    font-weight: bold;
    font-size: 1.3rem;
}

.hero-image {
    min-width: 45%;
    max-height: 100%;
    /* background-color: sienna; */
    background: url("./assets/shoes3.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.left-hero h1 {
    font-size: 3.5rem;
    font-weight: bolder;
    margin-top: 0.5rem;
}

.left-hero :nth-child(4) {
    color: rgb(67, 65, 65);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.left-hero button {
    padding: 0.6rem 2rem;
    background-color: #e46d00;
    transform: scale(1.05);
    color: white;
    border: hidden;
    border-radius: 0.3rem;
    font-weight: bold;
}

.left-hero button:hover {
    background-color: rgb(241, 143, 68);
}

/* mobile view css */
@media (max-width: 480px) {
    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    
    .container {
        margin: 0 auto;
        flex-direction: column;
        min-width: 95%;
        /* overflow-x: hidden; */
    }

    #navbar {
        min-width: 100%;
        /* background-color: red; */
    }

    #navbar .navlinks {
        display: none;
    }

    #navbar button {
        display: none;
    }

    #navbar p {
        display: initial;
    }

    #hero {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        /* background-color: yellow; */
    }

    .left-hero {
        /* background-color: red; */
        min-width: 100%;
        min-height: 60vh;
        padding: 0.5rem;
        align-items: center;
    }

    .left-hero h1 {
        font-size: 2rem;
    }



    .hero-image {
        /* background-color: blue; */
        min-width: 100%;
        min-height: 70vh;
    }

}

/* medium view */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        /* background-color: red; */
        min-width: 90%;
        margin: 0 auto;
    }

    #navbar {
        min-width: 100%;
    }

    #navbar button {
        display: none;
    }

    #navbar .navlinks {
        display: none;
    }

    

    #hero {
        min-width: 100%;
        flex-direction: column;
    }

    #hero .left-hero {
        min-width: 100%;
        min-height: 60vh;
    }

    .hero-image {
        min-width: 100%;
        min-height: 80vh;
    }

    

    
}

/* desktop view */
@media (min-width: 769px) {
    #navbar p {
        display: none;
    }
}