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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Figtree", sans-serif;
  font-size: 62.5%;
}
nav {
  border-bottom: 1px solid #ccc;
  background-color: #05192d;
  color: white !important;
}
.navbar-brand {
  font-weight: 600 !important;
  color: white;
  font-size: 1.8rem;
}
.navbar-brand:hover {
  color: white !important;
}
.background {
  background-image: url("../images/background_image.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 40vh;
  border-bottom: 1px solid #ccc;
}
.navbar-brand span {
  font-weight: 600;
  color: rgb(239, 45, 86) !important;
}
.nav-link {
  color: white;
  font-size: 14px;
}
.nav-link:hover {
  color: white !important;
}
.subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}
.subnav ul li {
  display: inline;
  padding-right: 1rem;
  font-size: 12px;
}
.subnav {
  border-bottom: 1px solid #ccc;
  font-weight: 600 !important;
}
/* css for newsletter  */
.newsletter button {
  font-size: 13px;
  padding: 0 8px;
  margin-left: 8px;
  border: 1px solid #e2e2e2;
}
.newsletter input[type="email"] {
  width: 250px;
  font-size: 16px;
  border: 1px solid #e2e2e2;
  font-size: 13px;
  padding-left: 4px;
}
#response-message {
  font-size: 12px;
  color: #05a139;
}
.subnav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.book-summary {
  margin-top: 2.4rem;
  font-weight: 600;
}
.link_list li a {
  text-decoration: none;
  cursor: pointer;
  color: #000;
}
/* styling for main section */
main {
  padding-top: 4rem;
  background: radial-gradient(#fafafa, transparent);
}
main h2 {
  font-size: 40px;
  margin-bottom: 1rem;
  font-weight: bold;
}
main p {
  font-size: 15px;
  line-height: 1.8;
}
ul {
  font-size: 15px;
  line-height: 1.8;
}
.navbar-toggler-icon {
  color: white !important;
}
.navbar-toggler {
  color: white !important;
}
.hamburger {
  color: white !important;
}

/* styling for breadcrumbs */
.breadcrumbs {
  margin: 0;
  padding: 0;
  margin-bottom: 0.5rem;
}
.main-section div.breadcrumbs:not(:first-child) {
  margin-top: 4.8rem;
}
.breadcrumbs p {
  display: inline-block;
  margin-right: 0.5rem;
  border-left: 3px solid #ccc;
  border: 1px solid #ccc;
  background-color: #e2e2e2;
  padding: 4px;
  font-size: 11px;
}
.main-section a {
  text-decoration: none;
  color: #555555;
}
main img {
  width: 100%;
  border-radius: 100%;
  border: 1px solid #ccc;
  max-width: 60%;
}
/* profile section styling on home page */
.profile {
  text-align: center;
}
.profile h4 {
  border: 1px solid #383333;
  padding: 4px;
  font-size: 14px;
  margin-top: 16px;
  z-index: 1;
  border-radius: 5px;
  font-weight: 600;
  color: #383333;
}
.vid_size {
  width: 560px;
  height: 315px;
}
.profile p {
  font-size: 12px;
  text-align: left;
}
.profile_title {
  color: #ef2d56;
  border: 1px solid #ef2d56;
  background-color: #e8c7ce;
  padding: 4px;
  text-align: center !important;
  border-radius: 5px;
  font-weight: 600;
}
.profile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 8px;
  margin-bottom: 2.4rem;
}
.profile ul li {
  margin-top: 5px;
  border: 1px solid #ef2d56;
  border-left: 8px solid #ef2d56;
  text-align: left;
  font-size: 12px;
  padding-left: 8px;
  padding: 5px;
  transition: 0.5s ease;
  position: relative;
}
.profile ul li p {
  display: inline;
}
.profile ul li::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 0px;
  background-color: #ef2d56;
  transition: 0.5s ease;
  z-index: -1;
}
.profile ul li:hover::before {
  width: 100%;
  color: white;
  z-index: -1;
}
.profile ul li p:hover {
  color: white;
  z-index: 1;
  font-weight: bold;
}

