/* creame default background theme */
body {
  /* backgroud-color: #faf6f1 */
  background-color: #fbf1c7;
  font-family: "Roboto Slab",Georgia,serif; 
}

/* Style for rounded profile photo */
.profile-photo {
  border-radius: 20%;
  width: 300px;
  height: 300px;
}

.white-background {
  background-color: #fff
}

/* Style for skills logos */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Spacing between logos */
  padding: 20px; /* Optional padding around the container */
}

.skills-container img {
  width: 100px;
  height: 100px;
  object-fit: contain; /* Ensures the entire image fits within the bounds */
  transition: transform 0.3s ease; /* Smooth animation on hover */
}

.skills-container img:hover {
  transform: scale(1.1); /* Slightly enlarge the logo on hover */
}

/* dark mode */

/*
 * Dark Mode Toggle
 * Copyright (c) 2015 instructure-react
 * Forked from Dan Abramov's personal blog
 * https://github.com/gaearon/overreacted.io/blob/master/src/components/Toggle.css
 * MIT License
**/

.js-toggle-wrapper {
  display: table;
}

.js-toggle {
  touch-action: pan-x;
  display: inline-block;
  position: relative;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  padding: 0;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

.js-toggle-screenreader-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.js-toggle-track {
  width: 50px;
  height: 24px;
  padding: 0;
  border-radius: 30px;
  background-color: hsl(222, 14%, 7%);
  transition: all 0.2s ease;
}

.js-toggle-track-check {
  position: absolute;
  width: 17px;
  height: 17px;
  left: 5px;
  top: 0px;
  bottom: 0px;
  margin-top: auto;
  margin-bottom: auto;
  line-height: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.js-toggle--checked .js-toggle-track-check {
  opacity: 1;
  transition: opacity 0.25s ease;
}

.js-toggle-track-x {
  position: absolute;
  width: 17px;
  height: 17px;
  right: 5px;
  top: 0px;
  bottom: 0px;
  margin-top: auto;
  margin-bottom: auto;
  line-height: 0;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.js-toggle--checked .js-toggle-track-x {
  opacity: 0;
}

.js-toggle-thumb {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #fafafa;
  box-sizing: border-box;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  transform: translateX(0);
}

.js-toggle--checked .js-toggle-thumb {
  transform: translateX(26px);
  border-color: #19ab27;
}

.js-toggle--focus .js-toggle-thumb {
  /* box-shadow: 0px 0px 2px 3px rgb(255, 167, 196); */
  box-shadow: 0px 0px 2px 3px #2bbc8a;
}

.js-toggle:active .js-toggle-thumb {
  /* box-shadow: 0px 0px 5px 5px rgb(255, 167, 196); */
  box-shadow: 0px 0px 2px 3px #2bbc8a;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .skills-container img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 360px) {
  .skills-container img {
    width: 60px;
    height: 60px;
  }
}

/* dark theme */

body.dark-mode,
body.dark-mode main * {
  box-sizing: border-box;
}

body.dark-mode,
body.dark-mode main * {
  border-top: 2px solid #c9cacc; /* border color from $color-text */
}

body.dark-mode {
  background-color: #282828;
  color: #ffffff;
}

body.dark-mode .content a {
  color: #c9cacc; /* $color-text */
}

/* body.dark-mode .content a:hover { */
/*   background-image: linear-gradient( */
/*     transparent, */
/*     transparent 4px, */
/*     rgba(212, 128, 170, 1) 4px, */
/*     rgba(212, 128, 170, 1) */
/*   ); /* $color-link */ */
/* } */

body.dark-mode .content a.icon:hover {
  color: rgba(212, 128, 170, 1); /* $color-link */
}

body.dark-mode pre {
  border: 1px dotted #666; /* $color-border */
  color: #c9cacc; /* $color-text */
}

body.dark-mode .code-copy-btn {
  color: #fff;
  background-color: #8c8c8c;
}

body.dark-mode .code-copy-btn:hover {
  background-color: #666;
  color: #2bbc8a;
}

body.dark-mode .highlight > div {
  background-color: #282828;
}

body.dark-mode .highlight pre {
  background: none;
}

/* more on header */

body.dark-mode #header h1,
body.dark-mode .h1 {
  color: #2bbc8a !important;
}


body.dark-mode h1,
body.dark-mode .h1 {
  color: #c9cacc; /* $color-text */

  /* color: #2bbc8a !important; */
}

body.dark-mode h2,
body.dark-mode .h2 {
  /* color: #c9cacc !important; /* $color-text */ */

  color: #2bbc8a !important;
}

body.dark-mode h3,
body.dark-mode .h3 {
  /* color: #c9cacc; /* $color-text */ */

  color: #2bbc8a !important;
}

body.dark-mode .content a {
  color: #2bbc8a !important;
}

body.dark-mode #header a {
  color: inherit;
}

body.dark-mode #header #nav {
  color: #2bbc8a; /* $color-accent-1 */
}

body.dark-mode #header #nav ul a {
  color: #2bbc8a; /* $color-accent-1 */
}

body.dark-mode #header #nav ul a:hover {
  /* text-decoration: underline; */
  /* text-decoration-thickness: 5px; */
  /* text-underline-offset: 5px; */
  /* text-decoration-color: #2bbc8a; /* $color-accent-1 */ */
}

body.dark-mode #header #nav ul li {
  border-right: 1px dotted #2bbc8a; /* $color-accent-1 */
}

.bmc-btn-text {
  color: #000000 !important;
}

body.dark-mode #header:hover #logo {
  filter: none;
  -webkit-filter: none;
}
