 /*
 Theme Name:   TDL
 Version:      1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&display=swap');
@import url('https://db.onlinewebfonts.com/c/2801d9e6874d33ad4f500c4688a89755?family=Century+Schoolbook+W02+Reg');
@import url('https://fonts.googleapis.com/css2?family=Brygada+1918:ital,wght@0,400..700;1,400..700&display=swap');

*{
 	-webkit-box-sizing:border-box;
  	-moz-box-sizing:border-box;
  	-ms-box-sizing:border-box;
  	box-sizing:border-box;
	font-family: "Geist Mono", monospace;
	text-transform: uppercase;
	line-height: 150%;
	color:#000;
	margin:0;
}

*, h1, h2, h3, h4, h5, h6 {
	font-size:calc(12px + 0.15vw);
	font-weight: 300;
}

html,
body {
  	background: #F2F0EF;
}

#wrapper {
   
}

.container, #header, .lines, #footer {
    width: 90%;
    max-width:1920px;
	margin: 0 auto;
}

#footer {
    padding-bottom:20px;
}

.container {
    padding-top:240px;
}

#header {
	padding-top: 40px;
	position: fixed;
	top:0;
	left: 50%;
    transform: translate(-50%, 0);
	z-index:999;
}


/* LINES */

.row-lines {
  position: relative;
  width: 100%;
	float: left;
}

.lines, .lines-mobile {
  	position: fixed;
	z-index: 999;
	left: 0; 
	right:0;
  	top: 0; 
	pointer-events: none;
}

.lines-mobile {
  	display:none
}

.lines .col-1,
.lines .col-2,
.lines .col-3,
.lines .col-4,
.lines .col-5,
.col-mobile{
	border-left: 1px solid rgba(0, 0, 0, .25);
    -webkit-background-clip: padding-box; /* for Safari */
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
	height: 100vh;
	z-index:999
}

/* GRID */

.row {
  position: relative;
  width: 100%;
float: left;
}


.row [class^="col"], .row-lines [class^="col"] {
 	float: left;
}




.col-1,
.col-2,
.col-3,
.col-4,
.col-5 {
	padding: 0 20px 0 20px;
	min-height:1px!important;
	float:left;
}
	
	
.col-1 {
    width: 20%;
	min-height:1px!important
  }

.col-2 {
    width: 40%;
	min-height:1px!important
  }
.col-3 {
    width: 60%;
	min-height:1px!important
  }
.col-4 {
    width: 80%;
	min-height:1px!important
  }
.col-5 {
    width: 100%;
	min-height:1px!important
  }
.col-mobile {
	width:50%
}


/* SPACINGS */

.p-10 {
 	margin-bottom: 10px!important
}
.p-40 {
 	margin-bottom: 40px!important
}
.p-80 {
 	margin-bottom: 80px!important
}
.p-120 {
 	margin-bottom: 120px!important
}
.p-240 {
 	margin-bottom: 240px!important;
 	float:left;
}

.p-10 
.p-40 
.p-80 
.p-120 
.p-240 {
 	float:left;
}

/* TYPOGRAPHY */

.right {
	text-align:right;
	padding-right:20px!important;
	right:0
}


h1, h2, h3, h4, h5, h6 {
	 margin:0; padding: 0
}



h1.title, h1.title a {
	font-weight: 600!important;
	border-bottom: 2px solid #000;
	padding-bottom:5px;
	display: inline
}


h2 {
	font-weight: 600; margin: 0 0 20px 0
}


p {
	margin: 0 0 60px 0
}

p:last-child {
  	margin: 0
}

p a {
	font-family: Arial;
	text-transform: none!important;
	font-size:calc(15px + 0.25vw);
} 

.serif, .serif p, .serif strong, .serif em, h2.serif {
	font-family: "Brygada 1918", serif;
  	font-optical-sizing: auto;
	font-size:calc(16px + 0.25vw);
	line-height: 170%;
	text-transform: none!important;
	font-weight: 400;
}

.serif strong {
	font-weight: 600;
}


.copy{
	font-size:1em;
	float: left;
}

.link{
    display: inline-block;
    width: 100%;
}

a.link:hover div{
    font-weight: 600!important;
	cursor:pointer
}

blockquote p{
    font-family: "Geist Mono", monospace;
    font-size: 14px!important;
    text-transform: uppercase!important;
    margin-bottom:20px!important;
}


/* MENU */

.menu a, h1.title a{
	text-decoration: none;
}

.menu a:hover{
	font-weight: 600
}

.menu {
}

.menu li {
  	display: inline;
    text-align: -webkit-match-parent;
	width: calc(50% - 21px);
	float: left;
	margin: 0 20px 10px 0
}

.menu li:first-child {
 	opacity: 0;
}

.menu li:nth-last-child(-n + 2) {
 	margin: 0 20px 0 0;

}

.menu li:nth-child(2n) {
	width: calc(50% - 40px);
    margin: 0 20px 10px 20px
}

.current-menu-item {
	opacity: 0.35;
}



/* LISTS */

