/*
 Theme Name:   Purism
 Description:  Chaplin Child Theme
 Template:     chaplin
 Version:      1.0
 Text Domain:  chaplin-child
 */

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  src: url('./assets/fonts/source-code-pro-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-code-pro-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 700;
  src: url('./assets/fonts/source-code-pro-v22-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  margin: 0;
  box-sizing: border-box;
}

:root {
  --white: #FFF;
  --nav-underline: #1A1B1F;
}

::selection {
  color: #000;
  background: #FFF;
}

html {
  background-color: black;
}

body,
:root body.custom-background,
.header-inner.is-sticky {
  background-color: transparent;
}


/* --------------------------------------------------------------------------------------------- */
/*	Element Base
/* --------------------------------------------------------------------------------------------- */


.home .entry-title {
  clip: rect(0.1rem, 0.1rem, 0.1rem, 0.1rem);
  height: 0.1rem;
  overflow: hidden;
  position: absolute !important;
  left: -999999rem;
  width: 0.1rem;
}

.canvas-container {
  width: 100%;
  height: 100vh;
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1
}

.heading-size-1 {
  font-size: 4rem;
}

h1,
h2,
h3 {
  text-transform: uppercase;
  font-size: clamp(2.2rem, 2.4rem + -1vw, 1.2rem);
  font-weight: 400;
  display: inline-block;
}


h2.rotate {font-size: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #FFF;}


@media (min-width: 780px) {
  h2.rotate {
    display: inline-block;
    transform: rotate(-90deg);
  }
}

/* h2.site-desc {
  margin: 0;
  padding: 0 3rem;
} */

/* h1.entry-title,
.heading-size-1 {
  padding: 4rem 0
} */

button {
  text-transform: uppercase;
}
strong {
  font-weight: 700;;
}

.entry-content {
  max-width: 700px;
}

.template-full-width .entry-content {
  line-height: 1.5;
  max-width: 1200px;
}

.template-full-width .entry-content p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------------------------- */
/*	Header
/* --------------------------------------------------------------------------------------------- */

.site-logo a, .site-logo img {
  display: block;
  min-width: 150px;
}
.site-title {
  font-size: 3rem;
}

.height-30vh {
  height: 20vh
}

.main-menu>li>a,
.main-menu>li>.ancestor-wrapper>a,
.main-menu>li>a,
.main-menu>li>.ancestor-wrapper>a:hover {
  text-decoration: none;
  text-align: center;
}

.header-inner.is-sticky,
.main-menu>li:last-child,
.main-menu>li, 
.widget,
.footer-widgets-outer-wrapper {
  box-shadow: none;
  border: none;
}

@media (min-width: 1000px) {
  .menu-modal-inner {
    width: 35%;
    min-width: 40rem;
  }
}


/* --------------------------------------------------------------------------------------------- */
/*	Main
/* --------------------------------------------------------------------------------------------- */

.template-full-width .entry-content p {
  max-width: 100%;
}

/*	-- Kalender -- */

#vsel .vsel-content {
  margin: 0 0 20px;
  padding: 0 20px 20px;
  border-bottom: 1px solid #ccc;
}

.vsel-meta-left {
  min-width: 100%;
}

.vsel-image-info-right {
  width: 100%;
  min-width: 100%;
}

.vsel-info {
  padding-bottom: 2rem;
}

.vsel-content.external-event, .vsel-content.external-event h3.vsel-meta-title {
  color: rgb(141, 139, 139);
}

.vsel-content h3.vsel-meta-title {
  font-size: clamp(3.2rem, 3.52rem + -1.6vw, 1.6rem);
  font-weight: 700;
}

.vsel-meta-date.vsel-meta-single-date {
  font-size: clamp(2.6rem, 2.88rem + -1.4vw, 1.2rem);
  text-transform: uppercase;
}

.vsel-info p:first-child::before {
  content:'\007B \007B \0020'
} 
.vsel-info p:first-child::after {
  content:'\0020 \007D \007D'
} 

.vsel-info p:first-child {
  text-transform: uppercase;
}



.vsel-content {
  display: flex;
  flex-direction: column;
}

.vsel-content > div:nth-of-type(1) { order: 2; }
.vsel-content > div:nth-of-type(2) { order: 1; }

.vsel-alignleft, .vsel-info-block.vsel-alignright, .vsel-info {
  width: 100%!important;
}

/* --------------------------------------------------------------------------------------------- */
/*	Footer
/* --------------------------------------------------------------------------------------------- */

#site-footer {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------------------------- */
/*	Helper
  /* --------------------------------------------------------------------------------------------- */

a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.hide-this,
.home #site-header,
.home #site-header.toggle-text,
.header-toggles .toggle-text,
.site-description,
.post-edit-link,
.menu-copyright,
.footer-copyright,
.header-toggles,
.footer-inner {
  display: none;
}

.s-icons a[href*=".xing.com"]::before {
  content: '\f168';
  font-family: 'Font Awesome 5 Brands';
}