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

body {
    background-color: #000;
    font-family: 'Times New Roman', Times, serif;
    color: red;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.Name {
    color: red;
    font-size: 3.5rem;
    padding: 2rem 0;
    font-family: 'Times New Roman', serif;
    display: flex;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.Name:hover {
    color: #ff4444;
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(255, 68, 68, 0.8);
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 1rem 0;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.navigation a {
    color: red;
    font-size: 1.3rem;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.navigation a:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    transform: translateY(-2px);
}

.navigation a.active {
    font-weight: bold;
    background: rgba(255, 68, 68, 0.2);
    border: 2px solid #ff4444;
    color: #fff;
}

.home {
    margin: 3rem auto;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
}

.home h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, red, #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home h2 {
    font-size: 1.8rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.home p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home-img {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.home-img img {
    max-width: 350px;
    width: 100%;
    border-radius: 50%;
    border: 4px solid #ff4444;
    box-shadow: 0 0 50px rgba(255, 68, 68, 0.4);
    transition: all 0.3s ease;
}

.home-img img:hover {
    border-color: red;
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 20px 60px rgba(255, 68, 68, 0.6);
}

.section-header {
    font-size: 2.5rem;
    color: red;
    text-align: center;
    margin: 4rem 0 2rem 0;
    font-weight: bold;
    position: relative;
    text-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.section-header::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, red, #ff4444);
    margin: 1rem auto;
    border-radius: 2px;
}

.aboutmeheader {
    margin: 3rem 0 2rem 0;
    text-align: center;
}

.about-text {
    margin: 20px;
    font-size: 1.2rem;
    color: #ddd;
    line-height: 1.8;
    background: #1a1a1a;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}


.skills {
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
}

.skill {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}
.skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 68, 68, 0.1), transparent);
    transition: left 0.5s;
}

.skill:hover::before {
    left: 100%;
}

.skill:hover {
    border-color: #ff4444;
    transform: translateY(-10px);
    background: #222;
    box-shadow: 0 20px 50px rgba(255, 68, 68, 0.3);
}

.skill h3 {
    color: red;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.skill p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

.projectheader{
    text-align: center;
}

.projects {
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
}

.project {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 68, 68, 0.1), transparent);
    transition: left 0.5s;
}

.project:hover::before {
    left: 100%;
}

.project:hover {
    border-color: #ff4444;
    transform: translateY(-10px);
    background: #222;
    box-shadow: 0 20px 50px rgba(255, 68, 68, 0.3);
}

.project h3 {
    color: red;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.project p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

.details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 3rem auto;
    max-width: 400px;
    text-align: center;
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.details:hover {
    border-color: #ff4444;
    transform: translateY(-8px);
    background: #222;
    box-shadow: 0 20px 50px rgba(255, 68, 68, 0.3);
}

.details h3 {
    color: red;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.details p {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.game {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: red;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 50px;
    margin: 3rem auto;
    border: 3px solid red;
    transition: all 0.3s ease;
    width: fit-content;
    text-decoration: none;
    height: 2rem;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
}

.game:hover {
    border-color: #ff4444;
    transform: translateY(-8px) scale(1.05);
    background: #222;
    color: #ff4444;
    box-shadow: 0 0 40px rgba(255, 68, 68, 0.6);
}

.mycomment{
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.connect{
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.connect img {
    max-width: 120px;
    max-width: 120px;
}
@media (max-width: 768px) {
    .Name {
        font-size: 2.5rem;
        padding: 1.5rem 0;
    }
    
    .navigation {
        gap: 1.5rem;
        flex-wrap: wrap;
        padding: 0.8rem;
    }
    
    .navigation a {
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
    }
    
    .home h1 {
        font-size: 2.2rem;
    }
    
    .home h2 {
        font-size: 1.4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .skills,
    .projects {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .home-img img {
        max-width: 280px;
    }
    
    .section-header {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .Name {
        font-size: 2rem;
        padding: 1rem 0;
    }
    
    .navigation {
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .navigation a {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }
    
    .home h1 {
        font-size: 1.8rem;
    }
    
    .home p {
        font-size: 1rem;
    }
    
    .section-header {
        font-size: 1.8rem;
    }
    
    .skill,
    .project,
    .details {
        padding: 1.5rem;
    }
    
    .game {
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
    }
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #ff4444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: red;
}