/*
Theme Name: QFT.FM beta 2
Theme URI: http://namaikatipitkata.com
Description: TAQ TEMA E SAMO ZA KIUFTETO WE
Author: Sedef4o
Author URI: http://namaikatipitkata.com
Version: 1.0
Tags: responsive, black, white, columns, custom menu, etc.
*/

::selection {
  background: black;
  color: white;
}
@font-face {
  font-family: 'ALS Hauss';
  src: local('ALS Hauss Regular'), local('ALSHauss-Regular'), url('./ALSHauss-Regular.woff2') format('woff2'), url('./ALSHauss-Regular.woff') format('woff'), url('./ALSHauss-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ALS Hauss';
  src: url('./alshauss-bold-webfont.woff2') format('woff2'),
       url('./alshauss-bold-webfont.woff') format('woff');
  font-weight: bold;
  font-style: normal;

}
@font-face {
  font-family: 'ALS Hauss';
  src: url('./alshauss-bolditalic-webfont.woff2') format('woff2'),
       url('./alshauss-bolditalic-webfont.woff') format('woff');
  font-weight: bold;
  font-style: italic;

}
@font-face {
  font-family: 'ALS Hauss';
  src: url('./alshauss-regularitalic-webfont.woff2') format('woff2'),
       url('./alshauss-regularitalic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: italic;

}
@font-face {
  font-family: 'Futura Now Headline';
  src: local('Futura Now Headline Bold'), local('FuturaNowHeadline-Bold'), url('./FuturaNowHeadline-Bold.woff2') format('woff2'), url('./FuturaNowHeadline-Bold.woff') format('woff'), url('./FuturaNowHeadline-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura Now Headline';
  src: local('Futura Now Headline Black'), local('FuturaNowHeadline-Black'), url('./FuturaNowHeadline-Black.woff2') format('woff2'), url('./FuturaNowHeadline-Black.woff') format('woff'), url('./FuturaNowHeadline-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html {
  background-color: #FFDB27;
}
body {
  background-color: #FFDB27;
  margin: 0;
  padding: 0;
  font-family: 'ALS Hauss', sans-serif;
}
html.is-loading,
body.is-loading {
  overflow: hidden;
  height: 100%;
}
body.is-loading {
  touch-action: none;
  overscroll-behavior: none;
}
body:before {
  content: "";
  height: 12px;
  position: absolute;
  z-index: 999999;
  top: -2px;
  left: -10px;
  right: -10px;
  background-image: url("./rqft-divider.svg");
  background-size: auto 12px;
  transform: scaleY(-1);
}
.loader {
  height: 100vh;
  width: 100vw;
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
  bottom: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  will-change: opacity;
  background-color: black;
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader .logo {
  animation: blink 1s infinite;
}
.loader .player {
  animation: blink 1s infinite;
  animation-delay: 100ms;
}
.sidebar {
  width: 360px;
  flex-basis: 300px;
  flex-shrink: 0;
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.sidebar .logo {
  background-image: url("./qft-fm-svg-logo.svg");
  width: 300px;
  height: 137px;
  background-size: 100% 100%;
  margin-top: 30px;
  position: relative;
}
.sidebar .logoLink {
  margin:0;
  padding:0;
  cursor:pointer;
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  display: block;
  z-index: 9999;

}
.sidebar .logo .gifMobile {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  display: none;
}
.sidebar .player {
  border: 3px solid #000000;
  width: 300px;
  box-shadow: 5px 5px 0 0 #000000;
  border-radius: 30px;
  overflow: visible;
  height: 390px;
  background: white;
  margin-bottom: 30px;
}
.sidebar .player .playerIframe {
  background: #FFFFFF;
  border-radius: 10px;
}
.content {
  padding-right: 330px;
  padding-bottom: 30px;
  position:relative;
  z-index:1;
}
.content:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100vh;
  background-image: url("https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExeGRteTJjZWZ1b3NwenVtdnFydTBnamVteHFscHhkMGZwams0OHA3cSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/45aI8f1nI1b071X96C/giphy.gif");
  background-size: cover;
}
.content.singlePost:before {
    display: none;
}
.gif {
  background: url('https://media.giphy.com/media/5vCWii3HEE75e/giphy.gif');
  background-size: cover;
  height: calc(100vh + 20px);
  width: 100vw;
  background-position: center center;
  position: relative;
}
/* .gif:before {
  content: "";
  height: 12px;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: scaleY(-1);
  left: 0;
  right: 0;
  background-image: url("./rqft-divider.svg");
  background-size: auto 12px;
} */
.gif:after {
  content: "";
  height: 12px;
  width: 100%;
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  background-image: url("./rqft-divider.svg");
  background-size: auto 12px;
}
.gif .btns {
  bottom: 50px;
  left: 30px;
  position: absolute;
  display: flex;
}
.gif .godownonme {
  font-family: "Futura Now Headline";
  /* position: absolute; */
  font-size: 24px;
  white-space: nowrap;
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  padding: 15px 15px 12px;
  line-height: 24px;
  background: #FFFFFF;
  border: 3px solid #000000;
  box-shadow: 5px 5px 0 0 #000000;
  border-radius: 10px;
  color:black;
  text-decoration: none;
  transition: box-shadow 150ms;
}
.gif .godownonme:not(:last-child){
  margin-right:20px;
}
.gif a#newGif:hover {
  box-shadow: 10px 10px 0 0 #000000;
  background:#FFDB27;
  animation: lgbt 4s infinite step-end;
}
.content {
  box-sizing: border-box;
}

.content.singlePost {
  
}
.content.singlePost .gif{
  height:30vh;
  transition:height 200ms;
}
.content.singlePost .gif:hover{
  height:80vh;
}

.content > * {
  margin-bottom: 30px;
}
article {
  box-sizing: border-box;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;

}
article {
  padding-bottom:30px;
  margin-bottom:30px;
  position: relative;
}
article .body:after {
  content:"";
  position: absolute;
  bottom:-30px;
  right:0px;
  left:0px;
  height:7px;
  background-image: url('./rqft-post-divider.svg');
  background-position:bottom center;
  background-size: auto 7px;
  background-repeat:repeat-x;
}
article:last-child {
  margin-bottom:0;
}
article .body img.postimage {
  height: 0px;
  width: 0px;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}
article a.permalink {
  cursor: pointer;
  display: block;
  width: 100%;
  text-decoration: none;
  font-size: 20px;
  max-width: 60ch;
  margin-bottom:30px;
}
article .header {
  display: flex;
  cursor:pointer;
  width:100%;
  justify-content: flex-end;
  flex-direction: column;
  font-size: 20px;
  max-width: 60ch;
  height: 500px;
  background-size: cover;
  border: 3px solid #000000;
  box-shadow: 5px 5px 0 0 #000000;
  border-radius: 10px;
  transition: all 200ms;
}
/* article .header .meta {
  transform-origin: left center;
  transform: skewY(-3deg);
  cursor:pointer;
  margin-left: -3px;
  margin-bottom: 10px;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
} */
/* article .header .kicker,
article .header h1 {
  z-index: 0;
  flex-grow: 0;
  cursor:pointer;
} */
/* article .header .kicker:before,
article .header h1:before {
  content: "";
  position: absolute;
  background: rgba(0,0,0,0.8);
  top: -6px;
  bottom: -2px;
  left: 0;
  right: -10px;
  backdrop-filter: grayscale(100%);
  -webkit-backdrop-filter: grayscale(100%);
  z-index: -1;
} */
/* article .header .kicker {
  position: relative;
  display: inline-block;
  font-family: "Futura Now Headline";
  font-weight: bold;
  font-size: 16px;
  color: white;
  letter-spacing: 3px;
  text-shadow: 4px 4px 0 rgba(94, 111, 110, 0.12);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-left: 14px;
} */
article .header .kicker:empty {
  display: none;
}
/* article .header h1 {
  width: auto;
  padding-left: 8px;
  display: inline-block;
  font-family: "Futura Now Headline";
  position: relative;
  font-size: 36px;
  color: white;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(94, 111, 110, 0.12);
  margin-top: 0px;
  margin-bottom: 20px;
  font-weight: 900;
  padding-left: 20px;
} */
/* article a.permalink:hover .header{
  box-shadow: 10px 10px 0 0 #000000;
} */
article .body {
  font-size: 20px;
  color: #000000;
  line-height: 30px;
  max-width: 60ch;
  width:100%;
  position: relative;
}
article .body p {
  max-width: 60ch;
  margin: 0 0 20px;
}
article .body p:last-child {
  margin-bottom:0;
}
/* article .body p:first-of-type:first-letter {
  float: left;
  font-size: 55px;
  font-weight: bold;
  padding-top: 19px;
  padding-right: 8px;
  font-family: "Futura Now Headline";
  text-transform: uppercase;
  font-weight: 900;
} */
article .body img {
  max-width: 100%;
  height:auto;
}
article .body figure {
  display: block;
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
}
article .body a {
  margin: 0 7px;
  color: white;
  text-decoration: none;
  z-index: 0;
  position: relative;
  transition: all 150ms;
  background: black;
  padding: 8px 8px 3px;
  margin: -8px 0 -3px;
}

article .body img {
  border-radius:10px;
}

/* Video post */

article .header.videoPost {
  height:unset;
  background:unset;
  border: unset;
  box-shadow: unset;
}

.videoPost .video {
  width:100%;
  padding: 0;
  margin:0;
  border: 3px solid #000000;
  box-shadow: 5px 5px 0 0 #000000;
  border-radius: 10px;
  box-sizing:border-box;
  overflow: hidden;
  background:black;
  aspect-ratio: 16 / 9;
  position: relative;
}

.videoPost .video iframe {
  width:100%;
  aspect-ratio: 16 / 9;
  height: 100%;
  box-sizing:border-box;position: absolute;top: 0;bottom: 0;left: 0;right: 0;
}

/* article .header.videoPost a.permalink {
  margin-bottom:10px;
} */

/* article .header.videoPost a .meta {
  transform:skewY(0);
  max-width:100%;
  margin-top:30px;
  margin-bottom:0;
} */
/* 
article .header.videoPost a .meta h1 {
  padding-top:6px;
} */
/* 
article .header.videoPost a .meta h1:before, article .header.videoPost a .meta .kicker:before{
  background-color: black;
} */

.navigation {
  display: flex;
  justify-content: center;
  /* padding: 0 30px; */
  box-sizing: border-box;
}

.navigation .navigationContent {
  font-size: 20px;
  margin: 0 30px;
  max-width: 60ch;
  width:100%;
}

.navigation p {
  display: flex;
  align-items: stretch;
  position: relative;
  width:100%;
  text-align: center;

  font-family: "Futura Now Headline";
  position: relative;
  font-size: 18px;
  font-weight: 900;
  margin:0;
  display: flex;
  justify-content: space-between;
}

.navigation p a {
  text-decoration:none;
  color:black;
  text-transform: uppercase;
  position: relative;
  z-index: 0;
}

.navigation p a:after {
  content:"";
  position: absolute;
  bottom:-4px;
  left:0;
  right:0;
  height:2px;
  background-color:black;
  z-index: -1;
  transition: all 150ms;
}

.navigation p a:hover {
  color:white;
}

.navigation p a:hover:after {
  height: 44px;
  left: -10px;
  right: -10px;
  bottom:-6px;
  border-radius: 4px;
}

.navigation p a.disabled {
  pointer-events: none;
  opacity: 0.2;
}

.navigation p a.disabled:after {
  display: none;
}

.navigation p:after {
  content:"";
  position: absolute;
  bottom:-30px;
  right:0px;
  left:0px;
  height:7px;
  background-image: url('./rqft-post-divider.svg');
  background-position:bottom center;
  background-size: auto 7px;
  background-repeat:repeat-x;
}

footer {
  padding-right:330px;
  display: flex;
  justify-content: center;
  margin-bottom:30px;
  margin-top: 0px;
}

footer .container {
  font-size: 20px;
  padding: 0 30px;
  max-width: 60ch;
  display: flex;
  align-items: stretch;
}

footer .container p {
  font-size:14px;
}
footer .container img {
  max-width: 300px;
  width:100%;
  /* margin: -20px 0 0 -40px; */
}

footer .container .skull {
  flex-basis:100px;
  flex-shrink:0;
  margin-right:20px;
}

footer .container .skull img {
  height:auto;
  width:100%;
}

/* WP specific fixes */

.wp-block-embed__wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

@media only screen and (max-width: 960px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  body:before {
    content: "";
    height: 12px;
    position: absolute;
    z-index: 999999;
    top: -2px;
    left: -10px;
    right: -10px;
    background-image: url("./rqft-divider.svg");
    background-size: auto 12px;
    transform: scaleY(-1);
  }
  .sidebar {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
  }
  .sidebar .logo {
    flex-grow: 1;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0;
    background-size: 75vw auto;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
  }

  .sidebar .logo .gifMobile {
    display: block;
  }
  
  .sidebar .logo .gifMobile:after {
    content: "";
    height: 12px;
    position: absolute;
    bottom: -2px;
    left: -10px;
    right: -10px;
    background-image: url("./rqft-divider.svg");
    background-size: auto 12px;
  }
  .sidebar .player {
    box-sizing: border-box;
    margin: 30px;
    display: flex;
    justify-content: center;
    width: calc(100% - 60px);
  }
  .content {
    padding: 30px 30px 0;
    padding-top: 0;
  }
  .content:before {
    display:none;
  }
  .content .gif {
    display: none;
  }
  .content article {
    padding: 0px;
  }
  .content article:not(:last-of-type) {
    padding-bottom:30px;
  }
  article:not(:last-of-type):after {
    bottom:0;
    right:0;
    left:0;
  }
  article .header {
    aspect-ratio: 4/3;
    height:auto;
  }
  .content article .header {
    background-position: center;
  }
  .content article .meta .kicker {
    font-size: 14px;
  }
  .content article .meta h1 {
    font-size: 24px;
  }
  .content article .body {
    font-size: 18px;
  }
  .content .navigation .navigationContent {
    margin: 30px 0 0;
    font-size:18px;
  }
  footer {
    padding: 0;
    margin-top:60px;
  }
}
@media screen and (orientation: landscape) and (max-width: 960px) {
  body,
  .loader, footer {
    padding-left: 30px;
    padding-right: 30px;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .loader {
    box-sizing: border-box;
  }
  .sidebar {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
  }
  .sidebar > * {
    flex: 1;
  }
  .sidebar .logo {
    background-size: 75%;
    margin: 30px 0 30px -48px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #000000;
    box-shadow: 5px 5px 0 0 #000000;
    margin: 30px 0;
    box-sizing: border-box;
    height:unset;
  }
  .sidebar .logo .gifMobile:after {
    display: none;
  }
  .sidebar .player {
    margin-right: 0;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .content {
    padding: 0 0;
  }
}

@media (prefers-color-scheme: dark) { 
  html, body {
    background-color: #2F4858;
  }
  article .body {
    color:white;
  }
  article .body:after, .navigation p:after {
    filter: invert();
  }
  .gif:after,body:before,.sidebar .logo .gifMobile:after {
    background-image: url("./rqft-divider-dark-mode.svg");
  }
  footer .container p {
    color:white;
  }
  .navigation p, .navigation p a {
    color:white;
  }
  .navigation p a:after {
    background-color:white;
  }
  .navigation p a:hover:after {
    background-color:white;
  }
  
  .navigation p a:hover {
    color:black;
  }
}

@keyframes blink {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes lgbt {
  0% {
    filter:hue-rotate(0deg);
  }
  10% {
    filter:hue-rotate(36deg);
  }
  20% {
    filter:hue-rotate(72deg);
  }
  30% {
    filter:hue-rotate(108deg);
  }
  40% {
    filter:hue-rotate(144deg);
  }
  50% {
    filter:hue-rotate(180deg);
  }
  60% {
    filter:hue-rotate(216deg);
  }
  70% {
    filter:hue-rotate(252deg);
  }
  80% {
    filter:hue-rotate(288deg);
  }
  90% {
    filter:hue-rotate(324deg);
  }
  100% {
    filter:hue-rotate(360deg);
  }
}



.permalink {
  border: 3px solid #000000;
  box-shadow: 5px 5px 0 0 #000000;
  border-radius: 13px;
  transition: all 200ms;
  background: black;
  cursor:pointer;
}
.videoPost .permalink {
  border:none;
  margin-top:20px;
}
article .header {
  border: none;
  box-shadow: none;
}
article a.permalink:hover .header {
  box-shadow: none;
}

article a.permalink:hover {
  box-shadow: 10px 10px 0 0 #000000;
}


article .permalink .meta {
  cursor:pointer;
  padding:20px 30px 10px;
  margin-left: -3px;
  margin-bottom: 10px;
  /*! max-width: 80%; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
article .permalink .kicker,
article .permalink h1 {
  z-index: 0;
  flex-grow: 0;
  cursor:pointer;
}
article .permalink .kicker {
  position: relative;
  display: inline-block;
  font-family: "Futura Now Headline";
  font-weight: bold;
  font-size: 16px;
  color: white;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom:10px;
}
article .permalink .kicker:empty {
  display: none;
}
article .permalink h1 {
  width: auto;
/*   padding-left: 8px; */
  display: inline-block;
  font-family: "Futura Now Headline";
  position: relative;
  font-size: 36px;
  color: white;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(94, 111, 110, 0.12);
/*   margin-top: 0px; */
/*   margin-bottom: 20px; */
  font-weight: 900;
/*   padding-left: 20px; */
  margin: 0;
}

td {
  vertical-align: top;
  padding: 10px;
}
td:first-child {
  padding-left: 0;
}
td:last-child {
  padding-right: 0;
}
