/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #161616;
}

html {
  scroll-behavior: smooth;
}


h1{
  color: white;
}
p{
  color: #898888;
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
  
}

nav {
  justify-content:space-evenly;
  align-items: center;
  height: 17vh;
}
.nav_cont{
  display: flex;
  flex-direction: column;
  background-color: #353434;
  padding: 20px 10px;
  border-radius: 10px;
}
.sub_nav_cont{
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  border-bottom: 2px #9f9e9e solid;  
}
#home{
  background-color: #B7FF00;
  border: none;
  border-radius: 10px;
  color: #333;
}
.sub_nav_cont:hover{
  border-bottom: #B7FF00 solid 2px;
  color: #B7FF00;
  transition: 0.5 s ease-in-out;
}

.nav_txt{
  font-size: 12px;
}
.sub_nav_cont{
  padding: 10px 5px;
  color: #9f9e9e;
}
.sub_nav_cont:last-child{
  border-bottom: none;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-weight: 400;
  list-style: none;
  font-size: 1.5rem;
}
.sample_exp_cont{
  background-color: #161616;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  color: #B7FF00;
  margin: 0 25px;
  padding: 20px;
}
.sample_exp_cont p{
  color: #898888;
  font-size: 12px;
}
a {
  text-decoration: none;
}

.logo_container{
  display: flex;
  justify-content: space-between;
  padding: 50px 55px  0  50px;
  background-color: #252525;
}
.main_logo {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2.7rem;
  font-weight: 600;
  color: #fff;
}

.main_logo:hover {
  cursor: default;
}
.social_cont{
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 50px;
  cursor: pointer;
}
.social_cont i:hover{
  color: #fff;
}
.guster{
  font-size: 32px;
  cursor: pointer;
}
#home_page_container{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: auto;
  padding: 50px 0 130px 0;
  background-color: #252525;
}
.cta{
  font-family: 600;
  cursor: pointer;
  padding: 11px 25px;
  border-radius: 2rem;
  transition: all 0.3s ease 0s;
  margin-right: 60px;
  font-size: medium;
  position: relative;
  z-index: 0;
  border: none;
  outline: none;
  
}
@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

.cta::before {
  content: "";
  background: linear-gradient(
    45deg,
    #FF0000, #FF7300, #FF00C8, #FF0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  filter: blur(8px);
  animation: glowing 20s linear infinite;
  transition: opacity .3s ease-in-out;
  border-radius: 15px;
  opacity: 0.6;
}
/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: white;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: transparent;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  font-weight: 400;
  justify-content: space-evenly;
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* PROFILE SECTION */
.box {
  position: relative;
  width: 370px;
  height: 370px;
  background: rgb(0, 0, 0, 0.5);
  border-radius: 50%;
  overflow: hidden;
}

.box::before {
  content: "";
  position: absolute;
  inset: -10px 140px;
  background: linear-gradient(315deg, #B7FF00, #B7FF00);
  transition: 0.5s;
  animation: animate 4s linear infinite;
}

.box:hover::before {
  inset: -20px 0px;
}

@keyframes animate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.box::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: #161616;
  border-radius: 50%;
  z-index: 1;
}

.content {
  position: absolute;
  inset: 10px;
  border: 3px solid #FFF;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Keep content centered */
}

.content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  pointer-events: none;
}

.box:hover .content img{
  opacity: 0;
}
.circle-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  
}

.non-link{
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-weight: bold;
}



.section__pic-container {
  display: flex;
  /* height: 400px; */
  /* width: 400px; */
  margin: auto 0;
}

.section__text {
  width: 400px;
  align-self: center;
  text-align: start;
}

.section__text p {
  width: 100%;
  font-weight: lighter;}

.section__text__p1 {
  color: #898888;
  font-size: 1rem;
  width: 100%;

}
.section__text__p3{
  width: 100%;
  color: #898888;
  font-size: 14px;
  line-height: 28px;
}

.section__text__p2 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
  color: white;
}

.title {
  font-size: 2rem;
  color: #B7FF00;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}
.about-me-p{
  color: white;
}

.section__pic-container_2 {
  height: 400px;
  width: 330px;
}
/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  margin-top: 35px;
  display: flex;
  gap: 1rem;
}

.btn {
  font-family: 600;
  padding: 10px 22px;
  outline: none;
  border-radius: 2rem;
  border: none;
  position: relative;
  border-radius: 12px;
  cursor: pointer;
}
.btn-color-1{
  color: white;
  font-size: bold;
  background-color: #B7FF00;
  color: #333;
  font-weight: bold;
  font-size: 18px;

}
.btn-color-2{
  color: #898888;
  font-size: bold;
  background: transparent;
  border: 0.5px solid #fff;
}


