@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: #FFB066;
}

ul.search_result_list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

::selection{
    color: #fff;
    background: #664AFF;
}

.wrapper{
    max-width: 800px;
    top: 1px;
    margin: 10px auto;
}

.wrapper .search-input{
    background: #fff;
    width: 100%;
    border-radius: 5px;
    position: relative;
    box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.12);
}
/* Set the size of the div element that contains the map */
#map {
    height: 350px;
    /* The height is 400 pixels */
    width: 100%;
    /* The width is the width of the web page */
}
.p_description{
    margin-left: 20%;
    margin-right: 20%;
    font-size: 15px;
    padding-top: 12px;
}
.p_name{
    font-size: 25px;
    padding-top: 12px;
}
@media only screen and (max-width: 900px) {
    .p_description{
        margin-left: 1px;
        margin-right: 1px;
        font-size: 12px;
        padding-top: 12px;
    }
    .p_name{
        font-size: 20px;
        padding-top: 12px;
    }
}
.product_picture {
    width: auto;
    max-width: 500px;
    height: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;

}

.search-input input{
    height: 55px;
    width: 100%;
    outline: none;
    border: none;
    border-radius: 5px;
    padding: 0 60px 0 20px;
    font-size: 18px;
    box-shadow: 0px 1px 5px rgba(0,0,0,0.1);
}

.search-input.active input{
    border-radius: 5px 5px 0 0;
}

.search-input .autocom-box{
    padding: 0;
    opacity: 0;
    pointer-events: none;
    max-height: 280px;
    overflow-y: auto;
}

.search-input.active .autocom-box{
    padding: 4px 4px;
    opacity: 1;
    pointer-events: auto;
}

.autocom-box li{
    list-style: none;
    padding: 8px 12px;
    display: none;
    width: 100%;
    cursor: default;
    border-radius: 3px;
}

.search-input.active .autocom-box li{
    display: block;
}
.autocom-box li:hover{
    background: #efefef;
}

.search-input .icon{
    position: absolute;
    right: 0px;
    top: 0px;
    height: 55px;
    width: 55px;
    text-align: center;
    line-height: 55px;
    font-size: 20px;
    color: #FFB066;
    cursor: pointer;
}

@media screen and (max-width: 620px) {
    .searchBox:hover > .searchInput {
        width: 150px;
        padding: 0 6px;
    }

}

.display_location{

    padding: 3px;
    margin-left: 3px;
    font-size: 15px;
}

.user_location{
    width: 300px;
    height: 30px;
    border-radius: 5px;
    outline: none;
    border: none;
    padding: 3px;
    margin-left: 4px;
    font-size: 14px;
    box-shadow: 0px 1px 5px rgba(0,0,0,0.1);
}

@media (max-width: 500px) {
    .user_location{
        width: 98%;
        height: 30px;
        border-radius: 5px;
        outline: none;
        border: none;
        padding: 3px;
        margin-left: 1%;
        margin-right: 1%;
        margin-bottom: 20px;
        font-size: 14px;
        box-shadow: 0px 1px 5px rgba(0,0,0,0.1);    }
}





.topnav {
    overflow: hidden;
    background-color: #FFB066;
    top: 0; /* Position the navbar at the bottom of the page */
    width: 100%; /* Full width */
}

.topnav a {
    float: right;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
    background-color: #FFB066;
}

.active {
    background-color: #04AA6D;
    color: white;
}

.topnav .icon {
    display: none;
}

.dropdown {
    float: right;
    overflow: hidden;
}

.logo_topnav a{
    float: left;
    overflow: hidden;
    background-color: #FFB066;
}

.logo_topnav a:hover{
    background-color: #FFB066;
    color: white;
}

.dropdown .dropbtn {
    font-size: 20px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: #FFB066;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFB066;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #ff9e42;
    color: white;
}

.dropdown-content a:hover {
    background-color: #ff9e42;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media screen and (max-width: 800px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 1320px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
}

.products {
    width: 100%;
    font-family: Raleway;
}

.product {
    display: inline-block;
    width: calc(24% - 13px);
    margin: 10px 10px 30px 10px;
    vertical-align: top;
}

.product img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: 200px;
    max-width: calc(100% - 20px);
    background-cover: fit;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.8);
    border-radius: 2px;
}

.product-content {
    text-align: center;
}

.product h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 0 0;
}

.product h3 small {
    display: block;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin: 7px 0 0 0;
}

.product .product-text {
    margin: 7px 0 0 0;
    color: #777;
}

.product .price {
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.product .genre {
    font-size: 14px;
}


@media screen and (max-width:1150px) {
    .product {
        width: calc(33% - 23px);
    }
}

@media screen and (max-width:700px) {
    .product {
        width: calc(50% - 43px);
    }
}

@media screen and (max-width:400px) {
    .product {
        width: 100%;
    }
}

/* TABLE VIEW */

@media screen and (min-width:401px) {

    #view {
        display: inline;
    }
    .products-table .product {
        display: block;
        width: auto;
        margin: 10px 10px 30px 10px;
    }
    .products-table .product .product-img {
        display: inline-block;
        margin: 0;
        width: 120px;
        height: 120px;
        vertical-align: middle;
    }
    .products-table .product img {
        width: auto;
        height: 120px;
        max-width: 120px;
    }
    .products-table .product-content {
        text-align: left;
        display: inline-block;
        margin-left: 20px;
        vertical-align: middle;
        width: calc(100% - 145px);
    }
    .products-table .product h3 {
        margin: 0;
    }
}