/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    font-family: 'Roboto', sans-serif;
   
    
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');


:root {
    --sidebar: #9DBC98;
    --background: #EBD9B4;
    --accent: #638889;
    --cards: #F9EFDB;
    --font: rgb(129, 127, 120);
}



h3 {
    font-size: 18px;
    font-weight: 600;
}

h4 {
    font-weight: 600;
}

div {
    box-sizing: border-box;
}
.container{
    display: grid;
    grid-template-columns: 1fr 5fr;
    height: 100vh;
}

.sidebar{
    background-color: var(--sidebar);
    padding: 15px 25px 0 25px;

}

#communities{
    margin-bottom: 55px;
}

.logo{
    padding: 15px 0 25px 0;
}

.sidebar > ul{
    display: grid;
    grid-template-columns: 48px auto;
    
    grid-row-gap: 20px;
    grid-column-gap: 5px;
    align-items: center;
}

ul > h1{
    font-size: 20px;
    font-family: 'Roboto', sans-serif;

}

.icon{
    padding-left: 15px;
} 

.main{
    display: grid;
    grid-template-rows: 7fr 25fr;
    

}

.header{
    background-color: var(--cards);
    display: grid;
    grid-template-rows: 2fr 3fr;

}

.header-btn{
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 25px;
    margin: 15px 0 0 25px;
    height: 3em;
    padding: 0 30px 0 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;

}

.search{
    padding: 25px 50px 0 50px;
    display: flex;
    align-items: center;

}

.search-icon{
    height: 24px;
    padding-right: 20px;
}

.search-bar{
    background-color: var(--background);
    height: 2em;
    width: 60%;
    border-radius: 50px;
    margin-right: auto;
    border: none;
    padding: 0 15px 0 15px;
}

.search-bar:focus{
    outline: none !important;
    border: 2px solid var(--accent);
}

.active-user{
    padding-left: 20px;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;

}

.user-header{
    display: flex;
    padding: 25px 50px 25px 50px;
}

.user-header-user{
    padding-left: 30px;
    margin-right: auto;
}

.user-header-user h1, h3{
    font-family: 'Roboto', sans-serif;
}

.user-header-user h1{
    font-size: 35px;
    padding-top: 10px;
    font-weight:700;
}

.user-img{
    border-radius: 50px;
    height: 75px;

}

.user-img-small{
    border-radius: 50px;
    height: 50px;
}
.content{
    background-color: var(--background);
    display: grid;
    grid-template-columns: 1fr 25%;
    height: 100%;
    padding-bottom: 50px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 8px inset;

}

.projects{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50px 1fr 1fr 1fr;
    gap: 20px;
    padding: 0 20px 0 20px;
    
    


}

.projects > h1, .right-content > h1 {
    grid-column: 1 / 3;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    align-self: center;
    margin-top: 20px;
}

.card{
    background-color: var(--cards); 
    border-radius: 5px;
    border-left: var(--accent) 8px solid;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
    padding: 30px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    

}

.card > div > span{
    color: var(--font);
}

.card > div > h3{
    padding-bottom: 5px;
}

.card-icon{
    align-self: end;
}

.card-icon > img{
    width: 24px;
    padding-left: 10px;
}

.right-content{
    display: grid;
    grid-template-rows: 50px 1fr 50px 1fr;
    grid-template-columns: 1fr;
    gap: 20px;

}

.announcements, .trending{
    background-color: var(--cards); 
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
    
    

}

.announcements{
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    justify-content:space-evenly;
    
}

.announcements h4{
    padding: 15px 5px 5px 5px;
}

.announcements > span{
    font-size: 13px;
    color: var(--font);
    border-bottom: var(--font) 1px solid;
    padding: 0 5px 15px 5px;
}

#last{
    border-bottom: none;
}

.trending{
    padding: 30px 20px;
    display: grid;
    grid-template: repeat(8, 1fr) / auto 2fr;
    column-gap: 10px;
}

.trending > span{
    align-self: self-start;
    color: var(--font);
}

.trending > h5{
    align-self: self-end;
    margin-bottom: 5px;
}

.trending > img{
    grid-row: span 2;
}
