body {
    font-family: Roboto;
    font-size: 16px;
    background-color: #e1e8f0;
    margin: 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.material-icons {
    color: #ffffff
}

.container{
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 10rem 1fr;
}

/* Header styles */
.header {
    background-color: #ffffff;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 8px 16px;
    gap: 16px;
    display: grid;
}

.avatar{
    background-color: #facc15;
    width: 50px;
    height: 50px;
    display: grid;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.header-top .material-icons, .card .material-icons{
    color: black;
}

.header-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
}

.header-top .left {
    display: grid;
    grid-template-columns: 3rem 5fr;
    align-self: center;
    align-items: center;
}

.header-top .right {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    align-self: center;
    align-items: center;
}

input{
   background-color: #e1e8f0;
   height: 30px;
   border: 0;
   border-radius: 16px;
   padding: 8px;
}

.header-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.header-bottom .left {
    display: grid;
    grid-template-columns: 5rem 1fr;
    grid-template-rows: 1fr 1fr;
}
.header-bottom .left .avatar {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.header-bottom p {
    margin: 0;
}
.header-bottom .left:nth-child(1) {
    grid-row: 1 / 2;
}

.header-bottom .left:nth-child(2) {
    grid-row: 2 / 3;
}

.salute {
    font-size: small;
}

.name {
    font-weight: bold;
}

.header-bottom ul {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-self: center;
}

.header-bottom a {
    text-decoration: none;
    color: #ffffff;
    background-color: #1892d3;
    border-radius: 16px;
    padding: 8px 32px;
}

/* Side bar styles */
.sidebar {
    background-color: #1892d3;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    color: #ffffff;
    padding: 8px;
    display: grid;
    gap: 32px;
    grid-template-rows: 5rem 15rem 10rem;
}

.sidebar a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}

.logo {
    font-size: larger;
    font-weight: bold;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo .material-icons {
    font-size: 48px;
}
.logo p {
    margin: 0;
    display: inline;
}

.side-middle {
    grid-row: 2 / 3;
}

.side-bottom {
    grid-row: 3 / 4;
}

.side-link li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px;
}

/* Main Content */
.projects .title, .announcements .title, .trending .title {
    margin-bottom: 5px;
    font-weight: bold;
}
.projects > .title, .announcements > .title, .trending > .title {
    font-size: 18px;
}
.card, .announcements-card, .trending-card{
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px;
}

.content {
    display: grid;
    gap: 16px;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 16px;
}

.projects {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.projects .card {
    border-left: #facc15 solid 5px;
    position: relative;
    height: 200px;
}

.card .card-icons{
    position: absolute;
    bottom: 0;
    right: 0;
}

.card-icons .material-icons {
    margin: 16px;
}

.projects .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.announcements {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    font-size: 14px;
}

.announcements-card > div:nth-child(1), .announcements-card > div:nth-child(2) {
    border-bottom: gray solid 1px;
}

.trending {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    font-size: 14px;
}

.trending-card {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 16px;
}

.trending-card div {
    display: grid;
    grid-template-columns: 4rem 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
}
.trending-card div .avatar {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.trending p {
    margin: 0;
}
.trending-card div:nth-child(1) {
    grid-row: 1 / 2;
}
.trending-card div:nth-child(2) {
    grid-row: 2 / 3;
} 