/* (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px) */

:root {
  font-size: 21px;
    --color-1: #ffffff;
    --color-2: #1a1a1a;
    --color-3: #6CB2BE;
    --color-4: #D5769A;
    --color-5: #E6DEC9;
    --color-6: #B21742;
    --color-7: #01444c;
    --color-8: #8e8e8e;
    --color-9: #f9f7f1;
    --color-10: #0F5657;
    --max-width: 1024px;
    --height-hero-img: 550px;
    --height-header: 80px;
    --font-size-1: 1rem;
    --font-size-2: 17px;
	--font-size-3: 1.5rem;
    --font-1: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

a:hover {
    color: var(--color-3);
    transition: color 0.3s;
    cursor: pointer;
}

html {
  font-family: var(--font-1);
  font-weight: 300;
}

.content-title {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

body {
    background-color: var(--color-1);
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #323234;
}

.blog-post-infobar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: var(--max-width);
  margin: auto;
  justify-content: flex-end;
  height: 100%;
  padding: 5% 1%;
}

.hero-image img{
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
}

.main >* {
    width: 100%;
	margin: auto 3%;
}

*:focus {
    outline: none;
}

footer {
    color: var(--color-1);
    background-color: var(--color-2);
    display: inline-flex;
    justify-content: center;
    font-size: 17px;
}

.buttons-with-support {
    display: inline-flex;
}

.sm-icon {
    line-height: 32px;
    font-size: 32px;
    margin: 0 0 0 10px;
}

header {
    height: var(--height-header);
    padding: 0 15px;
    color: var(--color-2);
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 2;
}

header.sticky #logo img{
  background-color: var(--color-1);
}

.hero-image {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

main {
    max-width: var(--max-width);
    width: 100%;
    margin: auto;
    flex: 1;
    display: inline-flex;
}

nav {
    height: inherit;
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
}

.navbar-item {
    color: var(--color-1);
    font-size: var(--font-size-3);
    margin: 0 10px;
}

.footer {
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: auto;
}

main .pagination li {
    border: none;
}

main .pagination a, main .pagination span {
    padding: 5px;
}

footer a {
    color: var(--color-1);
    padding: 5px 0;
}

footer p {
    padding: 5px 15px;
    margin: 0;
}

.info_bar {
height: max-content;
padding: 0.5rem 0;
display: flex;
font-size: var(--font-size-2);
}

.info .title {
  font-size: 2rem;
}

.info_bar .category{
  margin-right: 10px

}
.sm-icon span:hover:before,
.icon-search-line:hover:before,
footer a:hover,
.navbar-item:hover {
    color: var(--color-3);
    transition: color 0.3s;
    cursor: pointer;
}

.navbar-start {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-burger {
    display: none;
}

#logo img {
    max-height: 100%;
    max-width: 60vw;
}

h1 {
    font-size: 3rem;
    margin-top: 0;
}

p {
    text-align: justify;
}

article.article {
  margin-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.article-image {
  flex: 0 1 330px;
  margin: auto;
  max-height: 400px;
    border-radius: 4px;
    -webkit-box-shadow: -1px 2px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 2px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: -1px 2px 5px 0px rgba(0, 0, 0, 0.75);
}

.article-info {
  flex: 2 1 400px;
  padding: 15px;
}

.article-image:hover img {
    filter: sepia(0);
}

.article-image img {
    filter: sepia(1);
}

main a {
    color: var(--color-2);
}

a {
    outline: 0;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: var(--color-2);
    border-bottom: 1px solid var(--color-1);

}

.search-submit {
    background: rgba(0, 0, 0, 0) !important;
    border: none !important;
    font-size: 1.8rem;
}

#search-submit-icon:before {
    color: var(--color-1);
}

#hamburger {
    z-index: 3;
}

#listing-footer {
    width: 100%;
}

input {
    width: 80%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: none;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
    outline: none;
    color: var(--color-1);
    font-size: var(--font-size-3);
}

.search-wrapper form {
    display: flex;
}

.main {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-post {
    margin-top: calc( 100vh - var(--height-header) );
}

.blog-post-content p:first-child::first-letter {
color: white;
  background-color: black;
  border-radius: 2px;
  box-shadow: 3px 3px 0 red;
  font-size: 250%;
  padding: 6px 3px;
  margin-right: 6px;
  float: left;
}

#navigation-menu {
    height: 100vh;
    position: fixed;
    margin: 0;
    z-index: 2;
    width: 100%;
	max-width: 380px;
    background-color: var(--color-2);
    top: 0;
    right: 0;
    display: flex;
    padding: 11px 25px 0 25px;
    flex-direction: column;
	transition: transform 1s ease;
	transform: translateX(100%);
    align-items: center;
	-webkit-box-shadow: 0 0 10px rgba(16,16,16,.7);
    -moz-box-shadow: 0 0 10px rgba(16,16,16,.7);
    box-shadow: 0 0 10px rgba(16,16,16,.7);

}

#navigation-menu.is-active {
	transform: translateX(0);
}

#navigation-menu .navbar-item {
    padding: 25px 15px;
}

.sm-icon .icon::before,
#icon-search::before {
    color: var(--color-1);
}

.sm-buttons-mobile {
    margin: 2rem 0;
}

@media (max-width: 1023px) {

    :root {
        --height-hero-img: 550px;
        }
    .search-wrapper form {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-input {
        font-size: 2rem;
        border: none;
        margin: 4rem 0;
        text-align: center;
    }

    #hamburger-logo {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
}

.navbar-buttons {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
}

/* Hamburger */

.hamburger {
    padding: 10px 10px 6px 10px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    border: 0;
    margin: 0;
    overflow: visible;
    border-radius: 4px;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: var(--color-3);
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger:focus {
    outline: none;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 40px;
    height: 2px;
    background-color: var(--color-2);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.hamburger--collapse .hamburger-inner {
    top: auto;
    bottom: 0;
    transition: top 0.13s 0.13s ic-bezier(0.55, 0.055, 0.675, 0.19), background-color 0.4s;
}

.hamburger--collapse .hamburger-inner::after {
    top: -20px;
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear, background-color 0.4s;
}

.hamburger--collapse .hamburger-inner::before {
    transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19), background-color 0.4s;
}

.hamburger--collapse.is-active .hamburger-inner {
    transform: translate3d(0, -10px, 0) rotate(-45deg);
    transition-delay: 0.22s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--collapse.is-active .hamburger-inner::after {
    top: 0;
    opacity: 0;
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
}

.hamburger--collapse.is-active .hamburger-inner::before {
    top: 0;
    transform: rotate(-90deg);
    transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}
