@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-Medium.ttf);
}

html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    font-family: 'Poppins';
    background-color: #f2f2f2;
}

body {
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: white;
}

/* HEADER */

header {
    background-color: #1c2120;
    height: 15vh;
    min-height: 100px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-container {
    flex-grow: 2;
}

.nav-items {
    padding: 5px;
}

a.nav-items:hover {
    background-color: rgb(237, 237, 237);
    color: #1c2120;
    border-radius: 2px;
}

.logo {
    padding-left: 3em;
}

.logo img {
    width: 250px;
}

.search-wrapper {
    height: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-wrapper form input {
    width: 100%;
    height: 100%;
    padding: 0px 0px 0px 15px;
    border-radius: 25px 0 0 25px;
    border: 0;
}

.search-wrapper form input:focus{
    outline: none;
} 

.search-wrapper form input::placeholder {
    font-size: 14px;
}

.search-icon {
    width: 15%;
    height: 100%;
    background-color: white;
    border: 0;
    border-radius: 0 25px 25px 0;
}

.search-icon img {
    width: 17px;
    max-height: 100%;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cart-wrapper {
    padding-right: 3em;
}

.cart {
    background-color: transparent;
    border: 0;
    margin: auto;
    cursor: pointer;
}

.cart-wrapper .cart img {
    width: 35px;
}

/* MAIN */

.content-wrapper {
    width: 100%;
}


.banner-container {
    width: 92vw;
    text-align: center;
    margin: auto;
}

.deals-container {
    padding: 0 5vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.deals-container img {
    height: 300px;
    border-bottom: 5px solid #1c2120;
    border-radius: 5px;
}

.deals-item, .cat-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-top: 15px;
}

.deals-item span {
    margin-top: 15px;
    font-size: 20px;
    font-weight: bold;
}

.deals-item a {
    color: #1c2120;
    text-decoration: underline;
    cursor: pointer;
}

.categories-container {
    text-align: center;
    margin: 10vh 0;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.cat-item img {
    height: 200px;
    border-radius: 100px;
}

.cat-item span {
    margin-top: 15px;
    font-size: 16px;
    color: #1c2120;
}

/* FOOTER */
.footer-wrapper {
    width: 100%;
    min-height: 10vh;
    background-color: #1c2120;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 990px) {
    header {
        justify-content: center;
        height: 25vh;
        min-height: 150px;
        padding: 10px;
    }
    nav {
        flex-basis: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .footer-wrapper {
        font-size: 14px;
    }
    .search-wrapper {
        height: 30px;
    }
    .search-wrapper form input::placeholder {
        font-size: 12px;
    }
    .logo {
        padding: 0;
    }
    .logo img {
        width: 200px;
    }
    .nav-items {
        font-size: 10px;
    }
    .cart-wrapper {
        padding: 0;
    }
    .cart-wrapper .cart img {
        width: 25px;
    }
}