* {
    box-sizing: border-box;
    font-family: sans-serif;
}

html, body {
    background-color: black;
    margin: 0;
    padding: 0;
}

.factMenu {
    background-color: black; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 64px;
    justify-content: center;  
}

.factMenu nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.factMenu img {
    height: 200px;
}

.factMenu ul {
    display: flex;
    gap: 32px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.factMenu a {
    white-space: nowrap;
    text-decoration: none;
    color: #ffde59;
    font-weight: bold;
    transition: color 0.3s ease;
}

.factMenu ul:hover a {
    color: #8c52ff;
}

.factMenu ul:active a {
    color: #2a086e;
}

.factMenu ul a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: lime;
    text-underline-offset: 5px;
    text-decoration-thickness: 5px;
}

.main-content {
    color: #ffde59;
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.main-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffde59;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #8c52ff;
}

.search-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid #8c52ff;
}

.search-section h2 {
    margin-bottom: 20px;
    color: #ffde59;
}

.search-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-form input {
    background-color: #ffde59;
    font-size: larger;
    padding: 12px 20px;
    border-radius: 15px;
    border: none;
    min-width: 300px;
    color: #000;
}

.search-form button {
    font-size: larger;
    background-color: #8c52ff;
    border-radius: 15px;
    padding: 12px 30px;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #6a3fd8;
    color: white;
}

.search-form button:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.recent-searches {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid #ffde59;
}

.recent-searches h2 {
    margin-bottom: 15px;
    color: #ffde59;
}

.recent-searches p {
    margin-bottom: 20px;
    color: #8c52ff;
}

.view-all-btn {
    display: inline-block;
    background-color: #ffde59;
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #ffde59;
}

.view-all-btn:hover {
    background-color: #8c52ff;
    color: white;
    border-color: #8c52ff;
    transform: translateY(-2px);
}

.help-text {
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #ffde59;
}

/* Responsive design */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }
    
    .search-form input {
        min-width: 250px;
    }
    
    .main-content h1 {
        font-size: 2rem;
    }
    
    .factMenu {
        padding: 16px 20px;
    }
    
    .factMenu img {
        height: 150px;
    }
}
