section {
  padding: 10rem 9% 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  background-image: url("/swizfcodes-website/photos/swizf-bck5.png");
  background-repeat: no-repeat;
  background-position: top right; 
  background-size: contain;
} 

.home{
  padding: 0 9%;
}

.home-content{
  margin-top: 10%;
  max-width: 57rem;
  margin-bottom: 20%;
}

.home-content h1{
  position: relative;
  display: inline-block;
  font-size: 6.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-content p{
  position: relative;
  font-size: 2.4rem;
  margin: 2rem 0 4rem;
}

.text-animate{
  position: relative;
}

.text-animate h3{
  font-size: 3.7rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: .7px var(--main-color);
  background-image: linear-gradient(var(--main-color), var(--main-color));
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-position: 0 0;
  animation: homeBgText 6s  linear infinite;
  animation-delay: 2s;
}


.text-animate h3::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-right: 2px solid var(--main-color);
  z-index: -1;
}

.btn-box{
  position: relative;
  display: flex;
  gap: 5rem;
  height: 5rem;
}

.btn-box a{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15rem;
  height: 100%;
  background: var(--main-color);
  border: 2px solid var(--main-color);
  border-radius: 12px;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--bg-color);
  z-index: 1;
  overflow: hidden;
  transition: .5s;
}

.btn-box a:nth-child(2){
  background: transparent;
  color: var(--main-color);
}

.btn-box a:nth-child(2):hover{
  color: var(--bg-color);
}

.btn-box a:nth-child(2)::before{
  background: var(--main-color);
}

.btn-box a::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--bg-color);
  z-index: -1;
  transition: .5s;
}

.btn-box a:hover::before{
  width: 100%;
}

.home-links{
  margin-top: 120px;
  width: 170px;
  display: flex;
  justify-content: space-between;
}

.home-links a{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  font-size: 20px;
  color: var(--main-color);
  z-index: 1;
  overflow: hidden;
  transition: 0.5s;
}

.home-links a:hover{
  color: var(--bg-color);
}

.home-links a::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--main-color);
  z-index: -1;
  transition: .5s;
}

.home-links a:hover::before{
  width: 100%;
}


.home-imgHover{
  position: absolute;
  top: 110px;
  right: 0;
  background: transparent;
}

.home-imgHover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
  transition: .5s;
  background: var(--bg-color);
  display: none;
}

.home-imgHover:hover{
  background: var(--bg-color);
  opacity: .8;
}

.projects{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-bottom: 1%;
}

.my-projects-header{
  margin-bottom: 3%;
 
}

.my-projects-header h3{
  font-size: 3.7rem;
  margin-bottom: 3%;
  text-align: center;
}

.projects-grid {
  display: grid;
  gap: 1.5rem;
  padding: 10px;
  row-gap: 50px;
  grid-template-columns: repeat(3, 1fr);
  width: 100%; /* Optional: adjust if needed */
}

.neon-project-card {
  position: relative;
  width: 100%;
  max-width: 550px;
  height: 350px;
  background-color: var(--second-bg-color);
  color: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.project-title {
  z-index: 2;
  font-weight: bold;
  pointer-events: none;
  transition: transform 0.4s ease;
  color: var(--text-color);
  font-size: 2.5rem;
}

.project-title {
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 10px #a3a5a5, 0 0 20px #ecf3f3;
  animation: floatGlow 1s ease-in-out infinite;
  opacity: 0;
  transform: scale(0.8) rotateX(90deg);
  transition: all 0.8s ease-in-out;
  will-change: transform, opacity;
}

/* Scroll-triggered entrance animation */
.project-title.animate {
  opacity: 0.7;
  transform: scale(1) rotateX(0deg);
}


.project-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/swizfcodes-website/photos/Capture5.PNG'); /* Replace with your image */
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.2);
  filter: blur(8px);
  transition: all 0.5s ease-in-out;
  z-index: 0;
}

.project-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  opacity: 0;
  transform: translateY(20px) !important;
  transition: all 0.4s ease;
  z-index: 2;
}

.project-description {
  font-size: 17px;
  color: rgb(26, 27, 27);
  text-shadow: 0 0 5px rgb(50, 53, 53), 0 0 10px #0ff;
}

