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

html {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
}

.container {
  width: 1200px;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-color: #eae8ec;
}

nav {
  width: 185px;
  height: 100vh;
  background-color: #d6d4da;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  box-shadow: rgba(77, 66, 96, 0.1) 0px 10px 50px;
}

.nav-header {
  display: block;
  justify-content: space-between;
  height: 160px;
  width: 100%;
}

.menu-icon {
  width: 100%;
  height: 25px;
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
  cursor: pointer;
  transition-duration: 0.2s;
}

.menu-icon:hover #menu-svg {
  stroke: #a86f81;
}

.logo-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.nav-list {
  width: 150px;
  height: auto;
  text-align: left;
  list-style-type: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  transition-duration: 0.2s;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #4d4260;
  width: 100%;
  height: 35px;
  margin-bottom: 20px;
  padding-left: 20px;
  cursor: pointer;
  border-radius: 5px;
}

.nav-item svg {
  margin-right: 10px;
}

.active {
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  color: #edecef;
}

.nav-item:hover {
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  color: #edecef;
  stroke: #edecef;
}

.nav-item:hover #home-svg,
.nav-item:hover #projects-svg,
.nav-item:hover #articles-svg,
.nav-item:hover #news-svg,
.nav-item:hover #videos-svg,
.nav-item:hover #about-svg,
.nav-item:hover #services-svg,
.nav-item:hover #contact-svg,
.nav-item:hover #help-svg {
  stroke: #edecef;
}

.content {
  width: 960px;
  height: auto;
  margin-left: 210px;
  margin-right: auto;
}

/* -------- Header / Slides Section Style ---------- */

.modern-slider {
  transition: transform 1s, opacity 1s;
  margin-bottom: 30px;
  box-shadow: rgba(77, 66, 96, 0.2) 0px 10px 50px;
}

.slider {
  max-width: 100rem;
  height: 480px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 5px 5px;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 2s;
  background-image: linear-gradient(red, yellow);
}

.sldr-slide-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.sldr-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  background-color: transparent;
  opacity: 0.7;
  border: none;
  cursor: pointer;
}

.sldr-btn:hover {
  opacity: 1;
}

.sldr-btn-left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.sldr-btn-right {
  right: 6%;
  transform: translate(50%, -50%);
}

.sldr-dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.sldr-dot {
  border: none;
  background-color: #d6d4da;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  margin-right: 0.7rem;
  cursor: pointer;
  transition: all 0.5s;
}

.sldr-dot:last-child {
  margin: 0;
}

.sldr-dot-active {
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  width: 2rem;
  height: 0.5rem;
  border-radius: 1rem;
  opacity: 1;
}

.sldr-slide-text {
  position: absolute;
  width: 480px;
  height: auto;
  left: 6rem;
  top: 28%;
}

.slide-cat-tag {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #00c6d3;
  text-transform: uppercase;
}

.slide-title {
  margin: 1rem 0;
  color: #edecef;
  font-size: 33px;
  font-weight: bold;
  font-style: normal;
}

.slide-description {
  margin-bottom: 1rem;
  color: #edecef;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
}

.slide-cta-btn {
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  color: #d6d4da;
  border: none;
  width: 120px;
  height: 35px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition-duration: 0.4s;
  cursor: pointer;
}

.slide-cta-btn:hover {
  background: linear-gradient(
    180deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
}

.slide-cta-btn:focus {
  outline: none;
}

/* SLIDES */

h2 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  font-style: normal;
  color: #413852;
  margin-bottom: 10px;
}

h3 {
  font-size: 16px;
  font-weight: bold;
  font-style: normal;
  color: #413852;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h4 {
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 300;
  font-style: normal;
  color: #edecef;
  text-transform: uppercase;
  text-align: center;
  border-radius: 3px;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
}

p {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #4d4260;
  line-height: 150%;
  margin-bottom: 10px;
}

/* -------- END of Header SEction Style ---------- */

/* -------- Main Style ---------- */

main {
  display: grid;
  grid-template-areas:
    "form form form form"
    "cards cards cards cards"
    "articles articles articles articles"
    "news news news news"
    "videos videos videos videos"
    "about about about about"
    "services services services services"
    "contact contact contact contact"
    "help help help help"
    "footer footer footer footer";
  gap: 20px;
}

form {
  grid-area: form;
  position: relative;
  box-shadow: rgba(77, 66, 96, 0.1) 0px 10px 50px;
  margin-bottom: 20px;
}

form svg {
  position: absolute;
  left: 20px;
  top: 10px;
}

form > input {
  width: 100%;
  border-radius: 5px;
  border: none;
  outline: none;
  background-color: #d6d4da;
  color: #a86f81;
  padding-left: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
}

form > input::placeholder {
  color: #afaab7;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
}

