:root {
  --color-primary: #4d4260;
  --color-secondary: #a86f81;
  --gradient-primary: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  --text-primary-white: #edecef;
  --text-primary-dark: #4d4260;
  --color-main-bg: #eae8ec;
  --color-elements-bg: #d6d4da;
  --color-stroke-dark: #afaab7;
}

/* Code Colors */

#red {
  color: #ff4242;
}

#pink {
  color: #e080ad;
}
#orange {
  color: #f28705;
}

#yellow {
  color: #f2b705;
}

#purple {
  color: #9f2cbf;
}

#green {
  color: #038c4c;
}

#blue {
  color: #0460d9;
}

#brown {
  color: #8c442a;
}

#white {
  color: var(--text-primary-white);
}

#gray {
  color: #9f9fa6;
}

#salmon {
  color: #f2594b;
}

#coral {
  color: #d95f76;
}

#magenta {
  color: #d904a0;
}

#cyan {
  color: #04b2d9;
}

#snow {
  color: #d0d9f2;
}

#sky {
  color: #52b5f2;
}

.business {
  background-color: #0074d9;
  color: var(--text-primary-white);
}

.development {
  background-color: #d96277;
  color: var(--text-primary-white);
}

.webdesign {
  background-color: #57989a;
  color: var(--text-primary-white);
}

.html5 {
  background-color: #e34c26;
  color: var(--text-primary-white);
}

.python {
  background-color: #2a7c5b;
  color: var(--text-primary-white);
}

.framework {
  background-color: #553b8c;
  color: var(--text-primary-white);
}

.nodejs {
  background-color: #8c564a;
  color: var(--text-primary-white);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

body {
  box-sizing: border-box;
  background-color: var(--color-main-bg);
  font-family: "Roboto", sans-serif;
}

.content {
  grid-area: 1 / 2 / 6 / 6;
}

.dashboard {
  display: grid;
  grid-template-columns: 185px repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 0.6rem;
  margin-right: 1.8rem;
  grid-row-gap: 1.8rem;
  align-items: self-start;
  transition: 0.6s;
}

.dashboard-collapse {
  grid-template-columns: 85px repeat(4, 1fr);
}

/* //////////////// --------- NAVBAR STYLE ---------------///////////////// */
nav {
  grid-area: 1 / 1 / 6 / 2;
  width: 185px;
  height: 100vh;
  overflow: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow: scroll;
  position: fixed;
  background-color: var(--color-elements-bg);
  transition: 0.6s;
}

nav::-webkit-scrollbar {
  display: none;
}

/* ///////////////// NAVBAR --> Toggle Style ////////////// */

.navbar-active {
  width: 85px;
}

.navbar-active .nav-list-item,
.navbar-active .social-list-item {
  width: 3.4rem;
  transition: ease-in-out 0.4s;
}

.navbar-active .nav-link-text,
.navbar-active a.social-link span {
  font-size: 0;
  transition: ease-in-out 0.4s;
}

/* ///////////////// NAVBAR --> END of Toggle Style ////////////// */

.nav-btn {
  width: 100%;
  height: 1.5rem;
  padding-top: 2.2rem;
  padding-right: 1.4rem;
  margin-bottom: 2rem;
  outline: none;
  border: none;
  cursor: pointer;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: 0.4s;
}

.nav-btn svg {
  width: 2rem;
  height: 2rem;
}

#nav-btn-svg {
  stroke: var(--color-primary);
  transition: 0.4s;
}

.nav-btn:hover #nav-btn-svg {
  stroke: var(--color-secondary);
}

.nav-top {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 2rem;
}

.nav-top img {
  width: 4rem;
  height: auto;
}

.nav-list {
  list-style-type: none;
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-left: 1rem;
}

.nav-list-item,
.social-list-item {
  width: 9.5rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
  margin-bottom: 0.6rem;
}

.nav-list-item:last-child,
.social-list-item:last-child {
  margin-bottom: 0;
}

a.nav-link {
  width: 100%;
  height: 100%;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  border-radius: 0.2rem;
}

