@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    background-image: url('https://images.unsplash.com/photo-1470813740244-df37b8c1edcb?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: -1;
}

main {
    height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.container {
    padding: 40px;
    text-align: center;
    max-width: 650px;
    width: 90%;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#quote-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px;
    min-height: 200px;
}

#quote {
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
    font-style: italic;
}

#author {
    font-size: 1.2rem;
    font-weight: 300;
    text-align: right;
}

#generate-btn {
    width: 180px;
    padding: 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#generate-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

#generate-btn:active {
    transform: translateY(1px);
}

footer {
    position: absolute;
    bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

footer a {
    color: white;
    text-decoration: underline;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    #quote {
        font-size: 1.2rem;
    }
    
    #author {
        font-size: 1rem;
    }
    
    .container {
        padding: 30px 20px;
    }
}