ul {
    display: block;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

li {
  	display: block;
	margin:0 0 20px 0
}

.next::after {
	margin-left:20px;
}

.prev::before {
	margin-right:20px
}


/* IMAGES */

.thumb {
	display: none;
    position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	mix-blend-mode: multiply;
	pointer-events: none;
}

.thumb img{
	max-width:70vw; max-height: 70vh; width: auto; height: auto
}

a.link:hover + .thumb {
 	display: block;
}



.img_block, .img_block .img, .imgs, .gallery {
	float:left;
}

.img_block {
	width:100%;
}


.imgs {
 	text-align: center; margin: 0
}

.imgs img {
    width: 100%;
   /* max-width: 80vw; */
    height: auto;
   /* max-height: 70vh; */
    display: block;
}

.caption {
	float:left;
    text-align: left;
    position: sticky;
    top: 240px;
    align-self: start;
    padding-bottom:120px;
}


.video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video iframe,
.video object,
.video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}


.mobile-only {
	display: none
}

/* ARTICLES */


  .arrow {
    position: relative;
    width: 30px;
    height: 1px;
    background: black;
    float: left;
    margin-right: 20px;
    top: 10px;
}
 
  /* Arrowhead */
  .arrow::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-right: 1px solid black;
    border-top: 1px solid black;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

 
  .arrow::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-right: 1px solid black;
    border-top: 1px solid black;
    top: 50%;
  }
 
  /* Right arrow: head on the right */
  .arrow-right::after {
    right: 2px;
    transform: translateY(-50%) rotate(45deg);
  }
  .arrow-right::before { display: none; }
 
  /* Left arrow: head on the left */
  .arrow-left::after {
    left: 2px;
    transform: translateY(-50%) rotate(-135deg);
  }
  .arrow-left::before { display: none;}


/* ARTICLES */

.article h2 {
	font-family: Arial;
	font-size: 32px;
	text-transform: none;
	font-weight: normal;
	letter-spacing: 0.05em;
}

.article p {
	margin-bottom: 80px;
}

.article img {
	max-width:100%;
	height:auto;
}



blockquote p {
	font-family: "Geist Mono", monospace !important;
	text-transform: uppercase !important;
}




/* BOOKS */

.books {
	text-align:center 
}

.books img {
	width:auto;
 	max-width: 50vw;
	height: auto;
	max-height: 50vh;
	margin: 0 250px 100px 100px;
	position:relative;
}


.books img:nth-child(2n+2) {
	margin: 0 30px 300px 100px;
}

.books img:nth-child(3n) {
	width:auto;
 	max-width: 30vw;
	height: auto;
	max-height: 40vh;
}








/* TABLET */
@media (max-width: 1023px) {
	
	  .lines {
  	display:none
	}
	.lines-mobile {
  	display:inline;
	margin-left:20px
	}
	

html,
body {
  	overflow-x: hidden;
}


*, h1, h2, h3, h4, h5, h6{
	font-size: 15px;
}
	  
.container, #header, .lines, #footer {
    width: 100%;
}	  
.container, .menu-mobile > .menu ul {
    padding-top: 240px;
}
.container {
    padding-left:10px
}	
	  
	  
.mobile-50 {
    width: 50%!important
}	  

.mobile-hide {
	display: none;
}

.mobile-only {
	display: inline
}
	  
.lines {
  	display:none
}
	  
.lines-mobile {
  	display:inline;
	margin-left:10px
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5 {
	width:100%;
	padding: 0 20px 0 10px;
}
	  


.p-10 {
 	margin-bottom: 20px!important
}
	  
h1.title {
	margin-left:10px
}

.serif, .serif p, .serif strong, .serif em, h2.serif, p a {
	font-size:20px;
} 


#footer {
    padding: 80px 0 20px 10px;
    float:left;
}
	  

.imgs {
    margin: 0;
}
	  
.imgs img {
    width:auto;
 	max-width: 100vw;
	height: auto;
	max-height: 100%;
    margin: 0 0 0 -20px;
	position: relative;
}
.thumb img{
	max-width:80vw; max-height: 80vh; width: auto; height: auto
}

.caption {
	margin-top:10px;
	padding-right: 40px;
}
	  
	  
/* Checkbox Hack */

input[type=checkbox] {
   position: absolute;
   top: -9999px;
   left: -9999px;
}
label { 
  -webkit-appearance: push-button;
  -moz-appearance: button; 
  display: inline-block;
  cursor: pointer;
}

/* Default State */
.menu-mobile {
	width: 100%;
	height: 100vh;
	line-height: 100px;	color: white;
	display: none;
	float:left;
	position:fixed;
	top:0; left:0;
	background: #ecebe9;
}
	  
.menu-mobile > .menu li {
  	display: inline;
	width: 100%;
	float: left;
	margin: 10px 20px 10px 10px
}

.menu li:nth-child(2n) {
    width: calc(50% - 22px);
    margin: 0 0 10px 20px;
}

/* Toggled State */
input[type=checkbox]:checked ~ .menu-mobile {
   display: inline;
}	  
	  
.fixed {
  	position:fixed;
	top:40px
}
	  
	  
/* BOOKS */
.books img {
	max-width: 90%;
    max-height: 400px;
	margin: 0 0 20px 0;
}


.books img:nth-child(2n+2) {
	margin: 0 0 20px 0;
}

.books img:nth-child(3n) {
	max-width: 90%;
    max-height: 400px;
}

}

