* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.clock{
    font-size: 80px;
    color: #ffffff;
}

.text-lg{
    
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    animation: fade-in 1s ease-in-out;
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.search-container {
    background-image: url('../images/bg001.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slide-up 0.5s ease-out;
}

    .search-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.search-select {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 16px;
    font-size: 16px;
    background-color: white;
    min-width: 120px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

    .search-select:focus {
        border-color: #3498db;
    }

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 16px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    outline: none;
}

    .search-input:focus {
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }

.categories {
    margin-bottom: 30px;
}

.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.category-link {
    background: #f2f2f2;
    font-size: 0.5em;
    display: inline-block;
    padding: 8px 16px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .category-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }

.category {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .category.show {
        opacity: 1;
        transform: translateY(0);
    }

.category-title {
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

    .category-title::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, #3498db, #2ecc71);
        border-radius: 1px;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    .category-title:hover::after {
        transform: scaleX(1);
    }

.site-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.site-card {
    display: flex;
    background-color: #f2f4fa;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

    .site-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

.site-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin: 15px;
    flex-shrink: 0;
}

    .site-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.site-info {
    padding: 15px 0;
    flex-grow: 1;
    flex-basis: calc(100% - 80px);
    max-width: calc(100% - 80px);
}

.site-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.site-desc {
    font-size: 12px;
    color: #7f8c8d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fade-in 0.8s ease-in-out;
}

.copyright {
    color: #7f8c8d;
    font-size: 14px;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .site-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 480px) {
    .site-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
