/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #333;
    min-height: 100vh;
}


/* =========================
   CONTAINER
========================= */

.profile-container {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}


/* =========================
   PROFILE CARD
========================= */

.profile-card {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.job {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.description {
    max-width: 650px;
    margin: auto;
    line-height: 1.7;
    font-size: 16px;
}


/* =========================
   BUTTON
========================= */

.buttons {
    margin-top: 25px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 25px;
    margin: 5px;
    border-radius: 25px;
    background-color: white;
    color: #667eea;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}


/* =========================
   CONTENT
========================= */

.content {
    padding: 40px;
}

section {
    margin-bottom: 40px;
}

section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #555;
}


/* =========================
   INFORMATION
========================= */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-box {
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 12px;
    transition: 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    margin-bottom: 8px;
    color: #667eea;
}

.info-box p {
    color: #666;
}


/* =========================
   SKILLS
========================= */

.skill {
    margin-bottom: 20px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: bold;
}

.progress {
    height: 10px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 10px;
}

.html {
    width: 80%;
    background-color: #e34c26;
}

.css {
    width: 70%;
    background-color: #264de4;
}

.javascript {
    width: 60%;
    background-color: #f0db4f;
}


/* =========================
   HOBBIES
========================= */

.hobby-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hobby-list span {
    padding: 10px 18px;
    background-color: #f1f1f1;
    border-radius: 20px;
    transition: 0.3s;
}

.hobby-list span:hover {
    background-color: #667eea;
    color: white;
}


/* =========================
   CONTACT
========================= */

.contact {
    text-align: center;
    padding: 25px;
    background-color: #f5f5f5;
    border-radius: 15px;
}

.contact p {
    margin: 10px 0;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 600px) {

    .profile-container {
        width: 95%;
        margin: 20px auto;
    }

    .profile-card {
        padding: 35px 20px;
    }

    .profile-card h1 {
        font-size: 30px;
    }

    .content {
        padding: 25px 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

}