/* 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;
}
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;
}

* {
  box-sizing: border-box;
}

/* Variables */
:root {
  --light-blue: #1992d4;
  --white: #fff;
  --light-gray: #e2e8f0;
  --mustard-yellow: #f0b429;
  --bright-yellow: #facc15;
  --black: #000;
  --text-color: #6b6b6b;
  --border-color: #d2d2d2;
  --shadow-element: 0px 4px 6px rgb(0 0 0 / 10%);
}

html {
  height: 100%;
}

body {
  background: lightgray;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  height: 100%;
  width: 100%;
  font-family: "Roboto", sans-serif;
}

h3 {
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 16px;
}

h4.project-title {
  font-size: 1em;
  font-weight: 500;
  margin-bottom: 12px;
}

p.project-description {
  font-size: 0.9em;
  color: var(--text-color);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

p.greeting {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 4px;
}

h2 {
  font-size: 1.8em;
  font-weight: 700;
}

/* Nav Elements */

nav {
  background: var(--light-blue);
  width: 100%;
  height: 100%;
  color: #fff;
  padding: 24px;
  grid-column: 1 / span 3;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav ul li img {
  fill: var(--white);
  max-width: 24px;
  margin-right: 16px;
}

.content-container {
  width: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 60px;
  font-size: 1.2em;
}

ul#nav-items {
  display: grid;
  gap: 24px;
}

div#searchbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

div#profile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

ul#utilities {
  display: grid;
  gap: 24px;
}

#logo {
  /* width: 200px;
  height: 50px; */
}

#logo-container {
  display: flex;
  align-items: center;
}

#logo-container h2 {
  font-size: 1.4em;
}

#logo-container img {
  max-width: 48px;
  margin-right: 12px;
}

#body-content {
  background: var(--light-gray);
  /* display: grid; */
  height: 100%;
  grid-column: 4 / span 9;
  grid-template-rows: repeat(12, 1fr);
}

header {
  /* height: 5em; */
  background: var(--white);
  grid-row: 1 / span 3;
  /* display: grid;
  grid-template-rows: minmax(0, 1fr); */
  max-height: auto;
  background: #fff;
  width: 100%;
  padding: 24px 32px;
  box-shadow: var(--shadow-element);
}

#searchbar input[type="search"] {
  background: var(--light-gray);
  border: 0;
  font-size: 1em;
  padding: 12px 24px;
  border-radius: 50px;
  width: 100%;
}

div#profile-search-container,
div#project-interactions {
  display: grid;
  grid-template-columns: 66.6% 33.3%;
}

#profile-search-container img {
  max-width: 28px;
}

p#profile-name {
  font-weight: 700;
}

div#search-icon,
div#alerts-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#container {
  /* height: 10em; */
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-row: 4 / span 9;
  padding: 24px;
  padding-top: 48px;
  gap: 24px;
}

div#welcome-container {
  display: flex;
  align-items: center;
  gap: 24px;
}

div#profile-picture {
  display: flex;
  gap: 24px;
  align-items: center;
}

#profile-picture-container {
  width: 54px;
  height: 54px;
  border-radius: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

div#profile-picture-container img {
  max-width: 150px;
  position: relative;
  top: 24px;
}

div#profile-picture-large {
  width: 70px;
  height: 70px;
  background: var(--bright-yellow);
  border-radius: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

div#profile-picture-large img {
  width: 210px;
  position: relative;
  top: 34px;
}

div#interaction-btn-container {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

div#interaction-btn-container button {
  font-size: 0.9em;
  color: var(--white);
  border: none;
  padding: 12px 20px;
  background: var(--light-blue);
  border-radius: 50px;
  /* min-width: 100px; */
}

/* Project Elements */

div#project-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  padding: 32px 18px;
  border-left: 10px solid var(--mustard-yellow);
  border-radius: 8px;
  box-shadow: var(--shadow-element);
}

.project-card-features ul {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 16px 0 0;
}

.project-card-features ul li {
  width: 24px;
}

main {
  grid-column: 1 / span 9;
}

aside {
  grid-column: 10 / span 3;
  display: grid;
  gap: 24px;
}

p.username {
  font-weight: 500;
  font-size: 1em;
  margin-bottom: 4px;
}

p.title {
  color: var(--text-color);
}

.user-profile-container {
  width: 42px;
  height: 42px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
}

.user-profile-container img {
  max-width: 250%;
  top: 14px;
  position: relative;
  left: 2px;
}

div#announcements-container {
}

div#trending-container {
}

#trending-container ul#announcements-panel li {
  display: flex;
  /* justify-content: space-between; */
  gap: 12px;
  /* border-radius: 50px; */
}

ul#announcements-panel li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

ul#announcements-panel li:last-child {
  border-bottom: none;
}

ul#announcements-panel {
  background: var(--white);
  padding: 18px;
  border-radius: 8px;
  box-shadow: var(--shadow-element);
}

p.announcement-title {
  font-size: 1em;
  font-weight: 500;
  margin-bottom: 8px;
}

p.announcement-description {
  font-size: 0.75em;
  color: var(--text-color);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
