* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.weather {
    background: linear-gradient(to bottom right, #74b9ff, #a29bfe);
    color: white;
}

.weather h2 {
    color: white;
}

.crypto {
    background: linear-gradient(to bottom right, #fdcb6e, #e17055);
    color: white;
}

.crypto h2 {
    color: white;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.weather-info, .crypto-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.temp {
    font-size: 2.5rem;
    font-weight: bold;
}

.description {
    font-size: 1.2rem;
    text-transform: capitalize;
}

.price {
    font-size: 2rem;
    font-weight: bold;
}

.price-change {
    font-size: 1.1rem;
}

.price-change.up {
    color: #2ecc71;
}

.price-change.down {
    color: #e74c3c;
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2rem;
    }
} 