.project-title.animate {
  opacity: 1;
  animation: floatGlow 2s ease-in-out infinite;
  transform: scale(0.8) rotateX(90deg);
  transition: transform 0.4s ease;
}


/* Hover Effects */
.neon-project-card:hover .project-bg {
  opacity: 1;
  transform: scale(1.05);
  filter: blur(4px);
}

.neon-project-card:hover .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

.neon-project-card:hover {
  border-color: #0ff;
  box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

.neon-project-card:hover .project-title {
  transform: translateY(-80px) !important;
}

.neon-project-card:hover .project-bg,
.neon-project-card.touch-active .project-bg {
  opacity: 1;
  transform: scale(1.05);
  filter: blur(4px);
}

.neon-project-card:hover .project-overlay,
.neon-project-card.touch-active .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

.neon-project-card:hover {
  border-color: #0ff;
  box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

.neon-project-card:hover .project-title,
.neon-project-card.touch-active .project-title {
  transform: translateY(-80px) !important;
}

.neon-project-card {
  transition: transform 0.6s ease;
   transition: transform 0.6s ease, box-shadow 0.3s ease;
  transform-origin: center
}

.neon-project-card.jumping {
  animation: jump 0.6s ease;
}

.blog-div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: start;
}

.blogs-articles-header h3{
  font-size: 3.7rem;
  margin-bottom: 3%;
  text-align: start;
}

.blogs-articles{
  background: url("/swizfcodes-website/photos/blog4.jpg") no-repeat;
  background-size: cover;
  display: flex;
  flex-wrap: wrap;
  font-size: 30px;
  padding: 30px;
  border-radius: 25px;
  font-weight: 500;
  justify-content: center;
}

.blog-article p{
  font-size: 2.4rem;
}

.blog-article h4{
  font-size: 3.2rem;
  margin-bottom: 2%;
}

/*.design-with-us{
  margin-top: 10%;
  width: 60%;
  display: flex;
  justify-content: space-between;
}

.web3-contact{
  display: flex;
  flex-direction: column;
  width: 65%;
}

.we3-port{
  width: 50%;
}

.design {
  width: 100rem;
  height: 40rem;
}

.contact-link{
  margin-top: 3%;
  font-size: 3rem;
  font-weight: 700;
}

.design img{
  width: 60%;
  height: 60%;
  border-radius: 50%;
  margin-top: -15%;
}*/





aboutsection{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 32px;
  min-height: 100vh;
  padding: 160px 9% 32px;
  background: var(--second-bg-color);
}

aboutsection h2{
  font-size: 80px;
  margin-bottom: 48px;
  text-align: center;
}

span{
  color: var(--main-color);
}

.about-img{
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.about-img img{
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 4px solid var(--main-color);
}

.circle-spin{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid var(--main-color);
  border-right: 4px solid var(--main-color);
  animation: aboutSpinner 8s linear infinite;
}

.about-content{
  text-align: center;
}

.about-content h3{
  font-size: 50px;
  color: transparent;
  -webkit-text-stroke: .7px var(--text-color);
}

.about-content p{
  font-size: 30px;
  margin: 32px 0 64px;
}


.btn-box.about{
  display: flex;
  justify-content: center;
}

.btn-box.about a ::before{
  background: var(--second-bg-color);
}

education{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 32px;
  min-height: 100vh;
  padding: 160px 9% 32px;
  background: var(--bg-color);
}

education h2{
  font-size: 80px;
  margin-bottom: 48px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.education-row{
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
}

.education-column{
  flex: 1 1 480px;
}

.work-experience{
  font-size: 40px;
  margin: 0 0 25px 32px;
  color: transparent;
  -webkit-text-stroke: .7px var(--text-color);
}

.education-box{
  border-left: 2px solid var(--main-color);
}

.education-content{
  position: relative;
  padding-left: 32px;
}

.education-content::before{
  content: "";
  position: absolute;
  top: 0;
  left: -1.2rem;
  width: 22px;
  height: 22px;
  background: var(--main-color);
  border-radius: 50%;
}


.content{
  position: relative;
  padding: 25px;
  border: 2px solid var(--main-color);
  line-height: 1.5;
  border-radius: 10px;
  margin-bottom: 30px;
  z-index: 1;
  overflow: hidden;
}

.content::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--second-bg-color);
  z-index: -1;
  transition: .5s;
}

.content:hover::before{
  width: 100%;
}

.content h3{
  font-size: 38px;
}

.content p{
  font-size: 25px;
  padding-top: 8px;
}

.year{
  font-size: 14px;
  color: var(--main-color);
  padding-bottom: 8px;
}

.year p{
  padding-right: 8px;
}

skills{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 32px;
  min-height: 100vh;
  padding: 160px 9% 32px;
  background: var(--second-bg-color);
}

.skills-row{
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  
}

skills h2{
  font-size: 80px;
  margin-bottom: 48px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.skills-column{
  flex: 1 1 480px;
  width: 680px;
}

.my-skills{
  font-size: 40px;
  margin: 0 0 25px;
  color: transparent;
  -webkit-text-stroke: .7px var(--text-color);
}

.skills-box .skills-content{
  position: relative;
  border: 2.2px solid var(--main-color);
  border-radius: 10px;
  padding: 8px 25px;
  z-index: 1;
  overflow: hidden;
}

.skills-box .skills-content::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--text-color);
  z-index: -1;
  transition: .5s;
}

