@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap");
@import url("../styles/mobilenav.css");
@import url("../styles/darkmode.css");

* {
  margin: 0%;
  padding: 0%;
  text-decoration: none;
}
a {
  color: var(--black-color);
}
body {
  box-sizing: border-box;
  font-family: "Nunito sans", sans-serif;
}

nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  -webkit-transition: top 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  transition: top 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  z-index: 1100;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: inset 0px -1px 1px #e7ebf0;
  background-color: rgba(255, 255, 255, 0.72);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
}

nav .menu a {
  margin: 0px 10px;
  color: var(--text-light--text--color);
}
.menu i {
  cursor: pointer;
  background: var(--action-color);
  padding: 10px;
  border-radius: 50%;
  color: var(--white-color);
}

/* Hero Section of Homepage */

.hero {
  margin: auto;
  max-width: 700px;
  min-height: 500px;
  text-align: center;
  color: #333333;
  font-weight: 900;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.hero h1 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero p {
  font-weight: 600;
  font-size: 18px;
}
.hero_btn {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Logo */
.logo h1 a {
  color: black;
}

/* Menu active class */

.active {
  background: var(--primary-color);
  color: var(--white-color) !important;
}
/* Style for page layout */
.main {
  display: flex;
  padding: 10px;
  margin: 0px 20px;
  position: relative;
}
.main div:nth-child(1) {
  /* flex: 0 10%; */
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 5px;
}

.left {
  flex: 0 0 20%;
}

.left div > * {
  color: var(--black-color);
  /* font-size: 18px; */
  /* text-align: center; */
}

.left div h1 {
  font-size: 25px;
  border-bottom: 1px solid var(--black-color);
  border-width: 2px;
}

.left div a {
  transition: 0.3s;
  font-size: 20px;
  font-weight: 800;
  padding: 5px;
  border-radius: 5px;
}

.left div a:hover {
  background: var(--primary-color);
  color: var(--white-color);
}
.left,
.right {
  padding: 10px;
  flex-wrap: wrap;
}

.right {
  width: 100%;
  flex-direction: column;
}

/* Breadcumbes*/
.breadcumbs {
  flex-direction: row !important;
  display: flex;
  color: black;
  align-items: center;
}

/* Components table */
.components_table {
  padding: 10px 0px;
  display: flex;
  flex-wrap: wrap;
}
.components_table a {
  background: var(--white-color);
  padding: 5px 15px;
  font-size: 18px;
  border-radius: 3px;
  color: var(--black-color);
  /* box-shadow: 0 8px 24px rgb(149 157 165 / 20%); */
  box-shadow: 0px 0px 10px 6px rgba(0, 0, 0, 0.15);
  transition: 0.6s;
  align-items: center;
  margin-right: 10px;
  margin-bottom: 10px;
}

.components_table a i {
  margin-right: 5px;
  font-size: 16px;
  align-items: center;
  text-align: center;
}

.components_table a:hover::after {
  content: " >";
}
.components_table a:hover {
  box-shadow: 0 8px 24px rgb(149 157 165 / 20%);
  padding-right: 1em;
}

/* Global Styles */
.mt10 {
  margin-top: 10px;
}
.flex-column {
  flex-direction: column;
}
/* Page Main content */
.content > p {
  font-size: 17px;
}
.content {
  min-height: 95vh;
}
.usages {
  background: var(--grey-color);
  margin-bottom: 10px;
  /* height: 100px; */
  border-radius: 5px;
  padding: 20px 5px;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 10px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
}

.prev_pagination,
.next_pagination {
  flex: 0 0 10%;
  align-items: center;
  padding: 10px;
  align-items: center;
  text-align: center;
  border-radius: 5px;
  color: var(--black-color);
  cursor: pointer;
  width: 100%;
  font-size: 20px;
  display: flex;
}
.pagination section i {
  font-size: 30px;
  margin: 0px 10px;
}
.paginationtitle {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.flex_start {
  justify-content: flex-start;
}

.flex_end {
  justify-content: flex-end;
}
/* Dark Mode */

/* Responsive : For md screen */
@media (max-width: 767px) {
  /* Navbar */
  nav {
    padding: 0px 10px;
  }
  /* For hero section */
  .hero {
    padding: 10px;
  }
  /* For page layout */
  .main {
    margin: 0px 0px;
  }
  .left {
    display: none !important;
  }
  .left,
  .right {
    padding: 0px;
  }
  .image_usage {
    display: flex;
    flex-direction: column;
  }
  /* Components table */
  .components_table {
    display: flex;
    justify-content: space-evenly;
  }
  .mobile-menu {
    display: block;
  }
}
