@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

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

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: Roboto, serif;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
  
input, button, textarea, select {
    font: inherit;
}
  
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
  
p {
    text-wrap: pretty;
}
  
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}
  
#root, #__next {
    isolation: isolate;
}

#container {
    display: grid;
    grid-template-columns: 325px repeat(3, 1fr);
    grid-template-rows: 200px repeat(3, 1fr);
}

#sidebar {
    grid-area: 1 / 1 / 5 / 2;
    background-color: #1992d4;
    display: grid;
    padding: 25px;
    align-content: start;
    gap: 40px;
    color: white;
}


#sidebar h1::before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url(images/view-dashboard.svg) no-repeat center center;
    background-size: contain;
    margin-right: 5px;
}

li {
    list-style-type: none;
    font-size: 1.5rem;
    display: flex;
    gap: 15px;
}

#header {
    grid-area: 1 / 2 / 2 / 5;
    background-color: white;
    display: grid;
    gap: 5px;
    padding: 15px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: .4fr .6fr;
}

#toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-area: 1 / 1 / 2 / 4;
    padding-bottom: 0;
}

#left-toolbar {
    grid-area: 1 / 1 / 3 / 3;
    justify-content: start;
    margin-left: 55px;
    align-content: center;
    display: flex;
    align-items: center;
}

input {
    width: 80%;
    border: 0;
    margin-left: 10px;
    border-radius: 25px;
    background-color: lightgray;
}

#right-toolbar {
    display: flex;
    grid-area: 1 / 3 / 2 / 4;
    justify-content:end;
    align-content: center;
    gap: 20px;
    align-items: center;
    margin-right: 50px;
}

#user-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-area: 2 / 1 / 3 / 4;
    
}

#left-user-info {
    display: flex;
    gap: 15px;
    align-content: center;
    align-items: center;
    justify-items: center;
    justify-content: start;
    margin-left: 55px;
}

#buttons {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-right: 50px;
}

button {
    background-color: #1992d4;
    color: white;
    padding: 8px;
    border: 0;
    width: 100px;
    border-radius: 25px;
    margin-left: 15px;
}

#content {
    grid-area: 2 / 2 / 5 / 5;
    background-color: lightgrey;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 350px;
    gap: 15px;
    padding: 30px;
    max-width: 100%;
    
}

#projects {
    grid-area: 1 / 1 / 2 / 4;
}

#project-cards {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-template-rows: auto;
    gap: 25px;
}

.cards {
    background-color: white;
    margin: 10px;
    padding: 30px;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    border-left: 8px solid orange;
}

.card-text p {
    margin-bottom: 30px;
}

#card-icons {
    display: flex;
    justify-content: end;
    align-items: end;
    gap: 20px;
}

#right-bar {
    grid-area: 1 / 4 / 2 / 5;
    padding-left: 20px;
}

#announcements {
    width: 100%;
    background-color: white;
    height: fit-content;
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 10px;
}

.announcement-msg {
    margin-bottom: 10px;
    font-size: 1.1rem;
    padding-bottom: 5px;
    border-bottom: 1px solid lightgray;
}

.announcement-msg:last-child {
    border-bottom: none;
}

#trending-section {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
}

.trending-topic {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
}

p {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 70%);
}

.hover:hover {
	top: -2px;
	box-shadow: 0 4px 5px rgba(0,0,0,0.2);
}

a {
    text-decoration: none;
}

.small-icon {
    width: 25px;
    height: auto;
}

.large-icon {
    width: 70px;
}