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

* {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
}
body {
  background-color: #ffffff;
}

p {
  line-height: 1.3;
  color: rgb(0, 0, 0, 0.6);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: rgb(0, 0, 0, 0.8);
}

#container {
  display: grid;
  grid-template-columns: 2fr 6fr;
  grid-template-rows: 2fr 8fr;
  grid-template-areas:
    "side-nav header"
    "side-nav main-content";
  height: 100vh;
  width: 1400px;
  margin: auto;
}

.header {
  grid-area: header;
  background: #fff;

  display: grid;
  grid-template-columns: 4fr 2fr;

  padding: 10px 20px;

  .left-section {
    display: grid;
    grid-template-rows: minmax(30px, 50px) auto;
    gap: 20px;
    padding: 0 30px 0 0;

    .search {
      display: flex;
      gap: 20px;
      align-items: center;

      label {
        display: flex;
        width: 100%;
      }

      input[type="search"] {
        background-color: #e2e8f0;
        border-radius: 15px;
        outline: none;
        border: none;
        padding: 8px 15px;
        flex: 1;
      }
    }
    .name-section {
      display: flex;
      gap: 20px;

      img {
        background-color: #facc15;
        border-radius: 50%;
        width: 50px;
        height: 50px;
      }
    }
  }

  .right-section {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;

    .top {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 20px;

      .bell {
        background-color: #facc15;
        border-radius: 50%;
        width: 30px;
        height: 30px;
      }
    }

    .btns {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 20px;

      button {
        border-radius: 20px;
        height: 40px;
        outline: none;
        border: none;
        background-color: #1992d4;
        color: #fff;
        font-weight: bold;
        cursor: pointer;
      }
    }
  }
}

.side-nav {
  background: #1992d4;
  color: white;
  grid-area: side-nav;
  padding: 20px;

  display: grid;
  grid-template-rows: 50px minmax(200px, 320px) minmax(200px, 320px);
  grid-gap: 20px;

  span {
    font-weight: 700;
  }

  ul li {
    list-style-type: none;
    line-height: 2;

    &:hover {
      cursor: pointer;
    }
  }

  .flex {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 17px 0;
  }
}

.main-content {
  background: #e2e8f0;
  grid-area: main-content;
  padding: 25px 20px;

  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;

  .main-section {
    h3 {
      margin-bottom: 15px;
    }
    h4 {
      margin-bottom: 7px;
    }
    .projects-wrapper {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px 25px;

      .card {
        background-color: #ffffff;
        border-left: 6px solid #f0b429;
        padding: 20px;
        border-radius: 8px;
        display: grid;
        grid-template-rows: 100px auto;
        gap: 25px;

        .icons {
          display: flex;
          justify-content: flex-end;
          gap: 20px;

          img:hover {
            cursor: pointer;
          }
        }
      }
    }
  }

  .aside-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    h3 {
      margin-bottom: 15px;
    }

    .announcements-card {
      background-color: #fff;
      padding: 20px;
      border-radius: 8px;
    }

    .trendings-card {
      background-color: #fff;
      padding: 20px;
      border-radius: 8px;

      .flex {
        display: flex;
        gap: 10px;
        align-items: center;
        margin: 20px 0;

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

        img.one {
          background-color: #e0f2fe;
        }

        img.two {
          background-color: #facc15;
        }

        img.three {
          background-color: #a3a3a3;
        }
        img.four {
          background-color: #fda4af;
        }
      }
    }
  }
}

img {
  height: 20px;
  color: #fff;
}
