:root {
  --greenColor: #54B689;
  --whiteColor: #fff;
  --grayColor: #fafafa;
}

body {
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

a.text-link {
  text-decoration: none;
  color: #54B689;
}

a.text-link:hover {
  color: #48a97c;
  text-decoration: underline;
}

/* navigation */

.page_wrapper {
  display: flex;
}

.navigation {
  width: 280px;
  height: 100vh;
  background-color: var(--greenColor);
  color: var(--grayColor);
  display: inline-block;
  text-align: center;
  overflow: auto;
  position: fixed;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgba(256,256,256, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
  margin-left: -3px;
}

.custom-toggler.navbar-toggler {
  border-color: rgba(256,256,256, 1);
  border-radius: 3px;
  margin: 8px 10px;
  margin-left: 15px;
  width: 50px;
}

.custom-toggler.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navigation::-webkit-scrollbar {
  width: 6px;
}

.navigation::-webkit-scrollbar-track {
  background: #54B689;
}

.navigation::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 0.5rem;
}

.navigation h1 {
  padding: 20px 0 10px 0;
  font-size: 1.5rem;
  font-weight: bold;
}

.navigation_content {
  margin: 0 15px 15px;
}

.profile_photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 0 15px;
}

.brief_bio {
  font-size: 0.875rem;
}

.fa-brands {
  width: 32px;
  height: 32px;
  background-color: #fff;
  color: var(--greenColor);
  border-radius: 50%;
  margin: 5px;
  padding-top: 8px;
  cursor: pointer;
}

.social_list {
  list-style-type: none;
}

.social_list li {
  float: left;
}

.menu {
  margin: 20px 30px;
  color: rgba(255,255,255,0.7);
}

.nav-item {
  font-weight: bold;
}

.nav-link {
  color: var(--grayColor) !important;
}

.nav-link:hover {
  color: rgba(0,0,0,0.5) !important;
}

.active {
  color: rgba(0,0,0,0.5) !important;
}

.activeBlogBtn {
  color: rgba(0,0,0,0.5) !important;
}

.hire-me {
  background-color: rgba(0,0,0,0.3);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 7px 15px;
  margin-bottom: 10px;

  transition: color 0.15s
    ease-in-out,background-color 0.15s
    ease-in-out,border-color 0.15s
    ease-in-out,box-shadow 0.15s
    ease-in-out;
}

.hire-me:hover {
  background-color: rgba(0,0,0,0.4);
}

/* main */

.main {
  width: calc(100% - 280px);
  margin-left: 280px;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc !important;
  margin: 1em 0;
  padding: 0;
}

.bio_div {
  width: 100%;
  height: auto;
  background-color: var(--grayColor);
}

/* bio part */

.bio {
  padding: 50px;
  box-sizing: border-box;
  display: block;
  max-width: 1320px;
  margin: 0 auto;
}

.title {
  font-size: 25px;
  font-weight: lighter;
}

.view_portfolio {
  background-color: var(--greenColor);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 7px 15px;
  margin: 5px 0;

  transition: color 0.15s
    ease-in-out,background-color 0.15s
    ease-in-out,border-color 0.15s
    ease-in-out,box-shadow 0.15s
    ease-in-out;
}

.view_portfolio:hover {
  background-color: #48a97c;
}

.view_resume {
  background-color: #4f4f4f;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 7px 15px;
  margin: 5px;

  transition: color 0.15s
    ease-in-out,background-color 0.15s
    ease-in-out,border-color 0.15s
    ease-in-out,box-shadow 0.15s
    ease-in-out;
}

.view_resume:hover {
  background-color: #434343;
}

.resume_skills {
  font-weight: 500;
  margin-left: 5px;
}

.resume_skills:hover {
  cursor: pointer;
}

/* What I do part */

.what_ido {
  padding: 50px;
  max-width: 1320px;
  margin: 0 auto;
}

.my_testimonials {
  padding: 50px;
  max-width: 1320px;
  margin: 0 auto;
}

.my_projects {
  padding: 50px;
  max-width: 1320px;
  margin: 0 auto;
}

.my_blog {
  padding: 50px;
  max-width: 1320px;
  margin: 0 auto;
}

/* .my_blog_page {
  padding: 50px;
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.what_ido_title {
  border-left: solid 5px var(--greenColor);
  padding-left: 20px;
}

.what_ido_title h2 {
  font-weight: bold;
}

.what_ido_text {
  padding-bottom: 40px;
}

.tech-title {
  margin: 7px 0;
  font-weight: bold;
}

.what_ido_margin {
  margin: 30px 0 0;
}

.item {
  margin-bottom: 2rem;
}

/* .item-inner {
  margin: 0 5px;
} */

