@font-face {
  font-family: SonoBold;
  src: url("./Assets/Fonts/SonoBold.ttf");
}

@font-face {
  font-family: SonoLight;
  src: url("./Assets/Fonts/SonoLight.ttf");
}

@font-face {
  font-family: SonoExtralight;
  src: url("./Assets/Fonts/SonoExtraLight.ttf");
}

@font-face {
  font-family: SonoRegular;
  src: url("./Assets/Fonts/Sono-Regular.ttf");
}

/*?------------------------------------------------General Styles ----------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: SonoRegular;
}

body {
  filter: none; /* remove the blur effect by default */
  margin: 0;
  background-color: #ffffff;
  color: #000000;
  min-height: 100vh;
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3; /* Adjust opacity to your preference */
  z-index: -1;
}





/* New Loader styles */
.dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #d6d0d0; /* Optional: Add a background color */
  z-index: 9999; /* Ensure it stays on top */
}

.dot {
  height: 10px;
  width: 40px;
  margin-right: 30px;
  border-radius: 10px;
  background-color: #868380;
  animation: pulse 2.5s infinite ease-in-out;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.1s;
}

.dot:nth-child(3) {
  animation-delay: 0.2s;
}

.dot:nth-child(4) {
  animation-delay: 0.3s;
}

.dot:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    background-color: #75706e;
    box-shadow: 0 0 0 0 #968b88;

  }

  50% {
    
    transform: scale(1.2) rotate3d(0, 1, 0, 180deg);
    background-color: #979190;
    box-shadow: 0 0 0 5px #1d1918;
  }

  95% {
    transform: scale(0.8);
    background-color: #94908f;
    box-shadow: 0 0 0 0 #a39d9b;
  }
  100% {
    transform: scale(0.8);
    background-color: #ffffff;
    box-shadow: 0 0 0 0 #806862;
  }
  
}

/* Hide the loader when the page is loaded */
body.loaded .dots-container {
  display: none;
}

/*!------------------------------------------------General Styles ----------------------------------------------- */

/*?------------------------------------------------Header ----------------------------------------------- */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 20rem;
  margin: 0 auto;
  width: 100%;
  position: fixed;
  background-color: #d1d1d1;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  z-index: 1000; /* Ensure the navbar is above other elements */
  filter: none; /* Exclude the navbar from the blur effect */
}

.navbar.Top {
  background-color: white;
  opacity: 1;
}


.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.job-title {
  font-size: 0.875rem;
  color: #503232;
}

.nav-links {
  display: none; /* Hide the nav links by default */
  flex-direction: column;
  gap: 1rem;
}

.nav-links.visible {
  display: flex; /* Show the nav links when the 'visible' class is added */
}

.content{
  filter: none; /* Exclude the content from the blur effect */
  transition: filter 0.3s ease;
}
.content.blur {
  filter: blur(5px); /* Apply the blur effect when the 'blur' class is added */
 
}

.nav-icon {
  cursor: pointer;
  border: none;
  background: local;
}

.nav-links a {
  margin-left: 2rem;
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #a1c4c7;
}

.Drawer-Icon {
  max-width: 100px;
}

/*-------------------------------------------
laptop gimmic
--------------------------------------------- */

.Laptop-nav-container.Hide {
  display: none;
  
}

.Laptop-nav-container.visible {
  display: flex;
  overflow: visible;
  position: fixed;
  margin-top: 12rem;
  padding-right: 15.59rem;
  right: 0; /* Position on right side */
  z-index: 1000;
}
.nav-image-container {
  max-width: fit-content;
}

.Laptop-nav-container {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  text-align: center;
}
.Laptop-nav-container img {
  max-width: 15rem;
}
.nav-image-container img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/*!------------------------------------------------Header----------------------------------------------- */

/*?------------------------------------------------Hero----------------------------------------------- */

.hero {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10rem 2rem 2rem;
  flex-grow: 1;
  min-height: 80vh;
}

