/*index-style*/
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: 0;
  border: 0;
  -webkit-appearance: 0;
     -moz-appearance: 0;
          appearance: 0;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: sans-serif;
  color: rgba(242, 242, 254, 0.7);
  overflow-x: hidden;
  background-color: #0f0f3e;
  font-size: .9rem;
}

.post-info > a, header .contaner .nav-bar nav .nav a, header .contaner .nav-bar nav li:last-of-type .nav-profile ul li, .gap .search-box input[type="search"]::-webkit-input-placeholder, .gap .search-box button[type="submit"] {
  text-transform: capitalize;
}

.post-info > a, header .contaner .nav-bar nav .nav a, header .contaner .nav-bar nav li:last-of-type .nav-profile ul li, .gap .search-box input[type="search"]:-ms-input-placeholder, .gap .search-box button[type="submit"] {
  text-transform: capitalize;
}

.post-info > a, header .contaner .nav-bar nav .nav a, header .contaner .nav-bar nav li:last-of-type .nav-profile ul li, .gap .search-box input[type="search"]::-ms-input-placeholder, .gap .search-box button[type="submit"] {
  text-transform: capitalize;
}

.post-info > a, header .contaner .nav-bar nav .nav a, header .contaner .nav-bar nav li:last-of-type .nav-profile ul li, .gap .search-box input[type="search"]::placeholder, .gap .search-box button[type="submit"] {
  text-transform: capitalize;
}

header .logo a, footer section .contaner .info .box ol li a, .form-section .contaner .alert-message {
  letter-spacing: 1px;
}

.post-info > a {
  background-color: rgba(111, 106, 248, 0.5);
  color: #a6a3fb;
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: .8rem;
  text-align: center;
}

.post-info > a:hover {
  color: #f2f2fe;
}

.post-body {
  line-height: 1.7;
}

.contaner {
  width: 74%;
  max-width: 1800px;
  margin-inline: auto;
}

