:root {
    --red: #ff7b7b;
    --gray: #c4c4c4;
    --navy: #19504f;
    --gold: #ffdb99; 
    --light: #fff;
    --dark: #062c2b; 
}
body {
    font-family: 'century-gothic', 'Courier', monospace;
    font-size: 16px;
    color: var(--dark);
    /* background-color: var(--light); */
}
h1, h2, h3, h4, p {
    line-height: 1;
    margin: 0;
}
h1 {font-size: 3rem;}
h2 {font-size: 2rem;}
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2em;
}
.container img {
    text-align: center;
}
ul {
    list-style: none;
    padding: 0;
}
ul a {
    font-family: 'century-gothic';
    text-decoration: none;
    color: var(--dark);
    font-size: 18px;
}
/* HEADER */
.header-img {
    width: 100px;
}
#main-header {
    display: flex;
    border-bottom: 1px solid var(--dark);
    padding: 1rem;
    justify-content: space-between;
    background: var(--dark);
}
#main-header a {line-height: 0;}
#main-header nav {
    align-self: flex-end;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}
#main-header nav ul {
    display: inline-flex;
    margin: 0;
}
#main-header nav ul li {
    padding: 0 0 0 1em;
}
#main-header nav ul a { 
    font-family: 'bookman-jf-pro';
    line-height: 1;
    color: var(--light);
    font-size: 1.4rem;
}
/* END */
h1, h2 {
    font-family: 'bookman-jf-pro';
}
h3 {
    font-family: 'Roboto Mono';
}
h4 {
    font-family: 'Roboto Mono';
    font-size: 14px;
    line-height: 1;
}
#main-header h1 {
    margin: 0 auto;
    align-self: center;
    font-weight: 900;
}
article h1 {
    font-family: 'bookman-jf-pro';
}
#location-article {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}
.side-bar {
    grid-column: 1 / 4;
}
.main-content {
    grid-column: 4 / 13;

}
.container img {
    text-align: center;
    width: 100%;
    object-fit: contain;
}
#location-article figure {
    margin: 0;
    padding: 0;
} 
#location-article p {
    width: 80%;
    margin: 0 auto;
    line-height: 32px;
}
.location-article {
    text-transform: uppercase;
    font-weight: 300;
}
.container img {
    text-align: center;
    width: 100%;
    object-fit: contain;
    height: auto;
    margin: 2em 0;
}
/* FRONT */ 
#blog section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--dark);
}
#blog-about, #tips {
    text-align: center;
}
#tips .container {
    max-width: 800px;
}
#blog-about p {
    font-family: 'roboto mono';
    line-height: 2rem;
}
#articles {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
#articles h1, #articles h2, #blog h1 {
    font-weight: 500;
} 
#blog h1, #blog h2, #blog h3, #blog h4, #blog p {
    padding: 0.5rem 0 0.5rem 0;
}
#front-content .container {
    padding: 1rem;
}
.bold {
    font-weight: 900;
}
#tips {
    background: var(--dark);
    color: var(--light);
}
/* FEATURED ARTICLE */
#articles img {
    aspect-ratio: 3/2;
    width: 100%;
    object-fit: cover;
    margin: 0;
}
.featured-article h2 {
    line-height: 1;
}
#articles h3 { 
    font-family: 'bookman-jf-pro';
}
/* RECENT ARTICLES */

.recent-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.recent-article h3 {
    font-size: 1.5rem;
    font-weight: 500;
}
.recent-article p {
    font-size: 0.85rem;
    margin: 0;
}
#front-about {
    margin: 4em 0;
    border-bottom: 1px solid var(--dark);
    text-align: center;
}
.article-info h4 {
    font-weight: 400; 
    text-transform: uppercase;
}
/* LINKS */

#articles a {
    color: inherit;
    text-decoration: none;
}

/*--------------------------------
    TIP SUBMISSION FORM
--------------------------------*/

.tip-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tip-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tip-form label {
    font-size: 0.9rem;
}

.tip-form input,
.tip-form textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    font: inherit;
}

.tip-form textarea {
    resize: vertical;
}

.tip-form button {
    cursor: pointer;
    padding: 12px 20px;
}

.form-success {
    color: green;
}

.form-error {
    color: red;
}

/* Spam protection honeypot */

.tip-honeypot {
    position: absolute;
    left: -9999px;
}

/* MOBILE */

@media (max-width: 768px) {
    #main-header nav {display: none;}
    #articles {
        grid-template-columns: 1fr;
    }

    .featured-article img {
        height: 300px;
    }

}