.right-panel img {
  border-radius: 0;
  max-width: 50%;
}
footer {
  background-color: #000;
  color: white;
}
footer > div {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer p {
  font-size: 14px;
  padding: 2rem;
}
.main-section {
  padding-left: 3rem;
  padding-right: 3rem;
}

/* css for login form  */
.class_form form {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
  border: 3px solid #ef2d56;
  margin-bottom: 48px;
  border-radius: 10px;
}
.class_form input {
  padding: 4px;
  border: 1px solid #e2e2e2;
}
.class_form button {
  margin-top: 14px;
  background-color: #e8c7ce;
  color: #ef2d56;
  font-size: 13px;
  border: 1px solid #ef2d56;
  border-radius: 5px;
  padding: 4px;
}
.class_form h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #ef2d56;
  text-align: center;
}
/* css for register form */
.register-form h2 {
  font-size: 20px;
  color: #ef2d56;
}
.register-form label.form-label {
  font-size: 14px;
  color: #383333;
}
.btn-primary {
  background-color: #ef2d56 !important;
  color: white !important;
  border: none !important;
  font-weight: bold !important;
}

.profile-header img {
  width: 100%;
  max-width: 100px;
  height: 100px;
  object-fit: cover;
  border: 1px solid #ccc;
}
.profile-header {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
  flex-basis: 200px;
  align-items: center;
  padding: 1rem;
  justify-content: flex-start;
  transition: 1s ease all;
}
.profile-section {
  display: flex;
  gap: 2rem;
  border: 1px solid #ccc;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.profile-header button {
  background-color: #ef2d56;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: bold;
}
.main-section2 {
  padding-right: 3rem;
}
.profile-content {
  background-color: #e8c7ce;
  flex-grow: 1;
  padding: 1rem;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(to right, #e8c7ce, transparent);
}
.profile-content p {
  font-size: 13px;
  color: #ef2d56;
}
.hide {
  display: none !important ;
}
.show {
  display: block !important;
}
/* styling for image upload */
.image-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1rem;
  transition: all 0.5s ease;
}
.image-upload input[type="file"],
.image-upload button {
  padding: 4px;
  border: 1px solid #ccc;
  margin-bottom: 4px;
}
.discussion-board {
  margin-top: 48px;
}
.discussion-board form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.discussion-board h2 {
  font-size: 20px;
  color: #ef2d56;
  margin-bottom: 8px;
}
.discussion-board input,
button {
  font-size: 13px;
}
.discussion-board textarea {
  height: 15vh;
  resize: none;
}
.discussion-board button {
  border: none;
  border-bottom: 1px solid #ef2d56;
  padding: 4px;
  margin-top: 8px;
}
.user-sections {
  display: flex;
  border: 4px solid #ef2d56;
  padding: 1rem;
  border-radius: 10px;
  justify-content: space-evenly;
}
.user-sections i {
  height: 60px;
  width: 60px;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  padding-top: 15px;
}
.user-section-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.profile-header p {
  font-weight: bold;
}
.dashboard-i i {
  margin-right: 4px;
  font-size: 20px;
}
.error_message {
  color: #ef2d56;
  font-size: 13px;
  margin-top: 8px;
}
.settings h2 {
  font-size: 20px;
  color: #ef2d56;
  margin-bottom: 8px;
  margin-top: 48px;
}
.settings2 h2 {
  font-size: 20px;
  color: #ef2d56;
  margin-bottom: 8px;
}
.user-content {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  border-left: 1px solid #e2e2e2;
  padding-left: 1rem;
  padding-right: 1rem;
}
.user-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}
.user-header p {
  font-weight: bold;
}
.user-content p {
  line-height: 1;
}
.user-header img {
  width: 100%;
  max-width: 60px;
  max-height: 60px;
  object-fit: cover;
  border: 1px solid #ccc;
}
.user-profile-section {
  display: flex;
  border: 1px solid #ccc;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  align-items: center;
}
.user-sections a {
  text-decoration: none;
  color: #000;
}
.write_article-section form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.write_article-section form button {
  border: none;
  border-bottom: 1px solid #ef2d56;
  padding: 4px;
  margin-top: 8px;
}
.write_article-section h2 {
  font-size: 20px;
  color: #ef2d56;
  margin-bottom: 8px;
  margin-top: 48px;
}
.write_article-section form input,
.write_article-section form textarea {
  font-size: 13px;
  border: 1px solid #ccc;
}
.quick-dashboard {
  margin: 12px 0;
  border-bottom: 1px solid #e2e2e2;
  padding: 8px;
  margin-bottom: 56px;
}
.quick-dashboard ul {
  display: flex;
  padding-right: 16px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.quick-dashboard h2 {
  font-size: 12px;
  color: #ef2d56;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.quick-dashboard ul li {
  color: #ef2d56;
  padding: 4px 8px;
  font-size: 11px;
  border-left: 2px solid #ef2d56;
}
.quick-dashboard ul li a {
  text-decoration: none;
  color: #ef2d56;
}

@media screen and (max-width: 768px) {
  main img {
    width: 30%;
    max-width: 30%;
  }
}
/* css for small screens */
@media screen and (max-width: 566px) {
  .main-section2 {
    padding-left: 3rem;
  }
  .user-sections {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
  }
  .profile {
    order: 2;
  }
  .main-section {
    margin-top: 24px;
  }
  .navbar-brand {
    font-size: 1.4rem;
  }
}
/* Styling for discussion board */
.discussion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0;
}
.user-comment {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid #ef2d56;
}
.discussion_main {
  margin: 48px 0;
}
.discussion_main h1 {
  font-size: 20px;
  color: #ef2d56;
  margin-bottom: 8px;
  margin-top: 32px;
  text-align: center;
}
/* Discussion item comment section */
.discussion_thread {
  margin: 48px 0;
}
.discussion_thread form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.discussion_thread button {
  border: none;
  border-bottom: 1px solid #ef2d56;
  padding: 4px;
  margin-top: 8px;
}
.image_and_username {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.image_and_username img {
  width: 100%;
  max-width: 80px;
  max-height: 80px;
  object-fit: cover;
  border: 1px solid #ccc;
  aspect-ratio: 1/1;
}
.image_and_username figure {
  padding-bottom: 0;
  margin-bottom: 0;
}
.new_thread {
  font-size: 14px;
  background-color: #ef2d56;
  color: #fff;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
}
.discussion__header--cat {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.discussion__header--cat li {
  padding: 2px 10px;
  margin-right: 8px;
  color: #fff;
}
.discussion__header--cat li:first-child {
  padding: 2px 10px;
  border-bottom: 4px solid #ef2d56;
  margin-right: 8px;
}
.discussion__header--cat li a {
  color: #000;
}
.discussion__header--cat li a:first-child {
  text-decoration: none;
  font-weight: bold;
}
.new_thread p {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  padding: 0 8px;
}
.new_thread a {
  text-decoration: none;
  color: #fff;
}

/* Styling for the discussion board */
.forum_board__main {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  border-bottom: 1px solid #e2e2e2;
}
figure {
  flex-grow: 0;
  padding: 16px;
}
.forum_board__main img {
  max-width: 80px;
  max-height: 80px;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.forum_topic {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex-grow: 1;
}
.forum_topic a {
  text-decoration: none;
  color: #000;
}
.forum_topic h3 {
  font-size: 14px;
  font-weight: bold;
  margin-top: 4px;
}
.forum_topic > * {
  margin: 0;
  padding: 0;
}
.replies {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}
.replies p {
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.replies p:last-child {
  font-variant: small-caps;
  font-weight: bold;
  color: #999595;
  margin-top: -10px;
}
.replies p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
}
.hashtag {
  color: #ef2d56;
  font-weight: bold;
  font-size: 16px;
  align-self: center;
  flex-grow: 1;
}
.forum_views {
  padding: 1rem;
}
.forum_views > * {
  margin: 0;
  padding: 0;
}
.forum_views p {
  font-size: 14px;
}
.forum_views p:last-child {
  font-variant: small-caps;
  font-size: 14px;
  padding: 0;
  margin: 0;
  font-weight: bold;
  color: #999595;
  margin-top: -10px;
}
.views_count {
  font-weight: bold;
  color: #ef2d56;
}
p.author {
  font-size: 12px;
  margin-top: -4px;
}
.monetization_articles {
  margin-top: 48px;
}
.monetization_articles h2 {
  font-size: 20px;
  color: #ef2d56;
  margin-bottom: 8px;
}
.quick-dashboard ul li:not(:first-child) {
  margin-left: 16px;
}
.article-meta {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  align-items: center;
}
.like-button {
  background-color: #ef2d56;
  padding: 6px;
  border-radius: 50%;
  color: #fff;
  border: none;
}
.like-count {
  font-size: 16px;
  font-weight: bold;
}

@media screen and (max-width: 576px) {
  .profile {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .subnav ul {
    text-align: center;
  }
  .background {
    height: 20vh;
  }
  main {
    padding-top: 1rem;
  }
  .profile img {
    max-width: 25%;
  }
  .right-panel {
    padding-left: 3rem;
    padding-right: 3rem;
    margin-top: 2rem;
  }
  .vid_size {
    width: 100%;
    padding: 5px;
    height: auto;
  }
  main h2 {
    font-size: 24px;
  }
  .quick-dashboard ul li:not(:first-child) {
    margin-left: 0 !important;
  }
  .quick-dashboard ul {
    flex-direction: column;
    gap: 4px;
  }
  .user-content {
    padding-top: 0;
  }
  .user-content p {
    font-size: 12px;
  }
  .settings h2 {
    margin-top: 32px;
  }
  .discussion__header--cat {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .discussion__header {
    flex-direction: column;
    align-items: center;
  }
  .new_thread {
    width: 100%;
    text-align: center;
    margin-bottom: 16px !important;
    margin-top: 16px !important;
  }
  .forum_board__main {
    display: grid;
    gap: 4px;
    place-content: center;
    grid-template-columns: repeat(4, 1fr);
    padding: 4px;
  }
  .forum_board__main > figure {
    grid-column: 1/2;
    margin-bottom: 0;
    padding: 2px;
  }
  .forum_board__main > figure img {
    max-width: 60px;
    max-height: 60px;
  }
  .forum_board__main > .forum_topic {
    grid-column: 2/5;
    padding-top: 4px;
  }
  .forum_board__main > .hashtag {
    grid-column: 1/5;
    text-align: center;
    margin-bottom: 0;
  }
  .forum_board__main > .forum_views {
    grid-column: 3/5;
    text-align: center;
    padding-bottom: 0;
    padding-top: 0;
    text-align: center;
  }
  .forum_board__main > .replies {
    grid-column: 1/3;
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
  }
  .forum_board__main figure img {
    width: 60px;
    height: 60px;
  }
  .forum_topic {
    padding-bottom: 0;
  }
  .profile-section {
    flex-direction: column;
    align-items: center;
  }
  .user-profile-section {
    margin: 16px 0;
  }
  .newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  #emailForm input[type="email"] {
    width: 100%;
    margin-bottom: 8px;
  }
  #emailForm button {
    width: 100%;
    margin-left: 0;
    margin-bottom: 8px;
  }
  .subnav .container {
    flex-direction: column;
    align-items: center;
  }
  #response-message {
    margin-bottom: 8px;
  }
}
