/* brakpoint:
/* 800px

/TO DO - 
1. different colors for social 
2. link to all buttons 
3.


/* Fonts */

@font-face {
    font-family: Eurofurenceregular;
    src: url(../fonts/eurof55.ttf);
}

/* Base */

* {
    box-sizing: border-box;
}

html {
    font-family: 'Lato', sans-serif;
    color: #606060;
}

body {
    background-color: #ffffff;
    margin: 0;
    /* font-size: 1rem; */
}

img {
    width: 100%;
    height: auto;
    box-sizing: unset;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: normal;
}

h2 {
    /* Style for "Duis aute" */
    color: #4f4e4e;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 30px;
    text-transform: uppercase;
    /* Text style for "Duis aute" */
    letter-spacing: unset;
}

h5 {
    font-size: .8125rem;
}

a {
    text-decoration: none;
    /* color: blue; */
    transition: color .3s;
}

button {
    cursor: pointer;
}

/* layout */

.wrapper {
    margin: 0 auto;
    max-width: 940px;
    /* padding: 0 0 0 20px; */
    box-sizing: unset;
}

.outline-border {
    margin: 0 auto;
    max-width: 980px;
    /* height: auto; */
    border: 1px solid #e1e0e0;
    border-top: unset;
    border-bottom: unset;
    background-color: #ffffff;
}

/* Header */

.main-header {
    position: fixed;
    z-index: 1;
    width: 100vw;
    height: 60px;
    box-shadow: inset 0 -6px 0 #1e1e1e;
    background-color: #292929;
}

.logo {
    /* Style for "Blogin." */
    position: fixed;
    top: 10px;
    left: 30px;
    width: 85px;
    height: 33px;
    color: #ffffff;
    font-family: Eurofurenceregular, sans-serif;
    font-size: 40px;
    font-weight: 400;
    text-decoration: none;
}

.logo .dot {
    /* Text style for "." */
    color: #58c93a;
    letter-spacing: -0.8px;
}

.main-nav {
    visibility: hidden;
}

.open .main-nav {
    visibility: visible;
    position: relative;
    /* z-index: 10; */
    height: 100vh;
    width: 98vw;
    /* right: 0px; */
    top: 60px;
    background-color: rgb(228, 228, 228, 0.2);
    /* background-color:#E4E4E4 */
}

.mobile-menu-button {
    position: fixed;
    right: 10px;
    top: 20px;
    z-index: 10;
}


.close-menu-button {
    display: none;
}
.open .mobile-menu-button {
    visibility: hidden;
}

.open .close-menu-button {
    display: unset;
    position: fixed;
    color: red;
    background-color: white;
    z-index: 15;
    top: 140px;
    right: 7vw;
}

.nav-item-box {
    position: relative;
    left: 10vw;
    width: 80vw;
    height: 80px;
    margin-bottom: 20px;
    /* margin: 0 auto; */
    background-color: #7F7F7F;
}

.nav-item-box:first-child {
    margin-top: 100px;
}
@media (min-width: 800px) {
    .wrapper {
        margin: 0 auto;
        max-width: 940px;
        padding: 0 0 0 20px;
        box-sizing: unset;
    }
    .main-header {
        height: 8vw;
    }
    .logo {
        position: relative;
        top: -10px;
    }
    .mobile-menu-button {
        display: none;
    }
    .main-nav {
        display: flex;
        flex-direction: row;
        visibility: visible;
        margin-right: 20px;
    }
    .main-nav a {
        margin-right: 30;
    }
    .nav-item-box {
        position: unset;
        width: 130px;
        height: 100%;
        /* 130px;*/
        box-shadow: -1px 0 0 #1d1d1d, inset 0 -6px 0 #1e1e1e;
        background-color: #292929;
    }
    
.nav-item-box:first-child {
    margin-top: unset;
}
    .nav-item-box:hover {
        box-shadow: -1px 0 0 #1d1d1d, inset 0 -6px 0 #58c93a;
    }
    .nav-item-box:last-child {
        box-shadow: -1px 0 0 #1d1d1d, inset -1px 0 0 #1d1d1d, inset 0 -6px 0 #1e1e1e;
    }
    .nav-item-box:last-child:hover {
        box-shadow: -1px 0 0 #1d1d1d, inset -1px 0 0 #1d1d1d, inset 0 -6px 0 #58c93a;
    }
}

