/* 
COLOR PALETTE

Vanilla             #EEEFA8
Bleu de France      #0889D9
Golden Gate Bridge  #F05219
Gunmetal            #292F36
Dark Pastel Green   #1EC22F
*/

/* GLOBAL STYLES
----------------------------------*/
html {
    box-sizing: border-box;
    font-size: 62.5%; /* Set default to 10px */
  }
    *, *:before, *:after {
    box-sizing: inherit;
  }
html, body {
    height: 100%;
}
body {
    background: #EEEFA8;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.4;
}
h1 {
    font-family: "Rock Salt", cursive;
    font-weight: 400;
    font-style: normal;
    color: #292F36;
    font-size: 4.5rem;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 24px;
    line-height: 1;
}
h2 {
    font-family: "Yatra One", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #292F36;
    font-size: 3rem;
    margin: 10px;
    line-height: 1;
}
h3 {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    color: #292F36;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Links */
a {
    color: #0889D9;
}
a:hover {
    color: #F05219;
    text-decoration: none;
}
footer a {
    color: #F05219;
}
footer a:hover {
    color: #0889D9;
    text-decoration: none;
}
.btn {
    background: #0889D9;
    color: #EEEFA8;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2;
    display: inline-block;
    padding: 7px;
    letter-spacing: 2px;
    line-height: 1;
    border-radius: 6px;
}
.content-wrapper {
    margin: 0 auto;
    padding: 15px;
    max-width: 900px;
}

/* MAIN PAGE
----------------------------------*/
.main {
    background: url(../images/bg-vintage-typewriter.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}
.main .content-wrapper {
    flex: 1 0 auto;
}
.content-bg {
    background: rgb(238 239 168 /0.9);
    padding: 30px;
    border-radius: 5px;
}
@media screen and (max-width: 450px) {
    .main {
        background: url(../images/bg-vintage-typewriter-small.jpg) no-repeat;
        background-size: cover;
        background-position: center;
        display: flex;
        flex-direction: column;
    }
    .main .content-wrapper {
        padding: 10px;
    }
    .content-bg {
        padding: 20px;
    }
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 1.6rem;
    }
}

/* STORIES PAGE
----------------------------------*/
.stories header::before {
    background: url(../images/kr-treadway-web-banner.jpg) left;
    background-size: cover;
    content: "";
    display: block;
    height: 350px;
}
.stories-page-section {
    margin-bottom: 30px;
}
.stories-page-section h2 {
    border-bottom: 1px dotted #F05219;
}
@media screen and (max-width: 530px) and (min-width: 451px) {
    .stories header::before {
        height: 140px;
    }
    h1 {
        font-size: 3.6rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}

/*  Stories
----------------------------------*/
.story-item {
    margin-top: 15px;
    margin-bottom: 30px;
}
.story-item img {
    width: 300px;
    height: auto;
}
@media screen and (min-width: 830px) {
    .story-item {
        display: flow-root;
    }
    .story-item img {
        float: left;
        margin-right: 20px;
    }
}

/* FOOTER
----------------------------------*/
footer {
    background: #292F36;
    color: #EEEFA8;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 1.3rem;
}
.socials {
    list-style-type: none;
    padding: 0;
}
.socials li {
    display: inline-block;
    margin-left: 10px;
}
.socials img {
    width: 32px;
}
.socials img:hover {
    opacity: 0.6;
}