/* General reset and existing styles */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, black, rgb(20, 2, 159));
    color: white;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

nav {
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Projects Content Styling */
.projects-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.projects-content h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* Row container */
.row {
    display: flex;
    flex-wrap: wrap;
}

/* Column styling */
.column {
    flex: 50%;
    padding: 10px;
}

/* Project Item Styling */
.project-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    color: #ddd;
}

.project-item h3 {
    margin-top: 0;
    font-size: 24px;
}

.project-item p {
    font-size: 16px;
    line-height: 1.5;
}

.project-item img,
.project-item iframe {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}

/* Updated iframe styles */
.project-item iframe {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
    border: none;
}

/* Iframe container styling */
.iframe-container {
    width: 100%;
    height: 300px; /* Visible area height */
    overflow: auto; /* Enable scrollbars */
}

.iframe-container iframe {
    width: 100%;
    height: 600px; /* Content height larger than container */
    border: none;
}

/* Social Links Styling */
footer {
    margin-top: auto;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(20, 2, 159, 0.14), rgb(20, 2, 159));
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 800px) {
    .column {
        flex: 100%;
    }
}
