/*
	Theme Name: nantdb
	Description: nantdb Theme
	Version: 1.0.1
	Author: Mariana Rosa
	Author URI: https://www.marianarosa.com
*/

/*------------------------------------*\
    FONTS
\*------------------------------------*/


/* Authentic Sans */

@font-face {
  font-family: "Authentic Sans Pro";
  font-weight: normal;
  font-style: normal;
  src: url("fonts/authentic-sans-pro-60.woff2") format('woff2');
}

@font-face {
  font-family: Authentic Sans Pro;
  font-weight: 600;
  font-style: normal;
  src: url("fonts/authentic-sans-pro-90.woff2") format('woff2');
}

@font-face {
  font-family: Authentic Sans Pro;
  font-weight: 900;
  font-style: normal;
  src: url("fonts/authentic-sans-pro-130.woff2") format('woff2');
}

/* bianzhidai */

@font-face {
  font-family: "bianzhidai";
  font-weight: normal;
  font-style: normal;
  src: url("fonts/bianzhidai_COLR-back.otf") format('opentype');
}

/* Necto */

@font-face {
  font-family: "Necto";
  font-weight: normal;
  font-style: normal;
  src: url("fonts/NectoMono-Regular.woff2") format('woff2');
}

/*------------------------------------*\
    VARS
\*------------------------------------*/

:root {
    --cB: #000000;
    --cG1: #A1A1A0; /* links */
    --cG2: #d1d3d4; /* background */
    --cL: #cbed55; /* lime #e2f600 */
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
/**,
*:after,
*:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smooth: antialiased;
	text-rendering: optimizeLegibility;
}*/
/* html element 62.5% font-size for REM use */

html {
	font-size: 16px;
}

body {
  margin: 0;
  padding: 1.8rem 1rem 0;
  display: flex;
  flex-direction: column;
  background-color: var(--cG2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 1.8rem);
  font-family: "Authentic Sans Pro", sans-serif;
  font-weight: 600;
  font-style: normal;
}


body:before {
  content: ' ';
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/bck-l-min.png');
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  z-index: -1;
}

/* main */
main {
  position: relative;
  margin-top: 6rem;
}

main.home  {
  margin-top: 0;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}

img {
	max-width:100%;
	display: block;
}

p a {
  word-break: break-all;
  margin-left: 0.25rem;
}

p a,
.ghost {
  display: inline-block;
  color: var(--cB);
  text-decoration: none;
  font-style: normal;
  font-weight: normal;
  position: relative;
  z-index: 200;  
  transition: all .2s ease;
  letter-spacing: 1px;
  font-size: 0.7rem;
}

p a:before,
.ghost:before {
  content: attr(data-before);
  position: absolute;
  z-index: -1;
  color: #a1a1a1;
  -webkit-text-stroke:0.75rem #a1a1a1;
}

@media (hover: hover) and (pointer: fine) {
  #header a:hover,
  .ghost:hover,
  .page-id-13 .wp-container-core-columns-is-layout-5 p a:hover {
    letter-spacing: 4px;
  }
}

a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
}


/*------------------------------------*\
    General CLASSES
\*------------------------------------*/


p {
  font-size: 1rem;
  margin: 0.75rem 0;
  line-height: 1.5;
}

.sm, 
.sm p {
  font-size: 0.7rem;
}

.up {
	text-transform: uppercase;
}

em {
    font-family: "bianzhidai", sans-serif;
    font-weight: normal;
    font-style: normal;
}

i {
  height: 0.5rem;
  display: inline-flex;
  transition: all 8s ease;
}

.efct {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  -webkit-text-stroke: 1rem #adadad;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.info {
  font-size: 1rem;
}

#works p {
  font-size: 1.5rem;
  font-family: "bianzhidai", sans-serif;
  font-weight: normal;
}

.is-layout-flex {
    gap: 1rem;
}

.page-id-13 p strong {
  font-family: "bianzhidai", sans-serif;
  font-size: 1.5rem;
  font-weight: normal;
  font-style: normal;
}

.wp-block-quote {
  font-family: "bianzhidai", sans-serif;
  margin: 0.75rem 0;
  font-weight: normal;
  font-style: normal;
}

