* {
    box-sizing: inherit;
}
body, html {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        font-size: calc(15px + 0.390625vw);
    }
html {
        scroll-behavior: smooth;
        font-size: calc(15px + 0.390625vw);
        background-color: #E6E3DB;
}
body {
    margin: 0;
    background-color: #E6E3DB;
    overflow-x: hidden;
    width: 100vw;
}
#s_bar {
    width: 100%;
    color: #231F20;
    background-color: #E6E3DB;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    bottom: 0;
    height: 35px;
    border-top: 1.5px solid #231F20;
    font-family: IBM Plex Mono;
    font-size: 0.6rem;
    align-items: center;
    z-index: 1;
}
#s_bar > span.l::before {
    text-align: left;
    padding-left: 12px;
    content: "2023(c)KNOT . ";
}
#s_bar > span.r {
    float: right;
    padding-right: 12px;
    align-self: center;
}
#content {
    max-height: calc(100vh - 35px);
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: repeat(2, calc(100vh - 35px));
    grid-row-gap: 0px;
    box-sizing: content-box;
    overflow-y: scroll;
    scroll-snap-type: both mandatory;
}
#content > * {
    scroll-snap-align: start;
}
#l_menu {
    position: relative;
    border-bottom: 1.5px solid #231F20;
    left: 0;
    grid-row-start: 1;
    grid-row-end: 1;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
    grid-column-start: 1;
    grid-column-end: 45
}
#r_text {
    display: none
}
#r_text > span:nth-child(1){
    writing-mode: vertical-rl;
    text-orientation: mixed;
    align-self: center;
    height: 50%
}
#r_text > span:nth-child(2){
    writing-mode: vertical-rl;
    text-align: right;
    text-orientation: mixed;
    justify-self: flex-end;
    height: 50%;
}
img#k {
    position: absolute;
    height: 30px;
    bottom: 20px;
    padding-right: 20px;
}
#ribbons {
    align-self: flex-end;
    height: calc(100vh - 35px);
    overflow: hidden;
}
#scroll {
    grid-column-start: 1;
    grid-column-end: 5;
    word-break: break-word;
    font-family: Avenir Next;
    font-size: 1.5rem;
    text-align: left;
    display: block;
    overflow: scroll;
    scroll-snap-type: y mandatory;
    height: 100%;
    bottom: 35px;
    box-sizing: border-box;
}
.emp {
    font-weight: 500;
    color: #006837;
    text-align: right;
    padding-bottom: 0;
    margin-bottom: 0;
    padding-top: 20px;
}
iframe.menu {
    display: inline-block;
    position: absolute;
    min-height: 200px;
    height: 80vh;
    width: 58vh;
    padding-right: 155vh;
    bottom: 11vh;
    transform: scale3d(1.8,1.8,1.8);
}
.marquee {
    background-color: #231F20;
    font-family: IBM Plex Mono;
    font-style: italic;
    height: 35px;
    margin: -20px;
    margin-bottom: 20px;
    color: #E6E3DB;
    font-size: 16px;
    padding-top;
}
marquee:hover {
    marquee scrollamount=0.1
    background-color: none; border: none; margin-top:5px;
}
.segment {
    scroll-snap-align: start ;
    position: relative;
    display: flex;
    height: calc(100vh - 35px);
    box-sizing: border-box;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-between;
    color: #231F20;
}
.segment > img.arr{
    height: 50px;
    bottom: 17px;;
    vertical-align: bottom;
    position: absolute;
    left: 15px;
}
.segment:last-of-type {
    margin-bottom: 0px;
    padding-bottom: 25px;
}
div.maintext {
    padding: 40px;
    box-sizing: border-box;
}
span.med {
    font-weight: 500;
}
.bpc { /*blogposts container*/
    box-sizing: content-box;
    padding-left: 40px;
    margin-right: 40px;
    width: calc(100%-30px);
    row-gap: 30px;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}
