body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
  }  
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: hidden
}
p{
    margin: 50px;
    font-size: 20px;
}
.header {
    position:top;
    top: 0;
    height: 130px;
    width: 100%;
    background-color: maroon;
    text-align: center;
    color: white;
    line-height: 50px;
    box-sizing: border-box;
    z-index: 10;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
}
.containerSM {
    display: flex;
    flex-grow: 1;
    min-height: 100vh;
}
.logo-link {
    position: top left;
    display: inline-block;
    background-image: url(/assets/Rimg/1.png);
    background-position: 35% 31.8%;
    background-repeat: no-repeat;
    background-size: 105% ;
    height: 90px;
    width: 215px;
    text-decoration: none;
 /*   margin-top: 10px;
    margin-left: 5px;
    margin-right: 0; */
    margin: 8px 10px 8px 10px;
    transition: all 0.3s ease-in-out;
}
#slogan {
    line-height: 50px;
    margin-right: 75px;
}
.slogandiv{
    text-align: center;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    margin: auto;
}
.sidebar {
    position: sticky;
    left: 0;
    top: 0;
    height: 100vh;
    width: 230px;
    padding: .4rem .8rem;
    background: linear-gradient(110deg, black 20%, rgb(77, 1, 1) 100%);
    z-index: 7;
    display: flex;    
    flex-direction: column;
    transition: all 0.5s ease-in-out;
}
.sidebar .top {
    color: white;
    text-align: center;
}
.sidebar ul{
    transition: all 0.5s ease-in-out;
    list-style-type: none;
    flex-direction: column;
    margin: 0;
    padding: 0;
    display:flex;
    
}
.sidebar ul li {
    margin-left: 0rem;
    margin-bottom: 1.6rem;
    position: relative
}
.sidebar ul li a {
    font-size: 1.35rem;
    width: 180px;
    height: 50px;
    text-decoration: none;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: brown;
    border: solid white 1px;
    padding: 1rem 20px 1rem 20px;
    border-radius: 0.5rem;
    display: block;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;
    white-space: nowrap;
    user-select: none;
    pointer-events: all;
    position: relative;
}
.sidebar ul li a i {
        margin-right: 10px;
  }
  .sidebar ul li :hover {
    transform: scale(1.05);
    color: orange;
    background-color: rgb(165, 0, 0);
    border-color: orange;
  }
  .sidebar ul li a i,
.sidebar ul li a span {
    pointer-events: none; 
    line-height: 50px;
    display: inline;

}
.main {
    z-index: 6;
    overflow-y: auto; /* Scroll when content overflows */
    position: relative;
    flex-grow: 1;
    max-height: 100vh
}
.content {
    background-color: lightgrey;
    margin-left: 10px;
}
.top i {
    background-color: brown;
    border-radius: 50%;
    font-size: 3rem;
    transition: all 0.5s ease-in-out;
    padding: 6%;
    margin:  8px 10px 8px 10px;
    border:solid 1px white;
}
.top i:hover {
    transform: scale(1.05);
    color: orange;
    background-color: rgb(165, 0, 0);
    border-color: orange;
  }
  #seeStock {
    margin-top: 10px;
    margin-left: 10px;
    display: block;
    width: 250px;
    height: 100px;
    background-color: brown;
    border-radius: 5px;
  }
  .text {
    margin-left: 10px;
  }
  /* Basic sidebar styling by chatgpt
.sidebar {
    width: 250px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }

    .sidebar .logo {
        display: none;
    }
    .sidebar.show .logo {
        display: block;
    }

    #menuButton {
        position: fixed;
        top: 10px;
        left: 10px;
        font-size: 24px;
        cursor: pointer;
        z-index: 1000;
    }
}
