/* CSS for Navbar */
#logo {
    transition-duration: 0.5s;
}

#logo:hover {
    transform: scale(1.2);
}

.fa-solid {
    margin-right: 8px;
}

#nav_a {
    color: #ffffff;
    position: relative;
    text-decoration: none;
    margin-left: 15px;
    margin-right: 15px;
    font-weight: bold;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 15px;
}

#nav_a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #ffffff;
    bottom: 0;
    left: 0;
    transform-origin: center;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

#nav_a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

#login {
    color: #ffffff;
    position: relative;
    text-decoration: none;
    margin-left: 15px;
    margin-right: 15px;
    font-weight: bold;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 15px;
}

#login::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #ffffff;
    bottom: 0;
    left: 0;
    transform-origin: center;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

#login:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.navbar-toggler{
    background-color: white;
}

/* CSS for Home Page */
#show_data{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    margin: 10px;
    gap: 15px;
}

#box{
    padding: 15px;
    border-style: groove;
    border-radius: 15px;
    border-width: 1px;
}

#picture_div{
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

#picture{
    height: 200px;
    width: 200px;
    border-radius: 15px;
    transition-duration: 0.5s;
}

#picture:hover{
    transform: scale(1.08);
}

#btn_div{
    display: flex;
    justify-content: center;
    align-items: center;
}

#btn_cart{
    width: 150px;
    margin-top: 20px;
    border-radius: 10px;
    border: none;
    padding: 5px;
    font-weight: bold;
}

#filter{
    display: flex;
    margin: 10px;
    color: gray;
    font-weight: bold;
}

.filter{
    margin-left: 20px;
    text-decoration: underline;
    font-weight: bold;
    color: rgb(88, 88, 88);;
    cursor: pointer;
    transition-duration: 0.5s;
    font-size: 18px;
}

.filter:hover{
    color:grey;
}

#hr{
    color: gray;
    margin-top: 0px;
}

#main{
    display: flex;
    justify-content: space-between;
}

#city{
    margin-right: 20px;
    font-size: 25px;
    font-weight: bold;
}

#city_search{
    border-radius: 10px;
    border-width: 1px;
}