@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* :root{
  --h1:#222222;
  --bg-color:#ffffff; 
  --engagement-item:#f2f8fa;
  --border-color:#e5e5e5;
  --input-color:#f9f9fa;
  --anouncement-post:#5a5a5a;
}
.dark-mode {
  --anouncement-post:#90949c;
  --h1:white;
  --bg-color:#0d0d11;
  --engagement-item:#0378A414;
  --border-colofvr:#14141f; 
  --input-color:#343444;
} */
body {
  font-family: "Urbanist", sans-serif;
  background-color: #f0f2f5;
}

main {
  display: flex;
  justify-content: space-between;
}
.main-content {
  flex: 2;
  margin-right: 20px;
}
.welcome-banner {
  display: flex;
  justify-content: space-between;
  height: 195px;
  color: white;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 8px;
}
.welcome-banner h2 {
  margin-bottom: 10px;
}
.top-posts {
  border: 1px solid var(--border-color);
  background-color: var(--sidebar);
  border-radius: 8px;
  padding: 20px;
}
.top-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.answer-btn {
  color: #0077b6;
  background: none;
  border: none;
  cursor: pointer;
}

.post {
  background-color: var(--post-bg);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  padding: 16px;
  max-width: 760px;
  margin: 0 auto;
  margin-bottom: 30px;
  margin-top: 30px;
}
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.post-author {
  font-weight: 500;
  font-size: 12px;
  /* color: black; */
}
.post-date {
  color: var(--p);
  font-size: 0.9em;
  height: 5px;
  width: 10px;
}
.post-content {
  display: flex;
  gap: 16px;
}
.post-text {
  flex: 1;

  width: 483px;
}

.post-title {
  font-size: 20px;
  line-height: 27px;
  font-weight: bold;
  margin-bottom: 8px;
  height: 54px;
}
.post-excerpt {
  color: var(--p);
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 22px;
  font-weight: 400px;
}
.post-image {
  width: 192px;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
}