a.nav-link svg,
a.social-link img {
  width: 1.4rem;
  height: auto;
  margin-right: 0.7rem;
}

.nav-link-text {
  transition: ease-in-out 0.4s;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#nav-link-active,
a.nav-link:hover {
  background: var(--gradient-primary);
}

a.nav-link:hover .nav-link-text,
#nav-link-active .nav-link-text {
  background: var(--text-primary-white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#nav-link-active .nav-icons,
.nav-link:hover .nav-icons,
.nav-link:hover #project-icon {
  stroke: var(--text-primary-white);
}

.nav-link:hover #project-icon,
.nav-link:hover #article-icon,
.nav-link:hover #news-icon,
.nav-link:hover #video-icon,
.nav-link:hover #about-us-icon,
.nav-link:hover #services-icon,
.nav-link:hover #contact-icon,
.nav-link:hover #help-icon {
  fill: var(--text-primary-white);
}

.social-media-btm {
  list-style-type: none;
  position: absolute;
  bottom: 0.8rem;
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding-left: 1rem;
  transition: ease-in-out 0.4s;
}

a.social-link {
  background: var(--gradient-primary);
  width: 100%;
  height: 100%;
  border-radius: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 1rem;
  text-decoration: none;
  transition: ease-in-out 0.4s;
}

a.social-link span {
  font-size: 1.2rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text-primary-white);
  transition: ease-in-out 0.4s;
}

/* ///////////////// End of NAVBAR Style ////////////// */

.navbar-top {
  background-color: var(--color-elements-bg);
  height: 70px;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

#navbar-toggle-btn {
  width: 2rem;
  height: 2rem;
  outline: none;
  border: none;
  cursor: pointer;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transition: 0.4s;
}

#navbar-toggle-btn svg {
  width: 2rem;
  height: 2rem;
}

#navbar-toggle-icon {
  stroke: var(--color-primary);
  transition: 0.4s;
}

#navbar-toggle-btn:hover #navbar-toggle-icon {
  stroke: var(--color-secondary);
}

#navbar-logo {
  font-size: 2rem;
  font-weight: bold;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  color: var(--text-primary-dark);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-left: 5rem;
}

.navbar-list {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 16rem;
  height: auto;
}

.navbar-list-item {
  width: 1.4rem;
  height: 1.4rem;
}

.navbar-list-link {
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-list-link svg {
  width: 100%;
  height: auto;
}

#navbar-cta-btn {
  outline: none;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 0.4rem;
  color: var(--text-primary-white);
  background: var(--gradient-primary);
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

#navbar-cta-btn:hover {
  background: var(--gradient-secondary);
}

/* ///////////////// Header Style ////////////// */
header {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.header-img-box {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 1rem 1rem;
  overflow: hidden;
}

.header-img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.header-text-box {
  width: 100%;
  height: auto;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  position: absolute;
  bottom: 0;
  padding-left: 10%;
  padding-right: 20%;
  background: linear-gradient(
    180deg,
    rgba(214, 212, 218, 0) 0%,
    rgba(214, 212, 218, 0.8) 40%,
    rgba(214, 212, 218, 1) 100%
  );
}

.header-title {
  font-size: 5rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text-primary-dark);
  margin-bottom: 0.6rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
  transition: 0.4s;
}

.header-description {
  width: 100%;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: normal;
  line-height: 140%;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  transition: 0.4s;
}

.header-cta-btn {
  background: var(--gradient-primary);
  border: none;
  outline: none;
  border-radius: 0.2rem;
  height: auto;
  padding: 1rem 5rem;
  color: var(--text-primary-white);
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  cursor: pointer;
  margin-bottom: 3rem;
}

.header-cta-btn:hover {
  background: var(--gradient-secondary);
}

.movingTags {
  width: 100%;
  height: auto;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  overflow: scroll;
  background-color: var(--color-primary);
  -ms-overflow-style: none;
  scrollbar-width: none;
  transition: 0.4s;
}

.movingTags::-webkit-scrollbar {
  display: none;
}

.movingTags span:first-child {
  margin-left: 0;
}

