@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap");

:root {
  --primary-color: #f59e0b;

  --light-primary-color: #fbbf24;
  --dark-grey: #374151;

  /* --off-white: #e5e7eb; */

  --off-white: #f3f4f6;
}

/* general style */

* {
  box-sizing: border-box;
}

body {
  font-family: "Rubik", sans-serif;

  margin: 0;
}

hr {
  margin: 2rem 0;
}

/* spaces */
.margin-md {
  margin: 1rem 0;

  display: flex;

  justify-content: center;
  align-items: center;
}

/* sections */

.home-section {
  display: flex;
}

/* container */
.container {
  padding: 0 1rem;
}

.container-centre {
  width: 36rem;

  margin: auto;
}

.home-container {
  text-align: center;
  width: auto;
}

.blog-container {
  display: flex;
}

/* links */

.link {
  padding: 0.5rem;

  text-decoration: none;
}

.primary-link {
  background-color: var(--primary-color);

  border-radius: 0.5rem;

  color: white;

  transition: all 0.5s ease;
}

.primary-link:hover {
  background-color: var(--light-primary-color);

  box-shadow: 0px 0px 6px var(--primary-color);

  border-radius: 0.5rem;

  color: white;

  transition: all 0.5s ease;
}

.secondary-link {
  color: var(--primary-color);

  border-radius: 0.5rem;

  border: 1px solid var(--primary-color);

  transition: all 0.5s ease;
}

.secondary-link:hover {
  color: white;

  border-radius: 0.5rem;

  border: 1px solid var(--primary-color);

  transition: all 0.5s ease;

  background-color: var(--primary-color);
}

/* tablecontainer */

.container-table {
  display: flex;

  flex-direction: column;
}

.container-table .row {
  display: flex;

  flex-direction: row;
}

.container-table .row .rect {
  width: 50%;
}

.border-left-vertical {
  border-style: solid;

  border-width: 0 0 0 1px;
}

/* lists */

.list-non-bullet {
  list-style: none;
}

.list-non-bullet .list-head {
  font-weight: bold;
}

.list-item-inline {
  display: inline;

  padding: 0 0.5rem;
}

/* navbar */
.navigation {
  background: var(--light-primary-color);
  background: linear-gradient(
    90deg,
    var(--light-primary-color) 0%,
    var(--primary-color) 80%
  );

  color: white;

  padding: 0.5rem;

  border-radius: 0 0 1rem 1rem;
}

.navigation .nav-brand {
  font-weight: bold;
  font-size: 1.1rem;
}

.nav-align {
  display: flex;
  justify-content: flex-end;
}

.list-item-nav-inline-align {
  display: flex;

  align-items: center;
  justify-content: center;

  text-align: center;
}

/* .nav-link{


} */

.nav-pills {
  text-align: right;
}

.navigation .link-active {
  font-weight: bold;
}

.nav-pills li .link {
  color: white;
  margin: auto;
  transition: all 0.5s ease;
}

.navigation .link-active .link {
  font-weight: bold;
  color: var(--dark-grey);
  transition: all 0.5s ease;
}

.nav-pills li .link:hover {
  color: var(--dark-grey);

  transition: all 0.5s ease;
}

/* header */

.hero {
  padding: 2rem;

  text-align: center;
}

.hero .hero-img {
  max-width: 35rem;
  width: 80vw;

  display: block;

  margin: auto;
}

.hero .hero-heading {
  padding-top: 1rem;

  font-size: 2rem;

  color: var(--dark-grey);
}

/* list in sections */

.list-post {
  display: flex;

  flex-direction: column;

  padding-inline-start: 0;
}

/* sections */

.section {
  padding: 2rem;
  border-radius: 1rem;
}

.section h1 {
  text-align: center;
}

.ow {
  background-color: var(--off-white);
}

.link-detail-sections {
  /* height: 14rem; */
  /* height: 32vh; */

  display: flex;
  flex-direction: column;

  padding-top: 0.1rem;
  padding-bottom: 0.25rem;

  border-radius: 1rem;

  border-style: solid;

  border-color: blue;

  border-width: 2px;

  margin: 1rem;
}

.link-detail-sections .anchors {
  display: flex;
  flex-direction: row;
}

.link-detail-sections .anchors a {
  margin-right: 0.5rem;
}

.link-detail-sections-ow {
  background-color: var(--off-white);

  border-color: var(--off-white);
}

.link-detail-sections-w {
  background-color: white;

  border-color: var(--off-white);
}

/* blog page */

.blog .first-anchor {
  text-decoration: none;

  color: var(--dark-grey);
}

.blog-container {
  display: flex;
  flex-direction: column;
  max-width: 100%;

  /* word-break: break-all; */
}


.blog-container h1{
text-align: center;
}
.blog-para {
  display: flex;

  -webkit-hyphens: auto;
  hyphens: auto;
  flex-wrap: wrap;
  word-wrap: initial;
  /* word-break: break-all; */
}

/* footers */

.footer {
  background-color: var(--dark-grey);

  border-radius: 1rem 1rem 0 0;
  padding: 2rem;

  text-align: center;

  color: white;
}

.footer .footer-header {
  font-weight: bold;

  font-size: large;
}

.footer .link {
  color: white;
}

.footer ul {
  padding-inline-start: 0;
}

.footer .bx {
  color: var(--primary-color);
  font-size: 2rem;
}
