@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
}

body {
    display: grid;
    grid-template-columns: 1fr 5fr;
    grid-auto-flow: column;
}

button {
    width: 100px;
    padding: 10px;
    background-color: #2F92D4;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 20px;
}

button:hover {
    cursor: pointer;
}

li {
    list-style: none;
}

.side-bar {
    background-color: #2F92D4;
    color: white;
    min-height: 100vh;
    padding: 40px;
}

.side-bar > nav menu{
    display: grid;
    gap: 20px
}

.side-bar .menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: bold;
}

.side-bar .menu-item > *:hover {
    cursor: pointer;
}

.side-bar .dashboard,
.side-bar .communities {
    padding-bottom: 40px;
}

header {
    padding: 20px 60px;
    box-shadow: 0px 0px 10px rgba(125, 125, 125, 0.5);
    display: grid;
    gap: 20px;
}

header > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .search-area {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

header .search-area > .search-field {
    width: 60%;
    height: 30px;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background-color: #E2E8F0;
}

header .notification-and-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.avatar:hover {
    cursor: pointer;
}

header .notification-and-profile > p {
    font-weight: bold;
}

header .welcome-msg-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-msg-area .avatar {
    width: 50px;
    height: 50px;
}

.welcome-msg-area p {
    font-size: 12px;
    font-weight: bold;
}

header .actions {
    display: flex;
    gap: 20px;
}

.content-area {
    display: grid;
    grid-auto-flow: column;
    margin: 40px;
    gap: 40px;
}

main h3,
.more h3 {
    line-height: 4rem;
}

main .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card {
    padding: 20px;
    border-left: solid 10px #F0B429;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(125, 125, 125, 0.5);
}

.card > div:first-child {
    margin-bottom: 40px;
}

.card p.description {
    color: #757575;
}

.card > div:last-child {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.more .announcement-card,
.more .trending-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 400px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(125, 125, 125, 0.5);
}

.announcement-card p {
    font-size: 12px;
    color: #757575;
}

.trending-card > .profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trending-card > .profile .about {
    color: #757575;
}