.movingTags span {
  margin-left: 1rem;
  font-size: 1.2rem;
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
  color: var(--color-secondary);
  transition: 0.4s;
}

/* ///////////////// End of Header Style ////////////// */

/* ///////////////// Header BTM Section Style ////////////// */

.header-btm-section {
  background-color: var(--color-elements-bg);
  border-radius: 0 0 1rem 1rem;
  width: 100%;
  height: auto;
  padding: 3rem 1rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-btm-elements {
  width: 16rem;
  height: auto;
  text-align: center;
}

.btm-element-icon {
  margin-bottom: 0.5rem;
  width: 3rem;
  height: auto;
}

.btm-element-title {
  font-size: 1rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text-primary-dark);
  text-transform: capitalize;
  margin-bottom: 0.4rem;
}

.btm-element-description {
  font-size: 0.7rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text-primary-dark);
}

/* ///////////////// END of Header BTM Section Style ////////////// */

main {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 300px repeat(11, 1fr);
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
}

.project-section {
  width: 100%;
  height: 300px;
  grid-area: 1 / 1 / 2 / 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card {
  width: 49%;
  height: 280px;
  border-radius: 1rem;
  padding: 0 1rem;
  background-color: var(--color-elements-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.card-text-container {
  width: 50%;
  height: auto;
  bottom: 0;
  display: inline-block;
}

.card-text-container span {
  font-size: 0.8rem;
  font-weight: 500;
  font-style: normal;
  color: var(--color-primary);
  text-transform: uppercase;
  transition: 0.4s ease-in-out;
}

.card-text-container h3 {
  font-size: 1.6rem;
  font-weight: 900;
  font-style: normal;
  color: var(--color-primary);
  text-transform: capitalize;
  margin-top: 0.2rem;
  line-height: 140%;
  transition: 0.4s ease-in-out;
}

.card-text-container p {
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  color: var(--color-primary);
  margin-top: 0.2rem;
  line-height: 140%;
  transition: 0.4s ease-in-out;
}

.project-img-container {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-img {
  width: auto;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

.card:hover {
  box-shadow: 0px 10px 15px -3px rgba(175, 170, 183, 0.1);
}

.card:hover .card-text-container span,
.card:hover .card-text-container h3,
.card:hover .card-text-container p {
  color: var(--color-secondary);
}

.card:hover .project-card-img {
  transform: scale(1.1);
}

/* ---------- End of Latest Projects ----------- */

/* ---------- Banner First ------- */

.banner-first {
  grid-area: 2 / 1 / 3 / 5;
  border-radius: 1rem;
  margin-bottom: 1rem;
  height: 500px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.banner-img-container {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  overflow: hidden;
}

.banner-img-container img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

.banner-text-container {
  width: 100%;
  height: auto;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  position: absolute;
  bottom: 0;
  padding: 0 30% 3% 5%;
  background: linear-gradient(
    180deg,
    rgba(214, 212, 218, 0) 0%,
    rgba(214, 212, 218, 0.8) 40%,
    rgba(214, 212, 218, 1) 100%
  );
}

.banner-tag-span {
  font-size: 0.8rem;
  font-weight: 500;
  font-style: normal;
  color: var(--color-primary);
  text-transform: uppercase;
}

.banner-title-h3 {
  font-size: 2.4rem;
  font-weight: 900;
  font-style: normal;
  color: var(--color-primary);
  text-transform: capitalize;
  line-height: 140%;
}

.banner-description-p {
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  color: var(--color-primary);
  line-height: 140%;
  margin-bottom: 0.8rem;
}

.banner-cta-btn {
  background: var(--gradient-primary);
  border: none;
  outline: none;
  border-radius: 0.2rem;
  padding: 0.8rem 3rem;
  color: var(--text-primary-white);
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  cursor: pointer;
  transition: 0.4s;
}

.banner-cta-btn:hover {
  background: var(--gradient-secondary);
}

/* ----------End of Banner First --------- */
.article-section {
  grid-area: 3 / 1 / 4 / 5;
  border-radius: 1rem;
  background-color: var(--color-elements-bg);
  margin-bottom: 1rem;
}
.news-section {
  grid-area: 4 / 1 / 5 / 5;
  border-radius: 1rem;
  background-color: var(--color-elements-bg);
  margin-bottom: 1rem;
}
.banner-second {
  grid-area: 5 / 1 / 6 / 5;
  border-radius: 1rem;
  background-color: var(--color-elements-bg);
  margin-bottom: 1rem;
}
.videos-section {
  grid-area: 6 / 1 / 7 / 5;
  border-radius: 1rem;
  background-color: var(--color-elements-bg);
  margin-bottom: 1rem;
}
.about-section {
  grid-area: 7 / 1 / 8 / 5;
  border-radius: 1rem;
  background-color: var(--color-elements-bg);
  margin-bottom: 1rem;
}
.services-section {
  grid-area: 8 / 1 / 9 / 5;
  border-radius: 1rem;
  background-color: var(--color-elements-bg);
  margin-bottom: 1rem;
}
.banner-third {
  grid-area: 9 / 1 / 10 / 5;
  border-radius: 1rem;
  background-color: var(--color-elements-bg);
  margin-bottom: 1rem;
}
.help-section {
  grid-area: 10 / 1 / 11 / 5;
  border-radius: 1rem;
  background-color: var(--color-elements-bg);
  margin-bottom: 1rem;
}
.contact-section {
  grid-area: 11 / 1 / 12 / 5;
  border-radius: 1rem;
  background-color: var(--color-elements-bg);
  margin-bottom: 1rem;
}

/* ------- ASIDE STYLE ----- */

aside {
  grid-area: 1 / 5 / 12 / 6;
  width: 20rem;
  height: 52rem;
  border-radius: 1rem;
  margin-top: 0.6rem;
}

.news-list-container {
  background-color: var(--color-elements-bg);
  border-radius: 1rem;
  padding: 1.4rem 1.2rem;
  margin-bottom: 2.5rem;
}

.news-title {
  font-size: 1.6rem;
  font-weight: 900;
  font-style: normal;
  color: var(--color-primary);
  text-transform: capitalize;
  line-height: 100%;
  margin-bottom: 1.4rem;
}

.news-list {
  list-style-type: none;
  margin-bottom: 2rem;
}

.news-list-item {
  width: 100%;
  height: auto;
  padding: 1.4rem 0;
  border-top: 1px solid var(--color-stroke-dark);
}

.news-list-item:last-child {
  border-bottom: 1px solid var(--color-stroke-dark);
}

.news-list-link {
  width: 100%;
  height: auto;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: ease-in-out 0.4s;
}

.news-list-link:hover .news-item-description {
  color: var(--color-secondary);
  transition: ease-in-out 0.4s;
}

.news-list-link:hover .news-list-img {
  transform: scale(1.1);
}

.list-img-container {
  width: 4.6rem;
  height: 4.2rem;
  margin-right: 0.6rem;
  border-radius: 0.3rem;
  overflow: hidden;
}

.news-list-img {
  width: auto;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

.news-item-text {
  width: 13rem;
  height: auto;
  display: inline-block;
}

.aside-cat-tag {
  outline: none;
  border: none;
  border-radius: 0.2rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.6rem;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 0.2rem;
  text-transform: capitalize;
}

.news-item-description {
  width: 100%;
  height: auto;
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 0.2rem;
  text-transform: none;
}

.news-list-tags {
  width: 100%;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.news-list-tags time {
  margin-right: 2rem;
}

.news-list-tags time,
.news-list-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  font-style: normal;
  color: var(--color-primary);
}

.news-more-btn {
  background: var(--gradient-primary);
  border: none;
  outline: none;
  border-radius: 0.2rem;
  width: 100%;
  height: 2.4rem;
  color: var(--text-primary-white);
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  cursor: pointer;
  transition: ease-in-out 0.4s;
}

.news-more-btn:hover {
  background: var(--gradient-secondary);
  color: var(--color-elements-bg);
}

/* ------- END of ASIDE STYLE ----- */

footer {
  background-color: var(--color-elements-bg);
  height: 80px;
  width: 100%;
  border-radius: 0.5rem 0.5rem 0 0;
}
