@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Great+Vibes&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Pacifico&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
* {
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    font-weight: 400;
    background: #fff;
}

img {max-width: 100%}

a {
    color: #ff5644;
    text-decoration: none;
    transition: all 0.6s ease;
}

a:hover {
    color: #8bddff;
    transition: all 0.6s ease;
}

.container {
    padding-left: 15%;
    padding-right: 15%;
    width: 70%;
}

@media(max-width: 900px) {
    .container {
        padding-left: 5%;
        padding-right: 5%;
        width: 90%;
    }
}

header > .top-menu {
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    background: #333;
    color: #fff;
    text-transform: uppercase;
}

header > .top-menu > .nav a {
    color: #fff;
    margin-right: 10px;
}

header > .top-menu > .nav a:hover {
    color: #757575;
}

header > .top-menu > .nav a:not(:last-of-type)::after {
    content: "|";
    margin-left: 10px;
    color: #fff;
}

header > .top-menu > .tel > i {
    margin-right: 10px;
}

@media (max-width: 600px) {
    header > .top-menu > .tel {display: none;}
    header > .top-menu {justify-content: center;}
    header > .top-menu > .nav a {margin-right: 2px;}
    header > .top-menu > .nav {margin: 0;}
    header > .top-menu > .nav a:not(:last-of-type)::after {content: "|";  margin-left: 3px; color: #fff;}
}

header > .middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (min-width: 800px) {
    header > .middle{ margin: 30px 0;}
}
@media (max-width: 799px) and (min-width: 300px) {
    header > .middle{ margin: 10px 0;}
}

@keyframes pulse-logo {
    0% {
        transform: scale(0.80);
    }
    100% {
        transform: scale(1);
    }
}

header > .middle > .logo img {
    width: 150px;
    float: left;
    margin-right: 20px;
    animation: pulse-logo infinite ease-in-out 1.5s alternate;
}

header > .middle > .logo span {
    float: left;
    display: block;
    font-size: 30px;
    font-weight: 700;
    font-family: "Pacifico", cursive;
    width: 250px;
    margin-top: 30px;
}

@media (max-width: 749px) and (min-width: 300px) {
    header > .middle > .logo {
        display: flex;
        flex-direction: column;
    }
    header > .middle > .logo span {
        margin-top: 5px;
        margin-bottom: 10px;
        width: 100%;
        font-size: 1.5em;
    }
}

.btn {
    width: 130px;
    height: 40px;
    background: #333;
    border-radius: 5px;
    border: 0;
    font-size: 14px;
    margin-left: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 600ms ease;
}

header .btn.auth {
    width: 100px;
    background: #ff5644;
}

header .btn.basket {
    width: 95%;
    background: #fff;
    color: #333;
    margin-bottom: 10px;
    border: 1px solid #333;
}

header .btn.dashboard {
    width: 200px;
    background: #ff5644;
}

.btn:hover {
    transition: all 600ms ease;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0px 10px 20px -2px rgba(0,0,0,0.3);
}

@media (max-width: 550px) and (min-width: 300px) {
    header > .middle > .auth-checkout {
        display: flex;
        flex-direction: column;
    }
    header .btn.auth{
        width: 120px;
        margin-bottom: 5px;
    }
    header .btn.basket, header .btn.reg, header .btn.dashboard{
        width: 120px;
    }

}

header > .menu > ul > li{
    text-align: center;
    list-style: none;
    display: inline-block;
}

@media (min-width: 500px) {
    header > .menu > ul {
        background: #fafafa;
        border: 1px solid silver;
        border-radius: 5px;
        padding: 10px 2%;
        display: flex;
        justify-content: space-between;
    }
    header > .menu > ul > li {
        width: 20%;
    }
}
@media (max-width: 499px) and (min-width: 300px){
    header > .menu > ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    header > .menu > ul > li {
        width: 100%;
        box-shadow: -1px 0px 32px 3px rgba(0,0,0,0.75);
        border-radius: 5px;
        letter-spacing: 2px;
        padding: 5px 0;

    }
    header > .menu > ul > li:not(:last-of-type) {margin-bottom: 10px;}
}

header > .menu > ul > li a {color: #333}
header > .menu > ul > li a:hover {color: #ff5644}

.main {margin-top: 50px}

.main > .products {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.main > .products > .product {

    padding-bottom: 5px;
    height: auto;
    background: #eaeaea;
    border-radius: 5px 5px 0 0;
    border: 1px solid silver;
    box-sizing: border-box;
}
@media(min-width: 800px) {
    .main > .products > .product {
        width: 30%;
        margin-right: 5%;
        margin-top: 50px;
    }
}
@media(max-width: 799px) and (min-width: 300px) {
    .main > .products > .product {
        width: 330px;
        margin-top: 20px;
    }
}

.main > .products > .product .price {color: #ff5644}

.main > .products > .product:nth-child(3n) {margin-right: 0}

.main > .products > .product .image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.main > .products > .product .image img {
    border-radius: 5px 5px 0 0;
    transition: all 600ms ease;
}

.main > .products > .product .image img:hover {transform: scale(1.15)}

.main > .products > .product h3,
.main > .products > .product p {
    margin: 20px 5%;
    width: 90%;
    font-size: 22px;
    color: #515b5b;
}

.main > .products > .product p {font-size: 16px}
.main > .products > .product .btn {background: #ff5644}

.main > .pagination > a > .pages-btn {
    margin-top: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.main > .pagination > a > .pages-btn:hover {background: #ff5644}

.main > .pagination > a > .activeButton {
    background: #fff;
    color: #333;
    border: 1px solid #333;
}
.main > .pagination > a > .activeButton:hover {background: #fff;}


footer {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    background: #333;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (max-width: 400px){
    footer {
        justify-content: center;
    }
    footer > .social {margin-top: 10px;}
}

footer > .social > i {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background: silver;
    margin-left: 5px;
    cursor: pointer;
    transition: transform 600ms ease;
    color: #333;
}

footer > .social > i:hover {
    transition: transform 600ms ease;
    transform: translateY(-5px);
}

