/* ============================================
   EVY'S PLAYGROUND - STYLES

   This file controls how everything LOOKS!
   Try changing colors and sizes to see what happens.
   ============================================ */


/* -----------------------------------------
   COLORS TO TRY:
   pink, purple, blue, green, yellow, orange,
   red, coral, turquoise, gold, violet,
   hotpink, skyblue, lightgreen, peachpuff
   ----------------------------------------- */


/* === THE WHOLE PAGE === */
body {
    /* Background color of the whole page */
    background-color: lavender;

    /* The font (text style) for the page */
    font-family: Arial, sans-serif;

    /* Remove the white space around edges */
    margin: 0;
    padding: 20px;
}


/* === THE HEADER (top section) === */
header {
    /* Background color */
    background-color: rgb(196, 55, 225);

    /* Text color */
    color: white;

    /* Space inside the box */
    padding: 30px;

    /* Rounded corners - try changing 20px! */
    border-radius: 20px;

    /* Center the text */
    text-align: center;
}

/* The main title */
h1 {
    /* Size of the text */
    font-size: 36px;

    /* Remove extra space above */
    margin-top: 0;
}

/* The subtitle under the title */
.subtitle {
    font-size: 20px;
}


/* === NAVIGATION (the menu links) === */
nav {
    /* Center the links */
    text-align: center;

    /* Space around the nav */
    margin: 20px 0;
}

/* Each link in the nav */
nav a {
    /* Background color of each button */
    background-color: purple;

    /* Text color */
    color: white;

    /* Space inside each button */
    padding: 15px 25px;

    /* Space between buttons */
    margin: 5px;

    /* Rounded corners */
    border-radius: 10px;

    /* Remove the underline */
    text-decoration: none;

    /* Make it look like a button */
    display: inline-block;

    /* Text size */
    font-size: 18px;
}

/* When you hover over a link */
nav a:hover {
    /* Change color when mouse is over it! */
    background-color: orchid;
}


/* === MAIN CONTENT AREA === */
main {
    /* Maximum width so it doesn't stretch too wide */
    max-width: 800px;

    /* Center it on the page */
    margin: 0 auto;
}


/* === CARDS (the boxes) === */
.card {
    /* Background color */
    background-color: white;

    /* Rounded corners */
    border-radius: 15px;

    /* Space inside the card */
    padding: 25px;

    /* Space below each card */
    margin-bottom: 20px;

    /* A nice shadow under the card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card titles */
.card h2 {
    /* Color of the title */
    color: purple;

    /* Remove space above */
    margin-top: 0;
}


/* === LISTS === */
ul {
    /* Space on the left for bullet points */
    padding-left: 25px;
}

li {
    /* Space between list items */
    margin: 10px 0;

    /* Text size */
    font-size: 18px;
}


/* === FOOTER (bottom section) === */
footer {
    /* Center the text */
    text-align: center;

    /* Space above */
    margin-top: 30px;

    /* Text color */
    color: purple;

    /* Text size */
    font-size: 16px;
}


/* ============================================
   TRY THESE EXPERIMENTS:

   1. Change "hotpink" to your favorite color
   2. Make the font-size bigger or smaller
   3. Change border-radius to 0 (no rounding)
   4. Change background-color of cards

   Have fun experimenting!
   ============================================ */
