/* styles.css */
  
  :root {
    --very-dark-gray: #1c1c1c;
    --olive-green: #556b2f;
    --main-color-one: #556b2f;
    --main-color-two: #2b411e;
    --main-color-three: #FF416C;
    --main-color-four: #061E5C;
    --main-neon-color: #ff9E3D;
    --main-safety-orange-color: #ff7900;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #888;
    overflow-x: hidden !important;
    font-size: 15px;
    /*padding-top: 70px;*/
  }

  html, body, #container {
    height: 100%;
    overflow-x: hidden;
    position: relative;
  }
  
  #particles-js{
    width: 100%;
    height: 1030px;
    background-color: #212529;
    background-size: cover;
    /* background-position: 50% 50%; */
    position: relative;
    }

  .navbar {
    /*top: 0;*/
    /*width: 99.1%;*/
    width: 100vw; /* 100% of the viewport width */
    max-width: 100vw; /* Prevents the navbar from exceeding the viewport width*/
    font-family: "Lucida Console", "Courier New", monospace;
    background-color: var(--very-dark-gray);
    padding: 0 !important;
    /*z-index:1000;*/
  }

  .navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-around;
}
  
  .navbar-brand img {
    max-height: 60px;
  }
  
  .navbar-brand {
    font-weight: bold;
    color: white !important;
  }
  
  .navbar-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--main-safety-orange-color) !important;
  }

  .navbar-toggler {
    background-color: var(--main-safety-orange-color);
  }
  
  .navbar-nav .nav-link {
    color: white !important;
  }
  
   .nav-link .link-text {
        display: inline; /* Ensure text is visible by default */
    }

    /* Large screens: Hide text, show only icons */
    @media (min-width: 992px) {
        .navbar-nav .nav-link .link-text {
            display: none; /* Hide text next to icons */
        }
    }
  
  /* Update the section height to be responsive */
  .section {
    min-height: 100vh;
     /*display: flex; */
    align-items: center;
    justify-content: center;
  }
  
  /* Remove fixed height for particles-js */
  /* #particles-js {
    height: 100%;
    background-color: #212529;
    background-size: cover;
    position: relative;
  } */
  
  .home-content {
    font-family: "Lucida Console", "Courier New", monospace;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f8f9fa;
    z-index: 2;
  }

  .home-content h1 span{
    color: var(--main-color-three);
    font-weight: 600;
    letter-spacing: 1px;
  }
  
  .home-header {
    font-size: 55px;
    text-transform: uppercase;
    padding: 20px 0;
  }

  .home-text {
    font-size: 16px;
    line-height: 1.5;
  }
  
  .about-text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: medium;
    line-height: 30px;
}
  
  .about-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  h6{
    margin-top: 40px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    position: relative;
    letter-spacing: 1px;
  }
  
.scroll-top {
  width: 45px;
  height: 45px;
  line-height: 45px;
  background: var(--main-color-one);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: white !important;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 9;
  cursor: pointer;
  transition: all .3s ease-out 0s;
  border-radius: 5px;
}

.scroll-top:hover {
  box-shadow: 0 1rem 3rem rgba(35, 38, 45, 0.15) !important;
  transform: translate3d(0, -5px, 0);
  background-color: var(--main-color-two);
}

h5:before {
  position: absolute;
  content: "";
  left: 0;
  top: 11px;
  width: 60px;
  height: 2px;
  background: var(--main-color-three);
}

h5 {
  font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 70px;
}

.jumbotronSection{
  background-color: #F0F3FA;
  padding: 20px;
  margin-top: 90px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15) !important;
}

h2 {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 30px;
  text-transform: capitalize;
  position: relative;
  font-weight: 600;
  padding: 7px 0;
  color: var(--main-color-four);
}

h2 span {
  font-family: 'Montserrat', sans-serif !important;
  color: var(--main-color-three);
}

.img-fluid {
  margin-top: 15px !important;
}

