@font-face {
    font-family: 'Public Sans';
    src: url('../fonts/Public-Sans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Till';
    src: url('../fonts/Till-Normal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: 'Public Sans', sans-serif;
    padding:25px;
    -webkit-font-feature-settings: "kern" 1,"liga" 1,"calt" 1!important;
    font-feature-settings: "kern" 1,"liga" 1,"calt" 1!important;
    -webkit-font-variant-ligatures: discretionary-ligatures common-ligatures!important;
    font-variant-ligatures: discretionary-ligatures common-ligatures!important;
    -webkit-font-smoothing: antialiased!important;
    -moz-osx-font-smoothing: grayscale!important
}
h2{
    font-family: Till, serif;
}
h4.post-excerpt{
    margin-top: 24px;
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    margin-bottom:0;
}

/* Header styles */
.site-header {
    color: #000000; /* Change the text color as needed */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 128px;
    letter-spacing: 2.3px;
    line-height: 115px;
    font-family: Till, serif;
    max-width: 1040px;
    margin: auto;
}

.burger-menu {
    height: 15px;
    padding-top: 15px;
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 10000;
}

.menu-trigger-bars {
    width: 30px;
    height: 4px;
    background-color: #000000; /* Change the color of the burger icon */
    position: relative;
    cursor: pointer;
    transition: transform 0.4s;
}

.menu-trigger-bars:before,
.menu-trigger-bars:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    transition: transform 0.3s ease;
}

.menu-trigger-bars:before {
    top: -10px;
}

.menu-trigger-bars:after {
    bottom: -10px;
}

/* Define styles for the 'menu-open' class */
.burger-menu.menu-open .menu-trigger-bars:before {
    transform: rotate(45deg) translate(8px, 6px);
    background-color: #000000;
}


.burger-menu.menu-open .menu-trigger-bars {
    background-color: transparent;
}

/* Define styles for the 'menu-open' class */
.burger-menu.menu-open .menu-trigger-bars:after {
    transform: rotate(-45deg) translate(8px, -6px);
    background-color: #000000;
}

.menu-content {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    z-index: 1000;
    overflow: hidden; 
    transition: max-height 0.3s ease-in-out;
    max-height: 0; 
    margin-top: 10px;
    text-align: right;
    padding: 10px 0 10px 10px;
}

.category-menu {
    list-style: none;
    padding: 10px 0 10px 10px;
    margin: 0;
    background: white;
}

.category-menu li {
    margin-bottom: 10px;
}

.category-menu li a {
    color: #fff; /* Change the text color of menu items */
    text-decoration: none;
}

footer {
    position: fixed;
    left: 10px;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    line-height: 1.5em;
    pointer-events: none;
}

.time-display {
    font-size: 16px;
}
.copyright-text{
    display:block;
    width:100%;
    padding:20px 0 20px 0;
    text-align: center;
}

h6.commoning-text {
    font-family: Public Sans,sans-serif;
    font-weight: 100;
    font-variation-settings: "wght" 100;
    animation: commoning-text-animation 10s infinite forwards;
    letter-spacing: 0.5px;
    font-size: 30px;
    margin:0;
}


.red-text {
    color: red;
}
.title-commoning-play{
    width:100%;
    text-align: center;
}

#playButton{
    font-family: Public Sans,sans-serif;
    font-size: 128px;
    font-weight: 100;
    font-variation-settings: "wght" 100;
    width: max-content;
    margin: 40px auto;
    cursor: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='32px' height='32px' viewBox='0 0 512 512' style='enable-background:new 0 0 512 512;' xml:space='preserve'%3E %3Cpath d='M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z'/%3E %3C/svg%3E"), pointer;
}

.play-button-animation{
    font-weight: 100;
    font-variation-settings: "wght" 100;
    animation: commoning-text-animation 10s infinite forwards;
}

.cursor-pointer{
    cursor:pointer;
}

@keyframes commoning-text-animation {
    to {
        font-variation-settings: "wght" 100
    }

    40% {
        font-variation-settings: "wght" 500
    }
}

