/* ======================================
   VEGAN IPSUM GENERATOR - STYLESHEET
   ======================================
   Neobrutalist design with bold borders,
   heavy shadows, and high contrast
   ====================================== */

/* CSS Reset - Remove default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base body styles with neobrutalist gray background */
body {
    font-family: 'Courier New', monospace;
    background: #979797;
    padding: 40px 20px;
    min-height: 100vh;
}

/* Main container with max-width for responsive design */
.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Main title with bold neobrutalist styling */
h1 {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    border: 6px solid #000;
    padding: 20px 30px;
    background-color: #FFD700;
    box-shadow: 12px 12px 0 #000;
    margin-bottom: 20px;
    text-align: center;
}

/* Subtitle with neobrutalist white background */
.subtitle {
    background-color: #fff;
    border: 4px solid #000;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 8px 8px 0 #000;
    margin-bottom: 40px;
    text-align: center;
    color: #000
}

/* Input section with neobrutalist styling */
.input-section {
    background: #fff;
    border: 6px solid #000;
    box-shadow: 12px 12px 0px #000;
    padding: 30px;
    margin-bottom: 40px;
}

/* Input label styling */
.input-section label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #000;
}

/* Number input with neobrutalist styling */
.input-section input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    background: #F5F5F5;
    border: 4px solid #000;
    outline: none;
}

/* Input focus state with green highlight */
.input-section input:focus {
    background: #fff;
    box-shadow: 0 0 0 4px #00E676;
}

/* Base button styling with neobrutalism */
button {
    margin-top: 20px;
    padding: 15px 40px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    background: #00E676;
    color: #000;
    border: 4px solid #000;
    cursor: pointer;
    box-shadow: 6px 6px 0px #000;
    transition: all 0.1s;
    margin-right: 10px;
}

/* Button hover effect - moves up and left */
button:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px #000;
}

/* Button active effect - appears pressed down */
button:active {
    transform: translate(6px, 6px);
    box-shadow: 0px 0px 0px #000;
}

/* Copy button with yellow background */
#copyBtn {
    background: #FFD700;
}

/* Utility class for hiding elements */
.hidden {
    display: none;
}

/* Output section with neobrutalist styling */
.output-section {
    background: #fff;
    border: 6px solid #000;
    box-shadow: 12px 12px 0px #000;
    padding: 30px;
    margin-bottom: 40px;
    min-height: 200px;
}

/* Generated text styling with monospace font */
.generated-text {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Notification styling with slide-in animation */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #00E676;
    color: #000;
    border: 4px solid #000;
    padding: 15px 25px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 6px 6px 0 #000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Notification show state - slides in from right */
.notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* ======================================
   MOBILE RESPONSIVE DESIGN
   ======================================
   Adjustments for screens 768px and smaller
   ====================================== */
@media (max-width: 768px) {
    /* Smaller title on mobile */
    h1 {
        font-size: 2rem;
    }
    
    /* Reduced padding on mobile */
    .container {
        padding: 20px 10px;
    }
    
    /* Smaller padding for sections */
    .input-section, .output-section {
        padding: 20px;
    }
    
    /* Full-width buttons on mobile */
    button {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    /* Notification slides from top on mobile */
    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}