.hero-image {
  width: 30rem;
  height: 30rem;
  border-radius: 100%;
  margin: 2rem;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-text {
  padding-right: 50px;
  font-family: SonoRegular;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: normal;
  max-width: 800px;
}

/*!-------------------------------------------------Hero------------------------------------------------ */

/*?-------------------------------------------------Button----------------------------------------------- */

.cta-container a {
  display: block;
  text-decoration: none;
  color: #000000;
}

.cta-button {
  margin-top: 4rem;
  padding: 1rem 2rem;
  background-color: transparent;
  border: 1px solid rgba(46, 75, 80, 0.3);
  border-radius: 50px;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: rgba(59, 119, 121, 0.1);
}
.cta-container {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
/*!-------------------------------------------------Button----------------------------------------------- */
/* ?--------------------------------------------About -------------------------------------------*/
.aboutMain {
  max-width: 150vh;
  text-align: right;
  padding: 20rem 2rem;
  min-height: 70vh;
  margin: 0 auto;
  width: 100%;

}

.about-title {
  font-family: SonoBold;
  font-size: 4rem;
  font-weight: normal;
  margin-bottom: 3rem;
  text-shadow: 2px 10px 20px rgba(20, 20, 20, 0.5);
  letter-spacing: 2px;
  width: 100%;
  text-align: right;
  padding-right: 20%;
}

.about-content {
  max-width: 100%;
  display: flex;
  align-items: center;
  max-width: 800px;
  text-align: left;
  line-height: 1.6;
  font-size: 1.2rem;
}

.about-content p {
  margin-bottom: 2rem;
  font-family: SonoLight;
}
.about-content span {
  font-weight: bold; color: #ff0000;
}

.about-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-grow: 1;
}
.about-bottom img {
  width: 30rem;
  height: 30rem;
  object-fit: contain;
  top: 0;
  left: 0;
  z-index: -1;
}

/* !--------------------------------------------About -------------------------------------------*/

/*?-------------------------------------------------Stack listing----------------------------------------------- */
.stackTitle{
  font-family: SonoBold;
  font-size: 4rem;
  font-weight: normal;
  margin-bottom: 3rem;
  text-shadow: 2px 10px 20px rgba(20, 20, 20, 0.5);
  letter-spacing: 2px;
  width: 100%;
  text-align: center;
}
.stackContainer {
  text-align: center;
  width: 100%;
  padding: 0% 10%;
}

.categories {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 2rem;
}

.category {
  flex: 1;
  margin: 0 4rem;
}

.category-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section {
  display: flex;
  justify-content: space-around;
}

.tech-column {
  text-align: center;
  margin: 0 10px;
  width: 30%;
  height: fit-content;
}

.tech-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
  -webkit-text-stroke: black;
  -webkit-text-stroke-width: 0.001em;
}

.tech-icon {


  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease; /* Add transition for smooth animation */
}

.tech-icon.visible {
  opacity: 1;
  transform: translateY(0);
}

.version-control {
  margin-top: 40px;
  text-align: center;
}

.version-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional styling for the bottom section */
.bottom-section {
  display: block;
  justify-content: space-around;
  margin-top: 20px;
}

.bottom-tech {
  text-align: center;
  margin: 0 10px;
}
.bottom-tech-container {
  padding-top: 20%;
}

/* !-------------------------------------------------stack listing ----------------------------------------------*/

/*?-------------------------------------------------Footer----------------------------------------------- */
.footer {
  padding: 4rem 13rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-left {
  font-size: 0.875rem;
  color: #888888;
  margin-right: 100px;
  /* text-align: center; */
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: #888888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #0fa3b1;
}
/*!-------------------------------------------------Footer----------------------------------------------- */

/* --------------------------------------------Responsive design -------------------------------------------*/
@media (max-width: 768px) {
  .hero {
    text-align: center;

    flex-direction: column;
  }

  .hero-text {
    padding-right: 0px;
  }
  .hero-image {
    max-width: 20rem;
    max-height: 20rem;
    width: 100%;
    height: auto;
  }
  .navbar {
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-around;
  }

  .nav-links a {
    margin-left: 0;
  }

  .hero-text {
    font-size: 1.8rem;
  }

  .about-title {
    text-align: center;
    padding-right: 0px;
  }

  .footer {
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-left {
    margin-right: 0%;
  }
  .about-bottom img {
    max-width: 20rem;
    max-height: 20rem;
    width: 100%;
    height: auto;
  }
}

/*-------------------------------------------
NEXT SIZE
--------------------------------------------- */

@media (max-width: 1320px) {
  .navbar {
    padding: 1.5rem 10%;
  }
  .about-bottom {
    flex-direction: column;
  }
  .about-content {
    text-align: center;
  }
  .about-image-container {
    text-align: center;
  }

  .about-bottom img {
    max-width: 20rem;
    max-height: 20rem;
    width: 100%;
    height: auto;
  }

  .categories {
    flex-direction: column;
    margin-bottom: 20px;
    padding: 0rem;
  }

  .stackContainer {
    text-align: center;
    width: 100%;
    padding: 0% 0%;
  }

  .category {
    flex: 1;
    margin: 0 0;
  }

  .category-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  }

  .section {
    display: flex;
    justify-content: space-around;
  }

  .tech-column {
    text-align: center;
    margin: 0 10px;
    width: 30%;
    height: fit-content;
  }
}

/* --------------------------------------------Responsive design -------------------------------------------*/
