
/* global */

*{
    box-sizing: border-box;
}

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

/* for all links */
a{
    color: #FF0042;
    font-weight: bolder;
    text-decoration: none;
}

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

/* index.html */

.container {
    margin: 20px;
    padding: 20px;
}

.subforum {
    margin-top: 20px;
}

.subforum-title {
    background-color: #358688;
    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: #111134;
}

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

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

.subforum-devider {
    display: none;
}

.new-projectbtn {
    background-color: #08AA6D;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 25px;
    margin: 4px 2px;
    cursor: pointer;
}

/* for mobile */
@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;
    }

    .subforum-devider {
        display: block;
        border: 0;
        height: 1px;
        background-image: linear-gradient(to right,rgba(190,190, 190, 0), rgba(255, 255, 255, 0.75), rgba(190, 190, 190, 0));
    }

    
}

/* for tablet */
@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;
    }

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

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

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

.navigation {
    background-color: #52057b;
    padding: 10px;
    width: 30%;
    display: inline-block;
    border-radius: 5px;
    max-height: 60px;
    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: #9fa;
}

.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: 70px;
    display: inline-block;
    margin-right: 10px;
    color: #9ef;
    cursor: pointer;
}

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

.sign-in {
    float: right;
    display: block;
    text-align: center;
    margin-inline: 20px;
    font-size: 20px;
    padding: 10px;
    color: #fa5;
}

/* navbar for smartphone */
@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: 5px;
    }


    .close-icon i{
        font-size: 30px;
    }

    .brand {
        font-size: 20px;
    }

}

/* search box */
.search-box {
    border: solid 1px#53095e;
    margin-top: 20px;
    padding: 40px;
    display: flex;
    justify-content: center;
    box-shallow: 1px 2px 3px #53095e;
}

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

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

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

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

/* search box for smart phones */
@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: #111134;
}

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

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


/* ########################################## */
/* projects.html */

.table-head {
    display: flex;
    
}

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

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

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

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

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

/* table body*/

.table-row {
    display:flex;
}

.table-row .status, .table-row .subjects, .table-row .replies, .table-row .last-reply {
    padding: 5px;
    margin: 2px;
    background-color: #131415;
}

.table-row .status {
    flex: 5%;
    font-size: 20px;
    text-align: center;
}

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

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

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

.pagination {
    padding: 2px;
    font-size: 15px;
}

.pagination a {
    color: #fff;
    margin-inline: 3px;
    padding: 5px 10px;
}

.pagination a:hover {
    opacity: 0.5;
}

/* navigation */
.navigate {
    margin-block: 20px;
    font-weight: lighter;
    font-size: 24px;
}

.navigate a {
    color: #fff;
}

.navigate a:hover {
    color: #545698;
    font-weight: bolder;
}

/* notes */
.note {
    background-color: #9988aa;
    padding: 20px;
    display: block;
}

.note span {
    font-size: 20px;
    margin-block: 5px;
}


/*################################################ */
/* details.html */
.head {
    display: flex;
    background-color: #578190;
    padding: 5px;
    font-weight: bold;
    font-size: 15px;
}

.authors {
    flex: 20%;
}

.content {
    flex: 80%;
}

.body {
    display: flex;
    background-color: #423980;
    padding: 10px;
    margin-top: 5px;
}
.body .authors .username {
    font-size: 20px;
}

.body .authors img {
    max-width: 50px;
    max-height: 80px;
}

.body .content .comment .button {
    border: none;
    padding: 10px;
    font-weight: bolder;
    box-shadow: 4px 6px #fff;
    cursor: pointer;
    float: right;
}

/* comment */
.comment-area {
    margin-top: 50px;
}

.comment-area textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    margin-block: 10px;
}

.comment-area input {
    float: right;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.comment-area input:hover {
    border: solid 1px #000000;
}

.comments-container {
    margin-top: 50px;
}


.horizonType {
    border: none;
    padding: 10px;
    display: flex;
}