.ma {
  /*
  width: 280px;
  height: 280px;
*/
  background: -webkit-radial-gradient(center, #fff, rgba(55, 175, 255, 0.5) 25%, rgba(55, 175, 255, 0) 75%, rgba( 0, 0, 0, 0));
  margin: 100px auto;
  position: relative;
  border-radius: 50%;
  transform-style: preserve-3d;
  transition: all 1s;
  }
.mm {
  width: 200px;
  height: 200px;
  /* border: 1px solid red; */
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  margin: auto;
  transform: translateZ(150px);
  transform-style: preserve-3d;
}
.main {
  width: 200px;
  height: 200px;
  position: absolute;
  transform: translateZ(100px);
  transform-style: preserve-3d;
  box-sizing: border-box;
}
.mm .main:first-child {
  animation: main1 120s 0s linear infinite;
}
.mm .main:last-child {
  animation: main2 120s 0s linear infinite;
}
@keyframes main1 {
  0% {
      transform: rotateZ(0);
  }
  100% {
      transform: rotateZ(7600deg);
  }
}
@keyframes main2 {
  0% {
      transform: rotateZ(0);
  }
  100% {
      transform: rotateZ(-7600deg);
  }
}
.m,
.n,
.m1,
.n1 {
  width: 200px;
  height: 200px;
  position: absolute;
  transform-style: preserve-3d;
  box-sizing: border-box;
}
.m {
  animation: mp 120s 0s linear infinite;
}
.n,
.m1,
.n1 {
  animation: np 120s 0s linear infinite;
}
@keyframes mp {
  0% {
      transform: rotateY(0);
  }
  100% {
      transform: rotateY(5600deg);
  }
}
@keyframes np {
  0% {
      transform: rotateX(0);
  }
  100% {
      transform: rotateX(5600deg);
  }
}
.m div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* border: 1px solid rgba(55, 175, 255, 0.5); */
  /* border-top: 1px solid rgba(55, 175, 255, 0.5);
  border-bottom: 1px solid rgba(55, 175, 255, 0.5); */
  border-left: 1px solid rgba(55, 175, 255, 0.5);
  border-right: 1px solid rgba(55, 175, 255, 0.5); 
  box-sizing: border-box;
  position: absolute;
  background: -webkit-radial-gradient(center, #fff 24%, rgba(55, 175, 255, 0.5) 25%, rgba(55, 175, 255, 0) 26%);
}

.n div,
.m1 div,
.n1 div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* border: 1px solid rgba(55, 175, 255, 0.5); */
  border-top: 1px solid rgba(55, 175, 255, 0.5);
  border-bottom: 1px solid rgba(55, 175, 255, 0.5); 
  /* border-left: 1px solid rgba(55, 175, 255, 0.5);
  border-right: 1px solid rgba(55, 175, 255, 0.5); */
  box-sizing: border-box;
  position: absolute;
  background: -webkit-radial-gradient(center, #fff 24%, rgba(55, 175, 255, 0.5) 25%, rgba(55, 175, 255, 0) 26%);
}
/* .m1 div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(55, 175, 255, 0.74);
  box-sizing: border-box;
  position: absolute;
} */
.build {
  width: 150px;
  height: 30px;
  display: block;
  position: fixed;
  left: 0;
  bottom: 0;
  text-decoration: none;
  line-height: 30px;
  text-align: center;
  border: 2px solid #6cf;
  color: #6cf;
}
.my-achievement {
  /*background: var(--main-color-four);*/
  /*text-align: center;*/
  /*margin-top: 12%;*/
  /*padding: 100px 0 0 0;*/
  /*min-height: 50vh;*/
    background: var(--main-color-four);
    text-align: center;
    margin-top: 3%;
    padding: 100px 0px 0px 0px;
    min-height: 40vh;
}

/* Adjust the min-height for other sections as needed */
#home,
#about,
#portfolio{
  min-height: 100vh;
  /*padding-bottom: 93px;*/
}

#about{
    margin-top: -1%;
}
.my-achievement .single-achievement {
  text-align: center;
  padding: 0px 10px;
}

.my-achievement .single-achievement .achievement-icon {
  height: 80px;
  width: 80px;
  line-height: 80px;
  text-align: center;
  background-color: #fff;
  color: var(--main-color-three);
  border-radius: 50%;
  font-size: 36px;
  display: inline-block;
  margin-bottom: 30px;
  -webkit-transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0s;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0s;
}

.personalProjects {
  color: var(--main-color-three);
  max-width: 50%;
}

.my-achievement .single-achievement:hover .achievement-icon {
  -webkit-box-shadow: 0px 10px 30px #00000017;
  box-shadow: 0px 10px 30px #00000017;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.my-achievement .single-achievement h3 {
  font-size: 35px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.my-achievement .single-achievement p {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: capitalize;
}

#footer-links li {
  display: inline-block;
  text-align: center;
}