/*------------------------------------*\
    HEADINGS
\*------------------------------------*/

h1 {
  display: none;
  font-weight: normal;
}

.title {
  text-transform: uppercase;
  /* overflow-wrap: break-word; */
  font-weight: normal;
  font-size: 8rem;
  line-height: 0.85;
  /* text-wrap: nowrap; */
  margin: 0;
  padding-top: 0.45rem;
}

.title.ar {
  text-align: right;
}

h2,
em {
  font-family: "bianzhidai", sans-serif;
  font-weight: normal;
  line-height: 1.5;
}

h2 {
  font-size: 1rem;
  text-transform: none;
  margin: 0;
  margin-top: -0.5rem;
}


h5,
.mono {
  margin: 0;
  padding: 0;
  font-family: "Necto", monospace;
  font-weight: normal;
  font-style: normal;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/



section {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-bottom: 4rem;
  width: 100%;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}



/* columns */ 

.c1 {
  width: 25%;
}

.c2 {
  width: 50%;
}

.c2.title {
  width: fit-content;
}

.f-end {
    justify-content: flex-end;
}

.pd1 {
  padding-right: 1rem ;
}

/* header */
#header,
header {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  z-index: 300;
  justify-content: space-between;
  margin: 0;
  padding: 1.8rem 1rem;
  box-sizing: border-box;
  width: 100%;
  background-image: linear-gradient(var(--cL), #cbed5500);
}

#header a {
  display: inline-block;
  color: var(--cB);
  text-decoration: none;
  transition: all .8s ease;
  letter-spacing: 1px;
}

#header .nav li.current_page_item a {
  letter-spacing: 4px;
}

/* logo */
#logo a {
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cB);
}

.page-template-home #logo  {
  visibility: hidden;
}

/* nav */

.nav ul {
  display: flex;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.nav ul li {
  margin-left: 1rem;
}


/* footer */

footer {
  z-index: 100;
  background-color: white;
  mix-blend-mode: multiply;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

footer .logos {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

footer .logos img {
  max-height: 4rem;
  width: auto;
}


/*------------------------------------*\
    HOME
\*------------------------------------*/ 

/* Poster */

#poster .hd {
  visibility: hidden;
}

#poster2 .hd2 {
  visibility: hidden;
}

#poster2 {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: -100;
}

i {
  height: 0.5rem;
  display: inline-flex;
  transition: all 8s ease;
}

b {
  animation-name: tracking;
  animation-duration: 40s;
  animation-iteration-count: infinite;
  font-style:normal;
  font-weight: normal;
}

@keyframes tracking {
  0% {
    letter-spacing: normal;
  }
  25% {
    letter-spacing: 1.5rem;
  }

  50% {
    letter-spacing: 0.5rem;
  }

  75% {
    letter-spacing: 1.5rem;
  }

  100% {
    letter-spacing: normal;
  }
}

/* Programme */

#programme h5 {
  margin-bottom: 0.75rem;
}

#programme .date {
  font-family: "bianzhidai", sans-serif;
  font-weight: normal;
  font-size: 1rem;
  margin: 0;
  line-height: 1.75;
  margin-top: -0.5rem;
  min-width: 4rem;
}

#programme .hour {
  font-family: "bianzhidai", sans-serif;
  font-weight: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.75;
  margin-top: -0.5rem;
  display: block;
}

#programme p {
  margin: 0;
  padding-bottom: 1.5rem;
}

/* Contacts */

#contacts ul {
  list-style-type: none;
  padding: 0;
  font-size: 0.7rem;
  margin: 0.75rem 0;
  line-height: 1.7;
}

/*------------------------------------*\
    PROGRAMA (Clear this...) 
\*------------------------------------*/

.programa input, button, textarea, select, a { 
	outline: none; 
}

fieldset {
	border: none;
    margin: 0;
    padding: 0;
}

.programa fieldset {
    display: flex;
    gap: 0.15rem;
    flex-flow: wrap;
}

/* RADIO BUTTON */

.checkbox-wrap {
	position: relative;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: inline-block;
	padding: 0.2rem 1rem 0.3rem 2rem;
	cursor: pointer;

}

