@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #2e2e38;
    font-family: 'Source Sans 3', sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 20px;
    background-color: #4b5563;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

header h1 {
    font-size: 2rem;
    letter-spacing: 5px;
    margin: 0;
    display: inline-block;
    position: relative;
}

header h1 span {
    background-color: #ffffff;
    color: #2e2e38;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

header h1:hover {
    color: #9bf1ff;
    transition: color 0.3s;
}

header nav {
    margin-top: 10px;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    transition: color 0.3s;
}

header nav a:hover {
    color: #9bf1ff;
}

.content {
    text-align: left;
    max-width: 600px;
    padding: 0 20px;
}

.content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.content p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.card {
    position: relative;
    padding: 20px;
    border-radius: 0;
    color: #ffffff;
    text-align: left;
    transition: transform 0.3s, background 0.3s;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    height: 120px;
}

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

.card h3 {
    position: absolute;
    top: 10px;
    right: 20px;
    margin: 0;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: right;
}

.card p {
    position: relative;
    z-index: 1;
    margin: 5px 0 0;
    font-size: 0.9rem;
    padding-top: 20px;
}