#footer-links li a {
  text-align: center;
  font-size: 1.5rem;
  /* display: block; */
  color: var(--main-color-three);
  height: 2rem;
  width: 2rem;
  margin: 10px;
  transition: 250ms ease-in;
}

.portfolio-section .see-all {
  display: block;
  margin-top: 40px;
  text-align: center;
}

.portfolio-section .portfolio-btn-wrapper {
  margin-bottom: 0;
  text-align: center;
}

.portfolio-button-head {
  width: 100%;
  height: 100%;
  position: relative;
}

.portfolio-section .grid {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.portfolio-section .portfolio-btn-wrapper button {
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
  border: none;
  color: var(--main-color-three);
  border-radius: 0;
  margin-right: 15px;
  margin-bottom: 10px;
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  background: transparent;
  position: relative;
}

.portfolio-section .portfolio-btn-wrapper button::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: var(--main-color-one);
  transition: all 0.5s cubic-bezier(0.78, 0.01, 0.24, 1.02);
  -webkit-transition: all 0.5s cubic-bezier(0.78, 0.01, 0.24, 1.02);
  -moz-transition: all 0.5s cubic-bezier(0.78, 0.01, 0.24, 1.02);
}

.portfolio-section .portfolio-btn-wrapper button.active {
  color: var(--main-color-one);
}

.portfolio-section .portfolio-btn-wrapper button.active::before {
  width: 100%;
}

.portfolio-section .portfolio-btn-wrapper button:hover {
  color: var(--main-color-one);
}

.portfolio-section .portfolio-btn-wrapper button:last-child {
  margin-right: 0;
}

.portfolio-item {
  position: relative;
  transition: .3s;
}

.portfolio-item:hover .portfolio-overlay {
  background: rgba(0, 0, 0, .7);
}

.portfolio-item:hover .portfolio-overlay span {
  color: #fff;
}

.portfolio-item:hover .portfolio-overlay h5 {
  color: var(--main-color-one);
  margin-top: 7px;
}

.portfolio-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transition: .3s;
}

.pf-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  visibility: hidden;
  opacity: 0;
  transition: .5s;
  transition-delay: .3s;
}

.portfolio-item:hover .pf-content {
  visibility: visible;
  opacity: 1;
}

.portfolioHeader {
  margin-top: 100px !important;
}

.portfolio-section .portfolio-button-head {
  position: relative;
}

.portfolio-section .portfolio-button-head hr {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: var(--main-color-one);
  transition: all 0.3s ease-in-out;
}
/***************************************************** */
.author-archive img {
  display: block;
  max-width: 100%;
  height: auto;
}

.author-archive ol {
  list-style: none;
}

.author-archive a {
  text-decoration: none;
  color: inherit;
}

.author-archive {
  padding: 1.5rem;
}

.author-archive h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.author-archive h1 a {
  transition: all 0.1s;
}

.author-archive h1 a:hover {
  background: var(--green);
  color: var(--white);
}

.author-archive input[type="radio"] {
  position: absolute;
  left: -9999px;
}

/* FILTERS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.filters {
  text-align: center;
  margin-bottom: 2rem;
}

.filters * {
  display: inline-block;
}

.filters label {
  padding: 0.5rem 1rem;
  margin-bottom: 0.25rem;
  border-radius: 2rem;
  min-width: 50px;
  line-height: normal;
  cursor: pointer;
  transition: all 0.1s;
}

.filters label:hover {
  background: var(--green);
  color: var(--white);
}

.filters label.selected {
  color: #FF416C; /* Sets the text color */
  border-bottom: 2px solid #FF416C; /* Simulates an underline with the specified color */
  padding-bottom: 3px; /* Adjust padding to prevent the border from being too close to the text */
}

.filters label:hover, .filters label.selected {
  background: var(--green);
  color: #FF416C; /* Apply color to text and simulate underline */
  border-bottom: 2px solid #FF416C; /* Fallback underline simulation */
  padding-bottom: 3px; /* Adjust as necessary */
}

