/* styles.css */


/* Default body style */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* The page level container object, sets the margins at 80% with white space on both sides*/

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}
 
/* The standard page layout grid, 75% content area and 25% article preview area */

.grid-container {
    display: grid;
    grid-template-columns: 75% 25%;
}

/* Content contains the main content of the page */

.content {
    grid-column: 1 span 1;
}


/* Article Preview Styles */

/* The articles section takes up the right 25% of the page */
.articles{
    grid-column: 2 span 1;
}

/* The article tile is the container for each article preview */
.article_tile{
    padding: 10px;
    margin: 10px;
    border: 1px solid black;
    border-radius: 10px;
}

/* The article tile image is centered within the article tile */
.article_tile_img {
    text-align: center;
}


/* The site logo image in the header */

.logo_img {
    width: 10%;
    position: relative;
    padding: 2%;
}

/* Header, Section, Footer, and Form Styles includes the nav section */

header {
    background: white;
    color: #fff;
    min-height: 100px;
    padding-left: 10%;
    padding-right: 10%;
    border-bottom: #77aaff 3px solid;
}

header a {
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: rgb(255, 0, 68);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header ul {
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px 0 20px;
}

header nav {
    float: right;
    margin-top: 10px;
}

header h1 {
    float: left;
}

section {
    padding: 20px 0;
    border-bottom: #ccc 1px solid;
}

section h2 {
    color: #333;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px;
    background: #77aaff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background: #0056b3;
}

h1 {
    color: #333;
}