/* End of Media Query */

.nav-item-box:hover {
    box-shadow: inset 0 -6px 0 #58c93a;
}

.main-nav a {
    text-shadow: 0 1px 0 #1e1e1e;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-right: 0;
}

.first-ltr {
    letter-spacing: 0.8px;
}

.main-nav a:hover {
    /* Style for "clicked element" */
    color: #58c93a;
}

/* 
.screen {
    position: fixed;
    width: 80vw;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    background: rgba(0, 0, 0, 0.55);
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
    transition: opacity .3s;
} */

body.open .screen {
    visibility: visible;
    opacity: 1;
    z-index: 2;
}

.blog-container {
    position: relative;
    top: 8vw;
    padding-top: 5vw;
}

/* 
.blog-container > * {
    flex: 0 0 50%;
} */

/* .blog-item img { */

img.blog-image {
    max-width: 460px;
    padding: 0 20px 0 1px;
    object-fit: cover;
    width: 50%;
    height: 307px;
}

.blog-item-article {
    max-height: 320px;
}

.blog-item-article h2 {
    padding-bottom: 2vw;
}

.blog-item {
    margin-bottom: 6vw;
}

.blog-item:last-child {
    padding-bottom: 7vw;
}

.blog-title {
    /* Style for "Duis aute" */
    color: #4f4e4e;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 30px;
    text-transform: uppercase;
}

h2.blog-title span:first-of-type {
    letter-spacing: 0.84px;
}

.blog-text {
    max-height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-item-button {
    border: none;
    background-color: unset;
    width: 186px;
    height: 40px;
    background-image: url('../img/buttons/Continue_Reading_btn.png')
}

.blog-item-button:hover {
    width: 210px;
    height: 40px;
    /* cursor: pointer; */
    background-image: url('../img/buttons/continue-reading3.png');
}

.social-media {
    width: 220px;
    margin: 0 auto;
}

.icon-box {
    /* Style for "Shape 7" */
    /* display: flex; */
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #e5e5e5;
    transition: hover .3s;
}

.icon-box:hover {
    /* Style for "Shape 7" */
    background-color: #516fad;
}

.icon-box img {
    width: unset;
}

/* Helpers */

/* flex */

.flex {
    display: flex;
}

.column {
    flex-direction: column;
}

.space-between {
    justify-content: space-between;
}

.space-even {
    justify-content: space-evenly;
}

.space-around {
    justify-content: space-around;
}

.align-center {
    align-items: center
}

.flex.wrap {
    flex-wrap: wrap;
}

.justify-content {
    justify-content: center;
}

.align-self {
    align-self: center;
}

/* Lists */

.clean-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Pagination Section */

.seperator {
    /* Style for "Separator" */
    max-width: 979px;
    height: 1px;
    background-color: #e1e0e0;
}

.pagination {
    /* display: block; */
    height: 75px;
}

.pagination button {
    border: none;
    background-color: unset;
    z-index: 1;
}

.pagination span {
    /* Style for "Next" */
    width: 49px;
    height: 14px;
    color: #818181;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    /* Text style for "N, ext" */
    letter-spacing: 0.9px;
}

.pagination span:hover {
    cursor: pointer;
}

.pagination>* {
    flex-grow: 0;
    align-self: center;
}

.pagination img {
    width: auto;
}

.pagination img:last-child {
    padding: 0 25px 0 10px;
}

.pagination img:first-child {
    padding: 0 10px 0 25px;
}

/* Footer */

footer {
    /* Style for "Shape 1 co" */
    width: 98vw;
    height: 315px;
    box-shadow: inset 0 1px 0 #e1e0e0;
    background-color: #f8f8f8;
    text-align: center;
}

.footer-wrapper {
    position: relative;
    top: 80px;
    max-width: 1000px;
    height: 160px;
    margin: 0 auto;
}

.footer-logo {
    color: #292929;
}

.footer-text {
    /* Style for "© 2014 Blo" */
    width: 524px;
    height: 12px;
    color: #a6a6a6;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.c-2014-b {
    /* Text style for "©,  2014 B" */
    font-family: "Lato - Regular";
    font-weight: 400;
    letter-spacing: 0.39px;
}

.pixelhint {
    /* Text style for "Pixelhint." */
    color: #939292;
    font-family: "Lato - Bold";
    font-weight: 700;
    letter-spacing: 0.39px;
}