/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #111;
    color: #fff;
}

/* Header styles */
header {
    height: 60px;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header img {
    height: 40px;
}

header h1 {
    font-size: 1.5em;
    margin: 0;
    color: #fff;
}

.mode-switch {
    display: flex;
    gap: 10px;
    background-color: #FAF0E6; /* Pearl white background color */
    padding: 5px;
    border-radius: 5px;
}

.mode-switch img {
    height: 24px;
    width: auto;
}

.mode-switch img:hover {
    opacity: 0.7;
    cursor: pointer;
}

/* Main content styles */
main {
    padding-top: 70px;
}

.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero img {
    width: 300px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

.projects, .terminal {
    padding: 50px 20px;
}

.projects img, .terminal img {
    width: 300px;
    margin-bottom: 20px;
    padding: 50px 20px;
}

.sort-options {
    margin-bottom: 20px;
}

.sort-options label {
    margin-right: 10px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #222;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.project-card img {
    width: 50%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 18px;
}

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

.hidden {
    display: none;
}

.terminal-prompt {
    font-family: 'Courier New', Courier, monospace;
}

.terminal {
    border: 2px solid #FAF0E6;
    font-family: 'Courier New', sans-serif;
    line-height: 1.5;
    font-size: 20px;
}

#learn-more-button {
    background-color: transparent;
    border: 5px solid transparent;
}

#learn-more-button:hover {
    cursor: pointer;
    color: #007bff;
}

/* Styles for multidiffusion page */
.multidiffusion-page {
    overflow: hidden;
}

.multidiffusion-page header {
    position: fixed;
    width: 100%;
    top: 0;
    transition: top 0.3s;
    z-index: 1000;
}

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

.multidiffusion-page header h1 {
    color: #fff;
    margin: 0;
    font-size: 1.5em;
}

.iframe-embed {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 60px);
}

.iframe-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive design */
@media (max-width: 600px) {
    .hero img {
        width: 100%;
    }

    .project-card img {
        width: 100%;
    }

    .multidiffusion-page header h1 {
        font-size: 1.2em;
    }

    .iframe-embed {
        top: 50px;
        height: calc(100vh - 50px);
    }

    header {
        height: 50px;
        padding: 5px 10px;
    }

    header img {
        height: 30px;
    }

    header h1 {
        font-size: 1.2em;
    }

    .mode-switch img {
        height: 20px;
    }

    main {
        padding-top: 60px;
    }
}