.btn-container {
  gap: 2rem;
}


/* ABOUT SECTION */

#about {
  /* position: relative; */
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #161616;

}
.section-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;  

} 


.about-details-container {
  width: 400px;
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;

  
}

.about-pic {
  display: grid;
  align-items: center;  
  border-radius: 10px;
  width: 100%;
}



.about-details-container{
  width: 500px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.about_title{
  color: #fff;
}
.about_lists{
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #fff;
  margin-bottom: 10px;
}
.about-me-p{
  width: 100%;
  font-weight: lighter;
  color: #898888;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 10px;
}
.contact_catagory{
  display: flex;
  /* justify-content: space-evenly; */
  width: 450px;
  gap: 1rem;
  padding: 10px;
  background-color:#353434;
  border-radius: 10px;
}
.contact_catagory_cont{
  display: flex;
  justify-content: center; 
  align-items: center;
  color: #fff;
  gap: 1rem;
  
}
.contact_cat_png{
  background-color: #B7FF00;
  color: #161616;
  padding: 10px 13px;
  border-radius: 50%;
}

/* services */
#services{
  padding:70px 0 130px 0;
  background-color: #212121ea;
}
.service_box{
  margin-top: 50px;
  padding: 0 15%;
  width: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  /* justify-content: center; */
  /* align-items: center; */

}
.service_box_1{
  cursor: pointer;
  padding: 7px 15px;
  border:#999999 solid 1px;
  /* background-color: #353434; */
  border-radius: 30px;
  display: flex;
  gap: 1rem;
  color: #dad9d9
}
.service_box_1:hover{
  border:#B7FF00 solid 1px;
  transition: 0.5 s ease-in-out;
}
#icon_s{
  background-color: #B7FF00;
  color: #333;
  padding: 10px;
  border-radius: 50%;
  margin-top: 8px;
}


/* experiance */
#experiance {
  padding:120px 0 0  0;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.first_exp_cont{
  width: 460px;
}

.second_exp_cont{
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;

}
.exp_box{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  height: auto;
  border: 1px solid #535252;
  border-radius: 10px;
  padding: 10px;
}
.exp_img{
  width: 40px;
}
.exp_img img{
  width: 100%;
  height: 100%;
}
.exp_btn{
  padding: 10px;;
  font-size: bold;
  background-color: #B7FF00;
  border-radius: 15px;
  border: none;
  color: #333;
  font-weight: bold;
  font-size: 18px;

}

/* Project show */
#project{
  padding:50px 0;
  background-color: #1c1c1c;
  margin: 200px 0;
}
.project_title_1 {
  text-align: center;
}
.project_title_2{
  text-align: center;
}
.project_box_container{
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}
.project_box_1{
  width: 350px;
  height: auto;
}
.project_box_1 img{
  width: 100%;
  height: 100%;
}
.project_box_2{
  width: 350px;
  height: auto;
}
.project_box_2 h2 {
  font-size: 18px;
  padding: 0 5px;

}
.project_box_2 p{
  font-size: 14px;
  padding: 0 5px;
}
.project_box_2 h2{
  color: #fff;
  margin-bottom: 10px;
}
.project_box_2{
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
.project_btn{
  margin-top: 30px;
  display: flex;
  justify-content: center;

}

/* contact */
#contact{
  padding:0 0 220px 0;
  background-color: #161616;
}
.contact_container{
  display: flex;
  justify-content: center;
}
.contact_cont_2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 200px;
  align-items: center;
  justify-content: center;
}
.special_grid{
  grid-column: span 2;
}
.last_cont{
  background: transparent;
  border:#636262 solid 0.5px;
  border-radius: 10px;
  padding: 15px 10px 15px 10px;
  outline-color: #B7FF00;
  color: #fff;
}
input{
  color: #fff;
}
.contact_cont_1{
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact_cont_1 p{
  font-size: 14px;
}
.lable_style{
  background: transparent;
  border:#636262 solid 0.5px;
  border-radius: 10px;
  padding: 15px 10px 15px 10px;
  outline-color: #B7FF00;
  color: #fff;
  width: 250px;

}
.contact_grid p{
  font-size: 14px;
}
.contact_grid{
  display: grid;
  gap: 10px;
  color: #606060;
}