.item-inner .text {
  font-size: 0.875rem;
}

.services-btn {
  display: flex;
  justify-content: center;
}

.services-btn-margin {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

/* .services {
  margin: 0 auto;
  background-color: var(--greenColor);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 7px 15px;
  margin: 5px 0;
} */

/* Testimonials */

.testimonials-margin {
  margin: 40px 0 40px 0 !important;
}

.carousel-margin {
  margin-top: 50px;
}

.testimonials-div {
  width: 100%;
  /* display: flex;
  flex-wrap: wrap; */
  background-color: var(--grayColor);
  color: #4f4f4f;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,0.025);
  position: relative;
}

.quote {
  padding: 20px 20px 10px 40px;
}

.quote::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 40px 0 0;
  border-color: var(--greenColor) transparent transparent transparent;
  /* -webkit-transform: rotate(360deg); */
}

.fa-quote-left {
  position: absolute;
  left: 0.35rem;
  top: 0.3rem;
  color: #fff;
  font-size: 0.75rem;
}

.quote-source {
  display: flex;
  flex-direction: row;
  padding: 0 20px 20px 40px;
}

.quote-author-img {
  width: 65px !important;
  height: 65px !important;
  border-radius: 50%;
  margin: 0 15px 0 0;
}

.quote-author p {
  font-size: 0.830rem;
  margin: 0;
}

.owl-stage-outer {
  margin-bottom: 20px !important;
}


/* ------------------------- */

.owl-stage {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;

  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.owl-item{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: auto !important;
}

/* ------------------------- */


.carousel-indicators {
  margin-bottom: -10px !important;
}

.carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
  border-radius: 100% !important;
  background-color: #000 !important;
}

/* Featured Projects */

.project-card {
  display: flex;
  /* height: 200px; */
  /* padding: 0 !important; */
  /* padding-right: 30px !important; */
  position: relative;
}

.project-card {
  margin: 0 12px 20px;
}

/* .project-card .row {
  margin: 0;
} */

.project-item {
  margin-bottom: 2rem;
}

.overlay {
  position: absolute;
  visibility: hidden;
  top: 0;
  left: -12px;
  width: calc(100% + 24px);
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-card:hover .overlay {
  visibility: visible;
}

.overlay-text {
  background-color: #4f4f4f;
  border-radius: 4px;
  padding: 7px 15px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;

  transition: color 0.15s
    ease-in-out,background-color 0.15s
    ease-in-out,border-color 0.15s
    ease-in-out,box-shadow 0.15s
    ease-in-out;
}

.overlay-text:hover {
  background-color: #434343;
}

.overlay a {
  text-decoration: none;
}

.project_photo {
  overflow: hidden;
  width: 35%;
  height: 200px;
  padding: 0 !important;
}

.project1, .project2, .project3, .project4 {
  width: 100%;
  height: auto;
}

.project_text {
  width: 65%;
  height: 200px;
  padding: 20px 20px !important;
  background-color: var(--grayColor);
  font-size: 0.875rem;
  border: 1px solid rgba(0,0,0,0.025);
}

.techstack_div {
  display: flex;
}

.techstack_fs {
  font-size: 1rem;
}

.project_margin {
  margin: 0;
  margin-top: 48px !important;
}

.projectPhotoDiv {
  width: 100%;
  height: auto;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.projectPhoto {
  width: 100%;
  height: auto;

}

.my_project_post {
  padding: 20px 10px;
  max-width: 800px;
  margin: 0 auto;
}

/* Latest Blog Posts */

/* .blog-div {
  padding-left: 0 !important;
  padding-right: 20px !important;
  width: 33% !important;
} */

.blog-post {
  width: 100% !important;
  display: flex;
}

.blog1, .blog2, .blog3 {
  width: 100%;
  height: auto;
}

.blog-item {
  /* margin-bottom: 1.5rem;
  height: 100%;
  border-radius: 0; */
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.025);
  height: 100%;
  border-radius: 0;
}

.blog-card {
  /* background: #fafafa;
  border: 1px solid rgba(0,0,0,0.025); */
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
}

.blog_photo_div {
  overflow: hidden;
  width: 300px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog_photo {
  width: 200px;
  height: auto;
}

.blogBody p {
  font-size: 1.125rem;
  line-height: 1.6;
}

.blogBody h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem !important;
  margin-top: 3rem !important;
}

.blog-post-text {
  padding: 0px 30px;
  font-size: 0.875rem;
  height: 150px;
}

.read_more {
  margin: -10px 0 0;
  font-size: 1rem;
  color: var(--greenColor);
}

.read_more:hover {
  cursor: pointer;
  text-decoration: underline;
}

.blog-post-margin {
  margin: 30px 30px !important;
}

.blog_title {
  font-size: 1.3rem;
  margin: 0;
}

.blog_post_title {
  font-size: 2rem;
  margin: 0;
}

.blog_post_detail {
  color: #8f8f8f;
}

.date::after, .time::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #8f8f8f;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  position: relative;
  top: -3px;
}

