html {
    min-height: 100%;
}

body {
    background-color: #000000;
    background-repeat: no-repeat;
    background-position: right 0% bottom 0%;
    background-size: auto 100%;
    background-image: url("http://i.imgur.com/vhDKBmg.png");
    color: #ffffff;
    font-family: 'Arial', sans-serif;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
}

.content {
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.header {
    font-size: 3em;
    margin-bottom: 20px;
    animation: slideInFromTop 1s ease-in-out;
}

.emoji {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.flag-counter {
    margin-bottom: 20px;
}

.info-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.weather-section {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.forecast-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.forecast-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    width: 150px;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.footer {
    margin-top: 20px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 20px 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1s ease-in-out;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}

.info-card h3 {
    margin-top: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: bold;
}

.stat-value {
    color: #4CAF50;
}

.clock-display {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.chart-container {
    position: relative;
    height: 200px;
    margin-top: 20px;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #888;
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 20px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .header {
        font-size: 2em;
    }
    .clock-display {
        font-size: 1.8em;
    }
}
