body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #1e1e1e;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

header .nav-left,
header .nav-right,
header .nav-center {
    display: flex;
    align-items: center;
}

header .nav-left {
    flex: 1;
}

header .home-link {
    color: #ef2c2c;
    text-decoration: none;
    font-size: 18px;
    margin-right: 20px;
}

header input[type="text"] {
    background-color: #333;
    border: none;
    color: #fff;
    padding: 10px;
    width: 300px;
    border-radius: 5px;
}

header .nav-center {
    flex: 2;
    justify-content: center;
}

header .title-text {
    color: #ef2c2c;
    font-size: 20px;
}

header .nav-right {
    flex: 1;
    justify-content: flex-end;
}

header .icon-link {
    color: #ef2c2c;
    text-decoration: none;
    font-size: 18px;
    margin-left: 20px;
    padding-right: 10px;
}

header .icon-link .fa {
    font-size: 20px;
}

.container {
    margin-top: 60px;
    padding: 20px;
}

p {
    margin-bottom: 20px;
}

.entries {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.entry {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
    box-sizing: border-box;
    flex: 1 1 calc(33.33% - 20px); /* 3 columns by default */
}

.entry h2 {
    color: #ef2c2c;
}

.entry p {
    margin: 10px 0;
}

.entry a.link {
    color: #ef2c2c;
    text-decoration: none;
}

.entry .date {
    font-size: 12px;
    color: #aaa;
}

@media (max-width: 1200px) {
    .entry {
        flex: 1 1 calc(50% - 20px); /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .entry {
        flex: 1 1 100%; /* 1 column on small screens */
    }

    header input[type="text"] {
        width: 100%;
    }

    header .nav-center {
        display: none; /* Hide the center text on smaller screens */
    }
}
