/* roboto-regular - latin */
@font-face {
    font-family: 'Inter';
    src: url('../webfonts/inter-regular.woff2') format('woff2');
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../webfonts/inter-regular-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../webfonts/inter-italic.woff2') format('woff2');
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../webfonts/inter-italic-700.woff2') format('woff2');
    font-style: italic;
    font-weight: 700;
}

html {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    font: 17px;
    color: #bababa;
}


/* layout */
* {
    box-sizing: border-box;
}


.main-menu {
    background-image: linear-gradient(to right, #9376ff , #7689f4, #6f8af4);
    color: white;
    font-weight: 700;
}

.background-color-main {
    background-image: linear-gradient(to right, #9376ff , #7689f4, #6f8af4);
    color: #f1f1f1;
    font-weight: 700;
}

.full-button {
    width: 100%;
    padding: 10px;
    display: block;
    text-decoration: none;
    text-align: center;
    background-color: #3a3a3a;
    color: #f1f1f1;
}

.full-button:hover {
    background-image: linear-gradient(to right, #9376ff , #7689f4, #6f8af4);
}

.page-header {
    border-bottom: solid 1px #9276ff;
    padding-bottom: 14px;
    color: #d1d1d1;
}

#go-to-filter{
    display: none;
}

#categories-filter-count, #tags-filter-count {
    font-size: 14px;
}

#filter-other {
    max-height: 300px;
    overflow-y: auto;
}

.btn-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-apply-filter {
    flex-grow: 1;
    background-color: #8083f8;
    text-align: center;
    padding: 5px;
    align-self: center;
    cursor: pointer;
    color: #f1f1f1;
}

.btn-apply-filter:hover {
    background-color: #6e6fda;
}

.btn-clear-filter {
    flex-grow: 1;
    background-color: #7f7fad;
    text-align: center;
    padding: 5px;
    align-self: center;
    cursor: pointer;
    color: #f1f1f1;
}

.btn-clear-filter:hover {
    background-color: #6d6d86;
}

.checkbox-label {
    cursor: pointer;
}

body:not(.admin-table-page) {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

header {
    color: #f1f1f1;
    /* padding: 20px 6%; */
    background-color: #232323;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
}

.brand {
    color: inherit;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
}

.brand > img {
    height: 42px;
    vertical-align: center;
}

body:not(.admin-table-page) nav {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    padding: 12px 6%;
}

body:not(.admin-table-page) nav a {
    flex: 1;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

main {
    flex: 1;
    display: grid;
    background-color: #303030;
    justify-content: center;
}

main h1 {
    margin: 0 0 0;
    font-size: 32px;
}

main p {
    margin: 0;
}

footer {
    padding: 20px 6%;
    background-color: #232323;
    color: #666;
    font-size: 14px;
    text-align: center;
    border-top: solid #333333 1px;
}

.zebra-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.zebra-list li {
  padding: 12px 16px;
  background-color: #232323;
}

.zebra-list li:nth-child(even) {
  background-color: #292929;
}

.filter-list:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* post */
#content-tags {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #f1f1f1;
}

#content-tags div {
    background-color: #8083f8;
    padding: 5px 20px 5px 20px;
}

#content-tags a {
    text-decoration: none;
    color: #f1f1f1;
    font-weight: 700;
}

#content-tags a:hover {
    text-decoration: underline;
}

#content-title {
    color: #d1d1d1;
    font-size: 2.125rem;
}

#content-subtitle {
    color: #d1d1d1;
    padding-bottom: 10px;
}

#content-wrapper {
    width: 100vw;
    max-width: 1280px;
    background-color: #232323;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

#split-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

#main-content-wrapper {
    flex: 2;
}

#content-title-wrapper {
    margin-bottom: 28px;
}

#cover {
    margin-bottom: 18px;
    text-align: center;
}

#cover img {
    max-width: 100%;
}

#content {
    margin-bottom: 75px;
}

.content-images {
    text-align: center;
}

.content-images img {
    max-width: 100%;
    margin-bottom: 18px;
}

.side-column-header {
    padding: 15px 100px 15px 25px;
}

#sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 20%;
}

#support-wrapper {
    margin-top: 50px;
}

#content-footer-header {
    font-size: 22px;
    font-weight: 700;
    /* padding: 15px; */
    /* background-color: #6060c2; */
}

.content-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.content-footer-list li {
  padding: 12px 16px;
  background-color: #3a3a3a;
  color: #f1f1f1;
}

#video-version {
    font-weight: bold;
    margin-bottom: 75px;
    font-style: italic;
    font-size: 14px;
}

#video-version a {
    color: #ffffff;
    font-weight: bold;
}

/* home & list */
.featured-section {
    width: 100%;
}

.post-card.featured:hover .post-title-title,
.post-card.secondary:hover .post-title-title,
.post-card.third:hover .post-title-title {
    text-decoration: underline;
}

.featured-separator {
    border-bottom: solid 1px #9276ff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.featured-image {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -2;
    object-fit: cover;
}

.section-title {
    font-size: 28px;
    margin-bottom: 24px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.post-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    color: #d1d1d1;
    text-decoration: none;
    isolation: isolate;
    transition: transform 0.3s ease;
}

.post-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05));
    z-index: -1;
}

