/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@700&display=swap');

/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styling */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #ECF0F1;
    color: #2C3E50;
    line-height: 1.6;
}

/* Header styling */
.header {
    background-color: #2C3E50;
    color: white;
    padding: 1rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.header h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ECF0F1;
}

/* Navigation styling */
.navigation {
    background-color: #3498DB;
    padding: 1rem;
}

.navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.navigation ul li {
    margin: 0 15px;
}

.navigation ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Fixed-width container */
.container {
    display: flex;
    width: 75%;
    max-width: 1024px;
    margin: 20px auto;
    gap: 10px;
    align-items: stretch;
    background-image: url('images/matrix.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Column styling */
.column {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.column h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.column p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Image styling inside columns */
.column img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Footer styling */
.footer {
    background-color: #2C3E50;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
}

/* Media query for screens 768px and below */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack columns vertically */
        width: 100%; /* Full width for smaller screens */
        padding: 10px; /* Reduce padding for smaller screens */
    }

    .column {
        margin-bottom: 10px; /* Add spacing between stacked columns */
    }
}