.cards {
  grid-area: cards;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

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

.cards-title > ul {
  list-style-type: none;
  display: flex;
  align-items: center;
}

.cards-list {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card {
  background-color: #d6d4da;
  width: 300px;
  border-radius: 5px;
  box-shadow: rgba(77, 66, 96, 0.1) 0px 10px 50px;
  transition-duration: 0.4s;
}

.card-img-cont {
  width: 100%;
  height: 180px;
  border-radius: 5px 5px 0 0;
  position: relative;
  overflow: hidden;
}

.card-img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
  overflow: hidden;
}

.card:hover {
  box-shadow: rgba(77, 66, 96, 0.3) 0px 10px 50px;
}

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

.card:hover .card-btn,
.article-btn:hover {
  background: linear-gradient(
    180deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
}

.card-text {
  width: 100%;
  height: auto;
  padding: 10px 10px 20px 15px;
}

.card-btn,
.article-btn {
  width: 120px;
  height: 35px;
  margin-top: 20px;
  border-radius: 5px;
  outline: none;
  border: none;
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  color: #edecef;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 0.3s;
}

.card-link {
  text-decoration: none;
}

/* ----- latest articles style ----- */

.articles {
  grid-area: articles;
}

.article-header {
  width: 100%;
  height: 480px;
  border-radius: 5px;
  background: radial-gradient(
      circle,
      rgba(77, 66, 96, 0.2) 0%,
      rgba(77, 66, 96, 0.6) 100%
    ),
    url(/img/article-header-lg.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: 25px;
  box-shadow: rgba(77, 66, 96, 0.1) 0px 10px 50px;
}

.article-text {
  width: 480px;
  height: auto;
  position: absolute;
  left: 30px;
  top: 20%;
}

.tag-container {
  display: flex;
  width: 140px;
  align-items: center;
  justify-content: space-between;
}

.article-cat {
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  color: #00c6d3;
  text-transform: uppercase;
}

.publish-date {
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  color: #f36b7f;
}

.article-title {
  font-size: 20px;
  font-weight: 500;
  font-style: normal;
  color: #edecef;
  text-transform: capitalize;
  width: 380px;
  height: auto;
  line-height: 150%;
  margin-top: 10px;
}

.article-description {
  font-size: 14px;
  font-weight: 300;
  font-style: normal;
  color: #edecef;
}

.article-card-list {
  width: 900px;
  height: auto;
  background-color: #d6d4da;
  position: absolute;
  bottom: 0;
  left: 30px;
  bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-card-item {
  border-radius: 5px;
  transition-duration: 0.4s;
}

.article-card-item:hover {
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
}

.article-card-item:hover .article-link p,
.article-active .article-link p {
  color: #edecef;
}

.article-active {
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  transition-duration: 0.4s;
}

.article-active:hover {
  background: linear-gradient(
    180deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
}

.article-link {
  text-decoration: none;
  width: 280px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-link img {
  border-radius: 5px;
  width: 70px;
  height: auto;
}

.article-text-container {
  width: 100%;
  height: auto;
  padding-left: 10px;
  padding-right: 10px;
}

.article-link p {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 5px;
}

.article-tags {
  width: 140px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-cat-tag {
  font-size: 12px;
  color: #afaab7;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

.article-publish-tag {
  font-size: 12px;
  color: #afaab7;
  font-weight: 400;
  font-style: normal;
}

/* Featured News Style */

.news {
  grid-area: news;
  margin-bottom: 40px;
}

.news-cards-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.news-cards-arrows {
  width: 45px;
  height: auto;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-cards-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-card {
  width: 470px;
  height: auto;
  position: relative;
  background-color: #d6d4da;
  border-radius: 5px;
  box-shadow: rgba(77, 66, 96, 0.1) 0px 10px 50px;
  transition-duration: 0.4s;
}

.share-btn {
  width: 48px;
  height: auto;
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  color: #edecef;
  cursor: pointer;
  transition-duration: 0.4s;
}

.share-btn:hover {
  background: linear-gradient(
    180deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  transition: 0.4s;
}

.news-card:hover .news-card-img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}

.news-card:hover .news-tag {
  background: linear-gradient(
    180deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  transition: 0.4s;
}

.news-card:hover {
  box-shadow: rgba(77, 66, 96, 0.3) 0px 10px 50px;
}

.news-img-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

.news-card-img {
  width: 100%;
  height: auto;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
  overflow: hidden;
}

.news-tag {
  background: linear-gradient(
    90deg,
    rgba(77, 66, 96, 1) 0%,
    rgba(168, 111, 129, 1) 100%
  );
  border-radius: 3px;
  padding: 5px 15px;
  font-size: 10px;
  font-weight: 400;
  font-style: normal;
  color: #eae8ec;
  text-transform: uppercase;
  transition-duration: 0.4s;
}

.news-card-title {
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  text-transform: capitalize;
  margin-top: 15px;
}

.news-card-description {
  margin-bottom: 10;
}

.news-date {
  color: #413852;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
}

/* END ofFeatured News Style */

/* Featured Videos Style */

.videos {
  grid-area: videos;
}

.about {
  grid-area: about;
}

.services {
  grid-area: services;
}

.contact {
  grid-area: contact;
}

.help {
  grid-area: help;
}

footer {
  grid-area: footer;
}

/* .roboto-thin {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.roboto-light {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.roboto-thin-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.roboto-light-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.roboto-regular-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.roboto-medium-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.roboto-bold-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.roboto-black-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
} */

/* header {
  grid-area: header;
}
nav {
  grid-area: navbar;
} */
/* .item3 {
  grid-area: main;
}
.item4 {
  grid-area: right;
}
.item5 {
  grid-area: footer;
}
.search-bar {
  grid-area: search-bar;
}
.cards {
  grid-area: cards;
}
.about {
  grid-area: about;
}
.services {
  grid-area: services;
}
.contact {
  grid-area: contact;
}
.help {
  grid-area: help;
} */

/* .grid-container {
  display: grid;
  grid-template-areas:
    "navbar header header header header"
    "navbar main main main right"
    "navbar footer footer footer footer";
  gap: 10px;
  background-color: #2196f3;
  padding: 0 10px 0 0;
}

.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 20px 0;
  font-size: 30px;
} */

/* .main {
  display: grid;
  grid-template-areas:
    "search-bar search-bar search-bar"
    "cards cards cards"
    "about about about"
    "services services services"
    "contact contact contact"
    "help help help";
  gap: 10px;
  background-color: bisque;
  padding: 10px 0;
}

.main > div {
  background-color: azure;
  text-align: left;
  padding: 20px 0;
  font-size: 30px;
} */
