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



* {
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
}

a {
	text-decoration: none !important;
}
a:visited {
	color: inherit;
	text-decoration: none;
}

svg {
	display: inline;
	width: 1rem;
	height: 1rem;
}

img {
	width: 50px;
	height: 50px;
	border-radius: 15%;
	overflow: hidden;
}

h3 {
	margin: 5px;
}

button {
	border: none;
	border-radius: 30px;
	background-color: #1f3f49;
	color: white;
	width: 4rem;
	height: 2rem;
	margin-left: 1rem;
}

html {
	height: 100%;
}

body {
	height: 100%;
}

.container {

	background: #dadada;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 5fr;
	height: 100%;
}

.header {
	background: #1c4e80;
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	color: white;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.username > h2, .username > p {
	margin: 2px;
	margin-bottom: 4px;
}

.search {
	grid-column: 1 / 3;
	grid-row: 1 / 2;
	padding-top: 1em;
	padding-left: 1em;
	padding-right: 1em;

	display: flex;
	justify-content: space-between;
}
.profile {
	justify-self: end;
	align-self: center;
}

.search > * {
	display: inline;
}

.greetings {
	grid-column: 1 / 3;
	grid-row: 2 / 3;
	padding-left: 1em;
	padding-right: 1em;

	display: flex;
	justify-content: space-between;
}


.header-buttons {
	justify-self: end;
	align-self: center;
}

.sidebar {
	padding-top: 1em;
	padding-left: 1em;

	background: #1c4e80;
	color: white;
	grid-column: 1 / 2;
	grid-row: 1 / 5;

	display: flex;
	flex-direction: column;
	gap: 3em;
}

.sidebar-menu, .sidebar-settings {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.sidebar-menu div, .sidebar-settings div {
	width: 10rem;

}



.sidebar-menu p, .sidebar-settings p {
	margin: 3px;
	display: inline-block;
}


.content {
	overflow-y: hidden;
	grid-column: 2 / 3;
	grid-row: 2 / 5;

	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 4em 0.5fr 4em 0.5fr;
	padding: 5px 0 5px 15px;
}

.projects-label {
	grid-column: 1 / 3;
	grid-row: 1 / 2;
	height: 1.5em;
	margin-left: 0;
	padding-top: 15px;
}

.anno-label {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	height: 1.5em;
	margin-left: 0;
	padding-top: 15px;
} 

.trending-label {
	grid-column: 2 / 3;
	grid-row: 3 / 4;
	height: 1.5em;
	margin-left: 0;
	padding-top: 15px;
}

.projects {
	grid-column: 1 / 2;
	grid-row: 2 / 4;
	

	display: flex;
	flex-wrap: wrap;
	
	gap: 15px;
	
}


.card {
    width: 300px;
    height: 130px;
    background: #222;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(28, 78, 128, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EAEAEA;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(28, 78, 128, 0.9);
}


.announcements {
	background: white;
	grid-column: 2 / 3;
	grid-row: 2 / 3;

	width: 200px;
	height: 150px;
	border-radius: 10px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 15px;
}
.trending {
	background: white;
	grid-column: 2 / 3;
	grid-row: 4 / 5;
	width: 200px;
	height: 200px;
	border-radius: 10px;

	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

.trending-card {
	display: flex;
	gap: 10px;
}

.trending-card a {
	justify-self: center;
	align-self: center;
}

.trending-card.img {
	width: 30px;
	height: 30px;
	justify-self: center;
	align-self: center;
}


#search-bar {
	width: 300px;
	border-radius: 15px;
	border: none;
}
#search-bar:focus {
	outline: #b3c100;
	border: 1px solid #b3c100;
}


