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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar .logo {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.navbar nav ul {
    list-style: none;
}

.navbar nav ul li {
    display: inline;
    margin-left: 20px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #ff6600;
}

/* Adjusted Hero Section */
#hero {
    background-color: red; /* Keeps the solid red background */
    color: #fff;
    text-align: center;
    min-height: 200px; /* Further reduced height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Smaller padding */
}

#hero h1 {
    font-size: 36px; /* Adjusted font size */
    margin-bottom: 10px;
}

#hero p {
    font-size: 16px; /* Adjusted text size */
}

section {
    padding: 60px 20px;
    text-align: center;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.about-content, .skills-content, .contact-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-photo {
    display: inline-block;
    margin-bottom: 20px;
}

.about-photo img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 4px solid #ff6600;
}

.skills-content ul {
    list-style: none;
}

.skills-content ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

.social-links a {
    text-decoration: none;
    margin: 0 15px;
    color: #333;
    font-size: 18px;
}

.social-links a:hover {
    color: #ff6600;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer p {
    font-size: 14px;
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px; /* Adjust font size for smaller screens */
    }

    .navbar nav ul li {
        display: block;
        margin-left: 0;
        margin-bottom: 10px;
    }
}
this was the css update it to make sure the size of the preview is 16:9