.skills-content:hover::before{
width: 100%;
}

.progress{
  padding: 16px 0;
}

.progress h3{
  font-size: 27px;
  display: flex;
  justify-content: space-between;
}

.bar{
  height: 40px;
  border-radius: 10px;
  border: 4px solid var(--main-color);
  margin: 16px 0;
}

.bar span{
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--bg-color);
}

.skills-column:nth-child(1) .progress:nth-child(1) .bar span{
  position: relative;
  border-radius: 10px;
  padding: 8px 25px;
  z-index: 1;
  overflow: hidden;
  width: 90%
}

.skills-column:nth-child(1) .progress:nth-child(1) .bar span::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(70, 69, 69);
  z-index: -1;
  transition: .5s;
}

.skills-column:nth-child(1) .progress:nth-child(1) .bar span:hover::before{
  width: 100%;
}

.skills-column:nth-child(1) .progress:nth-child(2) .bar span{
  position: relative;
  border-radius: 10px;
  padding: 8px 25px;
  z-index: 1;
  overflow: hidden;
  width: 90%
}

.skills-column:nth-child(1) .progress:nth-child(2) .bar span::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(70, 69, 69);
  z-index: -1;
  transition: .5s;
}

.skills-column:nth-child(1) .progress:nth-child(2) .bar span:hover::before{
  width: 100%;
}

.skills-column:nth-child(1) .progress:nth-child(3) .bar span{
  position: relative;
  border-radius: 10px;
  padding: 8px 25px;
  z-index: 1;
  overflow: hidden;
  width: 60%
}

.skills-column:nth-child(1) .progress:nth-child(3) .bar span::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(70, 69, 69);
  z-index: -1;
  transition: .5s;
}

.skills-column:nth-child(1) .progress:nth-child(3) .bar span:hover::before{
  width: 100%;
}

.skills-column:nth-child(1) .progress:nth-child(4) .bar span{
  position: relative;
  border-radius: 10px;
  padding: 8px 25px;
  z-index: 1;
  overflow: hidden;
  width: 50%
}

.skills-column:nth-child(1) .progress:nth-child(4) .bar span::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(70, 69, 69);
  z-index: -1;
  transition: .5s;
}

.skills-column:nth-child(1) .progress:nth-child(4) .bar span:hover::before{
  width: 100%;
}

.skills-column:nth-child(2) .progress:nth-child(1) .bar span{
  position: relative;
  border-radius: 10px;
  padding: 8px 25px;
  z-index: 1;
  overflow: hidden;
  width: 80%
}

.skills-column:nth-child(2) .progress:nth-child(1) .bar span::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(70, 69, 69);
  z-index: -1;
  transition: .5s;
}

.skills-column:nth-child(2) .progress:nth-child(1) .bar span:hover::before{
  width: 100%;
}

.skills-column:nth-child(2) .progress:nth-child(2) .bar span{
  position: relative;
  border-radius: 10px;
  padding: 8px 25px;
  z-index: 1;
  overflow: hidden;
  width: 70%
}

.skills-column:nth-child(2) .progress:nth-child(2) .bar span::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(70, 69, 69);
  z-index: -1;
  transition: .5s;
}

.skills-column:nth-child(2) .progress:nth-child(2) .bar span:hover::before{
  width: 100%;
}

