@import url('https://fonts.googleapis.com/css2?family=Lato&family=Marck+Script&family=Merienda:wght@700&display=swap');


body, html {
    margin: 0;
}

body {
    height: 100vh;
    display: grid;
    grid-template-rows: 1fr 6fr;
    grid-template-columns: .2fr 1fr;
    background-color: beige;
    font-family: 'Lato', sans-serif;
}

.side-bar {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background: rgb(54, 178, 227);
}

.side-item {
    display: flex;
    width: auto;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0px 30px;
    gap: 25px;
    color: white;
}

#dashboard-icon {
    height: 45px;
    width: 45px;
}

.title {
    margin: 30px 0px 60px 0px;
}

.general-info,
.utilities {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

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

.top-bar {
    position: relative;
    z-index: 1;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background-color: white;
    box-shadow: 0 5px 10px 0 rgb(179, 217, 233);
}

#search-bar {
    border: none;
    background-color: rgb(215, 231, 247);
    width: 500px;
    border-radius: 25px;
    padding: 5px 10px;
}

#search-bar:focus {
    outline: 0;
}

.first-container {
    padding: 10px 40px;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    gap: 30px;
}

.first-container-right {
    margin-left: auto;
    align-items: center;
    display: flex;
    gap: 25px;
}

.profile-icon {
    height: 55px;
    width: 55px;
}

.bigger-profile-icon {
    height: 70px;
    width: 70px;
}

.second-container {
    padding: 0px 40px 10px 40px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    gap: 30px;
}

.button-containers {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.button-containers > button {
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 25px;
    padding: 8px 20px;
    color: white;
    background-color: rgb(69, 180, 224);
}

.main-page {
    display: grid;
    grid-template-rows: 1fr .8fr;
    grid-template-columns: 1fr .5fr;
    background-color: rgb(198, 230, 254);
    /* border: 1px solid black; */
}

/* .main-page > * {
    border: 1px solid red;
} */

.project-container {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
    padding: 30px;
}

.project-text,
.announcements-text,
.trending-text {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

.project-grid {
    display: grid;
    height: 95%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, minmax(150px, 1fr));
    gap: 25px;
}

.project-grid > div {
    position: relative;
    background-color: white;
    border-radius: 8px;
    border-left: 8px solid rgb(220, 90, 90);
}

.text-title {
    font-weight: bold;
    margin-top: 5%;
    margin-left: 5%;
}

.paragraph {
    margin: 1% 5%;
    font-size: 0.9rem;
    color: rgb(70, 70, 70);
}

.right-bar {
    width: 50%;
    padding: 30px;
}

.announcements-container {
    padding: 30px;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.trending-container {
    padding: 0px 30px 30px 30px;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.annoucements-section,
.trending-section {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    background-color: white;
    border-radius: 8px;
}

.announce-box {
    margin: 12px;
}

#box-1, #box-2 {
    border-bottom: 1px solid black;
}

.announce-box > div {
    font-weight: bold;
    font-size: 0.9rem;
}

.announce-box > p {
    font-size: 0.8rem;
    color: rgb(70, 70, 70);
}

.icons-container {
    position: absolute;
    z-index: 1;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    justify-content: right;
}

.trending-box {
    margin: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tag {
    font-size: 0.8rem;
    color: rgb(125, 125, 125);
}

.trending-section, .annoucements-section, .project-grid > * {
    box-shadow: 3px 3px 10px 0px rgb(124, 124, 124);
}

a, .icons-container, .notification-icon, .search-bar-icon{
    cursor: pointer;
}

button:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* Attribute authors
    All animal profile icons are created by Freepik
    https://www.flaticon.com/free-icons/penguin
*/