.checkbox-wrap input:checked ~ .checkbox:after,
.checkbox-wrap input:checked ~ .radiobox:after,
.checkbox-wrap.active .checkbox:after,
.checkbox-wrap.active .radiobox:after,
.checkbox-wrap.mixitup-control-active .radiobox:after {
	display: block;
}

.checkbox-wrap .checkbox:after,
.checkbox-wrap .radiobox:after {
	width: 100%;
	height: 100%;
	background-color: var(--cB);
}

.checkbox-wrap .radiobox:after {
  border-radius: 50px;
}

.checkbox-wrap:hover .checkbox,
.checkbox-wrap:hover .radiobox,
#control-reset:hover .resetbox {
	-webkit-box-shadow: inset 0.036rem 0.107rem 0.107rem rgba(0, 0, 0, 0.6);
	box-shadow: inset 0.036rem 0.107rem 0.107rem rgba(0, 0, 0, 0.6);
}

.checkbox,
.radiobox {
    position: absolute;
    top: 0.1rem;
    left: 0;
    height: 1.5rem;
    width: 1.5rem;
}

.checkbox,
.radiobox,
.resetbox {
	background-color: #ffffff;
	-webkit-box-shadow: inset 0.036rem 0.107rem 0.107rem rgba(0, 0, 0, 0.3);
	box-shadow: inset 0.036rem 0.107rem 0.107rem rgba(0, 0, 0, 0.3);
	-webkit-transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
	transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
	transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
	transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955), -webkit-box-shadow 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.checkbox:after,
.radiobox:after {
	content: '';
	position: absolute;
	display: none;
}

.radiobox {
	border-radius: 50%;
	background-color: #eeeeee;
}



/* PROGRAMA Header */

.programa .p-header button {
	width: 3rem;
	height: 3rem;
    color: #000000;
	background-color: #ffffff;
	border: 2px solid var(--cB);
	border-radius: 3rem;
	font-size: 1.5rem;
	overflow: hidden;
	-webkit-transition: all .8s;
	transition: all .8s;
	white-space: nowrap;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.programa .p-header button:hover {
  width: 9rem;
  -webkit-transition: width .8s;
  transition: width .8s;
}

.programa .p-header button:hover {
  width: 8rem;
}

.programa .p-header button.sex:hover::before, 
.programa .p-header button.sex.mixitup-control-active::before {
  content: 'Sex. ';
}


.programa .p-header span {
    border: 2px solid var(--cB);
    border-radius: 3rem;
    font-size: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    padding: 0 1rem;
} 

.programa .p-header button.dom.mixitup-control-active,
.programa .p-header button.sat.mixitup-control-active {
	width: 8rem;
}


/* PROGRAMA Mix + Collapsible + Thumb */

.collapsible {
	display: block;
	overflow: hidden;
	color: var(--cB);
    padding: 1rem 0;
	border-top: 1px solid var(--cB);
	cursor: pointer;
	-webkit-transition: all 0.3s ease-out; /* Saf3.2+, Chrome */
	-moz-transition: all 0.3s ease-out; /* FF3.7+ */
	-o-transition: all 0.3s ease-out; /* Opera 10.5 */
	transition: all 0.3s ease-out;
}


@media (hover: hover) {
  .collapsible:hover {
        padding-left: 1.5rem;
    }
}



/*------------------------------------*\
    PAGES
\*------------------------------------*/

.single-post article {
	padding: 1rem 0;
	background-color: #ffffff;	
}

.entry-content {
  padding-bottom: 3rem;
  width: 100%;
}

.page h3 {
  font-family: "bianzhidai", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.5rem;
  margin-top: 0.75rem;
}

h5.wp-block-heading { /* or only page */
    padding-top: 4rem;
}

.is-layout-constrained > * {
    margin-block-start: 0.5rem;
    margin-block-end: 0;
}

.is-layout-flow > * {
    margin-block-start: 0.75rem;
}

/* Sobre */

.page-id-13 .wp-container-core-columns-is-layout-5 p,
.page-id-13 .wp-container-core-columns-is-layout-5 .wp-block-group {
    background-color: #a8a8a8bf;
    padding: 1rem;
    border-radius: 8px;
}

.page-id-13 .wp-container-core-columns-is-layout-5 .wp-block-group p {
    padding: 0;
    background-color:transparent;
}

/* FT */

.page-id-17 .wp-block-column p {

}

.page-id-17 h5.wp-block-heading {
    padding-top: 1rem;
}

.page-id-17 h5.wp-block-heading:first-of-type {
    padding-top: 0;
}


/* 404 */

.not-found h3 {
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-size: 3rem;
  font-family: "bianzhidai", sans-serif;
  font-weight: normal;
  font-style: normal;
}

/*------------------------------------*\
    TIMELINE
\*------------------------------------*/

/* PROGRAMA Mix + Collapsible + Thumb */

.collapsible {
  display: block;
  overflow: hidden;
  color: var(--cBlack);
    padding: 1rem 0;
  border-top: 1px solid var(--cBlack);
  cursor: pointer;
  -webkit-transition: all 0.3s ease-out; /* Saf3.2+, Chrome */
  -moz-transition: all 0.3s ease-out; /* FF3.7+ */
  -o-transition: all 0.3s ease-out; /* Opera 10.5 */
  transition: all 0.3s ease-out;
}


@media (hover: hover) {
  .collapsible:hover {
        padding-left: 1.5rem;
    }
}

/* FIELDSET */

.timeline input, button, textarea, select, a { 
  outline: none; 
}

fieldset {
  border: none;
    margin: 0;
    padding: 0;
}

.timeline fieldset {
  display: flex;
  gap: 0.15rem;
  flex-flow: wrap;
  align-items: center;
}

/* RADIO BUTTON */

.checkbox-wrap {
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-block;
  padding: 0.2rem 1rem 0.3rem 2rem;
  cursor: pointer;

}

.checkbox-wrap input:checked ~ .checkbox:after,
.checkbox-wrap input:checked ~ .radiobox:after,
.checkbox-wrap.active .checkbox:after,
.checkbox-wrap.active .radiobox:after,
.checkbox-wrap.mixitup-control-active .radiobox:after {
  display: block;
}

.checkbox-wrap .checkbox:after,
.checkbox-wrap .radiobox:after {
  width: 100%;
  height: 100%;
  background-color: var(--cB);
}

.checkbox-wrap .radiobox:after {
  border-radius: 50px;
}

.checkbox-wrap:hover .checkbox,
.checkbox-wrap:hover .radiobox,
#control-reset:hover .resetbox {
  -webkit-box-shadow: inset 0.036rem 0.107rem 0.107rem rgba(0, 0, 0, 0.6);
  box-shadow: inset 0.036rem 0.107rem 0.107rem rgba(0, 0, 0, 0.6);
}

