﻿:root {
    --main-bg-color: #000;
    --main-highlight-color: #ecd202;
    --main-txt-color: #ffffff;
    --sec-txt-color: #b3b3b3;
}

html {
    background-color: var(--main-bg-color);
    color: var(--main-txt-color);
    font-family: 'PingFang SC', 'Microsoft YaHei';
    font-size: 15px;
}

* {
    font-family: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    text-align: center;
    padding: 10px 15%;
}

header div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 33%;
}

header > div:last-child {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

header img {
    width: 5%;
    min-width: 80px;
    background-color: var(--main-highlight-color);
}

header a {
    margin: 0 15px;
    color: var(--main-txt-color);
    white-space: nowrap;
    text-decoration: none;
}

header a:hover, header a.active {
    color: var(--main-highlight-color);
    text-decoration: underline;
}

article {
    padding: 2.5% 15% 5% 15%;
    min-height: 100vh;
}

section {
    display: flex;
    flex-direction: row;
}

footer {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 15px 0;
    border-top: 1px solid #ffffff14;
}

.social-media, .search, #submitBtn {
    font-size: 18px;
    cursor: pointer;
}

#searchInput {
    background-color: #e8eaed;
    outline: none;
    border-radius: 5px;
    padding: 5px;
    font-size: 15px;
    width: 100px;
}

.default-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    text-align: center;
    color: var(--main-bg-color);
    background-color: var(--main-highlight-color);
    border-radius: 10px;
    outline: none;
    border: 0;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}

.default-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    html {
        padding: 0 3%;
    }

    header div {
        justify-content: center;
    }

    header {
        flex-direction: column-reverse;
        font-size: 15px;
    }

    header > div:first-child {
        padding: 3% 0;
        width: 100%;
        justify-content: center;
    }

    header > div:last-child {
        display: none;
    }

    article {
        padding: 3%;
    }

    .category-container .filter {
        font-size: 14px;
    }

    .filter button {
        font-size: 12px !important;
    }
}

