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


body, html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "roboto";
    line-height: 1.4;
    background-color: white;
}

.container{
    display: grid;
    grid-template-columns: 1fr 5fr;
    width: 100%;
    height: 100vh;
}

.header{
    padding: 15px;
    grid-column: 2 / -1;
    grid-row: 1 / 2;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 2fr;
    z-index: 1;
    box-shadow: 0 5px 8px rgb(0, 0, 0, 0.3);
}

.top-header{
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-header > div{
    flex: 5;
}

input{
    width: 50%;
    height: 16px;
    background-color: #e0e6ee;
    border: none;
    outline: none;
    border-radius: 15px;
    padding: 8px;
    transition: ease-in 0.8s;
}

input:focus{
    border: none;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.top-header > .search-input{
    flex: 45;
    gap: 10px;
    display: flex;
    margin-left: 25px;
}

.top-header > .username{
    flex: 8;
    font-weight: bold;
    font-size: 16px;
}
.top-header > .site-logo{
    flex: 5;
}

.site-logo > img {
    max-width: 40px;
}
.bottom-header{
    grid-column: 1;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.right{
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    flex: 1;
    align-items: center;
    margin-right: 25px;
}


.left{
    margin-left: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    gap: 20px;
}
.header-logo > img{
    width: 80px;
}

.user-greeting{
    display: flex;
    flex-direction: column;
}

.user-greeting > p{
    margin: 0;
}

.right > button{
    width: 90px;
    height: 35px;
    border-radius: 20px;
    border: none;
    background-color: #1991d2;
    color: white;
    font-weight: bold;
}
.user-username{
    font-weight: bold;
}

.header > div{
}

.dashboard {
    grid-column: 1 / 2;
    grid-row: 1 / 10;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 60px;
    padding: 25px;
    z-index: 2;
    border-top-right-radius: 40px;
    border-right: solid black 2px;
    background-clip: padding-box;
    font-weight: 350;
}

.dashboard > div {
    font-size: 18px;
    color: #000000;
}

.dashboard-title{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    transition: ease-out 0.3s;
}

.dashboard-title:hover{
    color: #0047b1;
    scale: 1.02;
}

.tools, .setting {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 16px;
}

.tools > div, .setting > div {
    transition: ease-out 0.3s;
    cursor: pointer;
}

button{
    transition: ease-out 0.3s;
}
button:hover{
    background-color: #1b5bbf;
}


.tools > div:hover, .setting > div:hover {
    color: #0047b1;
    scale: 1.02;

}

.tools i, .setting i{
    margin-right: 10px;
}

.main {
    grid-column: 2 / 3;
    grid-row: 2 / 10;
}

.main{
    background-color: #e0e6ee;
}

.main-bar{
    display: grid;
    gap: 15px;
    grid-template-columns: 3fr 1fr;
    height: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.main-bar > div{
}

.all-project{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.project-bar{
    grid-column: 1/2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.project{
    padding: 20px;
    border-radius: 15px;
    gap: 15px;
    background-color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 8px rgb(0, 0, 0, 0.3);
}

.project > .project-title{
    font-weight: bold;
}
.project > .project-body
{
    font-weight: 350;
    flex: 1;
}

.project > .icons {
    display: flex;
    align-self: flex-end;
    font-size: 20px;
    gap: 20px;
    margin-top: 10px;
    margin-right:8px;
}

p{
    margin: 0;
    padding: 0;
}

.announcement-bar{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
}

.all-announcement{
    padding:30px;
    background-color: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 45px;
    box-shadow: 0 5px 8px rgb(0, 0, 0, 0.3);
}

.announcement > p:first-child{
    font-weight: bold;
    margin-bottom: 10px;
}

.announcement > p:nth-child(2){
    font-weight: 380;
}

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

.announcement{
    background-color: white;
    padding-bottom: 15px;
    border-bottom: lightgray solid 2px;
}

.trending-bar{
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
}

.trending-bar > h2 {
    margin-left: 8px;
}

.announcement-bar > h2 {
    margin-left: 8px;
}

.project-bar > h2{
    margin-left: 8px;
}

.trending > img{
    width: 50px;
    height: 50px;
}

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


.trending-content p:last-of-type{
    font-weight: 400;
    color: #707070;
}

.all-trending{
    padding:30px;
    background-color: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 45px;
    box-shadow: 0 5px 8px rgb(0, 0, 0, 0.3);
}