* {
  box-sizing: border-box;
}

:root {
  --primary: #fff;
  --secondary: #a2a2a2;
  --accent: #e2c78c;
}

body {
  margin: 0;
  background: #151517;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: 0.3s;
  color: var(--primary);
}

a:hover {
  color: var(--accent);
}

p {
  color: var(--secondary);
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

header {
  background-image: linear-gradient(90deg, #2c2c2e, #151517);
  min-height: 100vh;
  color: var(--primary);
  position: relative;
  display: flex;
  justify-content: space-between;
  overflow-x: hidden;
}

header main {
  width: 100%;
  margin: 0 0 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

/* ==== Scrollbar Start ==== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
}

/* ==== Scrollbar End ==== */

.container {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
}

.main-image {
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ==== Navbar ==== */

nav .container,
.header-body,
.container {
  padding: 1.65em 2.5em;
}

.brand {
  font-size: 2em;
  font-weight: 600;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul li {
  margin: 0 1.5em 0 0;
}

nav ul a {
  padding-bottom: 0.7em;
}

.link-active {
  color: var(--accent);
  border-bottom: 2px var(--accent) solid;
}

.menu-btn {
  background: #3f3f3f;
  padding: 2.2em;
  cursor: pointer;
}

.menu-btn:hover {
  background: #4f4f4f;
}

nav .menu-btn {
  display: none;
  padding: 0;
  justify-self: end;
}

/* ==== Navbar Ends ====  */

/* ==== Sidebar Starts ==== */

aside {
  background: #2c2c2e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  border-right: 1px #272729 solid;
  position: relative;
  z-index: 1;
}

.social {
  padding-bottom: 1em;
}

.social li {
  margin: 1.2em 0;
  transform: rotate(-90deg);
}

/* ==== SideBar Menu Starts */

.menu {
  background: #111;
  padding: 2em;
  height: 100%;
  width: 20em;
  position: absolute;
  top: 0;
  left: -20em;
  transition: 500ms cubic-bezier(0.74, -0.03, 0.83, 0.67);
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 0;
}

.menu ul {
  margin: 3em;
}

.menu li {
  padding: 0.5em 0;
  margin: 0.5em 0;
  border-bottom: 1px #191919 solid;
}

.menu-open {
  left: 6em;
}

/* ==== SideBar Menu Ends */

/* ==== Sidebar Ends ==== */

/* ====  Body Starts ==== */

.header-body .container {
  justify-content: start;
}

.header-body .container > div {
  max-width: 32em;
}

.progress {
  width: 50%;
  height: 2px;
  background: #191919;
}

.progress > div {
  width: 30%;
  height: 100%;
  background: var(--accent);
  transition: 0.3s;
}

.slider-cntrl {
  font-size: 0.8em;
  cursor: pointer;
  transition: 0.3s;
  transform: none;
}

.slider-cntrl:hover {
  color: var(--primary);
}

.active {
  color: var(--primary);
  transform: scale(1.1) translateX(2em);
}

.title {
  font-size: 4.5em;
  line-height: 1.2em;
  margin: 0.5em 0;
}

.pagination-mobile {
  display: none;
}

.pagination-mobile li {
  background: var(--secondary);
  margin: 0 0.7em 0 0;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.pagination-mobile .pag-active {
  background: var(--accent);
}

/* ====  Body Ends ==== */

/* ==== Header bottom Starts */

.header-bottom {
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(10px);
}

.header-bottom .container > div {
  display: flex;
  justify-content: flex-start;
}

.item {
  padding: 1.5em 2em;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.item-centered {
  margin: 0 auto;
}

.header-bottom h4 {
  margin: 0.5em 0;
}

.item small:nth-of-type(1) {
  margin-top: 1em;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
}

/* ==== Header bottom Ends */

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-3em);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