.skills-column:nth-child(2) .progress:nth-child(3) .bar span{
  position: relative;
  border-radius: 10px;
  padding: 8px 25px;
  z-index: 1;
  overflow: hidden;
  width: 60%
}

.skills-column:nth-child(2) .progress:nth-child(3) .bar span::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(70, 69, 69);
  z-index: -1;
  transition: .5s;
}

.skills-column:nth-child(2) .progress:nth-child(3) .bar span:hover::before{
  width: 100%;
}

.skills-column:nth-child(2) .progress:nth-child(4) .bar span{
  position: relative;
  border-radius: 10px;
  padding: 8px 25px;
  z-index: 1;
  overflow: hidden;
  width: 75%
}

.skills-column:nth-child(2) .progress:nth-child(4) .bar span::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(70, 69, 69);
  z-index: -1;
  transition: .5s;
}

.skills-column:nth-child(2) .progress:nth-child(4) .bar span:hover::before{
  width: 100%;
}

contact{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 32px;
  min-height: 100vh;
  padding: 160px 9% 32px;
}

contact h2{
  font-size: 80px;
  margin-bottom: 48px;
  text-align: center;
}

form{ 
  max-width: 4200px;
  margin: 0 auto;
  text-align: center;
}

.input-box{
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.input-field{
  position: relative;
  width: 49%;
  margin: 13px 0;
}

.input-field input, 
.text-field textarea{
  width: 100%;
  height: 100%;
  padding: 25px;
  font-size: 26px;
  color: var(--text-color);
  background: transparent;
  border-radius: 10px;
  border: 4px solid var(--main-color);
}

.input-field input::placeholder, 
.text-field textarea::placeholder{
  color: var(--text-color);
}

form .focus{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--second-bg-color);
  z-index: -1;
  border-radius: 10px;
  transition: 0.5s;
}

.input-field input:focus~.focus,
.input-field input:valid~.focus,
.text-field textarea:focus~.focus,
.text-field textarea:valid~.focus{
  width: 100%;
}

.text-field{
  position: relative;
  margin: 10px 0 45px;
  display: flex;
}

.text-field textarea{
  resize: none;
}

.btn-box.contact{
  display: inline-block;
  width: 240px;
}


.tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.twitter-handle {
  color: #1DA1F2;
  text-decoration: none;
  font-weight: 600;
}

.tooltip-box {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: white;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 250px;
  z-index: 100;
}

.tooltip-wrapper:hover .tooltip-box {
  display: block;
}

.profile-header {
  display: flex;
  align-items: center;
}

.profile-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.profile-info h3 {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

.profile-info p {
  margin: 0;
  font-size: 12px;
  color: #777;
}

.profile-bio {
  margin-top: 10px;
  font-size: 13px;
}

.profile-footer {
  margin-top: 10px;
  font-size: 11px;
  color: #aaa;
}

/* Optional arrow */
.tooltip-box::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.facebook-name {
  color: #1877F2;
  font-weight: 600;
  text-decoration: none;
}

.tooltip-box {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 280px;
  z-index: 100;
}

.tooltip-wrapper:hover .tooltip-box {
  display: block;
}

.profile-header {
  display: flex;
  align-items: center;
}

.profile-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
}

.profile-info h3 {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  text-align: left;
}

.profile-info p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #666;
}

.profile-bio {
  margin-top: 10px;
  font-size: 13px;
}

.profile-footer {
  margin-top: 10px;
  font-size: 12px;
  color: #999;
}

.tooltip-box::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}


.tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.whatsapp-name {
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
}

.tooltip-box {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: #fff;
  color: #222;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 15px;
  width: 250px;
  z-index: 100;
}

.tooltip-wrapper:hover .tooltip-box {
  display: block;
}

.profile-header {
  display: flex;
  align-items: center;
}

.profile-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
}

.profile-info h3 {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
}

.profile-info p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #555;
}

.profile-status {
  margin-top: 10px;
  font-size: 13px;
  color: #444;
  font-style: italic;
}

.profile-footer {
  margin-top: 10px;
  font-size: 12px;
  color: #888;
}

.tooltip-box::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}

/* Animate Reload and Scroll*/
.animation {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: 1002;
}

.portfolio-logo .animation.scroll,
 nav .animation.animation.scroll,