img {
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

section {
  margin-top: 3rem;
  width: 100vw;
}

h1,
h2,
h3,
h4,
h5 {
  color: #f2f2fe;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  margin: 1rem 0;
}

h2 {
  font-size: 1.7rem;
  margin: 1rem 0;
}

h3 {
  font-size: 1.1rem;
  margin: .8rem 0 .5rem;
}

h4 {
  font-size: 1rem;
}

a {
  color: #f2f2fe;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

::-webkit-scrollbar {
  background-color: #e2494c;
}

::-webkit-scrollbar-track-piece {
  background-color: inherit;
}

::-webkit-scrollbar-thumb {
  background-color: #6f6af8;
  border-radius: 8px;
}

@media screen and (max-width: 1024px) {
  .contaner {
    width: 88%;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  h5 {
    font-size: .8rem;
  }
  #featured .contaner {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@-webkit-keyframes flipNavBar {
  0% {
    opacity: 0;
    -webkit-transform: rotateX(90deg);
            transform: rotateX(90deg);
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    opacity: 1;
  }
}

@keyframes flipNavBar {
  0% {
    opacity: 0;
    -webkit-transform: rotateX(90deg);
            transform: rotateX(90deg);
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    opacity: 1;
  }
}

.gap .search-box button[type="submit"], .form-section .contaner form button[type="submit"] {
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: .6rem 1.2rem;
  background-color: #6f6af8;
  border-radius: 0.5rem;
  cursor: pointer;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.gap .search-box button:hover[type="submit"], .form-section .contaner form button:hover[type="submit"] {
  background-color: #f2f2fe;
  color: #0f0f3e;
}

.btn {
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: .6rem 1.2rem;
  background-color: #6f6af8;
  border-radius: 0.5rem;
  cursor: pointer;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.btn.sm {
  padding: .3rem .7rem;
  font-size: .8rem;
}

.btn.danger {
  background-color: #da0f3f;
}

.btn:hover {
  background-color: #f2f2fe;
  color: #0f0f3e;
}

.empety-page {
  height: 70vh;
  display: -ms-grid;
  display: grid;
  place-items: center;
}

.empety-page h1 {
  text-transform: capitalize;
}

.st {
  position: fixed;
  bottom: 10%;
  z-index: 100;
  font-size: 2rem;
  right: 0%;
  padding: .5rem;
  padding-right: 1rem;
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
  color: #f2f2fe;
  background-color: #5854c7;
  -webkit-box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
          box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

/*nav-bar-style*/
header {
  background-color: #6f6af8;
  width: 100vw;
  height: 4.5rem;
  position: fixed;
  top: 0;
  z-index: 10;
  -webkit-box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
          box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
}

header button {
  display: none;
}

header .logo a {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 2px 0 0px red;
}

header .contaner {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

header .contaner .nav-bar nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

header .contaner .nav-bar nav .nav a {
  padding: 0 2rem;
  font-size: 1rem;
  letter-spacing: 1px;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile {
  position: relative;
  cursor: pointer;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile .avatar {
  width: 3rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  border: 0.3rem solid #0f0f3e;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile ul {
  position: absolute;
  left: -50%;
  top: 125%;
  -webkit-box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
          box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
  visibility: hidden;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  opacity: 0;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile ul li {
  background-color: #1e1e66;
  padding: 1rem;
  width: 100%;
  border-bottom: 2px solid rgba(242, 242, 254, 0.3);
  font-weight: 600;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile ul li:nth-child(2) {
  background-color: #0f0f3e;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile ul li:nth-child(2) a {
  color: #da0f3f;
}

header .contaner .nav-bar nav li:last-of-type:hover ul {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  header #close-vav img {
    width: 20px;
  }
  header .nav-bar {
    display: none;
    height: 0;
    position: absolute;
    top: 100%;
    right: 0%;
    width: 12rem;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  header .nav-bar nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-perspective: 300px;
            perspective: 300px;
  }
  header .nav-bar nav li {
    width: 100%;
    height: 4rem;
    -webkit-box-shadow: -2rem 3rem 7rem rgba(0, 0, 0, 0.7);
            box-shadow: -2rem 3rem 7rem rgba(0, 0, 0, 0.7);
    border-top: 1px solid #0f0f3e;
    -webkit-animation: flipNavBar 400ms ease forwards;
            animation: flipNavBar 400ms ease forwards;
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 0;
  }
  header .nav-bar nav li > a:not(.not) {
    background-color: #1e1e66;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  header .nav-bar nav li:nth-child(2) {
    -webkit-animation-delay: 200ms;
            animation-delay: 200ms;
  }
  header .nav-bar nav li:nth-child(3) {
    -webkit-animation-delay: 400ms;
            animation-delay: 400ms;
  }
  header .nav-bar nav li:nth-child(4) {
    -webkit-animation-delay: 600ms;
            animation-delay: 600ms;
  }
  header .nav-bar nav li:nth-child(5) {
    -webkit-animation-delay: 800ms;
            animation-delay: 800ms;
  }
  header .nav-bar nav li:nth-child(6) {
    -webkit-animation-delay: 1000ms;
            animation-delay: 1000ms;
  }
  header .nav-bar nav .nav-profile {
    background-color: #1e1e66;
    width: 100% !important;
    height: 4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  header .nav-bar nav .nav-profile .avatar {
    border: 0;
    aspect-ratio: 1/1;
    margin: 0 2rem;
  }
  header .nav-bar.open {
    display: block;
  }
  #open-nav {
    padding: .7rem;
    border-radius: 0.5rem;
    display: block;
    background-color: #6f6af8;
    color: white;
    border: 2px solid;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    z-index: 2;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
  }
  #open-nav::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    top: 100%;
    left: 0;
    z-index: -1;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
  }
  #open-nav:focus.open::after {
    background: #4CAF50;
    top: 0;
  }
}

/*footer*/
footer {
  background-color: #1e1e66;
  padding: 2rem 0 0;
  -webkit-box-shadow: inset 0 1.5rem 1.5rem rgba(0, 0, 0, 0.2);
          box-shadow: inset 0 1.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

footer section .contaner .socihal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-inline: auto;
  gap: 1rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 2rem;
}

footer section .contaner .socihal img {
  width: 70px;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  cursor: pointer;
}

footer section .contaner .socihal img:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

footer section .contaner .info {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(250px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  justify-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

footer section .contaner .info .box {
  width: 50%;
  margin-bottom: 2rem;
}

footer section .contaner .info .box h3 {
  margin-bottom: .6rem;
}

footer section .contaner .info .box ol li a {
  display: block;
  padding: .5rem 0;
  color: rgba(242, 242, 254, 0.7);
  font-size: 1rem;
}

footer section .contaner .info .box ol li:hover a {
  margin-left: 3px;
  letter-spacing: .2rem;
  color: #f2f2fe;
}

footer section .copyright {
  padding: 2rem 0;
  text-align: center;
  color: white;
  text-transform: capitalize;
  letter-spacing: 1px;
  border-top: 2px solid #0f0f3e;
}

@media screen and (max-width: 1024px) {
  footer .contaner .info .box {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
  }
  footer .contaner .info .box li a:hover {
    margin-left: 0 !important;
    letter-spacing: 0 !important;
    color: #fff !important;
  }
}

@media screen and (max-width: 767px) {
  footer .contaner .socihal {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  footer .contaner .info {
    text-align: center;
  }
  footer .contaner .info .box {
    width: 100% !important;
    margin-bottom: 1rem !important;
  }
  footer .contaner .info .box h3 {
    font-size: 1.7rem;
    letter-spacing: 1px;
  }
}

/*glopal class*/
.post-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  margin-top: 1.3rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.post-author .avatar {
  width: 3rem;
  aspect-ratio: 1/1;
  border-radius: 0.8rem;
  overflow: hidden;
}

.post-body {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.img-thunbail {
  border: 1rem solid #1e1e66;
  border-radius: 5rem 0;
  overflow: hidden;
  margin-bottom: 1.6rem;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.post:hover .img-thunbail img {
  -webkit-filter: saturate(0);
          filter: saturate(0);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.author-info h5 {
  text-transform: capitalize;
}

#featured {
  margin-top: 8rem;
}

#featured .contaner {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(48%, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
  gap: 2rem;
}

#posts .contaner {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(300px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 4rem 3rem;
  margin-bottom: 3rem;
}

#categary {
  border-top: 2px solid #1e1e66;
  border-bottom: 2px solid #1e1e66;
}

#categary .contaner {
  padding: 4rem 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media screen and (max-width: 767px) {
  #categary .contaner {
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1024px) {
  #posts .contaner {
    gap: 4rem 1.8rem;
    margin-bottom: 3rem;
  }
  .post-author {
    margin-top: .7rem;
  }
}

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: 0;
  border: 0;
  -webkit-appearance: 0;
     -moz-appearance: 0;
          appearance: 0;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: sans-serif;
  color: rgba(242, 242, 254, 0.7);
  overflow-x: hidden;
  background-color: #0f0f3e;
  font-size: .9rem;
}

.post-info > a, header .contaner .nav-bar nav .nav a, header .contaner .nav-bar nav li:last-of-type .nav-profile ul li, .gap .search-box input[type="search"]::-webkit-input-placeholder, .gap .search-box button[type="submit"] {
  text-transform: capitalize;
}

.post-info > a, header .contaner .nav-bar nav .nav a, header .contaner .nav-bar nav li:last-of-type .nav-profile ul li, .gap .search-box input[type="search"]:-ms-input-placeholder, .gap .search-box button[type="submit"] {
  text-transform: capitalize;
}

.post-info > a, header .contaner .nav-bar nav .nav a, header .contaner .nav-bar nav li:last-of-type .nav-profile ul li, .gap .search-box input[type="search"]::-ms-input-placeholder, .gap .search-box button[type="submit"] {
  text-transform: capitalize;
}

.post-info > a, header .contaner .nav-bar nav .nav a, header .contaner .nav-bar nav li:last-of-type .nav-profile ul li, .gap .search-box input[type="search"]::placeholder, .gap .search-box button[type="submit"] {
  text-transform: capitalize;
}

header .logo a, footer section .contaner .info .box ol li a, .form-section .contaner .alert-message {
  letter-spacing: 1px;
}

.post-info > a {
  background-color: rgba(111, 106, 248, 0.5);
  color: #a6a3fb;
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: .8rem;
  text-align: center;
}

.post-info > a:hover {
  color: #f2f2fe;
}

.post-body {
  line-height: 1.7;
}

.contaner {
  width: 74%;
  max-width: 1800px;
  margin-inline: auto;
}

img {
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

section {
  margin-top: 3rem;
  width: 100vw;
}

h1,
h2,
h3,
h4,
h5 {
  color: #f2f2fe;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  margin: 1rem 0;
}

h2 {
  font-size: 1.7rem;
  margin: 1rem 0;
}

h3 {
  font-size: 1.1rem;
  margin: .8rem 0 .5rem;
}

h4 {
  font-size: 1rem;
}

a {
  color: #f2f2fe;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

::-webkit-scrollbar {
  background-color: #e2494c;
}

::-webkit-scrollbar-track-piece {
  background-color: inherit;
}

::-webkit-scrollbar-thumb {
  background-color: #6f6af8;
  border-radius: 8px;
}

@media screen and (max-width: 1024px) {
  .contaner {
    width: 88%;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  h5 {
    font-size: .8rem;
  }
  #featured .contaner {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@keyframes flipNavBar {
  0% {
    opacity: 0;
    -webkit-transform: rotateX(90deg);
            transform: rotateX(90deg);
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    opacity: 1;
  }
}

.gap .search-box button[type="submit"], .form-section .contaner form button[type="submit"] {
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: .6rem 1.2rem;
  background-color: #6f6af8;
  border-radius: 0.5rem;
  cursor: pointer;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.gap .search-box button:hover[type="submit"], .form-section .contaner form button:hover[type="submit"] {
  background-color: #f2f2fe;
  color: #0f0f3e;
}

.btn {
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: .6rem 1.2rem;
  background-color: #6f6af8;
  border-radius: 0.5rem;
  cursor: pointer;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.btn.sm {
  padding: .3rem .7rem;
  font-size: .8rem;
}

.btn.danger {
  background-color: #da0f3f;
}

.btn:hover {
  background-color: #f2f2fe;
  color: #0f0f3e;
}

.empety-page {
  height: 70vh;
  display: -ms-grid;
  display: grid;
  place-items: center;
}

.empety-page h1 {
  text-transform: capitalize;
}

.st {
  position: fixed;
  bottom: 10%;
  z-index: 100;
  font-size: 2rem;
  right: 0%;
  padding: .5rem;
  padding-right: 1rem;
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
  color: #f2f2fe;
  background-color: #5854c7;
  -webkit-box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
          box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

/*nav-bar-style*/
header {
  background-color: #6f6af8;
  width: 100vw;
  height: 4.5rem;
  position: fixed;
  top: 0;
  z-index: 10;
  -webkit-box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
          box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
}

header button {
  display: none;
}

header .logo a {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 2px 0 0px red;
}

header .contaner {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

header .contaner .nav-bar nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

header .contaner .nav-bar nav .nav a {
  padding: 0 2rem;
  font-size: 1rem;
  letter-spacing: 1px;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile {
  position: relative;
  cursor: pointer;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile .avatar {
  width: 3rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  border: 0.3rem solid #0f0f3e;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile ul {
  position: absolute;
  left: -50%;
  top: 125%;
  -webkit-box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
          box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
  visibility: hidden;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  opacity: 0;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile ul li {
  background-color: #1e1e66;
  padding: 1rem;
  width: 100%;
  border-bottom: 2px solid rgba(242, 242, 254, 0.3);
  font-weight: 600;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile ul li:nth-child(2) {
  background-color: #0f0f3e;
}

header .contaner .nav-bar nav li:last-of-type .nav-profile ul li:nth-child(2) a {
  color: #da0f3f;
}

header .contaner .nav-bar nav li:last-of-type:hover ul {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  header #close-vav img {
    width: 20px;
  }
  header .nav-bar {
    display: none;
    height: 0;
    position: absolute;
    top: 100%;
    right: 0%;
    width: 12rem;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  header .nav-bar nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-perspective: 300px;
            perspective: 300px;
  }
  header .nav-bar nav li {
    width: 100%;
    height: 4rem;
    -webkit-box-shadow: -2rem 3rem 7rem rgba(0, 0, 0, 0.7);
            box-shadow: -2rem 3rem 7rem rgba(0, 0, 0, 0.7);
    border-top: 1px solid #0f0f3e;
    -webkit-animation: flipNavBar 400ms ease forwards;
            animation: flipNavBar 400ms ease forwards;
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 0;
  }
  header .nav-bar nav li > a:not(.not) {
    background-color: #1e1e66;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  header .nav-bar nav li:nth-child(2) {
    -webkit-animation-delay: 200ms;
            animation-delay: 200ms;
  }
  header .nav-bar nav li:nth-child(3) {
    -webkit-animation-delay: 400ms;
            animation-delay: 400ms;
  }
  header .nav-bar nav li:nth-child(4) {
    -webkit-animation-delay: 600ms;
            animation-delay: 600ms;
  }
  header .nav-bar nav li:nth-child(5) {
    -webkit-animation-delay: 800ms;
            animation-delay: 800ms;
  }
  header .nav-bar nav li:nth-child(6) {
    -webkit-animation-delay: 1000ms;
            animation-delay: 1000ms;
  }
  header .nav-bar nav .nav-profile {
    background-color: #1e1e66;
    width: 100% !important;
    height: 4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  header .nav-bar nav .nav-profile .avatar {
    border: 0;
    aspect-ratio: 1/1;
    margin: 0 2rem;
  }
  header .nav-bar.open {
    display: block;
  }
  #open-nav {
    padding: .7rem;
    border-radius: 0.5rem;
    display: block;
    background-color: #6f6af8;
    color: white;
    border: 2px solid;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    z-index: 2;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
  }
  #open-nav::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    top: 100%;
    left: 0;
    z-index: -1;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
  }
  #open-nav:focus.open::after {
    background: #4CAF50;
    top: 0;
  }
}

/*footer*/
footer {
  background-color: #1e1e66;
  padding: 2rem 0 0;
  -webkit-box-shadow: inset 0 1.5rem 1.5rem rgba(0, 0, 0, 0.2);
          box-shadow: inset 0 1.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

footer section .contaner .socihal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-inline: auto;
  gap: 1rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 2rem;
}

footer section .contaner .socihal img {
  width: 70px;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  cursor: pointer;
}

footer section .contaner .socihal img:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

footer section .contaner .info {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(250px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  justify-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

footer section .contaner .info .box {
  width: 50%;
  margin-bottom: 2rem;
}

footer section .contaner .info .box h3 {
  margin-bottom: .6rem;
}

footer section .contaner .info .box ol li a {
  display: block;
  padding: .5rem 0;
  color: rgba(242, 242, 254, 0.7);
  font-size: 1rem;
}

footer section .contaner .info .box ol li:hover a {
  margin-left: 3px;
  letter-spacing: .2rem;
  color: #f2f2fe;
}

footer section .copyright {
  padding: 2rem 0;
  text-align: center;
  color: white;
  text-transform: capitalize;
  letter-spacing: 1px;
  border-top: 2px solid #0f0f3e;
}

@media screen and (max-width: 1024px) {
  footer .contaner .info .box {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
  }
  footer .contaner .info .box li a:hover {
    margin-left: 0 !important;
    letter-spacing: 0 !important;
    color: #fff !important;
  }
}

@media screen and (max-width: 767px) {
  footer .contaner .socihal {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  footer .contaner .info {
    text-align: center;
  }
  footer .contaner .info .box {
    width: 100% !important;
    margin-bottom: 1rem !important;
  }
  footer .contaner .info .box h3 {
    font-size: 1.7rem;
    letter-spacing: 1px;
  }
}

.gap {
  margin-top: 7rem;
}

.gap .search-box {
  text-align: center;
  background-color: #1e1e66;
  width: 30rem;
  margin-inline: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-radius: 0.5rem;
  color: rgba(242, 242, 254, 0.3);
  padding: .6rem 1rem;
}

@media screen and (max-width: 1024px) {
  .gap .search-box {
    width: 60%;
  }
}

@media screen and (max-width: 767px) {
  .gap .search-box {
    width: 100%;
  }
}

.gap .search-box input[type="search"] {
  padding: .5rem 0;
  width: 100%;
  background-color: transparent;
}

.gap .search-box input[type="search"]::-webkit-input-placeholder {
  color: white;
  font-size: 1rem;
}

.gap .search-box input[type="search"]:-ms-input-placeholder {
  color: white;
  font-size: 1rem;
}

.gap .search-box input[type="search"]::-ms-input-placeholder {
  color: white;
  font-size: 1rem;
}

.gap .search-box input[type="search"]::placeholder {
  color: white;
  font-size: 1rem;
}

.gap .search-box input[type="search"]:focus {
  color: white;
  font-size: 1rem;
  letter-spacing: 1px;
}

.gap .search-box button[type="submit"] {
  color: #f2f2fe;
}

/*blog-style*/
.post-box {
  margin: 6rem 0 2rem;
}

.post-box .contaner {
  padding: 1rem;
  width: 40%;
  background-color: #1e1e66;
  border-radius: 0.3rem;
}

@media screen and (max-width: 1024px) {
  .post-box .contaner {
    width: 65%;
  }
}

@media screen and (max-width: 767px) {
  .post-box .contaner {
    width: 90%;
    background-color: transparent;
    padding: 0;
  }
}

.post-box .contaner .single-post {
  margin: 1rem 0;
}

.post-box .contaner .single-post img {
  -o-object-fit: contain;
     object-fit: contain;
}

.post-box .contaner .post-body {
  margin-bottom: 3rem;
}

/*categary-style*/
.post-author {
  margin-top: 1rem;
}

.categary-title {
  margin-top: 4.5rem;
  height: 15rem;
  background-color: #1e1e66;
  display: -ms-grid;
  display: grid;
  place-items: center;
}

.categary-title h2 {
  text-transform: capitalize;
}

/*singup-style*/
.form-section {
  height: 90vh;
  display: -ms-grid;
  display: grid;
  place-items: center;
}

.form-section .contaner {
  width: 40%;
}

.form-section .contaner .alert-message {
  padding: .8rem 1.4rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.form-section .contaner .alert-message.error {
  background-color: rgba(218, 15, 63, 0.17);
  color: #da0f3f;
}

.form-section .contaner .alert-message.success {
  background-color: rgba(0, 196, 118, 0.17);
  color: #00c476;
}

.form-section .contaner form,
.form-section .contaner .form-control {
  text-transform: capitalize;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
}

.form-section .contaner form .form-control,
.form-section .contaner .form-control .form-control {
  gap: .5rem;
}

.form-section .contaner form input,
.form-section .contaner form select,
.form-section .contaner form textarea {
  padding: .8rem 1.4rem;
  background-color: #1e1e66;
  border-radius: 0.5rem;
  resize: none;
  /* this style for => textarea*/
  color: #f2f2fe;
}

.form-section .contaner form button[type="submit"] {
  color: #f2f2fe;
}

.form-section .contaner form small {
  margin-top: 1rem;
}

.form-section .contaner form small a {
  color: #6f6af8;
}

@media screen and (max-width: 1024px) {
  .form-section .contaner {
    width: 70%;
    padding: 3rem;
  }
}

@media screen and (max-width: 767px) {
  .form-section .contaner {
    width: 90%;
    padding: 0;
  }
}

/*singup-style*/
.dashboard {
  margin-top: 6rem;
  position: relative;
}

.dashboard .contaner {
  text-transform: capitalize;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 14rem auto;
      grid-template-columns: 14rem auto;
  gap: 1rem;
  background-color: #1e1e66;
  padding: 2rem;
  margin-bottom: 5rem;
}

@media screen and (max-width: 1024px) {
  .dashboard .contaner {
    padding: 0rem !important;
    background-color: transparent;
    overflow-x: auto;
  }
}

@media screen and (max-width: 767px) {
  .dashboard .contaner {
    padding: 1rem;
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    place-items: center;
    margin-bottom: 3rem;
  }
}

.dashboard .contaner aside li a {
  display: block;
  background-color: #6f6af8;
  padding: 1.6rem;
}

.dashboard .contaner aside li a:hover {
  background-color: #2d2d7c;
}

.dashboard .contaner aside li a.active {
  background-color: #1e1e66;
}

.dashboard .contaner aside li:not(:last-child) {
  border-bottom: 1px solid #0f0f3e;
}

@media screen and (max-width: 767px) {
  .dashboard .contaner aside {
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 0%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    -webkit-box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
            box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
    opacity: 0;
  }
  .dashboard .contaner aside.open {
    width: 50%;
    opacity: 1;
  }
}

.dashboard .contaner main {
  margin-left: 1.5rem;
}

.dashboard .contaner main h2 {
  margin: 0 0 2rem 0;
  line-height: 1;
}

.dashboard .contaner main table {
  width: 100%;
  text-align: left;
}

.dashboard .contaner main table thead th {
  padding: .8rem;
  background-color: #2d2d7c;
  color: #f2f2fe;
}

@media screen and (max-width: 1024px) {
  .dashboard .contaner main table thead th {
    display: none;
  }
}

.dashboard .contaner main table tbody th {
  padding: .8rem;
  border-bottom: 1px solid rgba(242, 242, 254, 0.7);
  font-size: 1rem;
  text-wrap: nowrap;
}

@media screen and (max-width: 1024px) {
  .dashboard .contaner main table tbody th a {
    text-wrap: nowrap;
    padding: .4rem;
  }
}

@media screen and (max-width: 1024px) and (max-width: 767px) {
  .dashboard .contaner main table tbody th a {
    text-wrap: nowrap;
    padding: .6rem;
  }
}

@media screen and (max-width: 1024px) {
  .dashboard .contaner main table {
    margin-left: 0;
  }
  .dashboard .contaner main table tr:nth-child(even) {
    background-color: rgba(242, 242, 254, 0.7);
  }
}

@media screen and (max-width: 767px) {
  .dashboard .contaner main table {
    min-width: 340px;
  }
}

@media screen and (max-width: 1024px) {
  .dashboard .contaner main {
    margin-left: 0;
  }
}

.dashboard .contaner > button {
  position: fixed;
  bottom: 10%;
  z-index: 100;
  font-size: 2rem;
  right: 0%;
  padding: .5rem;
  padding-right: 1rem;
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
  color: #f2f2fe;
  background-color: #5854c7;
  -webkit-box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
          box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
/*# sourceMappingURL=all.css.map */