* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-rows: 1fr 4fr;
    height: 100vh;
}

a{
    text-decoration: none;
    color: #fff;
}

/* sidebar start */
.side-bar {
    color: white;
    background-color: #1e6421;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    padding: 15px 20px 20px 15px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    grid-gap: 35px;
    list-style-type: none;
}

.nav-heading {
    font-weight: bold;
    font-size: 20px;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
}

.dash-image {
    width: 43px;
    padding-right: 8px;
}

.side-bar li {
    display: flex;
    align-items: center;
    margin-left: 7px;
}

.simple-icon {
    width: 20px;
    margin-right: 20px;
}

.nav-bar {
    grid-row: 2 / 3;
}

.nav-styles {
    list-style-type: none;
    font-size: 17px;
    font-weight: 500;
}

.nav-styles li {
    padding-bottom: 20px;
}

.setting-bar {
    padding-top: 15px;
    grid-row: 3 / 4;
}

/* sidebar end */


/* header start */


.header {
    background-color: white;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    position: relative;
    box-shadow: 0px 2px 3px rgb(175, 175, 175);
}

.top-header {
    display: flex;
    justify-content: space-between;
}

.search-bar {
    display: flex;
    padding: 17px 0px 0px 30px;
}

.search-icon {
    margin-right: 8px;
    width: 22px;
}

.search-input {
    padding-left: 10px;
    width: 45vw;
    max-width: 471px;
    height: 25px;
    background-color: rgba(226,232,240,255);
    border: none;
    border-radius: 15px;

}

.profile-bar {
    display: flex;
    justify-content: space-around;
    align-items:center;
    width: 20vw;
    max-width: 196.2px;
    min-width: 156.2px;
    margin-right: 25px;
    margin-left: 15px;
    font-weight: bold;
}

.profile-bar img {
    margin-right: 5px;
}

.profile-pic-small {
    width: 40px;
    height: 40px;
    border-radius: 30px;
    border: 2px solid #7dbda0;
    background-color: #7dbda0;
}

.profile-pic-large {
    width: 70px;
    border-radius: 50px;
    border: 3px solid #7dbda0;
    margin-right: 15px;
    background-color: #7dbda0;
}

.bottom-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 20px 20px 0px 30px;
}

.profile-display {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 12px;
    margin-right: 12px;
}

.greeting {
    font-size: 12px;
    margin-bottom: 5px;
    padding-left: 5px;
}

.name {
    font-size: 23px;
}

.make-post {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 25vw;
    max-width: 276px;
    min-width: 263px;
    margin-bottom: 18px;

}

.head-button {
    color: white;
    font-weight: 500;
    background-color: rgba(25,146,212,255);
    width: fit-content;
    height: 37px;
    border-radius: 15px;
    border: none;
    margin-bottom: 5px;
    margin-right: 10px;
    padding: 10px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* header end */



.main {
    background-color: rgba(226,232,240,255);
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 30px 20px 40px 20px;
    max-height: 100%;
}




.project-display {
    grid-column: 1/3;
    grid-row: 1/3;
    margin-right: 20px;
}

.project-section-heading {
    font-weight: 500;
    font-size: 25px;
    margin-bottom: 10px;
    align-items: center;
    text-align: center;
    color:#423d3d;
}

.projects-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.project {
    background-color: white;
    width: 31%;
    height: 180px;
    margin-bottom: 20px;
    margin-right: 10px;
    border-radius: 5px;
    min-width: 265px;
    box-shadow: 0px 2px 3px rgb(175, 175, 175);
    padding: 30px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: linear-gradient(left, #f5e941, #f5e941 2%, transparent 2%, transparent 100%);
    background-image: -webkit-linear-gradient(left, #f5e941, #f5e941 2%, transparent 2%, transparent 100%)  
}

.project-heading {
    font-weight: 500;
    font-size: 16px;
}

.project-description {
    font-size: 13px;
    color: rgb(88, 88, 88);
}

.interactions {
    display: flex;
    justify-content: flex-end;
}

ul li {
    list-style: none;
    margin-left: 20px;
}




.announcements-section {
    grid-column: 2/3;
    grid-row: 1/2;
    padding-bottom: 10px;
}

.announcements-section-heading {
    font-weight: 500;
    font-size: 19px;
    margin-bottom: 10px;
}

.announcements-container {
    background-color: white;
    box-shadow: 0px 2px 3px rgb(175, 175, 175);
    padding: 20px 20px 20px 25px;
    border-radius: 5px;
    min-width: 231px;
}

.announcement-heading {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 3px;
}

.announcement-description {
    font-size: 11px;
    color: rgb(88, 88, 88);
}

hr {
    margin: 15px 0 15px 0;
}



.trending-profiles-section {
    grid-column: 2/3;
    grid-row: 2/3;
}

.trending-profile {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
}

.trending-profile img {
    margin-right: 10px;
}

.trending-username {
    font-size: 12px;
    font-weight: 400px;
}

.trending-project {
    font-size: 12px;
    color: rgb(88, 88, 88);
}

.trending-container {
    background-color: white;
    box-shadow: 0px 2px 3px rgb(175, 175, 175);
    padding: 20px 20px 6px 25px;
    border-radius: 5px;
    min-width: 231px;
}


@media (max-width: 1052px) {    
    .project {
        width: 100%;
        height: 140px;
    }
    
    
    .trending-profiles-section {
        grid-column: 2/3;
        grid-row: 2/3;
    }

    .main {
        display: grid;
        grid-template-columns: 3fr 1fr;
        grid-template-rows: 320px 320px 400px;
        padding: 30px 20px 40px 20px;
        max-height: 100%;
    }
    
}

.clickable:hover {
    cursor: pointer;
    -webkit-transform: scale(1.07);
}

ul li:hover {
    text-decoration: none;
    color:#ddfcf8;
    cursor: pointer;
    /* -webkit-transform: scale(1.07); */
}

.project-heading:hover {
    cursor: pointer;
    -webkit-transform: scale(1.01);
    text-decoration: underline;
}

.announcement-heading:hover {
    cursor: pointer;
    -webkit-transform: scale(1.01);
}

.trending-profile:hover {
    cursor: pointer;
    -webkit-transform: scale(1.03);
}

@media (max-width: 1052px) {    
    .bottom-header {
        display: none;
    }
}