/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f2f6fc;
    color: #333;
    margin: 20px;
    padding: 0 20px;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #2c3e50;
    text-align: center;
    margin-top: 40px;
}

p, li {
    font-size: 1.1em;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header navigation */
.main-header {
    background-color: #3498db;
    padding: 10px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-bar a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.2s;
}

.nav-bar a:hover {
    color: #003f68;
}

/* Logo */
.logo {
    display: block;
    margin: 20px auto;
    width: 120px;
    height: auto;
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.text-box {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 30px 20px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.screenshot {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s;
}

.screenshot:hover {
    transform: scale(1.05);
}

.screenshot img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    table-layout: fixed;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

th {
    background-color: #3498db;
    color: white;
}

td img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: solid #333 5px;
}

/* iFrame (YouTube Video) */
iframe {
    width: 300px;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
}

video.iteration-image {
    outline: 6px solid #4CAF50;
}

.table-image {
    max-height: 100px;
    width: auto;
    display: block;
    margin: 10px auto;
    border-radius: 10px;
}


.media-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap; /* Makes it mobile-friendly */
}






/* Responsive */
@media (max-width: 768px) {
    .screenshot-gallery {
        flex-direction: column;
        align-items: center;
    }

    table, th, td {
        font-size: 0.9em;
    }
}


.iteration-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #ccc;
    object-fit: contain;
}

