:root {
    --line-gap-size: 20px;
}

/* -------------- grid tracks -------------- */
.container {
    display: grid;
    grid-template-columns: 1fr 4fr;
}

.sidebar {
    grid-column: 1/2;
    grid-row: 1/-1;
    display: grid;
    grid-template-rows: minmax(100px, 0.5fr) 2fr 3fr;
    gap: 20px 0;
    background-color: #1992df;
}

.vert-nav-cntr {
    display: grid;
    grid-template-rows: repeat(6, 40px);
}

.vert-nav-keys {
    text-decoration: None;
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
}

.settings-cntr {
    display: grid;
    grid-template-rows: repeat(3, 40px);
}

.settings-btns {
    text-decoration: None;
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-self: center;
}

.rightbar {
    grid-column: 2/3;
    display: grid;
    grid-template-rows: 1fr 5fr;
    gap: 20px;
}

.hor-nav-bar {
    grid-row: 1/2;
    align-items: center;
    display: grid;
    margin-top: 10px;
    padding-left: 30px;
    grid-template: minmax(300px 1fr) minmax(600px 2fr);
    grid-template-columns: minmax(400px 4fr) 2fr;
    gap: 5px;
}

.search-bar {
    grid-column: 1/2;
    grid-row: 1/2;
    display: grid;
    grid-template-columns: 1fr 0fr 8fr;
}

.user-profile {
    grid-column: 2/3;
    grid-row: 1/2;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    align-items: center;
}

.user-name {
    grid-column: 1/2;
    grid-row: 2/3;
    display: grid;
    grid-template-columns: 1fr 5fr;
    align-items: center;
    gap: 15px;
}

.name-text {
    display: grid;
    grid-template-rows: 1fr 2fr;
    gap: 2px;
}

.new-post-nav {
    grid-column: 2/3;
    grid-row: 2/3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 10px;
}

.new-post-nav a {
    background-color: #1992df;
    color: white;
    font-weight: bold;
    font-size: large;
    padding: 2px 0px;
    border-radius: 14px;
    width: 100px;
    text-align: center;
    text-decoration: none;
}

.content-cntr {
    grid-row: 2/3;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 10px;
    background-color: #e2e8f0;
}

.posts-cntr {
    grid-column: 1/2;
    padding-left: 30px;
    margin: 30px 0;
    display: grid;
    grid-template-rows: 40px 1fr;
}

.project-bar-cntr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
    max-height: 720px;
    gap: 20px 0px;
    overflow: auto;
    resize: both;
}

.project-bars {
    background-color: #FFFFFF;
    height: 220px;
    width: 350px;
    border-radius: 10px;
    display: grid;
    grid-template-rows: 3fr 1fr;
    border-left: 12px solid #f0b429;
}

.project-icons {
    align-self: center;
    justify-self: end;
    margin-right: 10px;
}

.project-text {
    padding: 40px 15px 0px 15px;
}

.content-right-cntr {
    grid-column: 2/3;
    display: grid;
    grid-template-rows:1fr 1fr;
    gap: 50px;
    margin: 30px 0;
    margin-right: 30px;
}

.right-bar-top,
.right-bar-bottom {
    display: grid;
    grid-template-rows: 40px 1fr;
}

.announcements-cntr {
    display: grid;
    overflow-y: auto;
    grid-template-rows: repeat(auto-fill, minmax(80px, 1fr));
    border: 0;
    padding: 20px;
    gap: var(--line-gap-size);
    max-height: 300px;
    background-color: white;
    border-radius: 10px;
}

.annoucement-bars {
    display: grid;
    padding-bottom: var(--line-gap-size);
    border-bottom: 1px solid rgb(199, 199, 199);
}

.annoucement-bars:last-child {
    border-bottom: none;
}

.feed-cntr {
    display: grid;
    overflow-y: auto;
    grid-template-rows: repeat(auto-fill, minmax(60px, 1fr));
    border: 0;
    padding: 20px;
    max-height: 250px;
    background-color: white;
    border-radius: 10px;
}

.trending-profiles-bars {
    display: grid;
    grid-template-columns: 1fr 4fr;
    height: 50px;
    align-items: center;
    column-gap: 5px;
}

#search {
    border-radius: 10px;
    border: 1px solid gray;
    background-color: #e2e8f0;
}

/* -------------- Icons design -------------- */
.home-icon {
    fill: white;
    height: 50px;
    justify-self: center;
}

.side-icons {
    fill: white;
    height: 30px;
    justify-self: center;
    align-items: center;
}

.top-icons {
    fill: gray;
    height: 30px;
    justify-self: right;
    align-items: center;
    padding-right: 2px;
}

.profile-picture {
    fill: rgb(59, 55, 55);
    background-color: #facc14;
    border-radius: 50%;
    padding: 5px;
}

.profile-picture.small {
    justify-self: center;
    height: 35px;
}

.profile-picture.large {
    justify-self: center;
    height: 60px;
    justify-self: right;
}

.profile-picture.icon {
    grid-column: 1/2;
    grid-row: 1/3;
    height: 30px;
    justify-self: center;
}

.project-icons svg {
    height: 30px;
    padding: 0px 5px;
}

/* -------------- Font sizes -------------- */
#proj-home-btn {
    font-size: 30px;
}

.vert-nav-keys p,
.vert-nav-keys a,
.settings-btns p {
    margin: 0;
    text-decoration: None;
    color: white;
    font-weight: bold;
}

.vert-nav-keys p,
.settings-btns p {
    font-size: x-large;
    font-family: Roboto, sans-serif;
}

.user-profile p,
.user-name p,
.annoucement-bars p,
.trending-profiles-bars p,
.project-text p {
    margin: 0;
}

.small-titles {
    font-size: 1em;
    font-weight: bold;
    font-family: Roboto, sans-serif;
}

.medium-titles, 
.section-title {
    font-size: x-large;
    font-family: Roboto, sans-serif;
}

.project-title {
    font-size: large;
    font-family: Roboto, sans-serif;
    font-weight: bold;
}

.profile-name {
    font-weight: bold;
}

.medium-regular-text {
    font-family: Roboto, sans-serif;
    color: gray;
}

.big-name {
    font-size: xx-large;
    font-weight: bold;
    font-family: Roboto, sans-serif;
}

p.small-body-text {
    display: -webkit-box; 
    max-width: 50ch;
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: medium;
    color: gray;
    font-family: Roboto, sans-serif;
    font-size: small;
}

p.trending-profile-name {
    align-self: end;
    font-family: Roboto, sans-serif;
}

span.trending-text {
    grid-row: 2/3;
    align-self: start;
    padding: 0;
}