/*
    General CSS
*/

:root {
    --primary-color: #25995C;
    --darken-primary: #b2cdbf;
    --grey: #cccccc;
    --secondary: #545454;
    --light-secondary: #D9D9D9;
    --white: #ffffff;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins';
}

img {
    width: 100%;
}

* {
    box-sizing: border-box;
}

input {
    width: 100%;
}

p {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.container {
    width: 100%;
    margin: auto;
    display: flex;
    flex: 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

a,
a:visited {
    text-decoration: none;
    color: black;
}

a.dark-bg,
a.dark-bg:visited {
    color: var(--white);
}

a.dark-bg:hover,
a.dark-bg:active,
a.dark-bg:focus {
    color: var(--white);
}

a:hover,
a:active,
a:focus {
    color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    display: block;
    font-size: 20px;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

/* 
    Layout General CSS
*/
#content {
    width: 100%;
    display: flex;
    flex: 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

#content .container {
    align-items: stretch;
}

#main {
    width: 60%;
}

/* 
    Left Right Navigation Bar
*/

#left-nav,
#right-nav {
    width: 20%;
    padding: 20px;
}


#left-nav #logo-holder img {
    width: 100%;
    max-width: 70px;
}

#left-nav #logo-holder {
    text-align: center;
    padding: 15px 30px;
}

.profile-tag {
    background-color: var(--grey);
    width: 100%;
    display: flex;
    flex: 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 15px;
    border-radius: 1000px;
}

.profile-tag.active {
    background-color: var(--darken-primary);
}

.profile-tag .profile-picture {
    width: 20%;
    display: flex;
    flex: 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.profile-tag .profile-brief-details {
    width: 80%;
}

.profile-tag .profile-picture img {
    border-radius: 1000px;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.profile-brief-details {
    padding: 0 10px;
}

.profile-brief-details p {
    line-height: 1.2;
}

.profile-brief-details .profile-name {
    font-weight: 700;
    font-size: 16px
}

.profile-brief-details .profile-id {
    font-weight: 300;
    font-size: 14px;
    font-style: italic;
}

#main-nav {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
    list-style-type: none;
    margin: 20px 0;
}

#main-nav li a {
    display: block;
    padding: 10px 0;
    color: var(--secondary);
    display: flex;
    flex: 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

#main-nav li a:hover {
    color: var(--primary-color);
}

#main-nav li i {
    font-size: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
    margin-right: 15px;
}

#new-project a {
    display: block;
    cursor: pointer;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 100px;
    text-align: center;
}

.search-bar {
    position: relative;
}

#search {
    background-color: var(--light-secondary);
    border-radius: 1000px;
    padding: 15px 50px 15px 20px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
}

.search-bar i {
    position: absolute;
    top: 15px;
    right: 20px;
}

#search::placeholder {
    color: black;
}


#main {
    border: 1px solid var(--light-secondary);
}

.top-projects {
    padding: 40px 0;
}

.top-projects h3,
.who-to-follow h3 {
    margin-bottom: 15px;
}

.project {
    border-radius: 10px;
    border: 1px solid #000000;
    display: flex;
    flex: 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
}

.project-rank {
    width: 15%;
    text-align: left;
    padding: 5px;
}

.project-rank p {
    font-weight: 600;
    font-size: 20px;
}

.project-details {
    width: 85%;
}

.project-details .project-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}

.project-details .project-emission {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 300;
}

.project-details .project-emission i {
    font-size: 15px;
    color: var(--primary-color);
}

.profile-tag.full-width {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid var(--secondary);
    margin-bottom: 10px;
}

.who-to-follow {
    padding-bottom: 30px;
}

/*
    Content
*/

#main-header {
    padding: 25px 30px;
    border: 1px solid var(--light-secondary);
    text-align: center;
}

#main-header h1 {
    font-size: 20px;
    font-weight: 300;
}