/* Global Body Formatting */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    margin: 20px auto;
    max-width: 850px;
    padding: 15px;
}

/* -----------------------------------------
   Requirement: Border properties on at least 1 div
------------------------------------------ */
#menu {
    background-color: #2c3e50;
    padding: 15px;
    text-align: center;
    border: 4px solid #1a252f; 
    border-radius: 6px;
    margin-bottom: 25px;
}

/* -----------------------------------------
   Requirement: 5 different states of the anchor tag (Menu)
------------------------------------------ */
/* 1. Link (Unvisited) */
#menu a:link {
    color: #ffffff;
    text-decoration: none;
    padding: 0 15px;
    font-weight: bold;
}
/* 2. Visited */
#menu a:visited {
    color: #bdc3c7; 
}
/* 3. Hover */
#menu a:hover {
    color: #f39c12; 
    text-decoration: underline;
}
/* 4. Focus (Accessibility for tabbing) */
#menu a:focus {
    outline: 2px dashed #f39c12;
    background-color: #34495e;
}
/* 5. Active (While being clicked) */
#menu a:active {
    color: #e74c3c; 
}

/* Story Container Formatting */
.story-container {
    background-color: #ffffff;
    padding: 25px;
    border: 1px solid #d5d8dc;
    border-top: 5px solid #2980b9;
    /* Clearfix to ensure the container wraps around the floated image */
    overflow: auto; 
}

.story-container h2 {
    margin-top: 0;
    color: #2c3e50;
}

.story-container p {
    line-height: 1.6;
    color: #333333;
}

/* -----------------------------------------
   Requirement: Float property for image/text layout
------------------------------------------ */
.story-container img {
    float: right; 
    margin: 0 0 15px 20px;
    border: 3px solid #ecf0f1;
}

/* -----------------------------------------
   Requirement: NYT Link specific styling
------------------------------------------ */
a.continue-reading:link, 
a.continue-reading:visited {
    color: blue;            
    text-decoration: none;  
    font-weight: bold;      
    font-size: 18px;        
    display: block;
    margin-top: 20px;
}

a.continue-reading:hover, 
a.continue-reading:focus {
    color: red;                 
    text-decoration: underline; 
}