.checkbox,
.radiobox {
    position: absolute;
    top: 0.1rem;
    left: 0;
    height: 1.5rem;
    width: 1.5rem;
}

.checkbox,
.radiobox,
.resetbox {
  background-color: #ffffff;
  -webkit-box-shadow: inset 0.036rem 0.107rem 0.107rem rgba(0, 0, 0, 0.3);
  box-shadow: inset 0.036rem 0.107rem 0.107rem rgba(0, 0, 0, 0.3);
  -webkit-transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955), -webkit-box-shadow 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.checkbox:after,
.radiobox:after {
  content: '';
  position: absolute;
  display: none;
}

.radiobox {
  border-radius: 50%;
  background-color: #eeeeee;
}

a.filter {
  padding-top: 0.5rem;
  font-size: 0.7rem;
}



button.order {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.4rem;
  color: var(--cB);
  background-color: var(--cL);
  border: none;
  padding: 0.5rem 1rem;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-family: "bianzhidai", sans-serif;
  font-weight: normal;
  font-style: normal;
  cursor: pointer;
  transition: all .2s ease;
}

button.order:hover {
  color: var(--cB);
  background-color: #eeeeee;
}

button.order.mixitup-control-active {
  background-color: var(--cB);
  box-shadow: 1px 1px 2px 0px #0000003d;
  color: #ffffff;
}

button.order:last-of-type {
  margin-right: 1rem;
}


/* Timeline */

.timeline .intro h5 {
  margin: 2rem 0 0;
}

.timeline .intro .img-cc {
  max-width: 6rem;
}

#timeline .stck {
  position: sticky;
  top: 3.8rem;
  z-index: 300;
}

