

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Search and Sort Controls */
.controls {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* Center horizontally */
}

.header, .footer {
    background: rgb(255, 102, 0);
    color: white;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.footer {
    margin-top: 30px;
    padding: 10px;
}

.footer p {
    margin: 5px;
}

.footer p a {
    color: white;   
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

a {
  color: #f60;
  cursor: pointer;
}


input[type="text"],
select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

select {
    width: 100px;
}

button {
    padding: 8px 12px;
    border: none;
    background: rgb(255, 102, 0);
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: rgb(189, 76, 1);
}

.description {
    max-width: 800px;
    width: 90%;
    margin: 10px;
    justify-content: center;
}

.description p {
    margin: 5px;
}

h1 { margin: 10px; }

.cite {
    margin: 10px;
}

code {
  background-color: #eee;
  border-radius: 3px;
  font-family: courier, monospace;
  padding: 0 3px;
}

pre { overflow-x: auto; }

.container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* Fixed-width cards */
.card {
    width: 350px;
    display: flex;
    flex-direction: row; /* Align children side by side */
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    gap: 10px; /* Space between sections */
}

/* Distro image (Left) */
.card img.distro {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Info section (Middle) */
.card .info {
    flex-grow: 1; /* Expand to use available space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
    color: #333;
}

.card .info .name {
    font-weight: bold;
}

.card .info .kernel {
    font-size: 12px;
    color: #666;
}

/* Links section (Right) */
.card .links {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.card .links img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

img {
    filter: invert(39%) sepia(14%) saturate(0%) hue-rotate(139deg) brightness(91%) contrast(89%);
}

