*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, sans-serif;
    background-color: #111;
    color: white;
}

/* NAVBAR */

header{
    background-color: #1e1e1e;
    padding: 20px;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul{
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a{
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

nav a:hover{
    color: cyan;
}

/* HERO SECTION */

.hero{

    min-height: 85vh;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 80px 10%;

    gap: 60px;

    flex-wrap: wrap;
}

.hero-text{
    flex: 1;
}

.intro{

    color: cyan;

    font-size: 28px;

    margin-bottom: 15px;
}

.hero-text h1{

    font-size: 70px;

    margin-bottom: 20px;

    line-height: 1.2;
}

.hero-description{

    font-size: 24px;

    color: #ccc;

    margin-bottom: 35px;
}

/* BUTTON */

.hero-btn{

    display: inline-block;

    padding: 15px 35px;

    background-color: cyan;

    color: black;

    text-decoration: none;

    border-radius: 10px;

    font-size: 18px;

    font-weight: bold;

    transition: 0.3s;
}

.hero-btn:hover{

    transform: scale(1.1);
}

/* PROFILE IMAGE */

.profile-img{

    width: 430px;

    height: 430px;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid cyan;

    box-shadow: 0 0 30px cyan;
}

/* SKILLS */

.skills-section{

    padding: 80px 10%;

    text-align: center;
}

.skills-section h2{

    font-size: 40px;

    margin-bottom: 40px;
}

.skills-container{

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

.skill-box{

    background-color: #1e1e1e;

    padding: 25px 40px;

    border-radius: 12px;

    font-size: 20px;

    transition: 0.3s;
}

.skill-box:hover{

    background-color: cyan;

    color: black;

    transform: translateY(-10px);
}

/* ABOUT */

.about{
    padding: 80px 10%;
}

.about-container{
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;

    flex-wrap: wrap;
}

.about-text{
    flex: 1;
}

.about-text h1{
    font-size: 50px;

    margin-bottom: 20px;
}

.about-text p{
    color: #ccc;

    line-height: 1.8;

    margin-bottom: 20px;
}

.about-skills{
    flex: 1;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.card{
    background-color: #1e1e1e;

    padding: 40px;

    border-radius: 15px;

    text-align: center;

    transition: 0.3s;
}

.card:hover{
    transform: translateY(-10px);

    background-color: cyan;

    color: black;
}

/* PROJECTS */

.projects{
    padding: 80px 10%;

    text-align: center;
}

.projects h1{
    font-size: 50px;

    margin-bottom: 50px;
}

.project-container{
    display: flex;

    justify-content: center;

    gap: 30px;

    flex-wrap: wrap;
}

.project-card{
    background-color: #1e1e1e;

    width: 300px;

    padding: 30px;

    border-radius: 15px;

    transition: 0.3s;
}

.project-card:hover{
    transform: scale(1.05);

    background-color: cyan;

    color: black;
}

.project-card h2{
    margin-bottom: 20px;
}

/* CONTACT */

.contact{
    padding: 80px 10%;

    text-align: center;
}

.contact h1{
    font-size: 50px;

    margin-bottom: 40px;
}

form{
    max-width: 600px;

    margin: auto;

    display: flex;

    flex-direction: column;

    gap: 20px;
}

input,
textarea{
    padding: 15px;

    border: none;

    border-radius: 10px;

    font-size: 16px;
}

textarea{
    height: 150px;

    resize: none;
}

/* FOOTER */

footer{
    background-color: #1e1e1e;

    text-align: center;

    padding: 20px;
}

/* RESPONSIVE */

@media(max-width: 768px){

    nav{
        flex-direction: column;

        gap: 20px;
    }

    .hero{

        flex-direction: column-reverse;

        text-align: center;
    }

    .hero-text h1{
        font-size: 45px;
    }

    .profile-img{

        width: 280px;

        height: 280px;
    }

    .about-container{flex-direction: column;
    }

    .project-container{
        flex-direction: column;

        align-items: center;
    }

    .about-skills{
        grid-template-columns: 1fr;
    }

}