* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: monospace;
}

/* Header Section */
header {
    background-color: gray;    
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(images/bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
}

/* Navigation */
nav {
    padding: 0 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: antiquewhite;
    font-size: 30px;
    text-decoration: none;
    font-size: 25px;
    font-weight: 700;
}

ul {
    display: flex;
    list-style: none;
}

li {
    color: antiquewhite;
    padding: 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

li:hover {
    color: #6366f1;
}

/* Hero Section */
.hello {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%; 
    height: calc(100vh - 70px); 
    text-align: center;
}

.hello h1 {
    color: antiquewhite;
    font-size: 70px;
    font-weight: 700;
}

.hello h2 {
    color: antiquewhite;
    font-weight: lighter;
    font-size: 50px;
}

.hello h1:first-child {
    display: inline-block; 
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    cursor: pointer;
    color: white; 
}

.hello h1:first-child:hover {
    transform: scale(1.1); 
    text-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5), 
                 0px 0px 10px rgba(99, 102, 241, 0.4); 
}

#typewriter:first-child {
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    cursor: pointer;
    color: #ffffff; 
}

#typewriter:first-child:hover {
    transform: scale(1.1); 
    color: brown;
}

/* Typewriter Effect */
.changing-word {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.changing-word::after {
    content: "";
    min-width: 0;
    font-family: monospace;
    font-size: 50px;
    color: antiquewhite;
    border-right: 4px solid orange;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    animation:
        typing 4s steps(20) infinite,
        cursor 0.9s step-end infinite alternate,
        changeText 12s steps(1) infinite;
}

/* About Section */
.about_me {
    display: flex;
    flex-wrap: wrap; 
    min-height: 80vh; 
    background-color: #1f2937;
    justify-content: center;
    align-items: center;
    padding: 50px 10%; 
    gap: 60px;
}

.about_image_container img {
    height: 400px;
    width: auto;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid;
    transition: transform 0.3s ease;
}

.about_image_container img:hover {
    /* transform: translateY(-50px) rotate(2deg); */
    transform: scale(1.1);
}

.about_content {
    flex: 1; 
    min-width: 300px; 
}

.skills_list {
    list-style: none;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 0 20px;
        flex-direction: column;
    }
    
    ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    li {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .hello h1 {
        font-size: 40px;
    }
    
    .hello h2 {
        font-size: 30px;
    }
    
    .about_me {
        padding: 30px 5%;
        gap: 30px;
    }
    
    .about_image_container img {
        height: 300px;
    }
}