@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
:root {
  --p-color: #ffa500;
  --grey-color: #b9b7b7;
  --hero--color: rgba(4, 4, 4, 0.971);
  --purple--color: rgb(23, 30, 47);
  --bruh--color: rgba(26, 28, 33, 0.7);
  --html--color: rgb(21, 23, 26);
  --nav--color: rgba(126, 123, 123, 0.121);
  --green-color: #4cdc9c;
}
html {
  scroll-behavior: smooth;
}
.all-text {
  font-size: 19px;
  color: var(--grey-color);
}
body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.body-nav {
  /* background-color: rgba(92, 91, 91, 0.7); */

  width: 100%;

  border-radius: 50px;
  /* transition: all 0.6s ease; */
}

.nav-linke {
  color: var(--grey-color);
  text-decoration: none;
  font-size: 19px;
}
@media (min-width: 300px) and (max-width: 405px) {
  .nav-linke {
    font-size: 14px;
  }
}
@media (min-width: 535px) {
  .navbar-nav .nav-linke {
    margin-right: 30px; /* Adjust the value as needed */
    margin-left: 30px; /* Adjust the value as needed */
  }
}
@media (min-width: 300px) and (max-width: 534px) {
  .navbar-nav .nav-linke {
    margin-right: 19px; /* Adjust the value as needed */
    margin-left: 19px; /* Adjust the value as needed */
  }
}

.nav-linke:hover {
  color: white;
}
.nav-linke.scrolled {
  color: white;
}
.nav-linke.scrolled:hover {
  color: white;
}

.navbar {
  background-color: transparent;
  border-radius: 50px;
  transition: all 0.3s ease;
  padding: 20px;
}
.navbar.scrolled {
  border: 2px solid rgba(93, 93, 93, 2);
  border-radius: 50px;

  background-color: var(--nav--color);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}

.hero-home {
  background-image: url(/images/darknight.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  max-height: 600px;
}

.intro {
  font-size: 50px;
  color: white;
}
.intro-span {
  font-size: 50px;
  /* background: -webkit-linear-gradient(#4cdc9c, #41c78a); */
  background: -webkit-linear-gradient(#eee, #4cdc9c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media screen and (max-width: 507px) {
  .intro {
    font-size: 40px;
  }
  .intro-span {
    font-size: 40px;
  }
}
/*
@media (min-width: 420px) and (max-width: 518px) {
  .intro {
    font-size: 35px;
  }
  .intro-span {
    font-size: 35px;
  }
}
@media (min-width: 300px) and (max-width: 419px) {
  .intro {
    font-size: 30px;
  }
  .intro-span {
    font-size: 30px;
  }
} */
.intro-des {
  color: var(--grey-color);
  font-size: 23px;
}

.hero-home::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--bruh--color);
  z-index: -1;
}
.p-color {
  color: var(--p-color);
}
.grey-color {
  color: var(--grey-color);
}
.hr-color {
  color: var(--p-color);
}
body {
  background: var(--html--color);
}
/* .btn-color {
  color: var(--p-color);
  border-color: var(--p-color);
}
.btn-color:hover {
  color: var(--p-color);
  border-color: var(--p-color);
  background-color: var(--grey-color);
} */

.project-links {
  text-decoration: none;
}
.line {
  width: 100%;
  /* Adjust the line thickness as needed */
  border: 2px solid rgba(93, 93, 93, 2); /* Adjust the line color as needed */

  margin: 10px auto; /* Adjust the margin as needed the auto will make the line go to the center*/
}

