*{
    padding: 0;
    margin: 0;
}
#header-container{
    width: 100%;
    background: rgba(0,47,52,.03);
}
#header{
    border-bottom: 1px solid white;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr 4fr 1fr 0.3fr 0.3fr 0fr 1fr ;
    justify-content: center;
    column-gap: 13px;
    align-items: center;
}

#header>div>img{
    padding: 20px;
    width: 40%;
    margin-left: 40px;
}

#header>div:nth-child(2)>select{
    border: 2px solid black;
    padding: 5px;
    width: 100%;
    height: 50px;
}
#header>div:nth-child(3)>input{
    border-right: 20px;
    width: 95%;
    height: 50px ;
    padding: 5px;
    border-radius:4px
}
#header>div:nth-child(3)>button{
    height: 62px;
    width: 4%;
    padding: 5px;
    position: absolute;
    border-left: 20px;
    margin-left: -3px;
    font-size: 12px;
    background: black;
    color: white;
    border-radius:4px;
    
}
#header>div:nth-child(4)>select{
    border: none;
    background: transparent;
    text-align: center;
}
#header>div:nth-child(4){
    text-align: center;
}
i.fa.fa-search {
    font-size: 20px;
}
i.fa-regular.fa-comment,i.fa-regular.fa-bell {
    font-size: 23px;
}
i.fa-regular.fa-circle{
    font-size: 38px;
}
#header>div:nth-child(8){
    text-align: center;
}
#header>div:nth-child(8)>button{
    width: 100%;
}
#header>div:nth-child(8)>button {
    width: 90%;
    height: 40px;
    border-radius: 37px;
}
#menu{
    width: 100%;
    margin-top: 5px;
    background: white;
    display: flex;
    justify-content: space-evenly;
    box-shadow: rgb(0 0 0 / 8%) 0px 3px 2px;
    padding: 7px 0px;
    
    
}
#divider{
    height: 5px;
    width: 100%;
    box-shadow: rgb(0 0 0 / 8%) 0px 3px 2px;

}
#menu>a{
    text-decoration: none;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.719);
}


/* mobile css starts */
#mobile-header{
    width: 100%;
    background: rgba(0,47,52,.03);
}
#head>div:nth-child(1){
    display: flex;
    width: 6%;
    padding: 8px;
    align-items: center;
}
#head>div>div>img{
    margin-left: 10px;
    width: 100%;
}
#head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 19px;
    margin-left: 5px;
}
#search {
    background: rgba(0,47,52,.03);
    padding: 8px;
}
#search>input {
    border: 2px solid black;
    padding: 10px 30px;
    width: 100%;
    height: 40px;
}


/* desktop */
@media all and (min-width: 1165px) {
    #mobile-header,#search{
        display: none;
    }
  }

  /* meidum screens */
  @media all and (min-width: 782px) and (max-width: 1164px) {
    i.fa.fa-search {
        position: absolute;
        left: 14px;
        margin-top: 10px;
        align-items: center;
    }
    #header-container,#menu,#divider{
        display: none;
    }
  }

        /* small screens */
  @media all and (min-width: 0px) and (max-width: 782px) {
    i.fa.fa-search {
        position: absolute;
        left: 14px;
        margin-top: 10px;
        align-items: center;
    }
    #header-container,#menu,#divider{
        display: none;
    }
    #head>div:nth-child(1){
        display: flex;
        width: 50px;
        padding: 8px;
        align-items: center;
    }
    
  }
  /* // mega menu */

  #mega-content {
    width: 100%;
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 28px;
    row-gap: 54px;
    
}

#megamenu-box {
    width: 83%;
    background: #ffffff;
    margin: auto;
    margin-top: 3px;
    padding: 28px 50px;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}
#mega-menu{
    cursor: pointer;
}
.megamenu-links>li>a {
    text-decoration: none;
    color: black;
    line-height: 27px;
    
}
h4{
    margin-bottom: 10px;
}
ul{
    list-style: none;
}
.megamenu-links>li>a:hover {
    color: blue;
    
}
/* //login  */
#login-signup {
    display: grid;
    width: 100%;
    place-items: center;
    height: 66vh;
}

#login-signup {
    display: grid;
    width: 100%;
    place-items: center;
    height: 100vh;
    background: black;
    position: absolute;
    opacity: 0.9;
    top: 0;
    z-index: 100;
}
#login-signup input {
    display: block;
    width: 144%;
    border-width: 0px 0px 2px 0px;
    height: 37px;
    margin-bottom: 32px;
   
    padding: 15px;
}
#auth-container, #signup, #login {
    padding: 56px 140px 56px 30px;
    background: white;
    text-align: center;
   
}
#btn-checklogin, #btn-login, #btn-signup {
    padding: 12px 54px;
    text-align: center;
    margin-left: 74px;
    border-radius: 50px;
    background: blue;
    color: white;
}
#login1{
    cursor: pointer;
    font-size: 20px;
}
#logout {
    padding: 8px;
    border-radius: 4px;
    color: white;
    background: blue;
}
button{
    cursor: pointer;
}

/* sell css */
#container-sell {
    width: 60%;
    display: grid;
    height:auto;
    border: 1px solid;
    place-content: center;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    justify-content: left;
}
#container-sell>div>a {
    padding: 12px;
    border: 1px solid;
    font-size: 30px;
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: black;
}
h1{
    text-align: center;
    margin-top: 40px;
    font-size: 30px;
}
h5{
    font-size: 20px;
    margin: 20px;
}

#sell{
    background: rgb(189, 130, 238);
    color: white;
}