.bx-menu .animation.scroll,
.home.show-animation .animation.scroll,
.projects.show-animation .animation.scroll,
.my-projects-header.show-animation .animation.scroll,
.projects-grid.show-animation .animation.scroll,
.neon-project-card.show-animation .animation.scroll,
.blog-div.show-animation .animation.scroll,
.blogs-articles-header.show-animation .animation.scroll,
.blog-article.show-animation .animation.scroll,
.home-links .animation.scroll,
.aboutsection.show-animation .animation.scroll,
.home-content .animation.scroll,
.button-group .animation.scroll{
  animation: showRight 1s ease forwards;
  animation-delay: calc(0.3s * var(--i));
}

.animation.scroll{
  animation: none;
}

.projects,
.projects-grid,
.neon-project-card,
.my-projects-header,
.blog-div,
.blogs-articles-header,
.blog-article{
  position: relative;
  overflow: hidden;
}

.button-group {
  display: flex;
  position: relative;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 10%;
}

.button-group span{
  font-size: 2.2rem;
  color: var(--text-color);
}

.btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.btn:hover .icon {
  transform: rotate(-5deg) scale(1.1);
}

/* GitHub Style */
.github {
   background: linear-gradient(135deg, var(--main-color), var(--bg-color));
  color: #fff;
  border: none;
}

.github:hover {
  background: linear-gradient(135deg, var(--bg-color), var(--main-color));
}

/* Web3 Style */
.web3 {
  background: linear-gradient(135deg, var(--second-bg-color), var(--main-color));
  color: #fff;
  border: none;
}

.web3:hover {
  background: linear-gradient(135deg, var(--main-color), var(--bg-color));
}






/*KEY FRAMES*/

@keyframes showRight {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}


@keyframes homeBgText{
  0%,
  10%,
  100%{
    background-position: -63rem 0;
  }

  65%,
  85%{
    background-position: 0 0;
  }
}

/* Constant animation (floating + glowing) */
@keyframes floatGlow {
  0%, 100% {
    transform: translateY(0) scale(1);
    text-shadow: 0 0 10px #6f7474, 0 0 20px #5b5f5f;
  }
  50% {
    transform: translateY(-10px) scale(1.05);
    text-shadow: 0 0 20px #838183, 0 0 40px #757275;
  }
}

