.fontawesome {
	font-family: fontawesome;
}

.font-source-sans-pro {
	font-family: "Source Sans Pro", -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";	
}

.main {
	display: block;
	position: relative;
	min-height: 100vh;
}

a:focus {
  outline: none;
}

/* navbar
-------------------------*/

.navbar {
  transition: background .25s ease-in-out,
              padding-bottom .25s ease-in-out,
              padding-top .25s ease-in-out,
              backdrop-filter .25s ease-in-out;
}

.navbar-bg {
  opacity: 0;

  background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);

  transition: opacity .2s ease-in-out;
}

.navbar:hover .navbar-bg {
  opacity: 1;
}

.navbar-visible {
  padding-bottom: 24px;
  background: #0008;

  padding-top: 1rem;
  padding-bottom: 1rem;

}

.navbar-visible .navbar-bg-blur {
  backdrop-filter: blur(10px);
}

/* nav a {
  transition: opacity .1s ease-in-out;
} */

nav a.contact-btn {
  opacity: 1 !important;
}

nav a:hover {
  opacity: 1;
}

nav a:last-child {
  margin-right: none;
}

/* header
-------------------------*/

.header-sub-gradient {
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.6)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.6)));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}



/* home
-------------------------*/


/* video grid
-------------------------*/

.videogrid {
  display: grid;
  list-style: none;
  grid-gap: 1rem;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-flow: dense;
}
.videogrid li {
  position: relative;
  --cols: 1;
  --rows: 1;

  padding-top: 52.65%;

  overflow: hidden;
}
.videogrid li:first-child {
  --cols: 2;
  --rows: 2;
}

/*.videogrid li:nth-child(5) {
  --cols: 2;
  --rows: 2;
}
*/
/*.videogrid li:nth-child(6) {
  --rows: 2;
}
*/
/* .videogrid li:nth-child(9) {
  --cols: 2;
  --rows: 2;
} */
.videogrid a {
  display: block;
  height: 10rem;
}
.videogrid .imgToLoadScaled {
  position: absolute;
	opacity: 0;
	background-size: cover;
	background-position: center;
	transition: opacity 500ms ease-in-out, transform 250ms ease-in-out;
}
.videogrid .imgToLoadScaled.imgLoaded {
  opacity: 100;
}
.videogrid img, .videogrid a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s;
}
.videogrid figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  color: #fff;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  line-height: 1;
  text-align: center;
  background: rgba(0,0,0, .5);
  text-transform: uppercase;
  font-size: .875rem;
  letter-spacing: .125em;
  font-weight: 600;
}

@media screen and (min-width: 45em) {
  .videogrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .videogrid li {
    grid-column-start: span var(--cols);
    grid-row-start: span var(--rows);
  }
}


/* sections
-------------------------*/

.section-border + .section-border {
  border-top-width: 1px;
}

/* about
-------------------------*/

.about-sections li hr {
  width: 80%;
  border: none;
  height: 1px;
  opacity: .1;
  background-image: linear-gradient(-90deg, rgba(0, 0, 0, 0) 0, #000 12%, #161616 89%, rgba(0, 0, 0, 0) 100%);
}

.about-sections li:last-child hr {
  display: none;
}

/* projekte
-------------------------*/

.project-card-thumb {
	transform: scale(1);
	transition: transform .2s ease-in-out;
}

li:hover .project-card-thumb {
	transform: scale(1.075);
}

.project-card-overlay {
	transition: opacity .2s ease-in-out;	
}
li:hover .project-card-overlay {
	opacity: .5;
}


/* projekt
-------------------------*/

.project-header-gradient {
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.6)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.6)));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);  
}

.project-header-meta li:last-child {
  border-right: none;
}

.video-frame {
  transform: scale(1.025);
  transition: opacity .2s ease-in-out, transform .4s ease-in-out;
  transition-delay: .75s;
}

.video-visibale {
  transform: scale(1.0);
  opacity: 1;
}

.gallery-item-bg {
  opacity: 0;
	background-size: cover;
	background-position: center;
  transition: opacity .2s ease-in-out, transform .2s ease-in-out;
}

