body,
html {
  margin: 0;
  background: #f2f2f2;
}

* {
  box-sizing: border-box;
}

.wrapper {
  margin-top: 10px;
  margin-left: 8%;
  margin-right: 8%;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.wrapper > div {
  flex: 1;
  padding: 10px;
  margin-right: 25px;
}

.wrapper > .content {
  flex: 3;
  width: 60%;
}

.wrapper > .leftbar {
  width: 15%;
  margin-top: 50px;
  padding-top: 0;
  border-radius: 4px;
  height: 100%;
  position: relative;
}

.wrapper > .sidebar {
  flex: 2;
  width: 36%;
  /* background-color: white; */
  background: inherit;
  margin-top: 50px;
  border-radius: 4px;
  height: 100%;
  padding-top: 0;
}

/*responsvie view of webpage*/ 
@media only screen and (max-width: 750px) {
        .wrapper {
          margin-top: 10px;
          margin-left: 8%;
          margin-right: 8%;
          display: block;
        }

      .wrapper > div {
          width: 100%;
          padding: 10px;
          margin-right: 25px;
        }
        
        .wrapper > .content {
          width: 100%;
        }
        
        .wrapper > .leftbar {
          width: 100%;
          margin-top: 50px;
          padding-top: 0;
          border-radius: 4px;
        }
        
        .wrapper > .sidebar {
          width: 100%;
          /* background-color: white; */
          background: inherit;
          margin-top: 50px;
          border-radius: 4px;
          height: 100%;
          padding-top: 0;
        }
}

/* style the navbar */
.navbar::after {
  display: table;
  content: "";
  clear: both;
}

.navbar {
  width: 100%;
  display: block;
  min-height: 70px;
  max-height: auto;
  background: #363636;
  /* align-items: center; */
  text-align: center;
  padding-top: 20px;
  padding-left: 10%;
  padding-right: 10%;
  margin-left: 0;
  margin-bottom: 0;
  font-weight: 500px;
}

/* style the logo */
.navbar > .logo-name {
  float: left;
}

/* hide show all menu button */
.navbar > .logo-name > .show-all {
  display: none;
  color: white;
}

.navbar > .logo-name > a {
  color: #eceff4;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

/* style the navbar menu */
.navbar > .navbar-menu {
  float: right;
  position: relative;
}

/* style the navbar menu list */
.navbar > .navbar-menu > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar > .navbar-menu > ul > li {
  display: inline-block;
  /* float: left; */
}

/*.navbar > .navbar-menu > ul > li > a::before {
    content: "|";
}
.navbar > .navbar-menu > ul > li > a:before:first-child {
    content: none;
}
*/
.navbar > .navbar-menu > ul > li > a {
  display: block;
  padding: 10px 5px;
  color: #eceff4;
  font-size: 15px;
  text-decoration: none;
  font-weight: 400px;
}

.navbar > .navbar-menu > ul > li > a:hover {
  color: rgb(194, 23, 23);
}

.navbar > .navbar-menu > .navbar-submenu {
  width: auto;
  display: none;
  box-shadow: 5px 5px 12px 4px #403d3da3;
  position: absolute;
  right: -25px;
  top: 50px;
  z-index: 2;
}

.navbar > .navbar-menu > .navbar-submenu > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar > .navbar-menu > .navbar-submenu > ul > li {
  display: block;
}

.navbar > .navbar-menu > .navbar-submenu > ul > li > a {
  color: black;
  background: #d8dee9;
  /* background: #363636; */
  text-decoration: none;
  display: block;
  padding: 10px 15px;
}

.navbar > .navbar-menu > .navbar-submenu > ul > li > a:hover {
  background: white;
  color: black;
}

/* navbar bar------------------------------ */
/* responsive for mobile */
@media screen and (max-width: 850px) {
  /* style navbar */
  .navbar {
    width: 100%;
    display: block;
    padding-bottom: 15px;
  }

  /* style navbar logo name */
  .navbar > .logo-name {
    display: block;
    width: 100%;
  }

  .navbar > .logo-name > a {
    float: left;
    padding-top: 10px;
  }

  .navbar > .logo-name > .show-all {
    display: block;
    float: right;
    font-size: 15px;
    padding: 10px;
    border: 0.5px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
  }

  /* style logo nav menu */
  .navbar > .navbar-menu {
    display: block;
    width: 100%;
    margin-top: 15px;
  }

  .navbar > .navbar-menu > ul > li {
    /* display: inline-block; */
    float: left;
    text-align: left;
  }

  .navbar > .navbar-menu > ul > li > a:hover {
    background: #ff8c00;
    color: white;
  }
}

/* left bar------------------------------------------- */

/* leftbar title */
.leftbar > .leftbar-title {
  margin-bottom: 15px;
  padding-left: 10px;
}

.leftbar > .leftbar-title:first-child {
  margin-top: 0;
}

.leftbar > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.leftbar > ul > li > a {
  font-size: 13px;
  color: black;
  /* text-align: right; */
  padding: 8px 10px;
  text-decoration: none;
  display: block;
}

.leftbar > ul > li > a:hover {
  background: #fb56a6;
  color: white;
  border-radius: 5px;
}

/* home css */

.wrapper > .content > .pagination {
  overflow: hidden;
  padding: 15px 25px;
  background: inherit;
  border: none;
}

.pagination > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination > ul > .prev {
  float: left;
}

.pagination > ul > .next {
  float: right;
}

.pagination > ul > li > a {
  text-decoration: none;
  background: white;
  color: #3b4252;
  padding: 8px 10px;
  border: 0.5px solid #3b4252;
  border-radius: 3px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
  transition: 0.5s;
}

.pagination > ul > li > a:hover {
  background-color: white;
  color: #3b4252;
  border: 0.5px solid #3b4252;
}

.post {
  background-color: white;
  margin-top: 40px;
  border: 0.5px solid #d8dee9;
}

.post > a > img {
  border: none;
  width: 100%;
}

.post > .description {
  border-top: 0.5px solid #ddd;
  padding: 10px 25px;
}

.post > .description > h2,
h3 > a {
  color: #3b4252;
  text-decoration: none;
  transition: 0.5s;
}

.post > .description > h2,
h3 > a:hover {
  color: #ff6eb4;
}

.post > .description > .post-date {
  color: #4c566a;
  font-size: 13px;
}

.post > .description > .entry-post {
  font-size: 18px;
}

.post > .description > .actionButton {
  display: block;
  width: 100%;
  overflow: hidden;
}

.post > .description > .actionButton > a {
  float: right;
  padding: 5px 15px;
  font-size: 13px;
  font-weight: bolder;
  border: none;
  border-radius: 5px;
  background: #ff7538;
  color: white;
  cursor: pointer;
  text-decoration: none;
  transition: 0.5s;
}

.post > .description > .actionButton > a:hover {
  background: #fb56a6;
  padding: 5px 18px;
}

.title {
  padding: 15px;
  border: 0.5px solid #ddd;
  border-radius: 4px;
}

/* sidebar -------------------------------- */
.sidebar-content {
  padding: 15px;
}

.sidebar-content > form > input[type="text"] {
  padding: 10px 15px;
  border: none;
  border-radius: 3px 0px 0px 3px;
  width: 100%;
  outline: none;
  color: black;
  font-size: 17px;
}

.sidebar-content > form > input[type="submit"] {
  padding: 10px 15px;
  border: 0.5px solid #3b4252;
  border-radius: 0px 3px 3px 0px;
  width: 30%;
  outline: none;
  background: #3b4252;
  color: white;
  cursor: pointer;
}

/* sidebar title design */
.sidebar-content > .sidebar-content-title {
  background: coral;
  color: white;
  padding: 10px;
  border-radius: 3px;
  font-size: 16px;
  line-height: 0.9;
  font-weight: 700;
  margin: 0;
}

.sidebar-content > .post {
  margin-top: 10px;
}

.sidebar-content > ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-content > ul > li {
  margin-bottom: 5px;
}

.sidebar-content > ul > li > a {
  color: black;
  text-decoration: none;
  display: block;
  background: white;
  padding: 8px 10px;
  border-radius: 5px;
}

/* sidebar tags design */
.tags > ul {
  list-style-type: none;
  margin: 0;
  margin-top: 10px;
  padding: 0;
  text-align: center;
}

.tags > ul > li {
  display: inline-block;
  margin: 2px;
  text-align: center;
}

.tags > ul > li > a {
  border: 1px solid black;
  font-size: 12px;
  padding: 5px 10px;
  display: block;
  border-radius: 5px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: 0.5s;
}

.tags > ul > li > a:hover {
  color: blue;
}

.footer {
  padding-top: 60px;
  padding-bottom: 5px;
  background: #434c5e;
  color: white;
}

.footer > .wrapper {
  display: flex;
}

.footer > .wrapper > div {
  padding: 0;
  min-height: 250px;
  /* border: 1px solid white; */
}

/* footer box title */
.footer > .wrapper > .our-service > h4 {
  color: black;
  text-align: right;
  bottom: none;
  border-bottom: 1px solid black;
  padding: 8px 15px;
  /* border-radius: 5px; */
  text-transform: uppercase;
  margin: 0;
}

/* our service box design */
.footer > .wrapper > .our-service > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer > .wrapper > .our-service > ul > li {
  display: block;
  padding: 5px 10px;
  text-align: right;
  width: 100%;
}

.footer > .wrapper > .our-service > ul > li > a {
  font-size: 14px;
  color: black;
  text-decoration: none;
  transition: 0.5s;
}

.footer > .wrapper > .our-service > ul > li > a:hover {
  color: white;
  text-decoration: none;
}

/* footer about us */
.footer > .wrapper > .our-service > p {
  text-align: center;
  color: black;
}

.footer > .wrapper > .our-service > p > button {
  border: none;
  color: white;
  background: black;
  border-radius: 3px;
  padding: 8px 15px;
  text-align: center;
  cursor: pointer;
  display: inline-block;
}

/* privacy and policy link style */
.footer > .privacy-p {
  margin-right: 8%;
  text-align: right;
}

.footer > .privacy-p > a {
  color: black;
  text-decoration: underline;
  font-size: 13px;
  padding: 5px 15px;
}

/* bottom footer */
.copyright {
  color: black;
  text-align: center;
  font-size: 12px;
}

.copyright > a {
  color: black;
}

.copyright > a:hover {
  color: white;
}

/* article style */
.article {
  margin-top: 50px;
  background: white;
}

.article > img {
  width: 100%;
}

.article > .article-body {
  padding-left: 15px;
  padding-right: 15px;
}

.article > .article-body > .author-desc {
  font-size: 15px;
  color: rgb(56, 57, 58);
}

.article > .article-body > .article-title {
  margin-top: 2px;
  margin-bottom: 8px;
}

.article > .article-body > .article-description > p {
  text-align: justify;
}

/* related post */
.realted-post > ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.realted-post > ul > li {
  display: block;
  padding: 5px;
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
  border: 0.5px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
}

.realted-post > ul > li > a {
  color: black;
  text-decoration: none;
}

.realted-post > ul > li > a > h4 {
  margin: 0;
}

.realted-post > ul > li > p {
  text-align: justify;
}

/* comment */
.article-comment-list > ul {
  margin: 0;
  padding-left: 15px;
  padding-right: 15px;
  list-style-type: none;
}

.article-comment-list > ul > li {
  display: block;
  margin-bottom: 8px;
  border: 0.5px solid #ddd;
  padding: 10px 15px;
  border-radius: 5px;
}

.article-comment-list > ul > li > .comment-user {
  margin: 0;
  font-weight: bold;
}

.article-comment-list > ul > li > .comment-time {
  margin: 0;
  color: #434c5e;
}

.article-comment-list > ul > li > .comment-body {
  text-align: justify;
  margin-top: 4px;
}

.article-comment-list > ul > li > .comment-action {
  margin-bottom: 3px;
  padding: 2px 5px;
  padding-left: 0px;
}

.love-react {
  font-size: 18px;
  padding: 3px 20px;
  padding-left: 5px;
  border: 0.5px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
  line-height: 1px;
}

/* comment form */
.article-comment > form > .comment-body {
  padding-left: 15px;
  padding-right: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group > input[type="text"] {
  padding: 10px;
  border: 0.5px solid #ddd;
  border-radius: 5px;
  width: 100%;
  outline: none;
}

.form-group > textarea {
  padding: 10px;
  border: 0.5px solid #ddd;
  border-radius: 5px;
  width: 100%;
  outline: none;
  min-height: 120px;
}

.form-group > input[type="submit"] {
  width: 80px;
  border: 0.5px solid #099268;
  border-radius: 5px;
  padding: 10px 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  text-transform: uppercase;
}

.form-group > input[type="submit"]:hover {
  background: #099268;
  color: white;
}
