body {
  font-family: "Roboto", sans-serif;
}

.navbar {
  background-color: rgb(0, 179, 255);
  display: grid;
  place-items: center;
}

ul {
  list-style-type: none;
}

.svg-icons{
  display: flex;
  gap:0.4rem;
  align-items: center;
}

.nav-svg{
  width:1.5rem;
  height: 1.5rem;
}

.nav-links {
  color: white;
  font-weight: 600;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 4rem;
  padding: 1rem 0;
  margin-left:1rem;
}

.header {
  box-shadow: 0 0.1rem 0.3rem rgba(112, 128, 144, 0.5);
  display: grid;
  place-items: center;
}

#search {
  width: 2rem;
  height: 1.5rem;
}

.search-notif {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-left: 1rem;
}

.search-container {
  display: flex;
  align-items: center;
}

input {
  width: 9rem;
  height: 0.5rem;
  border-radius: 1rem;
  border: none;
  background-color: rgba(112, 128, 144, 0.1);
  padding: 1rem;
}
input:focus {
  outline: none;
}

.notif-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-pic {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  border-radius: 50%;
}

.user-option {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 1rem;
  padding-top: 1rem;
}

.user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 1rem;
}

.user-img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.hi {
  font-size: 0.625rem;
}

.option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 0;
  margin-right: 0;
}

.option-btn {
  background-color: rgb(0, 179, 255);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 1rem;
  padding: 0 1rem 0.1rem;
  margin-bottom: 0.4rem;
  width: 5rem;
}

.main {
  background-color: rgba(112, 128, 144, 0.1);
  padding-top: 1.5rem;
}

.projects {
  display: grid;
  place-items: center;
}

.project-card {
  width: 20rem;
  height: 14rem;
  margin-top: 1.5rem;
  box-shadow: 0.1rem 0.1rem 0.3rem rgba(112, 128, 144, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-color: white;
  padding: 0 2rem;
  border-left: 0.4rem solid rgb(244, 208, 2);
  border-radius: 0.5rem;
}

.icon-svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1rem;
}

.announcement-trending {
  padding-top: 1rem;
  display: grid;
  place-items: center;
}

.announcement-container {
  margin-top: 1rem;
  width: 18rem;
  height: 24rem;
  padding: 1rem;
  box-shadow: 0.1rem 0.1rem 0.3rem rgba(112, 128, 144, 0.5);
  background-color: white;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap:1rem;
}

.announcement-card:first-child,
.announcement-card:nth-child(2) {
  border-bottom: 1px solid rgba(112, 128, 144, 1);
}

.announcement-card > p {
  padding-bottom: 1rem;
}

.trending {
  margin-top: 1rem;
}

.trending-container {
  margin-top: 1rem;
  box-shadow: 0.1rem 0.1rem 0.3rem rgba(112, 128, 144, 0.5);
  background-color: white;
  border-radius: 0.5rem;
}

.other-user {
  width: 18rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.other-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

@media (min-width: 500px) {
  .header {
    padding-bottom: 1rem;
  }

  .nav-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .search-notif {
    padding-right: 1rem;
    width: 100%;
    justify-content: space-around;
  }

  input {
    width: 19rem;
  }

  .user-handle {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .user-option {
    width: 100%;
    justify-content: space-around;
    align-items: flex-end;
  }

  .option {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (min-width: 720px) {
  .nav-links {
    grid-template-columns: repeat(5, 1fr);
    margin-left: 2rem;
  }

  .project-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
  }

  .project-card {
    margin-top: 0;
  }

  .announcement-trending-container {
    display: grid;
    place-items: center;
  }

  .announcement-trending {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    place-items: start center;
  }

  .announcement {
    margin-left: 2rem;
    margin-bottom: 2rem;
  }

  .trending {
    margin-top: 0;
    margin-right: 2rem;
  }
}

@media (min-width: 1020px) {
  .container {
    display: grid;
    grid-template-columns: 15rem 1fr;
  }

  .navbar {
    display: block;
    place-items: start;
  }

  .nav-links {
    display: block;
    display: flex;
    flex-direction: column;
  }

  .dashboard-svg{
    width: 2.5rem;
    height: 2.5rem;
  }

  .dashboard-icon{
    font-size:1.5rem;
    margin-bottom: 1.5rem;
  }

  .settings-icon{
    margin-top:1.5rem;
  }
}

@media (min-width: 1200px) {
  .header{
    place-items: start;
  }

  .search-notif, .user-option{
    width: 63.9rem;
    justify-content: space-between;
  }

  input{
    width:35rem;
  }

  .main {
    display: grid;
    grid-template-columns:1fr 2fr;
    gap: 1.5rem;
  }

  .projects {
    display: block;
    place-items: start;
    margin-left: 1.5rem;
    padding-right: 0;
    margin-bottom:4rem;
  }

  .announcement-trending-container {
    place-items: start;
  }

  .announcement-trending {
    display: block;
    padding-top: 0;
  }

  .announcement {
    margin:0.5rem 1rem 1rem 0;
  }

  .trending{
        margin-top: 0;
        margin-right: 1rem;
  }

  .other-user{
    padding-top:0.7rem;
    margin-bottom:0;
  }
}