*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700 &display=swap');

body{
    font-family: 'poppins',sans-serif;
    font-size: 3rem;
    margin: 0;
    padding: 0;
    max-width: 100%;
    background-image:url('../img/background-realistic-abstract-technology-particle_23-2148431735.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgba(0,0,0,0.6);
    background-blend-mode: darken;
}

.Welcome{
    display: inline-block;
    animation: bounce 2s  infinite;
}

@keyframes bounce{
    0%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-20px);
    }

    100%{
        transform: translateY(0);
    }
}


.intro{
    font-size: 3rem;
    color: yellow;
    font-weight: bolder;
}

.intro span{
    color: aqua;
}

.about span{
    padding: 3rem;
    font-weight: bold;
    background:linear-gradient(90deg, yellow, aqua);
    background-clip: text;
    -webkit-text-fill-color: transparent;

}

h2{
    font-size: 4rem;
    margin:2rem;
}

h2{
    position: relative;
    display: inline-block;
    padding: 12px;
}

h2::before,
h2::after{
    content: "";
    position: absolute;
    height: 4px;
    background-color: white;
}

h2::before{
    left: 0;
    background-color: yellow;
    bottom: 10px;
    width: 60%;
}

h2::after{
    right: 0;
    background-color: aqua;
    bottom: 0;
    width: 60%;
}

h2{
    color: whitesmoke;
    transition: color 0.3s ease-in;
}

h2:hover,
h2:active{
    color: #39ff14;
    animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse{
     0%{
        text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14, 0 0 30px #39ff14;
    }

     50%{
        text-shadow: 0 0 20px #39ff14, 0 0 40px #39ff14, 0 0 60px #39ff14;
    }

     100%{
        text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14, 0 0 30px #39ff14;
    }
}


/* header */
.header-title-line{
    padding:0.25rem 0.5rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.menu-button{
    background-color: whitesmoke;
    background-color:rgba(255,255,255,0.7);
    border: solid yellow 2px;
    border-radius: 6px;
    margin: 0.5rem;
    width: 48px;
    height: 48px;
    padding: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after{
    background-color: black;
    height: 5px;
    width: 40px;
    border-radius: 5px;
    position: absolute;
    transition: all 0.5s;
}

.menu-icon::before,
.menu-icon::after{
    content: "";
}

.menu-icon::before{
    transform: translate(-20px, -12px);
}

.menu-icon::after{
    transform: translate(-20px, 12px);
}

:is(header:hover, header:focus-within) .menu-icon{
    background-color: transparent;
}

:is(header:hover, header:focus-within) .menu-icon::before {
    transform: translateX(-20px) rotate(45deg);
}

:is(header:hover, header:focus-within) .menu-icon::after{
    transform: translateX(-20px) rotate(-45deg);}

:is(header:hover, header:focus-within) nav{
    display: block;
}

nav{
    display: none;
    background-color: aliceblue ;
    background-color:rgba(255,255,255,0.7);
    margin-left: 4rem;
    margin-top: 1rem;
    border-radius: 1rem;
    transform-origin: top center;
    animation: showMenu 0.5s ease forwards;
    position: fixed;
}

@keyframes showMenu{
    0%{
        transform:scaleY(0);
    }

    80%{
        transform:scaleY(1.2);
    }

    100%{
        transform:scaleY(1);
    }
}

nav ul{
    list-style-type: none;
    display: flex;
    flex-flow: column nowrap;
}

nav li{
    padding: 0.5rem;
    border-top: 1px solid black;
}


nav a{
    display: block;
    text-align: center; 
    width: 80%; 
    margin: auto;
    font-size: 2rem;
}

nav a:any-link{
    color: black;
    font-weight: bold;
    text-decoration:none;
}

nav a:hover,
nav a:focus{
    transform: scale(1.2);
    transition: all 0.3s;
} 


main{
    color: white;
    line-height: 4rem;
    display: block;
    justify-content:center;
    align-items:center;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 5rem;
    text-align: center;
    max-width: 100%;
    background:transparent;
}

/* about me */
.about{
    display: flex;  
    justify-content: center;
    align-content: center;
    color: white;
    /* background-color: black;
    border: solid goldenrod 2px; */
    padding: 2rem;
    margin-right: 1rem;
    /* border-radius: 15px;  */
    font-size: 4rem;
    max-width: 100%;
    animation-name: zoom;
    animation-duration: 3s;
}

@keyframes zoom{
    0%{
        transform: scale(0);
    }

    50%{
        transform: scale(1.03);
    }

    100%{
        transform: scale(1);
    }
}

.my-profile img{
    border-radius: 3rem;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    animation: glowPulse 4s infinite;
}

@keyframes glowPulse{
    0%{
        box-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14, 0 0 30px #39ff14;
    }

     50%{
        box-shadow: 0 0 20px #39ff14, 0 0 40px #39ff14, 0 0 60px #39ff14;
    }

     100%{
        box-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14, 0 0 30px #39ff14;
    }
}
/* my skills */
.main-skills{
    display: flex;  
    justify-content: center;
    align-content: center;
    flex-direction: column;
    padding: 2rem;
    font-size: 4rem;
    border: solid white 2px;
    border-radius: 1rem;
    color: white;
    background-image: url("../img/programming-coding-web-development-concept-programmer-coder-hands-using-laptop-code-on-the-lapto-screen-flat-vector-illustration-2C783ER.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0,0,0,0.8);
    background-blend-mode: darken;
}


.tools{
    display: flex;
    justify-content: center;
    align-items: center;
}

.mtools{
    padding: 1rem;
    font-size: 5rem;
    gap: 2rem;
    margin: 2rem;
    border-radius: 0.6rem;
    border: solid white 2px;
    background-color: whitesmoke;
     box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.fa-html5{color: #E34F26;}
.fa-css3{color:#1572B6}
.fa-js{color:#F7DF1E}


/* image scroll section */
.image-scroll-section{
  overflow: hidden;
  width: 100%;
  max-width: 100%;         /* Set a max width for the box */
  margin: 2rem auto;        /* Center the box */
  background: transparent;       /* Optional: box background */
  border-radius: 2rem;      /* Rounded corners */
  box-shadow: 0 4px 24px rgba(0,0,0,0.1); /* Soft shadow */
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-scroll-container{
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  gap: 2rem;
  animation: scroll-images 15s linear infinite;
  background: transparent; /* Ensures gaps between images are white */
}

@keyframes scroll-images {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.image-scroll-container img {
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,2);
}

.work{
    display: flex;  
    justify-content: center;
    align-content: center;
    flex-direction: column;
    padding: 2rem;
    font-size: 4rem; 
}
/* contacts */
.contacts ul{
    display: flex;  
    justify-content: center;
    align-content: center;
    flex-direction: column;
    list-style-type: none;
    padding: 1rem;
    font-size: 4rem; 
    border:solid tan;
    border-radius: 1rem;
    background: rgba(255,255,255,0.1);
}


.contacts ul li a:hover:focus{
    color: aqua;
}
.contacts ul li a:visited{
    color: whitesmoke;
}

.contacts p span{
    color: tan;
    font-weight: bold;
}

footer{
    background-color: antiquewhite;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 1rem;
}

