* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f4f6f8;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: #111;
    padding: 1rem 2rem;
}

.navbar nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.3rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    border-bottom: 2px solid #fff;
}

.nav-img {
    width: 24px;
    border-radius: 50%;
}


.social-links {
    display: flex;
    justify-content: space-evenly;
}

.hobbies-header {
    display: flex;
    align-items: center;
    gap: 2px;
}

.line-break {
    width: 100%;
    height: 1px;
    background-color: gray;
    margin-top: 2px;
}

nav li,
.hobbies li,
.dislikes li {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 5px 0;
}

li a {
    text-decoration: none;
}

li a:hover {
    opacity: 0.4;
}


/* Card */
.card-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.card-buttons {
    margin: 10px 0;
}

.profile-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 420px;
    width: 100%;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.primary-btn {
    background: #0078ff;
    color: #fff;
}

.secondary-btn {
    background: #eee;
    color: #333;
}

.btn:hover {
    transform: translateY(-2px);
}

/* About */
.about-page {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}

.about-page h1{
    text-align: center;
}

.about-section {
    margin-bottom: 2rem;
}

.about-section h2 {
    text-decoration: underline;
    text-decoration-line: underline;
    text-decoration-color: lightgray;
    color: #0078ff;
    margin-bottom: 0.5rem;
}

/* Contact */
.contact-page {
    padding: 2rem;
    max-width: 700px;
    margin: auto;
}

.form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

input,
textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.error {
    color: red;
    font-size: 0.85rem;
}

.success {
    color: green;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #111;
    color: #ccc;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .profile-card {
        padding: 1.5rem;
    }

    .nav-links {
        display: none;
    }
}