#timeline .stck div {
  margin-bottom: 2px;
  box-shadow: 1px 1px 2px 0px #0000003d;
}

#timeline .t-selectors {
  padding: 1rem 0.6rem;
  background-color: #cbed55;
  box-sizing: border-box;
}

#timeline .t-header {
  color: #ffffff;
  background-color: var(--cB);
}

#timeline .t-content {
  min-height: 50vh;
}

#timeline .entry {
  background-color: #ffffff;
  font-family: "Necto", monospace;
  font-weight: normal;
  font-style: normal;
  margin-bottom: 2px;
}

#timeline .e-labels a {
  display: block;
  margin-bottom: 0.4rem;
}


#timeline .e-sublabels,
#timeline .e-starters {
  font-size: 0.7rem;
}

#timeline .row {
    width: 100%;
    gap: 0;
}

#timeline .ct {
  width: 15%;
}

#timeline .cw {
  width: 35%;
}

#timeline .ct,
#timeline .cw {
  padding: 0.6rem;
}

#timeline .e-title h2 {
  font-family: "Authentic Sans Pro", sans-serif;
/*  font-size: 1.5rem;*/
  font-weight: 600;
  font-style: normal;
}

#timeline .e-url.ct {
  word-break: break-all;
}

#timeline .e-url a {
  font-family: "bianzhidai", sans-serif;
  font-weight: normal;
  font-style: normal;
  transition: all .2s ease;
  letter-spacing: 1px;
  color: var(--cB);
  text-decoration: none;
}

#timeline .e-url a:hover {
  letter-spacing: 4px;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


@media screen and (min-width: 1400px) {
  html {
    font-size: 20px;
  }
}

@media screen and (min-width: 1400px) {
  html {
    font-size: 18px;
  }
}

@media only screen and (max-width: 1200px) {
  .c2.title {
    width: min-content;
  }

/*  body:before {
    background-image: url('img/bck-xs.png');
  }*/
}

@media only screen and (max-width: 1024px) {

  html {
    font-size: 14px;
  }

  .c2 {
    width: 60%;
  }

  .not-found h3 {
    font-size: 2rem;
  }

  footer {
    flex-direction: column-reverse;
  }
}

@media only screen and (max-width: 800px) {

  body {
    padding: 1rem 1rem 0;
  }

  .poster h2 {
    min-height: 6.5rem;
  }

  #programme .row {
    flex-direction: row;
  }

  .c2.info.hd2 {
    min-height: 3rem;
  }

  .c1,
  .c2 {
    width: 100%;
  }

  .c2.title {
    width: fit-content;
  }

  .row {
    flex-direction: column;
  }

  .title {
    font-size: 2rem;
  }


  @keyframes tracking {
    0% {
      letter-spacing: normal;
    }
    25% {
      letter-spacing: 0.4rem;
    }

    50% {
      letter-spacing: 0.1rem;
    }

    75% {
      letter-spacing: 0.4rem;
    }

    100% {
      letter-spacing: normal;
    }
  }

  .poster .row:last-child,
  .poster .row:nth-child(5) {
        text-align: right;
  }

  .subtitle:last-of-type {
        min-height: 5rem;
  }

  /* header */
  main {
      margin-top: 9rem;
  }

  #header, header {
    padding: 1rem 1rem;
  }

  #logo {
    width: 50%;
  }

  .nav ul {
      flex-direction: column;
      text-align: right;
  }

  .nav ul li {
      padding-bottom: 0.4rem;
  }

  .not-found h3 {
    margin-top: 2rem;
  }


  /* timeline */
  .t-header {
    display: none;
  }

  .t-selectors button.order:last-of-type {
    margin-right: 0.5rem;
  }

  .t-selectors .checkbox-wrap {
    padding: 0.5rem 0.7rem 0.3rem 2rem;
  }

  #timeline .stck {
    top: 10rem;
  }

  #timeline .entry.row {
    flex-direction: row;
  }
  
  #timeline .cw,
  #timeline .ct {
      width: 100%;
  }

  #timeline .e-date.ct {
    max-width: 15%;
  }


  #timeline .ct, #timeline .cw {
      padding: 0 0.6rem;
      box-sizing: border-box;
  }

}