.bpp {
    box-sizing: content-box;
    border: 1.5px solid #231F20;
    display: flex;
    min-height: 150px;
    flex-grow: 1;
    width: calc(100% - 3px)
}
div.bpp_img {

    display: none;
}
img.bpp_img {
    vertical-align: middle;
    width: 100%;
    object-fit: cover;
}
div.readmore {
    min-height: 30px;
    text-align: right;
    padding: 20px;
    padding-right: 40px;
    padding-top: 20px;
    margin-top: 0px;
    font-family: "IBM Plex Mono", "Necto Mono";
    font-size: 0.85rem;
    color: #231F20;
}
span.readmore {
    background-image: linear-gradient(#231F20, #231F20);
    background-position: 0 100%;
    transition: 0.5s;
    padding-bottom: 0.5rem;
    background-repeat: no-repeat;
    background-size: 100% 0.1em, 0 0, 100% 0.1em;
    transition: 0.5s;
    background-position: 150px 100%;
}
span.readmore:hover {
    text-decoration: underline 1.5px solid #231F20;
    text-decoration: none;
    background-image: linear-gradient(#231F20, #231F20);
    background-repeat: no-repeat;
    background-size: 100% 0.1em, 0 0, 100% 0.1em;
    transition: 0.5s;
    background-position: 0 100%;
    cursor: pointer;
}
.bpp_r {
    align-self: flex-end;
    height: calc(100% - (2 * 20px) );
    width: 100%;
    padding: 20px;
    position: relative;
    display: grid;
    align-content: space-between; 
}
.bpp_r > div:nth-of-type(1) {
    border: 2px;
    width: 100%;
    font-size: 0.9rem;
    padding-top: 0px;
    padding-bottom: 0px;
    font-family: "IBM Plex Mono", "Necto Mono", "Courier New", "Courier";
    display: flex;
    color: #231F20;

}
.bpp_r > div:nth-of-type(2) { /*tag container*/
    height: 26px;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 0;
    width: 100%;
    min-height: 0;
    scroll-snap-type: x mandatory;
}

.bpp_r > div:nth-of-type(3) {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.bpp_r > div:nth-of-type(3) > div:nth-of-type(1){
    font-family: Avenir Next;
    font-style: italic;
    font-weight:300;
    font-size: 0.8rem;
}
.bpp_r > div:nth-of-type(3) > div:nth-of-type(2){
    font-family: Avenir Next;
    font-weight:300;
    font-size: 0.8rem;
    text-align: right;
}
.tag {
    height: 10px;
    background-color: rgba(57, 181, 74, 0.2);
    border-radius: 30px;
    display: flex;
    padding: 8px;
    margin-right: 8px;
    flex: 0 0 auto;
    scroll-snap-align: center;
}
.tag > div:nth-of-type(1){
    height: 10px;
    aspect-ratio: 1/1;
    background-color: rgba(57, 181, 74, 1);
    opacity: 1;
    width: auto;
    border-radius: 10px;
}
.tag > div:nth-of-type(2){
    font-family: "IBM Plex Mono";
    font-size: 12px;
    margin-top: -3px;
    color: black;
    padding-left: 8px;
    padding-right: 3px;
    font-size: 0.58rem
}
		a:hover{
			color: #231F20;
			text-decoration-color: #231F20;
			text-decoration-thickness: 0.75px;
			text-underline-offset: 4px;
			transition: 0s;
		}
		a {
			color: #231F20;
		}
		a[href^="http"] {
			background: url(assets/externalurl.svg) no-repeat;
			background-size: 0.7em;
			background-position: 100% center;
			padding: 1px;
			margin-left: 4px;
			padding-right: 14px;
			height:9px;
			transition: 0s;
		}
			@keyframes marquee {
				0% {
				-moz-transform: translateX(100%);
				-webkit-transform: translateX(00%);
				transform: translateX(00%)
				}
				100% {
				-moz-transform: translateX(-100%);
				-webkit-transform: translateX(-100%);
				transform: translateX(-100%);
				}
			}
			@keyframes marquee2 {
				0% {
				-moz-transform: translateX(100%);
				-webkit-transform: translateX(100%);
				transform: translateX(100%)
				}
				100% {
				-moz-transform: translateX(00%);
				-webkit-transform: translateX(00%);
				transform: translateX(0%);
				}
			}
			.marquee_c1 {
				display: none;
			}
			.marquee_c2{
				display: none;
			}
			#container_c { /*grid layout*/
				width: 100dvw;
				height: 100dvh;
				display: grid;
				grid-template-columns: 275px repeat(6, 1fr);
				grid-template-rows: 100px calc(100dvh - 100px);
				overflow: scroll;
				}
			#leftcolumn_c {
				grid-column-start: 1;
				grid-column-end: 8;
				grid-row-start: 1;
				grid-row-end: 51;
				z-index: 1;
				background: rgb(230,227,219);
				background: linear-gradient(90deg, rgba(230,227,219,0) 0%, rgba(230,227,219,1) 90%);
				font-family: "IBM Plex Mono";
				font-size: 0.75rem;
				display: flex;
				flex-direction: column;
				align-items: center;
				padding: 30px;
			}
		#leftcolumn_c > span:nth-child(2) {
			margin-top: 1rem;
			margin-left: -1.7rem;
		}
			#middletemplate_c {
				grid-column-start: 1;
				grid-column-end: 8;
				grid-row-start: 2;
				grid-row-end: 3;
				background-color: #E6E3DB;
				z-index: 1;
				font-family: "Avenir Next";
				font-size: 1.rem;
				padding: 2rem;
				line-height: 2rem;
				text-align: justify;
				overflow-y: scroll;
				line-height: 1.5rem;
				}
			#righttemplate_c {
				grid-column-start: 1;
				grid-column-end: 8;
				grid-row-start: 3;
				background-color: #E6E3DB;
				z-index: 1;
				font-family: "Avenir Next";
				font-size: 0.7rem;
				padding-left: 30px;
				padding-right: 30px;
				line-height: 1.5rem;
			}
		#righttemplate_c > div:not([id="gradient"]) {
			padding-bottom: 20px;
		}
			#righttemplate_c > div > .section {
				font-style: italic;
				margin-bottom: 1rem;
				margin-left: 1rem;
			}
		#righttemplate_c > #gradient {
			display: none;
		}