.post-engagement {
  display: flex;

  gap: 16px;
  color: #65676b;
  font-size: 0.9em;
}
.post-engagement2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.engagement-item {
  display: flex;
  align-items: center;
  background-color: var(--engagement-item);
  width: 74px;
  height: 40px;
  margin-right: 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0378a4;
}
.engagement-item2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 32px;
  color: #0378a4;
  background-color: #f2f8fa;
  border-radius: 16px;
}
.engagement-icon {
  margin-right: 4px;
}
/* .sidebar {
  box-shadow: -1px 0 3px rgba(0, 0, 0, 0.1),
    0 -1px 3px rgba(0, 0, 0, 0.1);

  background-color: white;

  padding: 20px;
  width: 495px !important;
  display: flex;
  justify-content: center;
} */
.section {
  margin-bottom: 20px;
  width: 400px;
}
.section-header {
  font-size: 18px;
  width: 360px;
  height: 56px;
  margin-top: 18px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0378a4;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 20px 10px 20px;
  border: 1px solid #0378a4;
  border-radius: 27px;
}
.comment-item {
  margin-bottom: 30px;
  font-size: 25px;
  width: 312px;

  margin-top: 30px;
}
.comment-item p {
  margin: 0;
  font-size: 14px;
}
.comment-item .time {
  color: #888;
  font-size: 12px;
}
.load-more {
  color: #0077b6;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 30px;
}
.container1 {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 40px;
}
h1 {
  font-size: 24px;
  margin-bottom: 5px;
}
.underline {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #0378a4 50.666%, #cecece 16.666%);
  margin-bottom: 20px;
}
.search-container {
  position: relative;
  margin-bottom: 20px;
}
.search-input {
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  height: 50px;
  background-color: #f5f5f5;
}
.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 50%;
}
.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  background-color: #999;
  transform: rotate(45deg);
}
.section {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}
.section-title {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown-icon {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #000;
}
.create-button {
  display: block;
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  font-size: 18px;
  color: #ffffff;
  background-color: #0378a4;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-align: center;
}
.container1 {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 40px;
}
h1 {
  font-size: 24px;
  margin-bottom: 5px;
}
h2 {
  font-size: 24px;
  margin-bottom: 5px;
  margin-top: 10px;
  color: var(--h1);
}
.underline {
  width: 100%;
  height: 2px;
  background-color: #0099cc;
  margin-bottom: 20px;
}
.rep-navigation {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rep-nav-dots {
  display: flex;
}
.rep-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 3px;
}
.rep-dot.rep-active {
  background-color: #007bff;
}
.rep-nav-arrow {
  font-size: 20px;
  color: #007bff;
  cursor: pointer;
  user-select: none;
}
.filter-space-div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;

  height: 57px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.filter-space-div p {
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #5a5a5a;
}

.filter-space-div2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 10px;

  height: 57px;
}
.filter-space-div2 img {
  width: 20px;
}
.filter-space-div2:hover {
  background-color: rgba(3, 120, 164, 0.08);
  color: #0378a4;
}
.search-container {
  position: relative;
  margin-bottom: 20px;
}
.search-input {
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  height: 50px;
  background-color: #f5f5f5;
}
.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 50%;
}
.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  background-color: #999;
  transform: rotate(45deg);
}
.section {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 20px;
}
.section-title {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown-icon {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #000;
}
.create-button {
  display: block;
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  font-size: 18px;
  color: #ffffff;
  background-color: #0378a4;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-align: center;
}
.container {
  width: 1240px;
  margin: 0 auto;
  padding: 20px 20px;
}
.container2 {
  width: 1240px;
  margin: 0 auto;
}
header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #666;
}
nav a.active {
  color: #0077b6;
  border-bottom: 2px solid #0077b6;
}
nav {
  font-size: 18px;
}
.header-actions {
  display: flex;
  align-items: center;
}
/* .header-actions > * {
  margin-left: 15px;
} */
.create-btn {
  background: #0378a4;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ddd;
}
.header-content2 {
  display: flex;
  gap: 20px;
  align-items: center;
}
.welcome-text {
  width: 473px;
  font-family: "Urbanist", sans-serif;
}
.welcome-text h2 {
  font-size: 32px;
}
.welcome-text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}
.banner-img {
  width: 191px;
  height: 163px;
}
.top-posts-header h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  padding: 20px;
}
/* .post-texts {
  padding-top: 20px;
  padding-bottom: 20px;
} */
.share {
  width: 20px;
  height: 20px;
}
.save {
  width: 30px;
  height: 30px;
}
.pic {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.pic img {
  width: 14px;
  height: 14px;
}
.pp {
  width: 30px !important;
  height: 30px !important;
}
.for-flex {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 30px;
}
.img {
  width: 40px;
  height: 40px;
  border-radius: 20px;
}
.notification-text p {
  font-size: 15px;
  line-height: 21px;
}

.fp-container {
  max-width: 825px;
  height: 470px;
  margin: 0 auto;
  background-color: var(--bg-color);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.fp-post-pictures-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 22px;
  width: 808px;
}
.post-1 {
  width: 186px;
  /* height: 339px; */
}
.fp-post-pictures {
  height: 287px;
  width: 186px;
  border-radius: 6px;
}
.fp-post-action-1 {
  display: flex;
  gap: 10px;
}
.fp-post-action-div {
  display: flex;
  margin-top: 20px;
  gap: 30px;
  margin-bottom: 30px;
}
.post-see-all {
  display: block;
  text-align: right;
  font-family: Urbanist;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: #0378a4;
  margin-bottom: 20px;
}
/* .fp-container img {
  width: 734px;
} */
.fp-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
  padding: 20px;
}
.fp-posts-wrapper {
  display: flex;
  justify-content: center;
}
.fp-outer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fp-post {
  width: 250px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: 10px;

  height: 313px;
}
.fp-post-center {
  height: 190px;
}
.fp-post-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
.fp-text-div {
  border-bottom: 1px solid #ddd;
}
.fp-post-meta {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}
.fp-post-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.fp-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 15px;
  color: #666;
  font-size: 12px;
}
.fp-nav-arrow {
  font-size: 24px;
  color: #666;
  cursor: pointer;
}
.post-img {
  height: 160px;
}
.sidebar-text {
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--p);
}
.curriculum {
  font-size: 18px;
  width: 360px;
  height: 56px;
  margin-top: 18px;
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
  color: white;
  background-color: #0378a4;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 20px 10px 20px;
  border: 1px solid #0378a4;
  border-radius: 27px;
}

