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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1b1b1b;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #000000;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.github-link {
    text-decoration: none;
    color: white;
    background-color: #24292e; 
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.github-link:hover {
    background-color: #b20710;
    color:white;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}
.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Metal Mania', cursive;
    font-size: 22px;
    color: #e50914;
}

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

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e50914;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .menu-icon {
        display: block;
        cursor: pointer;
        font-size: 28px;
        color: #ffffff;
    }

    .nav-mobile {
        display: flex;
        flex-direction: column;
        background-color: #000;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        display: none;
    }

    .nav-mobile li {
        padding: 15px 0;
    }
}

.hero {
    height: 100vh;
    background: url('../images/metal-bg.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Metal Mania', cursive;
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-btn {
    padding: 10px 20px;
    background-color: #e50914;
    color: #ffffff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #b20710;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 30px;
    }
    
    .cta-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}

.about {
    padding: 60px 20px;
    background-color: #202020;
    text-align: center;
}

.about h2 {
    font-family: 'Metal Mania', cursive;
    font-size: 32px;
    margin-bottom: 20px;
}

.about-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.about p {
    font-size: 16px;
    margin-bottom: 20px;
}

.projects {
    padding: 60px 20px;
    background-color: #1b1b1b;
    text-align: center;
}

.projects h2 {
    font-family: 'Metal Mania', cursive;
    font-size: 32px;
    margin-bottom: 30px;
}

.project-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.project {
    background-color: #292929;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    width: 30%;
    transition: transform 0.3s;
}

.project:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .project {
        width: 100%;
        margin-bottom: 20px;
    }
}

.skills {
    padding: 60px 20px;
    background-color: #202020;
    text-align: center;
}

.skills h2 {
    font-family: 'Metal Mania', cursive;
    font-size: 32px;
    margin-bottom: 20px;
}

.skill-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.skill {
    background-color: #292929;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.skill:hover {
    background-color: #e50914;
}

@media (max-width: 768px) {
    .skill {
        width: 100%;
        margin-bottom: 15px;
    }
}

.contact {
    padding: 60px 20px;
    background-color: #1b1b1b;
    text-align: center;
}

.contact h2 {
    font-family: 'Metal Mania', cursive;
    font-size: 32px;
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.contact form input,
.contact form textarea {
    padding: 10px;
    margin: 10px 0;
    background-color: #292929;
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
}

.contact form button {
    padding: 10px 20px;
    background-color: #e50914;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact form button:hover {
    background-color: #b20710;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background-color: #000000;
}

footer .socials {
    margin-top: 10px;
}

footer .socials a {
    color: #ffffff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 18px;
}

footer .socials a:hover {
    color: #e50914;
}

@media (max-width: 768px) {
    footer {
        padding: 20px 10px;
    }
}