.gallery-item-bg.imgLoaded {
  opacity: 1;
}

.gallery-item:hover .gallery-item-bg {
  transform: scale(1.075);
}

.gallery-overlay {
  opacity: 0;
  transition: opacity .2s ease-in-out;
}
.gallery-item:hover .gallery-overlay { opacity: .5; }



/* footer
-------------------------*/

.footer-divider:after {
  content: " ";
  display: block;
  border-bottom: none !important;
}



/* text
------------------------------*/

/* .text {
} */

.text * + * {
  margin-top: 1rem; 
}

.text h1 {
  margin-top: 2rem;
  line-height: 1.35em;
  font-size: 2rem;
  font-weight: 300;
}

.text h2 {
  margin-top: 2rem;
  line-height: 1em;
  font-size: 1.75rem;
  font-weight: 300;
}  

.text h3 {
  margin-top: 1.5rem;
  line-height: 1em;
  font-size: 1.5rem;
  font-weight: 300;
}

.text hr {
  margin: 2rem 0;
  border: none;
  border-bottom: 2px solid #3333;
}

.text a {
  display: inline;
  position: relative;

  /* z-index: 1; */
  word-break: break-all;

  border-bottom: 2px solid #e4e4e4;
  transition: border-bottom .1s ease-in-out;
}

.text a:hover {
  border-bottom: 2px solid #00b8db;
}

.text code {
  padding: .15rem .5rem;
  background-color: #e0e0e0;
  border-radius: 4px;
  font-family: "Courier", monospace;  
  /*font-weight: bold;*/
}

.text pre code {
  display: block;
  padding: 1rem 1.5rem;
  max-width: 100%;
  white-space: pre-line;
  word-break: break-word;
}

.text ol, .text ul {
  padding-left: 3rem;
}

.text ol li, .text ul li {
  direction: block;
  position: relative;
  margin-bottom: 0.5rem;
  line-height: 1.5rem;
}

.text ul li:before {
  content: ""; /* b  | l  */
  margin-top: 0.15em;
  width: 16px;
  height: 16px;
  background: url("/assets/images/chevron-right.svg") no-repeat center;
  /* background-size: contain; */
}

.text li:before {
  direction: inline-block;
  position: absolute;
  top: 2px;
  left: -1.5rem;
  opacity: .25;
}

.text ol {
  counter-reset: section;
}

.text ol li {
  counter-increment: section;  
}

.text ol li:before {
  content: counter(section) ".";
  top: 0;
  left: -1.5rem;
  line-height: 1.5rem;

  opacity: .25;  

  font-weight: bold;
}

.text li + li {
  margin-top: 0px;
}

.text blockquote {
  display: block;
  margin-bottom: 1.25rem;
  padding: 1rem 0;
  padding-left: 2rem;

  line-height: 1.3em;


  font-style: italic;
  font-size: 1.25rem;

  border-left: 4px solid #3333;
}

.text blockquote p {
  margin: 0;
}

/* .text figure {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
} */

.text img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .text h1 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    word-break: break-word;
  }
  .text h2 {
    margin-bottom: 1.4rem;
    font-size: 1.4rem;
    word-break: break-word;
  }
  .text h3 {
    margin-bottom: 1.3rem;
    font-size: 1.3rem; }
  .text h4 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem; }
  .text h5 {
    margin-bottom: 1.1rem;
    font-size: 1.1rem; }
  .text h6 {
    margin-bottom: 1rem;
    font-size: 1rem;   }
  .text blockquote {
    padding: 0;
    padding-left: .75rem;
    font-size: 1.15rem;
  }

  .text ol, .text ul {
    padding-left: 1.25rem;
  }
  .text li:before, .text ol li:before {
    left: -1.25rem;
  }


}

.text > *:first-child {
  margin-top: 0;
}


/* blocks additions
-------------------------*/
#mi-hero-svg svg {
    /* width: 100%; */
    height: auto;
    max-width: 90%;
    display: block;
}

/* tailwindCSS additions
-------------------------*/

.h-128 {
    height: 32rem;
}

.pt-16x9 {
  padding-top: 56.25%;
}

.bg-white-25 {
  background-color: #ffffff40;
}
