.roboto-font {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

/* Modern CSS Reset */
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}


/* Page stylings below */

body {
  font-family: Roboto;
}

a {
  text-decoration: none;
  color: white;
}

.project-card a,
.announce-content a,
li .user-info,
.top-name a {
  color: black;
}

.svg-container {
  width: 24px;
}

.container {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 4.5fr;
    grid-template-rows: 1fr 4.5fr;
}

.sidebar {
    grid-column: 1;
    grid-row: 1 / 3;
    display: grid;
    grid-template-rows: minmax(40px, 2fr) repeat(6, minmax(20px, 1fr)) 1fr repeat(3, minmax(20px, 1fr)) minmax(5px, 7fr);;
    background-color:rgb(62, 154, 230);
    color: white;
    font-weight: 600;
}

.sidebar > .title {
  padding-top: 20px;
  align-items: start;
  font-size: 32px;
}

.title .svg-container {
  width: 46px;
}

.sidebar-content {
  height: 100%;
  display: grid;
  grid-template-rows: subgrid;
  gap: 10px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  font-size: 24px;
  transition: background-color 0.5s ease-out;
  padding-left: 20px;
}

.sidebar-content:not(.title):hover {
  background-color: goldenrod;
  transition: background-color 0.5s ease-out;
}

.sidebar-content .svg-container {
  justify-self: center;
}

.settings {
  grid-row: 9;
}

.support {
  grid-row: 10;
}

.privacy {
  grid-row: 11;
}

.header {
  grid-column: 2 / 3;
  grid-row: 1;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.top-name,
.welcome-container {
  font-weight: 600;
}

.top-name {
  font-size: 20px;
}

.welcome-tag {
  font-size: 15px;
}

.welcome-name {
  font-size: 24px;
}

.header-top {
  grid-row: 1;
  display: grid;
  grid-template-columns: 2.5fr minmax(25px, 100px) 1fr;
  align-items: center;
  padding: 0px 100px 0px 30px;
}

form {
  display: flex;
  gap: 15px;
  align-items: center;
}

form > input {
  width: 100%;
  height: 34px;
}

input[type="search"] {
  appearance: none;
  border: none;
  border-radius: 16px;
  background-color: rgb(213, 222, 233);
  text-indent: 12px;
}

.top-account-container {
  grid-column: 3;
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 24px;
}

.top-account-container > .line::after {
  display: block;
  content: " ";
  width: calc(100% + 5px);
  height: 2px;
  background-color: dimgray;
  transform: translate(-3px, 10px) scale(0);
  transform-origin: center;
  transition: all 0.5s ease-out;
}

.top-account-container > .line:hover::after {
  transform: translate(-3px, 10px) scale(1);
  transition: all 0.2s ease-out;
}

.top-account-container > .pfp-top::after,
.project-buttons > .svg-container::after {
  display: block;
  content: " ";
  width: calc(100% + 5px);
  height: 2px;
  background-color: dimgray;
  transform: translate(-2px, -5px) scale(0);
  transform-origin: center;
  transition: all 0.5s ease-out;
}

.top-account-container > .pfp-top:hover::after,
.project-buttons > .svg-container:hover::after {
  transform: translate(-2px, 5px) scale(1);
  transition: all 0.2s ease-out;
}

.top-account-container .pfp-top,
li .user-pfp  {
  width: 52px;
}

.header-bottom {
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 0.5fr 1fr;
  align-items: center;
  padding: 0px 100px 10px 30px;
}

.bottom-account-container .svg-container {
  width: 80px;
}

.bottom-account-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btns {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 24px;
}

button {
  padding: 8px 34px;
  border: none;
  border-radius: 22px;
  background-color: rgb(62, 154, 230);
  transition: background-color 0.5s ease-out;
  color: white;
}

button:hover {
  background-color: goldenrod;
  transition: background-color 0.5s ease-out;
}

.main-content {
  box-shadow: inset rgb(176, 182, 189) 0px 5px 10px;
  background-color:rgb(213, 222, 233);
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: 3fr 1fr;
}

.projects-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 42px repeat(3, 1fr);
  list-style: none;
  padding-top: 16px;
  padding-bottom: 24px;
  column-gap: 24px;
}

.project-name {
  font-weight: 600;
  font-size: 20px;
  padding-bottom: 3px;
}

.project-card p {
  width: 75%;
  color: dimgray;
}

.main-header {
  font-weight: 500;
  font-size: 24px;
}

.project-card {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 30px 0px 0px 30px;
  position: relative;
}

.project-card::before {
  content: " ";
  background-color: goldenrod;
  height: 100%;
  width: 8px;
  position: absolute;
  left: 0px;
  top: 0px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.project-card:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.project-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.project-card:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
}

.project-card:nth-child(5) {
  grid-column: 2;
  grid-row: 3;
}

.project-card:nth-child(6) {
  grid-column: 1;
  grid-row: 4;
}

.project-card:nth-child(7) {
  grid-column: 2;
  grid-row: 4;
}

.project-buttons {
  display: flex;
  gap: 20px;
  position: absolute;
  bottom: 12px;
  right: 12px;
}

.project-buttons .svg-container {
  width: 28px;
}

.right-main {
  padding-top: 16px;
  display: grid;
  grid-row: 1fr 1fr;
  gap: 10px;
}

.announcements {
  display: grid;
  grid-template-rows: 42px repeat(3, 1fr);
  list-style: none;
  margin-right: 40px;
}

.announcements li,
.trending-container li {
  background-color: white;
}

.announcements li:nth-child(2) {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding-top: 30px;
}

.borders {
  border: dimgray 1px;
  border-style: solid none solid none;
  padding: 20px 0px 20px 0px;
}

.announcements li:nth-child(4) {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding-top: 20px;
}

.announce-content {
  margin: 0px 30px 0px 30px
}

.announce-name {
  font-size: 16px;
  font-weight: 600;
}

.announce-name + p {
  color: dimgray;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
}

.trending-container {
  display: grid;
  grid-template-rows: 42px repeat(4, 1fr);
  list-style: none;
  margin-right: 40px;
  margin-bottom: 45px;
}

.trending-container li {
  display: flex;
  align-items: center;
  padding: 10px 0px 0px 30px;
}

.trending-container li:nth-child(2) {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.trending-container li:nth-child(5) {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding-bottom: 10px;
}

li .user-pfp {
  margin-right: 10px;
}