:root {
  --theme-color-1: #1a1a1a;
  --theme-color-2:  #ff3b3f;
  --theme-color-3: #d93600;
}

html, body {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

.container {
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: 1fr;
  height: 100%;
  color: #333;
}

nav {
  background-color: var(--theme-color-1);
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-gap: 1rem;
  background-image: url('./images/backgrounddark.svg');
  background-size: cover;
  background-position: center;
}

nav .branding {
  color: #fff;
  font-size: 1.5rem;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin-bottom: 0.5rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

nav a:hover {
  color: var(--theme-color-2);
}

nav a i {
  margin-right: 0.5rem;
}

main {
  background-color: #f5f5f5;
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-gap: 1rem;
  overflow-y: auto;
  background-image: url('./images/background.svg');
  background-size: cover;
  background-position: center;
}

.greeting-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  align-items: center;
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
}

.search {
  display: flex;
  align-items: center;
}

.search input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

.search button {
  background-color: transparent;
  border: none;
  font-size: 1.1rem;
  padding: 0.5rem;
  cursor: pointer;
}

.greeting img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
}

.greeting p {
  margin: 0;
}

.actions {
  display: flex;
  justify-content: space-between;
}

.actions button {
  background-color: var(--theme-color-2);
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.actions button:hover {
  background-color: var(--theme-color-3);
}

section {
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

section h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.projects, .announcements, .trending {
  display: grid;
  grid-gap: 1rem;
}

.projects {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.project {
  background-color: #ecf0f1;
  padding: 1rem;
  border-radius: 5px;
}

.project h3 {
  margin: 0 0 0.5rem;
}

.project .icons {
  display: flex;
  justify-content: flex-end;
}

.project .icons i {
  cursor: pointer;
  margin-left: 0.5rem;
}

.announcements {
  grid-template-columns: 1fr;
}

.announcement {
  background-color: #ecf0f1;
  padding: 1rem;
  border-radius: 5px;
}

.announcement h3 {
  margin: 0 0 0.5rem;
}

.trending {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

i.fas.fa-trash-alt:hover, i.fas.fa-edit:hover {
  color: var(--theme-color-3)
}

.person img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
}

.person .name {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.person .description {
  font-size: 0.9rem;
}