.blog-text {
  flex: 1 1 auto;
  padding: 1rem 1rem;
  font-size: 0.875rem;
}

.snippet-summary p:nth-child(2) {
  margin-bottom: 0;
}

.blog-text-date {
  padding: 0.5rem 1rem;
  font-size: 0.750rem;
}

.blog-text-date p {
  margin-bottom: 5px;
}

.blog-link {
  color: #292929;
  text-decoration: none;
  font-size: 1.125rem;
  line-height: 1.2;
}

.blog-link:hover {
  color: #54B689;
  cursor: pointer;
}

.blog_margin {
  margin: 0;
  margin-top: 48px !important;
}

.subscribeDiv {
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscribeForm {
  width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.email {
  margin-right: 5px;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  height: 2.5rem;
  border-color: #c2c2c2;
}

.videoDiv {
  margin-bottom: 50px;
}

.video {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.nextBtn {
  width: 100%;
  margin: 0 auto;
  background-color: var(--greenColor);
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  border: none;
  padding: 15px 15px;
  margin: 5px 0;
  position: relative;
}

.my_blog_post {
  padding: 50px 10px;
  max-width: 820px;
  margin: 0 auto;
}

/* .blogPhoto {
  background-image: url("../images/blog1.jpg");
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
  width: 780px;
  height: 400px;
  margin: 20px 0;
} */

/* .leftBtn {
  width: 100%;
  margin: 0 auto;
  background-color: var(--greenColor);
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 15px 15px;
  margin: 5px 0;
  position: relative;
} */

.arrowLeft {
  position: absolute;
  left: 1rem;
  top: 1.25rem;
}

/* .rightBtn {
  width: 100%;
  margin: 0 auto;
  background-color: var(--greenColor);
  color: #fff;
  font-weight: bold;
  border: none;
  border-left: 1px solid #317355;
  padding: 15px 15px;
  margin: 5px 0;
  position: relative;
} */

.arrowRight {
  position: absolute;
  right: 1rem;
  top: 1.25rem;
}

.blogBtn {
  width: 5.5rem;
  text-align: center;
  padding: 7px 0px;
}

/* start of copied code */

.blog-nav .nav-link-prev {
  border-right: 1px solid #317355;
}

.blog-nav .nav-link {
  background: #54B689;
  color: #fff;
  font-size: 1rem;
  padding: 1rem;
  font-weight: bold;
  position: relative;
}

.nav-justified>.nav-link, .nav-justified .nav-item {
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #54B689;
  text-decoration: none;
  transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out;
}

/* End of copied code */

.blogForm {
  margin: 50px;
}

.codeSample {
  position: relative;
  background-color: #23241f;
  border-radius: 5px !important;
  margin: 30px 0;
  padding-left: 30px;
}

.codeCopy {
  color: var(--whiteColor);
  position: absolute;
  top: 20px;
  right: 20px;
}

.codeCopy i {
  cursor: pointer;
}

.codeCopy i:hover {
  color: var(--greenColor);
}

/* Contact Page */

.contact_div {
  width: 100%;
  height: auto;
  background-color: var(--grayColor);
  display: flex;
  justify-content: center;
}

.contact_text {
  width: 800px;
}

.contact_form {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.contact_form_fields {
  border-radius: 4px !important;
  padding: 8px 12px !important;
}

.contact_form_title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 30px;
  font-weight: bold;
}

.nameAndUser {
  display: flex;
  justify-content: space-between;
}

.name {
  width: 49%;
}

.userName {
  width: 49%;
}

/* Code Snippets */

.snippet-thumbnail-div {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
  font-size: 0.750rem;
}

.tags p {
  background-color: #54B689;
  color: #fff;
  border-radius: 15px;
  padding: 5px 10px;
  margin-right: 3px;
  margin-bottom: 5px;
}

.outSideLink {
  text-decoration: none;
  color: #317355;
}

/* Footer */

.footer {
  text-align: center;
  margin: 50px 0 20px;
}

.footer i {
  color: #BB443E;
}

/* Dark mode toggle button */

.switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 30px;
  margin: 0 10px;
  border: solid 3px rgba(255,255,255,0.4);
  border-radius: 16px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--greenColor);
  transition: .4s;
}

.slider::before {
  position: absolute;
  content: "";
  height: calc(100% - 4px);
  width: 50%;
  left: 0;
  background-color: rgba(255,255,255,0.4);
  transition: .4s;
  margin: 2px;
}

input:checked + .slider::before {
  transform: translateX(+28px);
}

.slider.round {
  border-radius: 16px;
}

.slider.round::before {
  border-radius: 16px;
}

/* Dark Mode Selectors */

.day-mode {
  background-color: #111821;
  color: rgba(255,255,255,0.7);
}

.day-mode .theme-bg-light {
  background: #151e29 !important;
}

.day-mode .bio_div {
  background-color: #111821;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.day-mode .contact_div {
  background-color: #111821;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.day-mode .view_resume {
  background-color: rgb(47, 67, 92);
}

.day-mode .navigation {
  background-color: #1e2a3a;
}

.day-mode .menu {
  color: rgba(255,255,255,0.7);
}

.day-mode .nav-link:hover {
  color: #fff !important;
}

.day-mode .testimonials-div, .day-mode .project_text, .day-mode .blog-card, .day-mode .tags, .day-mode .blog-text-date {
  background-color: #151e29 !important;
  color: rgba(255,255,255,0.7);
}

.day-mode .overlay-text {
  background-color: rgb(47, 67, 92);
}

.day-mode .carousel-indicators [data-bs-target] {
  background-color: #fff !important;
}

.day-mode .fa-brands, .day-mode .hire-me {
  background-color: var(--greenColor);
  color: #fff;

  transition: color 0.15s
    ease-in-out,background-color 0.15s
    ease-in-out,border-color 0.15s
    ease-in-out,box-shadow 0.15s
    ease-in-out;
}

.day-mode .fa-brands, .day-mode .hire-me:hover {
  background-color: #48a97c;
}

.day-mode .slider {
  background-color: #1e2a3a;
}

.day-mode .switch {
  border: solid 3px var(--greenColor);
}

.day-mode .slider::before {
  background-color: var(--greenColor);
}

.day-mode .active {
  color: var(--greenColor) !important;
}

.day-mode h1, .day-mode h2, .day-mode h3, .day-mode .tech-title, .day-mode .blog-link {
  color: #fff !important;
}

.day-mode .blog_post_title {
  color: #fff !important;
}

.day-mode .navigation::-webkit-scrollbar-track {
  background: #1e2a3a;
}

.day-mode .navigation::-webkit-scrollbar-thumb {
  background: rgb(47, 67, 92, 0.4);
  border-radius: 0.5rem;
}


/* pagination */


.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: auto;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.blog-pagination nav {
  display: flex;
  justify-content: center;
  margin-top: 2em;
  padding-top: .5em;
}

.pagination {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.pagination li {
  margin: 0 1px;
}

.pagination a {
  display: block;
  text-decoration: none;
  color: white;
}

.pagination a:hover {
  color: white;
}


/* Responsive */

@media only screen and (max-width: 991px) {
  body::-webkit-scrollbar {
    display: none;
  }

  .page_wrapper {
    display: block;
  }

  .navigation {
    width: 100%;
    height: auto;
    position: static;
    display: block;
  }

  .navigation_content {
    margin: 15px 15px;
  }

  .nav-title {
    width: 100%;
    position: absolute;
  }

  .main {
    margin-left: 0;
    width: 100%;
  }

  .button-text {
    display: none;
  }

  .calendar {
    display: none;
  }

  .project-card:hover .overlay {
    visibility: hidden;
  }

  .my_project_post {
    padding: 20px 30px;
  }

  .my_blog_post {
    padding: 50px 30px;
  }

  .nameAndUser {
    display: block;
  }

  .name {
    width: 100%;
  }
  
  .userName {
    width: 100%;
  }

  .subscribeForm {
    width: 100%;
    display: block;
  }

  .subscribeForm button {
    width: 100%;
  }

  .email {
    margin-right: 0;
    margin-bottom: 5px;
  }
}