/* GLOBAL */
* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
    font-family: 'Titillium Web', sans-serif;
    background-color: rgb(10, 10, 10);
    color: #FEFEFE;
}

a {
    color: #005221;
    font-weight: bolder;
    text-decoration: none;
}

h1 {
    font-size: 16px;
    font-weight: bolder;
}

/* FORUM.HTML */
.container {
    margin: 20px;
    padding: 20px;
}

.subforum {
    margin-top: 20px;
}

.subforum-title {
    background-color: #0b0b0b;
    padding: 5px;
    border-radius: 5px;
    margin: 4px;
}

.subforum-description *{
    margin-block: 0;
}

.subforum-row {
    display: grid;
    grid-template-columns: 7% 60% 13% 20%;
}

.subforum-column {
    padding: 10px;
    margin: 4px;
    border-radius: 5px;
    background-color: #0b0b0b;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.subforum-icon i{
    font-size: 45px;
}

/* SMARTPHONE RESIZE */
@media screen and (max-width: 460px) {
    .container {
        margin: 10px;
        padding: 10px;
    }

    .subforum-row {
        display: grid;
        grid-template-columns: 25% 75%;
        grid-template-rows: 65% 35%;
    }

    .subforum-stats {
        font-size: 12px;
    }
}

/* TABLET RESIZE */
@media screen and (min-width: 460px) and (max-width: 1024px) {
    .container {
        margin: 15px;
        padding: 15px;
    }

    .subforum-row {
        display: grid;
        grid-template-columns: 10% 60% 10% 20%;
    }

    .subforum-icon i{
        font-size: 35px;
    }

    html {
        font-size: 16px;
    }

    h1 {
        font-size: 18px;
    }
}

/* NAVBAR */
header {
    margin-inline: 10px;
}

.navbar {
    display: flex;
    align-items: center;
}

.navigation {
    background-color: #000000;
    padding: 10px;
    width: 65%;
    display: inline-block;
    border-radius: 5px;
    max-height: 80px;
    margin-right: 10px;
}

.nav-list {
    list-style-type: none;
    overflow: hidden;
}

.nav-item a {
    float: right;
    display: block;
    text-align: center;
    margin-inline: 20px;
    font-size: 20px;
    padding: 10px;
    color: #fff;
}

.nav-item a:hover {
    background-color: rgb(0, 0, 0, 0.1);
}

.close-icon i {
    font-size: 60px;
    float: left;
    cursor: pointer;
}

.hide {
    display: none;
}

.bar-icon {
    font-size: 60px;
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    cursor: pointer;
}

@font-face {
    font-family: aquire;
    src: url(Aquire-BW0ox.otf);
}

.brand {
    font-size: 60px;
    display: inline-block;
    font-family: aquire;
}

/* SMARTPHONE NAVBAR */
@media screen and (max-width: 460px) {
    .navigation {
        max-height: auto;
    }
    
    .nav-item a {
        float: left;
        display: inline;
        text-align: center;
        margin-inline: 3px;
        font-size: 10px;
        padding: 50px;
    }
    
    .close-icon i {
        font-size: 30px;
    }
    
    .brand {
        font-size: 20px;
    }
}

/* SEARCH BAR */
.search-box {
    border: solid 1px #005221;
    margin-top: 20px;
    padding: 40px;
    display: flex;
    justify-content: center;
    box-shadow: 1px 2px 3px #004b1e;
}

.search-box select {
    padding: 10px;
}

.search-box input {
    padding: 10px;
}

.search-box button {
    padding: 10px;
    background-color: #fff;
    color: #000000;
}

.search-box button:hover {
    background-color: #000000;
    color: #fff;
    box-shadow: 1px 2px 3px #fff;
}

/* SMARTPHONE SEARCH BAR */
@media screen and (max-width: 460px) {
    .search-box input, .search-box button, .search-box select {
        min-width: 300px;
        margin-top: 5px;
    }
}

/* FORUM INFO */
.forum-info {
    padding: 20px;
    background-color: #0b0b0b;
}

.chart {
    font-size: 20px;
    font-weight: bold;
}

/* FOOTER */
footer {
    margin-top: 20px;
    padding: 20px;
    background-color: #000000;
    display: block;
    text-align: center;
}

/* POSTS.HTML */
.table-head {
    display: flex;
}

.table-head div {
    padding: 5px;
    margin: 2px;
    background-color: #0b0b0b;
    font-weight: bold;
}

.table-head .status {
    flex: 5%;
}

.table-head .subjects {
    flex: 70%;
}

.table-head .replies {
    flex: 10%;
}

.table-head .last-reply {
    flex: 15%;
}