/*Comments are added by myself for Shipwrights*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background-color: #fff;
}

.hero {
    height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    margin: 0;
    font-style: italic;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
        'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    transition: transform 0.3s ease-in;
}

.hero p {
    margin: 15px 0 0;
    font-size: 20px;
    transition: transform 0.3s ease-in;

}

.hero-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgb(227, 33, 26);
    text-decoration: none;
    color: white;
    margin: 15px;
    border-radius: 8px;
    transition: background-color 0.2s ease , transform 0.3s ease-in;;
}

.hero-button:hover {
    background-color: rgb(109, 7, 4);
    transform: translateY(-8px);

    
}

.hero h1:hover{
    transform: translateY(-8px);
}
.hero p:hover{
    transform: translateY(-8px);
}


/* About Me!*/

.about {
    padding: 60px 24px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    margin: 0 0 15px;
}

.about p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}


/* Projects that I shipped(or Completed) */

.projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 24px;
}

.projects h2 {
    font-size: 32px;
    margin: 0 0 30px;
}

.projects-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.project-card {
    background-color: rgb(232, 95, 95);
    padding: 20px 24px;
    border-radius: 20px;
    width: 300px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card h3 {
    margin: 0;
    font-size: 22px;
}

.project-card p {
    margin: 10px 0 0;
    line-height: 1.5;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


/* Skills */

.skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 24px;
}

.skills h2 {
    font-size: 32px;
    margin: 0;
}

.skills-list {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 24px;
}

.skill {
    background-color: rgb(245, 63, 63);
    color: white;
    padding: 10px 24px;
    border-radius: 18px;
    transition: box-shadow 0.3s ease , transform 0.3s ease;
}

.skill:hover{
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.355);
    transform: translateY(-6px);
}

/* Contact */

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
}

.contact h2 {
    font-size: 32px;
    margin: 0 0 15px;
}

.contact p {
    margin: 0;
    font-size: 18px;
}

.contact-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.contact-links a {
    color: rgb(227, 33, 26);
    text-decoration: none;
}

.contact-links a:hover {
    text-decoration: underline;
}


/* Mobile Frndly */

@media (max-width: 400px) {

    .hero {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }

    .about {
        padding: 50px 20px;
    }

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

    .project-card {
        width: 100%;
        max-width: 300px;
    }

    .contact-links {
        flex-direction: column;
        gap: 10px;
    }

}