.hidden {
  display: none;
}
.cus-font {
  font-size: 18px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler {
  border-color: white;
  color: transparent;
}
.raenpic {
  max-width: 100%;
  margin-left: 50px;
}
.about-img {
  border-radius: 10px;
  max-height: 400px;
}
.box-box {
  border: 1px solid var(--p-color);
  border-radius: 10px;
}
.icon {
  font-size: 20px;
  margin-top: 15px;
}
.homepic {
  border-radius: 10px;
  width: 100%;
}
.project-pic {
  border-radius: 10px;
}
.btn:hover {
  background-color: #474747;
  color: white;
}
.btn {
  border-radius: 2px;
}

@media screen and (min-width: 200px) and (max-width: 991px) {
  .homepic {
    margin-top: 40px;
  }
}

.cus-margin {
  padding-top: 100px;
}
.hover-text {
  color: white;
}
.hover-text:hover {
  color: var(--p-color);
}

.hover-text:hover .grow {
  transform: scale(1.3);
  -webkit-transform: scale(1.3);
  -ms-transform: scale(1.3);
}
/* overlay */

/* .main-con {
  position: relative;
}

.image {
  display: block;
  height: auto;
  border-radius: 10px;
  
}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 165, 0, 0.7);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.55s ease;
  border-radius: 10px;
}
.main-con:hover .overlay {
  height: 100%;
} */

.underline-hover {
  margin: 0;
  /* padding: 2px; */
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Add the default line underlay */
.underline-hover::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform 0.3s ease, background-color 0.3s ease; /* Added background-color transition */
}

/* Add the hover effect to reveal the line underlay */
.underline-hover:hover::before {
  transform-origin: bottom left;
  transform: scaleX(1);
  background-color: var(
    --green-color
  ); /* You can change the color as per your preference */
}

/* Add the retraction effect when not hovered */
.underline-hover:not(:hover)::before {
  transform-origin: bottom left;
  transform: scaleX(0);
}
.word-box {
  display: inline-block;
  padding: 5px 10px; /* Adjust padding as needed */
  border: 2px solid rgba(93, 93, 93, 2);
  border-radius: 2px; /* Rounded corners */
  background-color: var(--nav--color); /* Background color */
  margin: 10px 2px 0 0;
}

.word-box-green {
  display: inline-block;
  padding: 5px 10px; /* Adjust padding as needed */
  border: 2px solid var(--green-color); /* Border color */
  border-radius: 2px; /* Rounded corners */
  background-color: #4cdc9b12; /* Transparent background */
  margin: 10px 2px 0 0;
  color: var(--green-color);
}

.card-effect {
  border: 2px solid rgba(93, 93, 93, 2);
  background-color: var(--nav--color);

  border-radius: 2px;
  transition: border 0.3s ease-in-out;
}

.card-effect:hover {
  border: 2px solid rgb(176, 175, 175);
}
.icon-color {
  color: var(--grey-color);
}
.icon-margin {
  margin-right: 5px;
}
.i-hover {
  transition: all 0.3s ease-in-out;
}
.i-hover:hover {
  /* color: white; */
  color: var(--green-color);
}
.project-text {
  color: var(--grey-color);
}
.skill-text {
  margin-right: 10px;
}

@media screen and (min-width: 200px) and (max-width: 475px) {
  .intro-des {
    font-size: 19px;
  }
}
.green {
  color: var(--green-color);
}
.footer-start {
  text-align: start;
}
.footer-end {
  text-align: end;
}
@media screen and (max-width: 767px) {
  .footer-start {
    text-align: center;
  }
  .footer-end {
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .order-bruh-1 {
    order: 1;
  }
  .order-bruh-2 {
    order: 2;
  }
}
/* .footer-icons {
  color: var(--grey-color);
  margin-right: 5px;
}
.footer-icons:hover {
  color: var(--green-color);
} */
.curve-img {
  border-radius: 2px;
}
.card-effect2 {
  border: 2px solid rgba(93, 93, 93, 2);
  background-color: var(--nav--color);

  border-radius: 2px;
  transition: border 0.3s ease-in-out;
}

.card-effect2:hover {
  border: 2px solid rgb(176, 175, 175);
}

@media screen and (max-width: 991px) {
  .carousel-control-next-icon {
    background-color: black;
    border-radius: 100px;
  }
  .carousel-control-prev-icon {
    background-color: black;
    border-radius: 100px;
  }
}