/* FILTERED ELEMENTS (POSTS)
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.posts {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
}

.posts .post {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.posts .post-title {
  font-size: 1.3rem;
}

.posts .post-title:hover {
  text-decoration: underline;
}

.posts figcaption {
  padding: 1rem;
}

.posts .post-categories {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.posts .post-categories * {
  display: inline-block;
}

.posts .post-categories li {
  margin-bottom: 0.2rem;
}

.posts .post-categories a {
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid;
  line-height: normal;
  transition: all 0.1s;
}

.posts .post-categories a:hover {
  background: var(--green);
  color: var(--white);
}

.posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.post {
  width: 48%; /* Adjust as needed */
  margin-bottom: 20px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .post {
    width: 100%;
  }
}

/* FILTERING RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
[value="All"]:checked ~ .filters [for="All"],
[value="HTML/CSS/JavaScript"]:checked ~ .filters [for="HTML/CSS/JavaScript"],
[value="PHP/Laravel"]:checked ~ .filters [for="PHP/Laravel"],
[value="C#/.Net"]:checked ~ .filters [for="C#/.Net"],
[value="Python"]:checked ~ .filters [for="Python"],
[value="R"]:checked ~ .filters [for="R"],
[value="Android/Java"]:checked ~ .filters [for="Android/Java"],
[value="Assembly/AVR"]:checked ~ .filters [for="Assembly/AVR"] {
  background: var(--green);
  color: var(--white);
}

[value="All"]:checked ~ .posts [data-category] {
  display: block;
}

[value="HTML/CSS/JavaScript"]:checked ~ .posts .post:not([data-category~="HTML/CSS/JavaScript"]):not([data-category-1~="HTML/CSS/JavaScript"]),
[value="PHP/Laravel"]:checked ~ .posts .post:not([data-category~="PHP/Laravel"]):not([data-category-1~="PHP/Laravel"]),
[value="C#/.Net"]:checked ~ .posts .post:not([data-category~="C#/.Net"]):not([data-category-2~="C#/.Net"]),
[value="Python"]:checked ~ .posts .post:not([data-category~="Python"]):not([data-category-3~="Python"]),
[value="R"]:checked ~ .posts .post:not([data-category~="R"]):not([data-category-3~="R"]),
[value="Android/Java"]:checked ~ .posts .post:not([data-category~="Android/Java"]):not([data-category-4~="Android/Java"]),
[value="Assembly/AVR"]:checked ~ .posts .post:not([data-category~="Assembly/AVR"]) {
  display: none;
}

/* Modal styles */

/* .modal-content {
  background-color: #fefefe;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin: auto;
  position: relative;
} */

#myModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  padding: 50px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 991.98px) {
  .modal-fullscreen-lg-down .modal-content {
    height: auto !important; /* Override height and set it to auto */
    border: 0;
    border-radius: 0;
  }
}

/* Slider styles */
.slider {
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.btn-close {
  float: right;
}

.note {
  text-align: center;
  padding: 20px;
  margin: 20px 0;
  font-family: 'Roboto-Bold', 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: bold;
  position: relative;
}

.note::before, .note::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 50%;   /* Width of the lines */
  height: 2px;  /* Height of the lines */
  background: #DDC08E;
  transform: translateX(-50%);
}

.note::before {
  top: 0;
}

.note::after {
  bottom: 0;
}

.note p {
  color: #B29970; /* Darker shade of the original color */
  margin: 0;
  padding: 0;
  display: inline-block;
  position: relative;
}

.note p:before, .note p:after {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;   /* Size of the circles */
  height: 10px;  /* Size of the circles */
  background: #DDC08E;
  border-radius: 50%;  /* Makes the shape a circle */
  transform: translate(-50%, -50%);
}

.note p:before {
  left: -15px;
}

.note p:after {
  right: -20px;
}

.post .image-container {
  position: relative;
  overflow: hidden;
}

.post .blurred-image {
  display: block;
  width: 100%; /* Adjust as necessary */
  filter: blur(5px);
  transition: filter 0.3s;
}

.post .in-progress-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2em; /* Adjust as necessary */
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  pointer-events: none; /* Makes it non-clickable */
}

.buzz-wordss{
  margin-left: 50px;
  list-style-type: none; /* Removes default bullet points */
  padding-left: 0; /* Removes default padding */
}

.buzz-wordss li:before {
  content: " — "; /* Adds a dash before each list item */
  padding-right: 5px; /* Adds spacing after the dash */
}