/*** GLOBAL ***/

body {
    background-color: #404E5C;
    color: white;
    font-family: 'open_sans', Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: #DF7F81;
    text-decoration: none;
}

a:hover {
    color: #d86265;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'exo_2';
}

header {
    border-bottom: 1px solid #6B93AB;
    width: 100%;
    text-align: center;
}

footer {
    text-align: center;
    border-top: 1px solid #6B93AB;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(223,127,129, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

img {
    max-width: 100%;
}

.btn-primary {
    background-color: #DF7F81;
    border-color: #DF7F81;
}

.btn-primary:hover {
    background-color: #C57072;
    border-color: #C57072;
}

.btn-outline-primary {
    color: #DF7F81;
    border-color: #DF7F81;
}

.btn-outline-primary:hover {
    color: white;
    border-color: #DF7F81;
    background-color: #DF7F81;
}

.social-media-logo {
    width: 40px;
}

.header-social-media-logo {
    width: 30px;
}

code {
    color: #DF7F81;
    font-size: 100%;
}

blockquote {
    background-color: #6B93AB;
    padding: 1.5rem;
    font-style: italic;
    border-radius: .25em;
}

/*** INDEX PAGE ***/

#book-image {
    width: 80%
}

.blog-post img {
    width: 80%
}

.homescreen-card {
    border: 1px solid #6B93AB;
    border-radius: .25em;
}

.compressed-item-card {
    background-color: inherit;
    border: 1px solid #6B93AB;
    border-radius: .25em;
}

.compressed-item-footer {
    background-color: inherit;
    border-top: none;
}

.tag-badge {
    font-size: inherit;
    font-weight: inherit;
}

.tag-list {
    list-style: none;
}

#sponsor-me-github-image {
    height: 2rem;
    margin-bottom: 0.5rem;
}

.button-github-image {
    height: 1.5rem;
    margin-bottom: 0.2rem;
}

.open-source-image-column {
    background-color: white;
}

/*** BLOG PAGE ***/

.blog-page-post {
    border: 1px solid #6B93AB;
    border-radius: .25em;
}

.blog-page-post-image {
    max-height: 350px;
    object-fit: contain;
}

.open-source-image {
    width: 40%;
}

@media (min-width: 768px) {
    .open-source-image {
        width: 100%;
    }
}

/*** BLOG POST PAGE ***/

#blog-post h1 {
    margin-bottom: 1rem;
}

#blog-post img {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/*** FONTS ***/

@font-face {
    font-family: 'open_sans';
    src: url('/static/fonts/opensans-regular-webfont.woff2') format('woff2'),
         url('/static/fonts/opensans-regular-webfont.woff') format('woff');
}

@font-face {
    font-family: 'open_sans';
    src: url('/static/fonts/opensans-bold-webfont.woff2') format('woff2'),
         url('/static/fonts/opensans-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'open_sans';
    src: url('/static/fonts/opensans-bolditalic-webfont.woff2') format('woff2'),
         url('/static/fonts/opensans-bolditalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'open_sans';
    src: url('/static/fonts/opensans-extrabold-webfont.woff2') format('woff2'),
         url('/static/fonts/opensans-extrabold-webfont.woff') format('woff');
    font-weight: bolder;
    font-style: normal;
}

@font-face {
    font-family: 'open_sans';
    src: url('/static/fonts/opensans-extrabolditalic-webfont.woff2') format('woff2'),
         url('/static/fonts/opensans-extrabolditalic-webfont.woff') format('woff');
    font-weight: bolder;
    font-style: italic;
}

@font-face {
    font-family: 'open_sans';
    src: url('/static/fonts/opensans-italic-webfont.woff2') format('woff2'),
         url('/static/fonts/opensans-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'open_sans';
    src: url('/static/fonts/opensans-light-webfont.woff2') format('woff2'),
         url('/static/fonts/opensans-light-webfont.woff') format('woff');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'open_sans';
    src: url('/static/fonts/opensans-lightitalic-webfont.woff2') format('woff2'),
         url('/static/fonts/opensans-lightitalic-webfont.woff') format('woff');
    font-weight: lighter;
    font-style: italic;
}

@font-face {
    font-family: 'exo_2';
    src: url('/static/fonts/exo2-italic-variablefont_wght-webfont.woff') format('woff');
    font-style: italic;
}

@font-face {
    font-family: 'exo_2';
    src: url('/static/fonts/exo2-variablefont.woff') format('woff');
}

/*** END FONTS ***/