@keyframes jump {
  0%   { transform: translateY(0) rotate(0deg) scale(1); }
  30%  { transform: translateY(-20px) rotate(3deg) scale(1.05); }
  60%  { transform: translateY(5px) rotate(-3deg) scale(0.98); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@keyframes aboutSpinner {
  100%{
    transform: translate(-50%, -50%) rotate(360deg);
  }
}






/* Screen Sizes*/
@media (min-width: 1800px) {
  html {
    font-size: 90%;
  }

  .home,
  .my-portfolio-header,
  .footer {
    padding: 0 15%;
  }

  .home-content{
    padding-top: 10%;
  }

  .home-content p{
    font-size: 2rem;
  }

  .blog-article p{
    font-size: 2rem;
  }
}

@media (max-width: 1799px) and (min-width: 1500px){
   html {
    font-size: 70%;
  }

  .home-content{
    padding-top: 10%;
  }
}

@media (max-width: 1499px) and (min-width: 1300px){
   html {
    font-size: 60%;
  }

  .home-content{
    padding-top: 10%;
  }
}

@media (max-width: 1299px) and (min-width: 1201px){
   html {
    font-size: 60%;
  }

  .home-content{
    padding-top: 10%;
  }
}



@media (max-width: 1199px) and (min-width: 1025px){
  html {
    font-size: 56%;
  }

  .home-content{
    padding-top: 10%;
  }

  .home-content p{
    max-width: 100%;
    overflow-y: hidden;
  }


  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%; /* Optional: adjust if needed */
  }

    
  .project-title {
    z-index: 2;
    font-weight: bold;
    pointer-events: none;
    transition: transform 0.4s ease;
    color: var(--text-color);
   
  }

  .neon-project-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .neon-project-card{
    width: 100%;
    max-width: 550px;
    height: 350px;
    gap: 10px;
  }

      
 
    .blogs-articles-header{
      text-align: start;
    }

    .blog-article h4{
      
      margin-bottom: 10px;
    }
  
}

/*@media (max-width: 1190px) and (min-width: 850px) {
  .home-content h1{
    font-size: 60px;
    margin-top: -140px;
  }

  .text-animate h3{
    font-size: 40px;
  }

  .home-content p{
    font-size: 25px;
    max-width: 65%;
    overflow: hidden;
    max-width: 70%;
  }

  .home-imgHover img{
    width: 100%;
    height: 100%;
    transition: .8s;
    background: var(--bg-color);
  }

  
.home-imgHover{
  position: absolute;
  top: 110px;
  right: 0;
  width: 34%;
  height: 50%;
  background: transparent;
}

  .home-imgHover:hover{
    background: var(--bg-color);
    opacity: .8;
  }

  
  .project-title {
    z-index: 2;
    font-weight: bold;
    pointer-events: none;
    transition: transform 0.4s ease;
    color: var(--text-color);
    font-size: 27px !important;
  }

  .projects-grid {
      grid-template-columns: repeat(2, 1fr);
      width: 100%; 
    }

    
  .my-projects-header h3{
    font-size: 4.5rem;
 }

    .blogs-articles-header{
      text-align: start;
    }
  
    .blogs-articles-header h3{
      font-size: 4.5rem;
      margin-bottom: 5%;
      text-align: start;
    }
  
    .blog-article p{
      font-size: 22px;
    }
  
    .blog-article h4{
      font-size: 27px;
      margin-bottom: 10px;
    }
  
}*/

@media (max-width: 1024px) and (min-width: 900px){
 
  html {
    font-size: 54%;
  }

  
  .home,
  .my-portfolio-header,
  .footer-text {
    padding-left: 4%;
  }

  .home-content{
    padding-top: 10%;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%; /* Optional: adjust if needed */
  }

  .project-title {
    z-index: 2;
    font-weight: bold;
    pointer-events: none;
    transition: transform 0.4s ease;
    color: var(--text-color);
  }

  .neon-project-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .neon-project-card{
    width: 100%;
    max-width: 350px;
    max-height: 250px;
  }

  
  .my-projects-header h3{
    font-size: 3.5rem;
 }

  .blogs-articles-header{
    text-align: start;
  }

  .blogs-articles-header h3{
    font-size: 3.5rem;
    margin-bottom: 3%;
    text-align: start;
  }

  .blog-article h4{
    margin-bottom: 3%;
  }

  .btn-box a {
    padding: 10px;
  }

  .btn-box {
    height: auto;
    gap: 20px;
  }


  .about-img img {
    width: 90%;
  }

  .education-box,
  .skills-row {
    flex-direction: column;
  }

  .education-column,
  .skills-column {
    width: 100%;
  }

  .education-content::before{
    content: "";
    position: absolute;
    top: 0;
    left: -0.9rem;
    width: 22px;
    height: 22px;
    background: var(--main-color);
    border-radius: 50%;
  }

  .content p{
    font-size: 20px;
  }

  .skills-box {
    padding: 16px;
    width: 680px;
  }

  .skills-content {
    padding: 12px;
  }

  .contact form .input-box {
    flex-direction: column;
    gap: 20px;
  }

  .contact form .input-box input {
    width: 100%;
  }

  .contact form textarea {
    height: 150px;
  }
}

/*@media (min-width: 769px) and (max-width: 1023px) {
  
  .my-projects-header h3{
    text-align: start;
    font-size: 2.5rem;
  }

  .projects-grid {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 10px;
  }

  .neon-project-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .home-content h1 {
    font-size: 2.5rem;
    margin-top: -7%;
    color: purple;
  }

  .home-content h3 {
    font-size: 2rem;
  }

  .home-content p{
    font-size: 1.2rem;
    overflow: hidden;
    max-width: 100%;
    color:red
  }

  .neon-project-card{
    width: 100%;
    max-width: 350px;
    max-height: 250px;
  }

  .blogs-articles-header{
    text-align: start;
  }

  .blogs-articles-header h3{
    font-size: 2.5rem;
    margin-bottom: 5%;
    text-align: start;
  }

  .blog-article p{
    font-size: 1.2rem;
    color: var(--text-color);
  }

  .blog-article h4{
    font-size: 27px;
    margin-bottom: 10px;
  }
}*/

/*@media (min-width: 650px) and (max-width: 850px) {
  .home-content h1{
    margin-top: -150px;
  }
  
 .home-content p{
    font-size: 1.2rem;
    overflow: hidden;
    max-width: 65%;
  }

  .home-imgHover:hover{
    background: var(--bg-color);
    opacity: .8;
    display: none;
  }
  .projects-grid {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 10px;
  }
  .neon-project-card {
  flex: 0 0 80%;
  scroll-snap-align: start;
  }

  .neon-project-card{
    width: 100%;
    max-width: 350px;
    height: 250px;
  }
}*/

@media (max-width: 899px) and (min-width: 768px){
  html{
    font-size: 48%;
  }
  .home-content{
    padding-top: 10%;
  }

  .home,
  footer,
  .my-portfolio-header{
    padding: 0 2%;
  }

  section{
    padding: 2rem 2%;
  }


  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%; /* Optional: adjust if needed */
  }
}





