:root{
    --main-bg-color: #fb7185;
    --darker-bg-color: #f43f5e;
    --lighter-bg-color: #ffe4e6;
    --border-color: #fecdd3;
    --border-focus-color: #fda4af;
}

*{
    margin: 0;
    padding: 0;
}

html{
    height: 100vh;
}

body{
    font-family: 'Roboto Slab', Arial, sans-serif;
}

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

li{
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
}

.container{
    height: 100%;
    display: grid;
    grid-template-columns: minmax(200px, 300px) 1fr;
}

/* Dashboard */

.dashboard{
    grid-row: 1/3;
    background-color: var(--main-bg-color);
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-left: 30px;
    padding-top: 30px;
    color: white;
}

.logo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.menu-top ul,
.menu-bottom ul{
    font-size: large;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* Header */

.header{
    display: grid;
    grid-template-rows: repeat(100px,2);
}

.header-top,
.header-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    gap: 20px;
}

.search{
    display: flex;
    width: 60%;
}

#search-bar{
    background-color: var(--lighter-bg-color);
    max-height: 30px;
    width: 100%;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    padding: 10px;
}

#search-bar:focus{
    border: 2px solid var(--border-focus-color);
    outline: none;
}

.header-top-right{
    display: flex;
    gap: 30px;
    align-items: center;
}

.profile-card{
    display: flex;
    gap: 10px;
    align-items: center;
}

.profile-card img{
    object-fit: cover;
    width: 50px;
    height: 50px;
    border-radius: 30px;
}

.header-bottom img{
    object-fit: cover;
    width: 100px;
    height: 100px;
    border-radius: 50px;
}

.upload-menu{
    display: flex;
    align-items: center;
    gap: 20px;
}

.blue-btn{
    background-color: var(--main-bg-color);
    color: white;
    border: 2px solid var(--main-bg-color);
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
}

button:active{
    box-shadow: inset 0px 2px 5px 0px var(--darker-bg-color);
}


/* Main section */

.content{
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    background-color: var(--lighter-bg-color);
}
.projects-section,
.announcements-section,
.trending-section{
    padding: 30px;
}

.projects-section{
    grid-row: 1/3;
}

.projects-section h2,
.announcements-section h2,
.trending-section h2{
    margin-bottom: 10px;
}

.projects{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;   
}

.project-card{
    min-width: 200px;
    min-height: 200px;
    padding: 20px;
    border-left: 8px solid var(--border-focus-color)!important;
    display: grid;
}

.project-icons{
    justify-self: end;
    align-self: end;
}

.trending,
.announcements,
.project-card{
    background-color: white;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    box-shadow: 3px 4px 5px 0px var(--border-color);
}

.announcement-card{
    border-bottom: 2px solid var(--border-color);
    margin: 20px;
    padding-bottom: 20px;
}

.announcement-card:last-of-type{
    border: none;
    padding-bottom: 0;
}

.announcement-card h4,
.project-card h4,
.trending-card h4 {
    padding-bottom: 5px;
}

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

.trending-card img{
    object-fit: cover;
    width: 50px;
    height: 50px;
    border-radius: 30px;
}