body {
    font-family: 'Assistant', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    direction: rtl;
}

a{
    text-decoration: none;
    color: inherit;
}


.page-container-wrap{
    margin-top: 6em;
    height: calc(100vh - 6em);
    position: relative;
}

.page-container {
    display: flex;
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
}

main {
    width: 75%;
    max-height: 100%;
    box-sizing: border-box;
    overflow: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.banner {
    background-color: #001;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    position: relative;
    height: 5em;
    box-sizing: border-box;
}

.banner a {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    transition: text-shadow 0.25s;
    position: absolute;
    top: 1em;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 1em;
}

.banner a:hover {
    text-shadow: 0 0 10px #fff;
}

aside {
    width: 25%;
    box-sizing: border-box;
    height: fit-content;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-left: 20px;
}

@media (max-width: 768px) {
    main {
        width: 100%;
        max-height: unset;
        height: auto;
        order: 2;
    }

    aside {
        width: 100%;
        order: 1;
    }

    .page-container {
        flex-direction: column;
        height: fit-content;
        overflow: visible;
        gap: 1em;
    }

    .page-container-wrap {
        overflow: auto;
    }
}

aside h2 {
    margin-top: 0;
}

article {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@keyframes fade-in {
    from {
        filter: blur(20px) drop-shadow(16px 16px 20px red) invert(75%);;
    }
    to {
        filter: blur(0) drop-shadow(0 0 0px #000);
    }
}

article .post-title {
    margin-top: 0;
    animation: fade-in 0.5s 1 normal both;
}

.date {
    color: #888;
    font-size: 0.9em;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.settings p span {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 2s steps(40) 0.5s 1 normal both;
}

.content {}

.content.cut-off {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.parallax-content{
    background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
    width: 100%;
    height: 30vh;
}

.tweet-container{
    width: 100%;
}

.tweet-container iframe{
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 1em auto;
}
.facebook-container{
    width: 100%;
}
.fb-post{
    width: 100%;
    max-width: 500px;
    display: block !important;
    margin: 1em auto;
}

.credit {
    font-size: 0.8em;
    color: #888;
    text-align: right;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f4f4f4;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    border: 3px solid #f4f4f4;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #888 #f4f4f4;
}