body {
    margin: 0;
}
a {
    color: inherit;
}
a:hover {
    color: #f3141d;
}
h1, h2 {
    margin: 20px 0;
}
.content-wrapper a,
.content-wrapper p {

  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
/*   -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto; */

}
/* --- selector limbi --- */
.selector-limbi {
    position: absolute;
    width: 100%;
    height: 0;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
}
.selector-button {
    float: right;
    margin-top: 4px;
    margin-right: 20px;
}
.selector-button li {
    display: inline;
    margin-left: 10px;
}
.selector-button li a {
   text-decoration: none;
}
.main-wrapper {
    display: flex;
    /* font-family: 'Roboto Mono', monospace; */
    font-family: 'Bitter', serif;
/*     flex-wrap: wrap; */
}
.main-wrapper p {
    line-height: 24px;
}

/* === Sdebar === */
.sidebar {
/*     white-space: nowrap;  */
/*     flex-basis: 300px; */
    max-width: 33.33%;
    font-family: 'Rajdhani', sans-serif;
    margin-left: 8px;
}
#close-menu-button {
    display: none;
}
.sidebar li {
    margin-bottom: 8px;
    list-style-type: none;
}
.sidebar a {
    text-decoration: none;
}
.sidebar a:hover {
    text-decoration: underline;
}
.sidebar .current-cat,
.sidebar .current-post {
    color: #f3141d;
}
.sidebar .post-date {
    font-size: 10px;
    white-space: nowrap;
    margin-left: 8px;
}
.sidebar .category-wrapper {
    padding-left: 4px
}
.sidebar .category-wrapper > ul {
    overflow: hidden;
    margin: 0;
}
.sidebar .category-title {
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
}
.sidebar .category-title:hover {
    color: #f3141d; 
}
.sidebar .category-wrapper > ul {
    transition: max-height 0.4s;
}
.logo {
    background: #f3141d;
    font-size: 40px;
    color: white;
    line-height: 34px;
    margin: 20px 0;
    padding-left: 2px;
}
.logo a {
    display: block;
}
.logo:hover {
    background: white;
}
.logo a:hover {
    text-decoration: none;
}
/* === === */
.content-wrapper {
    margin-left: 20px;
    max-width: 700px;
    flex-basis: 700px;
    margin-right: 10px;
}
.content-wrapper img {
    max-width: 100% !important;
    height: auto;
}
img.attachment-large {
    margin-top: 20px;
}
.wp-block-image img {
    height: auto;
}

/* MEDIA QUERIES 
-------------------------------------------------*/

@media (max-width: 600px) {
    .selector-limbi {
        margin-top: 22px;
        right: 46px;
        color: #fff;
        margin-right: 26px;
        z-index: 1;
    }
    .logo {
        position: absolute;
        left: 0;
        border-left: solid 20px;
        display: block;
        box-sizing: border-box;
        width: 100%;
    }
    .logo a {
        display: inline-block;
    }
    .logo a:hover {
        color: #eee;
    }
    .logo:hover {
        background: #f3141d;
    }
    .sidebar {
        margin-left: 0;
    }
    .sidebar .menu {
        position: absolute;
        display: block;
        margin: 72px 0 0 0;
        padding-left: 20px;
        max-width: 100%;
        background: #eee;
        border-right: solid 8px #f3141d;
/*         border-top: solid 1px #f3141d; */
        left: -100%;
        box-sizing: border-box;
        transition: left 0.33s;
        padding-bottom: 50px;
    }
    .content-wrapper {
        margin-top: 50px;
    }
    /* === menu button === */
    #menu-button {
        display: inline-block;
        float: right;
        margin-right: 20px;
        width: 34px;
        padding: 6px;
        box-sizing: border-box;
        cursor: pointer;
    }
    #menu-button div {
        width: 90%;
        height: 3px;
        margin: 3px auto;
        background-color: #fff;
        border-radius: 3px;
  }
    #close-menu-button {
        position: sticky;
        top: 0;
        display: block;
        text-align: right;
    }
    #close-menu-button svg {
        width: 30px;
        height: 30px;
        background: #f3141d;
        margin-right: -8px;
    }
    .category-title:after {
        content: "";
        display: inline-block;
        background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='20' height='10' ><path d='M 0,1 L 10,9 L 20,1 ' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square' /></svg>")  repeat-x;
        background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='20' height='10' ><path d='M 0,0 L 8,10 L 16,0 ' fill='%23444' stroke='none' /></svg>")  repeat-x;
        background-size: 14px;
        width: 14px;
        height: 10px;
        margin-left: 8px;
    }
    .category-title.on:after {
        background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='20' height='10' ><path d='M 0,10 L 8,0 L 16,10 ' fill='%23444' stroke='none' /></svg>")  repeat-x;
        background-size: 14px;
    }
    .sidebar .category-wrapper > ul {
        padding-left: 8px;
    }
        
}