.side-posts {
    display: grid;
    gap: 20px;
}


.post-content {
    flex: 1;
    min-width: 0;
}

.featured-grid .post-content {
    text-shadow: 1px 1px 4px #000;
}

.featured > .post-content,
.secondary > .post-content,
.third > .post-content {
    padding: 20px;
}

.post-title {
    margin: 0;
    font-size: 22px;
}

.featured .post-title {
    font-size: 28px;
}

.post-meta {
    font-size: 13px;
    color: #919191;
}

.post-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px solid #414141;;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.post-image {
    flex: 0 0 220px;
    width: 220px;
    height: 150px;
    object-fit: cover;
}

.post-description {
    font-size: 15px;
    font-weight: 400;
}

.post-item-image-link:hover {
    opacity: 0.75;
    mask-image: linear-gradient(black, black);
}

.post-item-link {
    color: #d1d1d1;
    text-decoration: none;
}

.post-item-link:hover .post-title-title {
    text-decoration: underline;
}

.post-title-category {
    color: #8083f8;
}

.post-tags {
    color: #919191;
}

.post-tags-tag {
    text-decoration: none;
    color: #919191;
}

.post-tags-tag:hover {
    text-decoration: underline;
}

#pagination {
    padding: 48px 0px 48px 0px;
    display: flex;
}

.pagination-button-wrapper {
    flex-grow: 1;
    text-align: center;
}

.pagination-text {
    flex-grow: 1;
    text-align: center;
}

.pagination-button {
    color: #cecece;
    padding: 12px;
    border-radius: 24px;
}

.pagination-button:hover {
    background-color: #6e6fda;
}

.other-posts-list,
.side-posts-lists {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.other-posts-list li,
.side-posts-lists li {
  padding: 10px 0px;
  background-color: #232323;
}

.other-posts-list li:nth-child(even),
.side-posts-lists li:nth-child(even) {
  background-color: #292929;
}

.other-posts-list a,
.side-posts-lists a {
    display: flex;
    text-decoration: none;
    color: #d1d1d1;
    align-items: center;
}

.other-posts-list a:hover .post-title-title,
.side-posts-lists a:hover .post-title-title {
    text-decoration: underline;
}

.side-posts-lists a > .side-post-image-wrapper {
    flex: 3;
}

.side-posts-lists a > .post-title {
    flex: 4;
}

.other-posts-list a.reverse,
.side-posts-lists a.reverse {
    flex-direction: row-reverse;
}

.other-posts-list a.reverse .side-post-image-wrapper,
.side-posts-lists a.reverse .side-post-image-wrapper {
    /* display: none; */
}

.other-posts-list img,
.side-posts-lists img {
    padding-right: 10px;
    object-fit: cover;
    width: 100%;
    height: 80px;
}

.other-posts-list a.reverse img,
.side-posts-lists a.reverse img {
    opacity: 0.75;
}

.side-posts-lists a.reverse img:hover {
    opacity: 1;
}

.other-posts-list .post-title,
.side-posts-lists .post-title {
    font-size: 16px;
    font-weight: 700;
}

.other-posts-list a > .side-post-image-wrapper {
    flex: 1;
}

.other-posts-list a > .post-title {
    flex: 6;
}

.side-post-image-wrapper img:hover {
    opacity: 0.75;
    mask-image: linear-gradient(black, black);
}

.discover-post {
    margin-top: 50px;
    text-align: center;
    max-width: 100%;
}

.discover-post > .discover-post-image-link-wrapper img {
    max-width: 100%;
}

#discover-pagination {
    padding: 48px 0px 48px 0px;
    display: flex;
    justify-content: center;
}

.btn-discover-next {
    flex-grow: unset;
    width: 25%;
}

.page-tagline {
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
}

#contact {
    color: #e3e3e3;
}


@media (max-width: 900px) {
    #content-wrapper {
        flex-direction: column;
    }

    #sidebar-wrapper {
        width: 100%;
    }

    .post-item {
        gap: 14px;
        padding: 16px 0;
    }

    .post-image {
        flex: 0 0 120px;
        width: 120px;
        height: 110px;
    }

    .post-title {
        font-size: 17px;
    }

    .post-description {
        font-size: 13px;
    }

    .post-category {
        font-size: 10px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .post-card.featured {
        min-height: 350px;
    }

    .post-card.secondary,
    .post-card.third {
        min-height: 240px;
    }

    .featured .post-title {
        font-size: 27px;
    }

    #go-to-filter{
        display: inline;
        color: #d1d1d1;
        text-decoration: none;
    }

    .btn-discover-next {
        width: 80%;
    }

    .side-posts-lists a > .side-post-image-wrapper {
        flex: 1;
    }

    .side-posts-lists a > .post-title {
        flex: 4;
    }

    .other-posts-list a > .side-post-image-wrapper {
        flex: 1;
    }

    .other-posts-list a > .post-title {
        flex: 4;
    }
}

@media (max-width: 600px) {
    .side-posts-lists a > .side-post-image-wrapper {
        flex: 2;
    }

    .side-posts-lists a > .post-title {
        flex: 4;
    }

    .other-posts-list a > .side-post-image-wrapper {
        flex: 2;
    }

    .other-posts-list a > .post-title {
        flex: 4;
    }
}