/* 
colors
text : #081143
list text : #212529
list text hover : #364fc7
list hover background: rgb(145, 167, 255, 0.2)
code background : #03071b
code text : #9ca0b4


*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
.nav-box {
  max-width: 90%;
}
.width-whole {
  width: 100% !important;
}
.flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.component-info {
  /* background-color: red; */
  margin-top: 2rem;
}
.component-info span {
  background-color: rgb(145, 167, 255, 0.2);
  border-radius: 5px;
  padding: 0.3rem 0.6rem;
}
body {
  font-family: "Rubik", sans-serif;
  color: #081143;
  font-size: 2rem;
  max-width: 120rem;
  height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 30rem 1fr;
  padding-left: 10rem;
  column-gap: 2rem;
  grid-template-rows: 8rem auto;
}

header {
  grid-column: 1/-1;
}
.navigation {
  padding: 2rem 0;
}
.navigation a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.75px;
  color: #081143;
}
.navigation a p {
  margin: 0;
}
.navigation a img {
  width: 3rem;
  height: 3rem;
}

h1.heading {
  font-size: 4.2rem;
  font-weight: 500;
  margin-bottom: 3.2rem;
  letter-spacing: -0.75px;
}
h2.subHeading {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  margin-bottom: 2.8rem;
}

h3.heading-secondary {
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 2rem;
}
main {
  overflow: scroll;
}
/* aside {
  overflow: scroll;
} */
.components-list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.components-list a:link,
.components-list li a:visited {
  text-decoration: none;
  color: #212529;
  display: inline-block;
  width: 15rem;
  border-radius: 9px;
  padding: 0.6rem 1.2rem;
}

.components-list li a:hover,
.components-list li a:active {
  color: #364fc7;
  background-color: rgb(145, 167, 255, 0.2);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 1rem;
}
/* basic styling finished */

/* COMPONENTS Styling from here */
.section {
  margin-bottom: 9rem;
}
.card {
  box-shadow: 0 1.6rem 3.2rem rgb(0, 0, 0, 0.075);
  border-radius: 9px;
  overflow: hidden;
  transition: all 0.4s;
}
.card:hover {
  transform: translateY(-0.5rem);
}
.card-description {
  padding: 1rem 2rem;
}
.card-description .product-name {
  font-weight: 500;
  line-height: 1.2;
  margin-top: 1rem;
}
.card-description .product-rate {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.card-description ul {
  list-style-type: none;
  display: flex;
  font-size: 1.4rem;
  flex-direction: column;
  line-height: 1.5;
  gap: 1rem;
}

.card img {
  width: 100%;
}

.card-description .product-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wishlist {
  display: flex;
  gap: 0.5rem;
  cursor: pointer;
}
.wishlist-icon,
.wishlist-text {
  font-size: 1.5rem;
  color: #868e96;
}
/* .btn {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 7px;
  font-weight: 600;
  background-color: #ced4da;
  color: #343a40;
  cursor: pointer;
} */

.code-container {
  background-color: #03071b;
  color: #9ca0b4;
  max-width: 90%;
  margin-top: 3.2rem;
  margin-right: auto;
  border-radius: 13px;
  margin-bottom: 3.2rem;
}

.code-container code {
  font-size: 1.5rem;
}

/* Button */
.btn {
  padding: 1.2rem 2.4rem;
  font-size: 2rem;
  font-weight: 500;
  border-radius: 9px;
  width: fit-content;
  border: none;
  color: #cecfd9;
  cursor: pointer;
  transition: all 0.4s;
}
.btn-primary {
  background-color: #081143;
}
.btn-primary:hover {
  background-color: #212956;
  color: #e6e7ec;
}

.btn-secondary {
  background-color: #fff;
  color: #081143;
  box-shadow: inset 0 0 0 1px #8488a1;
}

.btn-secondary:hover {
  box-shadow: inset 0 0 0 2px #081143;
}

.btn-danger {
  background-color: #e03131;
  color: #fff;
}
.btn-danger:hover {
  background-color: #c92a2a;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.btn-icon--symbol {
  font-size: 2.4rem;
}

/* Alert */

.alert {
  font-size: 1.8rem;
  background-color: yellow;
  width: fit-content;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  border-radius: 9px;
}

.alert-success {
  background-color: #d3f9d8;
  color: #37b24d;
}
.alert-danger {
  background-color: #ffc9c9;
  color: #f03e3e;
}
.alert-warning {
  background-color: #fff9db;
  color: #fcc419;
}

.alert-info {
  background-color: #d0ebff;
  color: #228be6;
}

/* Avatar */

.avatar-xl {
  width: 6rem;
  height: 6rem;
}
.avatar-lg {
  width: 5rem;
  height: 5rem;
}
.avatar-std {
  width: 4rem;
  height: 4rem;
}
.avatar-sm {
  width: 3rem;
  height: 3rem;
}
.avatar-xs {
  width: 2rem;
  height: 2rem;
}
.avatar img {
  width: 100%;
  border-radius: 50%;
}

.status {
  position: relative;
}
.status::after {
  display: block;
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 2px solid #fff;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translateX(-10%);
  /* transform: translateY(-30%); */
}

.online::after {
  background-color: rgb(8, 223, 8);
}
.offline::after {
  background-color: red;
}
.dnd::after {
  background-color: #999;
}

/* badge */
.badge {
  position: relative;
}
.badge::after {
  display: block;
  content: "2";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 2px solid #fff;
  position: absolute;
  bottom: 0;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  font-weight: 500;
  right: 0;
  background-color: red;
  transform: translateX(-10%);
  /* transform: translateY(-30%); */
}
.badge-icon {
  position: relative;
  text-align: center;
}
.badge-icon--symbol {
  font-size: 4rem;
}
.badge-icon--notif {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #fff;
  position: absolute;
  top: 0;
  font-size: 1rem;
  text-align: center;
  /* text-justify: ; */
  color: #fff;
  font-weight: 500;
  right: 5px;
  background-color: red;
}
/* List */

/* Simple */
.simple-list {
  list-style-type: none;
  padding: 1.6rem 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 30rem;
  border-radius: 9px;
  border: 1px solid rgb(0, 0, 0, 0.09);
}

.simple-list li:first-child {
  font-size: 2.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}
.checkbox li {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.img {
  max-width: 70rem;
  margin: 2rem 0;
}
.img-res {
  width: 100%;
}

.img.round {
  max-width: 30rem;
  /* max-height: 30rem; */
}

.img.round .img-res {
  border-radius: 50%;
  /* width: 30rem; */
  height: 30rem;
}

/* Navigation */

.navigation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.navigation-bar ul {
  list-style-type: none;
  display: flex;
  font-size: 1.8rem;
  font-weight: 500;
  gap: 1.5rem;
}
.navigation-bar ul li {
  padding: 0.6rem 1.2rem;
  border-radius: 7px;
  cursor: pointer;
}
.navigation-bar ul li a {
  text-decoration: none;
  color: #081143;
}
.navigation-bar ul li:hover {
  background-color: rgb(145, 167, 255, 0.2);
}
.navigation-brand {
  text-decoration: none;
  color: #081143;
  text-transform: uppercase;
  font-size: 2.4rem;
  font-weight: 600;
}
.navigation-bar a img {
  width: 3rem;
  height: 3rem;
}
.navigation-bar a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.75px;
  color: #081143;
}
/* .navigation-brand a p {
  margin: 0;
} */
.navigation-bar a img {
  width: 3rem;
  height: 3rem;
}
