.test {
  border: red 1px solid;
}

::-moz-selection {
  /* Code for Firefox */
  color: #FFFFFF;
  background: #007BFF;
}

::selection {
  color: #FFFFFF;
  background: #007BFF
}

/* .row {
  margin-right: 0 !important;
} */
html {
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid blue;
}

.btn:focus-visible {
  outline: 2px solid blue !important;
}

/* Hide the skip link by default */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
}

/* Style the skip link when it receives focus (is tabbed to) */
.skip-link:focus {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  /* Ensure it's above other content */
  background-color: #007bff;
  /* Example background color */
  color: #fff;
  /* Example text color */
  padding: 5px 10px;
  /* Example padding */
}

body {
  font-family: 'Roboto', sans-serif;
}

.resumeicon {
  color: white;
}

/* line height expericnce page */
.pline {
  line-height: .5;
}

p {
  font-size: 1em;
}

ul {
  font-size: 1.25em;
}

.nav-link {
  color: black !important;
  transition: none !important;
}

.nav-link:hover {
  color: #705aff;
}

.ulrole {
  font-size: 1em;
}

/* side bar menu */
.nav-link:focus {
  color: black;
}

.activemainnav {
  color: #705aff !important;
  border-bottom: #705aff 4px solid !important;
}

/* Custom CSS for the sidebar active scrollspy */
.active {
  color: #705aff !important;
  border-right: 4px solid #705aff !important;
  font-weight: bold;
}

.btn {
  background-color: #705aff;
  color: white;
  border: #705aff;
}

.btn:hover {
  background-color: #8977fb !important;
  color: whitesmoke !important;
}

.btn.active {
  background-color: white !important;
  color: #705aff !important;
  border: #705aff solid;
}

.btnnotactive {
  border-right: #705aff solid !important;
}

/* carousel remove active */
.carousel-inner>.active {
  border-right: none !important;
  border-bottom: none !important;
}

/* ABOUT IMG HOVER */
.aboutimg {
  width: 100%;
  padding-bottom: 100%;
  background-image: url('../img/jjc1.jpg');
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
  position: relative;
}

/* .aboutimg:hover {
  background-image: url('../img/jjc2.jpg');
} */

footer,
i {
  color: #705aff;
}

.copyright {
  color: #705aff;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  /* Hide initially */
  z-index: 9999;
  /* Ensure it's on top of other elements */
}

.bi-arrow-up-circle {
  color: white;
}

/* Style for the reading progress bar container */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #ccc;
  z-index: 9999;
}

/* Style for the reading progress bar */
.reading-progress-bar {
  height: 100%;
  width: 0;
  background-color: #705aff;
  /* transition: width 0.3s;  */
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 15px 10px -15px rgb(0 0 0 / 0.5);
  padding-top: 20px;
  text-align: center;
}

.expimg {
  min-width: 10px;
  max-height: 60px;
  min-width: 10px;
}

/* gallery images no space */
.no-gutter {
  padding: 0;
  margin: 0;
}

/* filterizer styles */
.simplefilter li,
.multifilter li,
.sortandshuffle li {
  color: white;
  cursor: pointer;
  display: inline-block;
  text-transform: uppercase;
  /* padding: 1rem 2rem; */
}

.filtr-container {
  margin-top: 25px;
  display: none;
  transition: height 500ms ease-out;
  width: 100vw;
  max-width: 100%;
  width: 100dvh;
}

.item-desc {
  margin: 0;
}

.item-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  box-sizing: border-box;
  height: auto;
}

/* custom nav menu */
.navbar-toggler {
  width: 20px;
  height: 20px;
  position: relative;
  transform: .5 ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0;
}

.navbar-toggler span {
  margin: 0;
  padding: 0;
}

.toggler-icon {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #705aff;
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.middle-bar {
  margin-top: 0px;
}

/* when nav is tapped */
.navbar-toggler .top-bar {
  margin-top: 0px;
  transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0)
}

.navbar-toggler .bottom-bar {
  margin-top: 0px;
  transform: rotate(-135deg);
}

/* state when navbar is collapsed */
.navbar-toggler.collapsed .top-bar {
  margin-top: -10px;
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
  margin-top: 10px;
  transform: rotate(0deg);
}

/* custom nav end */
.zoom:hover {
  transform: scale(1.1);
  /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

/* end anitmaion on gallery images */

/* Custom CSS for small screens (sm and below) */
@media (max-width: 575.98px) {
  body {
    padding: 20px;
  }

  /* Custom CSS for the sidebar active scrollspy */
  .active {
    color: #705aff;
    border-bottom: 4px solid #705aff;
    border-right: none !important;
  }

  .btnnotactive {
    border-right: #705aff solid !important;
  }

  .pline {
    line-height: 1 !important;
  }

  .mobilenavborder {
    border-bottom: 1px black solid;
    width: 100%;
  }

  .mobilemenu {
    margin-bottom: 50px;
  }

  .img-fluid {
    width: 100%;
  }

  .sticky {
    min-height: 20px;
  }

  .break-mobile {
    display: block;
  }

  /* Back to top button */
  .back-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: none;
    z-index: 9999;
    /* border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0 !important; */
    opacity: 0.7;
  }

  .back-to-top:active {
    opacity: 1;
  }

  .aboutimg:active,
  .aboutimg:hover {
    background-image: url('../img/jjc2.jpg');
  }
}

/* Custom CSS for medium screens (md and below) */
@media (max-width: 767.98px) {
  .filtr-container {
    width: 100dvh;
  }

}

/* Custom CSS for large screens (lg and below) */
@media (max-width: 991.98px) {
  /* Add your CSS rules for large screens here */
}

/* Custom CSS for extra-large screens (xl and below) */
@media (max-width: 1199.98px) {
  /* Add your CSS rules for extra-large screens here */
}