div#latest-posts {
    max-width: 1040px;
    margin: auto;
}

.post.clickable {
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(0,0,0,.25);
    background: #fff;
    border-radius: .8vh;
    padding: 3vh;
    text-align: center;
    max-width: 90vw;
    cursor: pointer;
}

.post-meta {
    display: block;
    margin-bottom: 12px;
}

.post-title {
    position: relative; /* Position relative for absolute positioning of the line */
    width: fit-content;
    margin: auto;
    font-size: 42px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.post-title::after {
    content: "";
    display: block;
    box-shadow: 0 0 5px rgba(0,0,0,.3);
    box-sizing: content-box;
    overflow: visible;
    height: 10px;
    border: none;
    margin-top: .2em;
    border-radius: 7px;
    transition: all .2s;
    background-color:#FF0000;
}

.post-title:hover::after {
    height: 15px; /* Increased height on hover */
}

.post-content-single{
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

.post-content-single h2{
    font-family: Till, serif;
    text-transform: uppercase;
    font-size: 72px!important;
    font-weight: 500;
}

.post-content-single h1{
    font-family: 'Public Sans', sans-serif;
    font-size: 32px;
    line-height: 37px;
    font-weight: 400;
}

.post-content-single h3{
    font-family: 'Public Sans', sans-serif;
    font-size: 19px;
    font-weight: 400;
}

.post-content-single > *:not(.wp-block-cover:first-child):not(.wp-block-image:first-child) {
    max-width: 720px;
    margin-left:15%;
    display: block;
	width:100%;
}
/*
.post-content-single > .wp-block-cover:first-child,
.post-content-single > .wp-block-image:first-child {
    position: relative;
    margin:0;
}
.post-content-single > .wp-block-cover:first-child::after,
.post-content-single > .wp-block-image:first-child::after  {
    content: "";
    position: absolute; 
    top: 0;
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}*/
.post-content-single > .wp-block-image img {
    width: 100%;
}
.post-content-single > .wp-block-cover .wp-block-cover__inner-container{
    z-index: 2;
}

.post-content-single p{
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 1.5;
    font-family: 'Public Sans', sans-serif;
}
.post-content-single blockquote p{
    font-family: 'Till', sans-serif;
    font-size: 28px;
    line-height: 28px;
}
.post-content-single a {
    font-variation-settings: "wght" 700;
    text-decoration: none;
    color: inherit;
}

.wp-block-embed iframe {
  width: 100%;
}

/* Styles for tablets */
@media only screen and (max-width: 1024px) {
    .site-title {
        font-size: 100px;
        line-height: 95px;
    }
    #playButton{
        font-size: 80px;
    }
}
/* Styles for mobile devices */
@media only screen and (max-width: 767px) {
    .site-title {
        font-size: 15vw;
        line-height: 13vw;
        text-align: center;
    }
    h6.commoning-text {
        font-size: 24px;
    }
    #playButton{
        font-size: 65px;
    }
    .post-content-single h2{
        font-size: 40px!important;
    }
    .site-header {
        padding: 20px 0 20px 0;
    }
    body{
        padding: 5vh 5vw 10vh;
        margin:0;
    }
    
    .post-content-single > .wp-block-cover:first-child{
        min-height:auto!important;
        padding-top: 25%;
        padding-bottom: 25%;
    }
    .post-content-single > *:not(.wp-block-cover:first-child):not(.wp-block-image:first-child) {
        max-width: 720px;
        margin-left:auto;
        margin-right: auto;
        width: 100%;
        display: block;
    }
}
@media only screen and (max-width: 550px) {
    .site-title {
        font-size: 15vw;
        line-height: 13vw;
        text-align: center;
    }
    .site-header {
        padding: 20px 0 20px 0;
    }
    body{
        padding: 5vh 5vw 10vh;
        margin:0;
    }
    footer {
        left: 20px;
    }
    .post-title {
        font-size: 8vw;
    }
    .post-content-single h2{
        font-size: 7vw!important;
    }
}