/* Small Screens (Phones and small tablets) */
@media (max-width: 768px) {
  html {
    font-size: 65%;
  }

  body {
    margin: 8px;
    padding: 8px;
    overflow-x: hidden;
    width: 100%;
  }

  .home {
    display: flex;
    padding: 8px;
    text-align: start;
    width: 100% !important;
    box-sizing: border-box;
    background: var(--bg-color);
  }

  
    
  .home-imgHover{
    position: absolute;
    left: 1rem;
    top: 20rem;
    max-width: 23rem;
    max-height: 40px;
  }
  
  .home-imgHover img{
   
    transition: .8s;
    background: var(--bg-color);
    display: block !important;
  }

  .my-projects-header h3{
    font-size: 2.5rem;
    text-align: start;
    color: var(--text-color);
  }

  .projects-grid {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
  }

  .neon-project-card{
    width: 100%;
    max-width: 350px;
    height: 250px;
  }

  .neon-project-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .project-title {
    z-index: 2;
    font-size: 1.8rem;
    font-weight: bold;
    pointer-events: none;
    transition: transform 0.4s ease;
    color: var(--text-color);
    font-size: 20px;
  }

  .blog-div{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin-top: 100px;
  }
  
  .blogs-articles-header h3{
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: start;
  }
  
  .blogs-articles{
    background: url("/swizfcodes-website/photos/background-2.png") no-repeat;
    background-size: contain;
    display: flex;
    padding: 30px;
    border-radius: 25px;
    font-weight: 500;
    justify-content: center;
    margin-top: 30px;
  }

  .blog-article p{
    font-size: 1.7rem;
  }

  .blog-article h4{
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  

  section, 
  aboutsection, 
  education, 
  skills, 
  contact {
   margin-top: 100px;
  }

  .home-img img {
    width: 100%;
  }

  .home-content {
    padding: 1rem;
    width: 100% !important;
  }

  .home-content h1 {
    font-size: 5rem;
    margin-left: 21rem;
    max-width: 35rem;
    margin-top: 5rem;
  }

  .home-content h3 {
    font-size: 4rem;
    margin-bottom: 5rem;
    margin-top: 5rem;
  }

  .home-content p {
    display: block;
    font-size: 1.7rem;
    text-align: start;
    width: 100% !important;
    line-height: 1.5;
    margin-top: 4%;
    margin-bottom: 7%; 
  }

  .btn-box, 
  .btn-box.contact {
    display: flex;
    justify-content: start;
  }

  .btn-box {
    gap: 16px;
    width: 60%;
  }

  .btn-box a {
    text-align: center;
    font-size: 2rem;
  }

  .social-media {
    justify-content: center;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    width: 90%;
    margin: 0 auto;
  }

  .about-content h2 {
    font-size: 36px;
  }

  .education-content::before{
    content: "";
    position: absolute;
    top: 0;
    left: -0.9rem;
    width: 22px;
    height: 22px;
    background: var(--main-color);
    border-radius: 50%;
  }

  .skills-content .progress h3 {
    font-size: 16px;
  }

  .skills-column{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }

  .skills-box{
    padding: 16px;
    width: 100%;
  }

  .tooltip {
    display: none;
  }

  .contact form .btn-box {
    flex-direction: column;
  }

  .tooltip-box {
    top: 130%; /* tweak as needed */
    left: 50%;
    transform: translateX(-50%);
  }

  .home-links.about {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Extra Small Screens (Phones under 480px) */
@media (max-width: 480px) {
  html {
    font-size: 35%;
    overflow-x: hidden;
  }

  body {
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
  }

  .home {
    display: flex;
    align-items: center;
    padding: 9px;
    font-size: 15px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

   /*.home-imgHover{
    position: absolute;
    left: 1%;
    top: 15%;
    max-width: 40%;
    max-height: 20%;
  }
  
  .home-imgHover img{
    width: 100%;
    height: 100%;
    transition: .8s;
    background: var(--bg-color);
    display: block !important;
  }
  
  .home-imgHover:hover{
    background: var(--bg-color);
    opacity: .8;
  }*/

  section, 
  aboutsection, 
  education, 
  skills, 
  contact {
    margin-top: 50px;
  }

  .home-content {
    font-size: 18px;
    text-align: center;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .home-content h1 {
    font-size: 35px;
    word-wrap: break-word;
    text-align: start;
    margin-top: 3%;
    margin-left: 45%;
  }

  .home-content h3{
    font-size: 5rem;
    word-wrap: break-word;
    text-align: start;
    margin-top: 2%;
  }

  .home-content p {
    font-size: 2.6rem;
    text-align: start;
  }

  .my-projects-header h3{
    font-size: 25px;
    text-align: start;
    color: var(--text-color);
  }

   
  .home-imgHover{
    position: absolute;
    left: 3rem;
    top: 20rem;
    max-width: 23rem;
    max-height: 40px;
  }

  .projects-grid {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 10px;
  }

  .neon-project-card{
    width: 100%;
    max-width: 350px;
    height: 250px;
  }

  .projects-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  .neon-project-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .neon-project-card:hover .project-bg,
  .neon-project-card.touch-active .project-bg {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(4px);
  }

  .neon-project-card:hover .project-overlay,
  .neon-project-card.touch-active .project-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .neon-project-card:hover {
    border-color: #0ff;
    box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
  }

  .neon-project-card:hover .project-title,
  .neon-project-card.touch-active .project-title {
    transform: translateY(-80px);
  }

  .blog-div{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin-top: 100px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: start;
  }
  
  .blogs-articles-header h3{
    font-size: 25px;
    margin-bottom: 10px;
    text-align: start;
  }
  
  .blogs-articles{
    background: url("/swizfcodes-website/photos/background-2.png") no-repeat;
    background-size: cover;
    display: flex;
    padding: 30px;
    border-radius: 25px;
    font-weight: 500;
    justify-content: center;
    text-align: start;
    margin-top: 30px;
  }

  .blog-article p{
    font-size: 2.7rem;
  }

  .blog-article h4{
    font-size: 22px;
    margin-bottom: 10px;
  }
  

  .about-content h2 {
    font-size: 22px;
    text-align: center;
    word-wrap: break-word;
  }

  .btn-box{
   height: 8rem;
   width: 100% !important;
  }

  .btn-box a {
    padding: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    width: 130px;
  }

  .about-img{
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
  }
  
  .about-img img{
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 4px solid var(--main-color);
  }

  aboutsection h2, 
  education h2, 
  skills h2,
  Contact h2{
    font-size: 40px;
    margin-bottom: 19px;
  }

  .about-content h3{
    font-size: 30px;
  }

  .about-content p{
    font-size: 15px;
    margin-bottom: 19px;
  }

  .work-experience, 
  .my-skills{
    font-size: 25px;
  }

  .content h3{
    font-size: 20px;
  }

  .content p{
    font-size: 14px;
  }

  .education-content::before{
    content: "";
    position: absolute;
    top: 0;
    left: -2.2rem;
    width: 22px;
    height: 22px;
    background: var(--main-color);
    border-radius: 50%;
  }

  .contact form textarea,
  .contact form input {
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .skills-box {
    width: 300px !important;
    padding: 12px;
    box-sizing: border-box;
  }

  .text-field textarea::placeholder{
    font-size: 17px;
  }

  .input-field input::placeholder{
    font-size: 12px;
  }

  .btn-box .contact a{
    font-size: 14px;
  }

  .tooltip-box {
    top: 130%; /* tweak as needed */
    left: 50%;
    transform: translateX(-50%);
  }

  .home-links.about {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
  }
}