.follow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 153px;
  height: 51px;
  padding: 16px 40px;
  gap: 8px;
  border: none;
  border-radius: 25px;
  background: #0378a4;
  color: white;
}

.support {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0378a4;
  border: 1px solid #0378a4;
  width: 153px;
  height: 51px;
  padding: 16px 40px;
  background-color: var(--engagement-item);
  gap: 8px;
  border-radius: 25px;
  cursor: pointer;
}
.button-flex {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.profile-img {
  width: 112px;
}
.tickets {
  margin-top: 10px;
}

.coins {
  margin-top: 30px;
  margin-bottom: 30px;
}

.profile {
  height: 140px;
  display: flex;
  gap: 20px;
  color: #5a5a5a;
  line-height: 21px;
}
.professor {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 500;
  line-height: 21.03px;
  /* text-align: center; */
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  margin-top: 10px;
  margin-bottom: 10px;
}
.impact {
  font-family: Urbanist;
  font-size: 21.65px;
  font-weight: 500;
  line-height: 25.98px;

  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.container-tag {
  max-width: 400px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
}

.cover {
  width: 817px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.mobile-screen-profile-info {
  display: none;
}
.profile-div {
  display: block;
}

@media (max-width: 1024px) {
  .profile-div {
    display: none;
  }
  .post-image {
    width: 313px;
    height: 192px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
  }
  h2 {
    font-family: Urbanist;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
  }
  .shing-img {
    height: 70px;
    width: 70px;
  }
  .impact {
    font-family: Urbanist;
    font-size: 16px;
    font-weight: 500;
    line-height: 19.2px;
    text-align: left;
  }
  .professor {
    font-family: Urbanist;
    font-size: 16px;
    font-weight: 500;
    line-height: 19.2px;
    text-align: left;
    /* text-align: center;
text-underline-position: from-font;
text-decoration-skip-ink: none; */
  }

  .mobile-screen-profile-info {
    display: block;
    /* width:343px; */
    /* margin: auto; */
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
  }
  .post-i .professor {
    text-align: left;
  }
  .coins {
    width: 80%;
  }
  .sidebar {
    display: none;
  }

  /* main{
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin: auto;
  } */
  */ .container2 {
    width: 100%;
    margin: 0 auto;
  }
  .fp-post-pictures-container {
    width: 343;
    margin: 0px auto;

    white-space: nowrap;
    overflow-x: auto;
  }

  .post {
    height: fit-content;
  }
  .cover {
    width: 100%;
    height: 152px;
    object-fit: none;
    border-radius: 0;
  }
  .post-text {
    width: 313px;
  }
  .top-posts {
    min-width: 100%;
    margin: 0 auto;
    padding: 10px !important;
  }
  .main-content {
    width: 100%;
    margin: auto;
  }

  .fp-post-pictures-container {
    width: 313px;
    white-space: nowrap;
    overflow-x: scroll;
  }

  .fp-post-pictures-container::-webkit-scrollbar {
    height: 5px;
  }
  .fp-post-pictures-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
  }
  .fp-post-pictures-container::-webkit-scrollbar-thumb:hover {
    background: #999;
  }
  .fp-post-pictures-container::-webkit-scrollbar-track {
    background: transparent;
  }
}
@media (max-width: 768px) {
  .mobile-screen-profile-info {
    display: block;
    width: 343px;
    margin: auto;
    padding: 10px;
  }
}
.profile-img {
  color: white;
  border-radius: 50%;
  font-weight: bolder;
  font-size: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0378a4;
  height: 100px;
  width: 112px;
  flex-direction: column;
}
.rotete {
  transform: rotate(90deg);
}
