@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,700;1,700&display=swap');

* {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

:root {
    --text-color: #B69572;
    --text-color-one: #DBCBC0;
    --text-colo-two: #FFF;
    --text-color-three: #6C4433;
    /* -------------------------- */
    --bkg-color: #B69572;
    --bkg-color-one: #DBCBC0;
    --bkg-color-two: #6C4433;
    /* -------------------------- */
    --border-color: #A17D64;
    --border-color-one: #6C4433;
    /* -------------------------- */
    --box-shadow: #6C4433;
    --box-shadow-one: #141414;
}

body {
    font-family: "Raleway", sans-serif;
    /* background: #141414; */
}

/* HEADER */

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

header .container {
    display: flex;
    align-items: center;
    padding-top: 35px;
    padding-bottom: 35px;
    gap: 50px;
}

header nav {
    flex: 1;
    display: flex;
    align-items: center;
}

header nav .leftside {
    display: flex;
    flex: 1;
}

header nav li {
    list-style: none;
    margin: 0 30px;
}

header nav a {
    text-decoration: none;
    height: 100px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    align-items: center;
    border-bottom: 5px solid transparent;
    transition: 0.3s;
    color: var(--text-color);
}

header li a:hover {
    border-bottom: 5px solid var(--text-color-one);
    opacity: 0.8;
}

header .btn-burger {
    width: 32px;
    height: 32px;
    display: none;
}

header .line-menu {
    height: 4px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bkg-color);
}

.rigthside a {
    display: inline;
    transition: 0.3s;
}

.rigthside a:hover {
    opacity: 0.8;
}

.rigthside img {
    width: 32px;
    height: 32px;
}

/* SECTION BANNER  */

section .banner {
    width: 100%;
    height: 600px;
    background-image: url(../images/banner.svg);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

section .banner a {
    display: flex;
    text-decoration: none;
    background: var(--box-shadow);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--border-color);
    color: var(--text-colo-two);
    transition: 0.3s;
}

section .banner a:hover {
    background: var(--bkg-color-one);
    color: var(--text-color-three);
}

/* SEARCH  */

.search {
    background: var(--bkg-color-one);
    padding: 80px 0;
    margin-top: 100px;
}

.search .title {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-color);
}

.search .sides {
    display: flex;
    margin-top: 30px;
    gap: 100px;
    justify-content: space-between;
}

.search .leftside, .search .rightside {
    flex: 1;
}

.search input {
    width: 100%;
    max-width: 600px;
    background: var(--bkg-color-two);
    color: var(--text-colo-two);
    font-size: 24px;
    outline: none;
    padding: 20px;
    border: 0;
    border-radius: 5px;
}

.search .rigthside .social {
    width: 100%;
    text-decoration: none;
    display: inline;
    margin-right: 20px;
}

.search .rightside .social img {
    width: 32px;
    height: 32px;
}

.search input {
    background-image: url(../icons/searchIcon.png);
    background-repeat: no-repeat;
    background-position: 20px center;
    padding-left: 60px;
}

.search select {
    border-right: 20px solid transparent;
}


/* MAIN*/

main .container .boder {
    width: 195px;
    height: 22px;
    margin-bottom: 20px;
    box-shadow: 0 0 4px var(--box-shadow-one);
    background: var(--bkg-color-two);
}

main .container .title {
    color: var(--text-color);
    margin-top: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.product-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.product-item:hover {
    opacity: 0.8;
}

.product-item .warning {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--bkg-color-two);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-colo-two);
    padding: 10px 15px;
    border-radius: 4px;
}

.product-item .photo {
    text-align: center;
    background: var(--bkg-color-one);
    padding-top: 30px;
}

.product-item .photo img {
    max-width: 100%;
}

.product-item .info {
    background: var(--bkg-color);
    padding: 60px 30px 30px 30px;
    margin-top: -50px;
}

.product-item .product-category {
    color: var(--text-colo-two);
    font-size: 18px;
    font-weight: 500;
}

.product-item .product-name {
    font-size: 32px;
    color: var(--text-color-one);
    margin: 10px 0;
}

.product-item .product-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color-one);
}

/* FOOTER  */

footer {
    background: var(--bkg-color-two);
    height: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}


footer .copyrights {
    font-size: 18px;
    color: var(--text-color);
    margin-left: 30px;
}

footer .copyrights a {
    color: var(--text-color);
    text-decoration: none;

}

footer .copyrights a:hover {
    text-decoration: underline;
}

@media(max-width:880px) {

    header nav .leftside, header nav .rigthside a {
        display: none;
    }

    header .btn-burger {
        display: initial;
    }

    .search .title{
        text-align: center;
    }

    .search .sides{
        flex-direction: column;
        align-items: center;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 530px){
    .product-grid {
        grid-template-columns: 1fr;
    }
}
