* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #1e1e1e;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    padding: 20px;
}
h1 {
    text-align: center;
    color: #ffffff;
    font-family: 'SpaceGrotesk-Bold', sans-serif;
    margin-bottom: 20px;
    font-size: 2.5em;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.search-container {
    width: 100%;
    position: relative;
    margin: 0 auto;
}
#search-bar {
    width: 100%;
    padding: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    background-color: #333;
    color: #ffffff;
    transition: border-color 0.3s;
}
#search-bar::placeholder {
    color: #aaaaaa;
}
#search-bar:focus {
    border-color: #007bff;
}
.results-container {
    position: absolute;
    width: 100%;
    background-color: #444;
    border: 1px solid #555;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}
.result-box {
    padding: 15px;
    border-bottom: 1px solid #555;
    cursor: pointer;
    transition: background-color 0.3s;
}
.result-box:last-child {
    border-bottom: none;
}
.result-box:hover {
    background-color: #555;
}
.result-title {
    font-weight: bold;
    color: #ffffff;
}
.result-description {
    color: #dddddd;
}
.competitions-container {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #444;
    font-size: large;
    overflow-wrap: break-word;
}
@font-face {
    font-family: 'SpaceGrotesk-Bold';
    src: url('assets/SpaceGrotesk-Bold.ttf') format('truetype');
}
.SpaceGrotesk-Bold {
    font-family: 'SpaceGrotesk-Bold', sans-serif;
}
.competition-card {
    background-color: #333;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.competition-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.competition-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}
.competition-description {
    color: #dddddd;
    margin-bottom: 10px;
}
.competition-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
.competition-link:hover {
    text-decoration: underline;
}
