/*
Theme Name: Levezekelni site WordPress Theme
URI: https://nektonik.hu/
Author: Kuzmann Zsóka és Kuzmann Eszter
Author URI: https://nektonik.hu
Description: Nektonik WordPressTheme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nektonik-basic
*/

/* !----------------- */
/* ! ÁLTALÁNOS ÉRTÉKEK */
/* ! ----------------- */

:root {
  --clr-dark: rgb(13, 13, 13);
  --clr-light: rgb(255, 255, 255);
  --clr-accent: rgb(252, 187, 0);
  --fs-300: 0.875rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: 1.25rem;
  --fs-700: 1.5rem;
}

@media (min-width: 80rem) {
  :root {
    --fs-400: 1.125rem;
    --fs-500: 1.25rem;
    --fs-600: 1.5rem;
    --fs-700: 2.6rem;
  }
}

body {
  font-family: "Bai Jamjuree", sans-serif;
  font-size: var(--fs-400);
  color: var(--clr-dark);
}

/* !----------------- */
/* ! ÁLTALÁNOSAN MEGADHATÓ OSZTÁLYOK */
/* ! ----------------- */

.container {
  width: 95%;
  margin: 0 auto;
  max-width: 48rem;
}

.container-wide {
  width: 95%;
  max-width: 2000px;
  margin: 0 auto;
}

.grid {
  display: grid;
}

.page-universal {
  padding-block: 7rem;
}

.full-height {
  min-height: 100vh;
}

.flow > * + * {
  margin-top: var(--flow-space, 1.6em);
}

.bg-accent {
  background-color: var(--clr-accent);
}

.bg-dark {
  background-color: var(--clr-dark);
}

.text-light {
  color: var(--clr-light);
}

.opacity {
  opacity: 0.5;
}

.fs-300 {
  font-size: var(--fs-300);
}
.fs-400 {
  font-size: var(--fs-400);
}
.fs-500 {
  font-size: var(--fs-500);
}
.fs-600 {
  font-size: var(--fs-600);
}
.fs-700 {
  font-size: var(--fs-700);
}

.uppercase {
  text-transform: uppercase;
}

.text-align-c {
  text-align: center;
}

.link-underline a {
  text-decoration: underline;
}

.link-color a {
  color: var(--clr-accent);
}

/* !----------------- */
/* ! TYPOGRAPHY */
/* ! ----------------- */

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: var(--fs-700);
}

h2 {
  font-size: var(--fs-600);
}

h3 {
  font-size: var(--fs-500);
}

/* !----------------- */
/* ! MAIN MENU */
/* ! ----------------- */

.main-navigation .logo {
  height: 50px;
}

.main-nav a {
  color: var(--clr-light);
  font-size: var(--fs-300);
  padding: 0.8em 0 0.8em 1rem;
  display: block;
}

.main-nav a:focus,
.main-nav a:hover {
  color: var(--clr-accent);
}

.main-nav .current_page_item a {
  color: var(--clr-accent);
}

.main-nav li:not(:last-of-type) {
  border-bottom: 1px solid var(--clr-light);
}

.main-navigation {
  text-align: center;
  position: fixed;
  width: 100%;
  z-index: 999;
  -webkit-box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1rem;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: var(--clr-light);
  height: 2px;
  width: 2em;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

.nav-toggle:checked ~ .main-nav {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
}

.main-nav {
  position: absolute;
  text-align: left;
  top: 100%;
  left: 0;
  width: 100%;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
  -webkit-transform-origin: top;
  transform-origin: top;
  -webkit-transition: -webkit-transform 400ms ease-in-out;
  transition: -webkit-transform 400ms ease-in-out;
  transition: transform 400ms ease-in-out;
  transition: transform 400ms ease-in-out, -webkit-transform 400ms ease-in-out;
}

.main-nav a {
  opacity: 0;
  -webkit-transition: opacity 150ms ease-in-out;
  transition: opacity 150ms ease-in-out;
}

.nav-toggle:checked ~ .main-nav a {
  opacity: 1;
  -webkit-transition: opacity 250ms ease-in-out 250ms;
  transition: opacity 250ms ease-in-out 250ms;
}

@media (min-width: 38rem) {
  .main-navigation .container {
    display: grid;
    grid-template-columns: auto minmax(400px, 1fr);
  }
  .main-navigation .logo {
    grid-auto-columns: span 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .main-navigation .logo img {
    margin: 0;
  }
  .main-nav {
    all: unset;
    grid-column: 2/-1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .menu-fomenu-container {
    margin: 0 auto;
  }
  .main-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .main-nav li:not(:first-of-type) {
    margin-bottom: 0;
    margin-left: 1.9em;
  }
  .main-nav li:not(:last-of-type) {
    border-bottom: 0;
  }
  .main-nav a {
    opacity: 1;
    padding: 1em 0;
  }
  .nav-toggle-label {
    display: none;
  }
}

/* !----------------- */
/* ! FŐOLDAL */
/* ! ----------------- */

.front-page-main {
  padding-top: 50px;
}

.hero-video {
  background: url(img/levezekelni-trailer-bg.jpg) center bottom var(--clr-dark);
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  aspect-ratio: 16 / 8;
  max-width: 2000px;
  margin: 0 auto;
}

.hero-video a {
  width: 100%;
  text-align: center;
  display: inline-block;
  color: var(--clr-light);
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-video a:focus,
.hero-video a:hover {
  opacity: 0.8;
}

.hero-title {
  padding: 1em 0 3em;
}

.bemutato {
  margin: 2em 0 1em;
}

.front-page-img {
  background: url(img/trailer-still-3.jpg) var(--clr-dark);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  height: 100vh;
  max-width: 2000px;
  margin: 0 auto;
}

@media (min-width: 80rem) {
  .hero-title {
    padding: 4em 0 5em;
  }
}

.pp_pic_holder {
    max-width: 100%;
}

.pp_details {
    background-color: var(--clr-dark);
}

/* !----------------- */
/* ! A FILMRŐL */
/* ! ----------------- */

.bio-bg {
  background: url(img/vilmos.jpg) var(--clr-dark);
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
}

.bio-text-1 {
  background-color: rgba(13, 13, 13, 0.9);
  padding: 5em 0 5em;
}

.bio-text-2 {
  background-color: rgba(13, 13, 13, 0.7);
  padding: 3em 0 5em;
}

.festivals {
  padding: 3em 0 5em;
}

.festivals .flow {
  --flow-space: 5em;
}

.festivals img {
  max-width: 250px;
  margin: 0 auto;
}

.title-margin-top {
  margin-top: 1em;
}

@media (min-width: 80rem) {
  .bio-text-1,
  .bio-text-2,
  .festivals {
    padding: 8em 0 8em;
  }
}

/* !----------------- */
/* ! VETÍTÉSEK */
/* ! ----------------- */

.main-vetitesek {
  padding: 50px 0;
}

.vetites-data {
  background: rgb(252, 187, 0);
  padding: 2em 1em;
}

@media (min-width: 80rem) {
  .vetites-img,
  .vetites-data {
    grid-row: 1 / -1;
    grid-column: 1 / -1;
  }
  .vetites-data {
    -ms-flex-item-align: center;
    align-self: center;
    background: rgba(252, 187, 0, 0.7);
    padding: 3em 3em;
  }
}

/* !----------------- */
/* ! STÁB */
/* ! ----------------- */

.stab-bg {
  background: url("img/stab.jpg") top center var(--clr-dark);
  background-size: cover;
  background-attachment: fixed;
  padding: 80px 0;
  margin: 0 auto;
  max-width: 2000px;
}

.stab-text {
  padding: 2em 1em 4em;
}

@media (min-width: 80rem) {
  .stab-bg {
    padding: 350px 0 200px;
  }
  .stab-text {
    padding: 3em 3em 7em;
  }
}

/* !----------------- */
/* ! GALÉRIA */
/* ! ----------------- */

.main-werk {
  padding: 60px 0;
}

/* !----------------- */
/* ! VAN ESÉLY ALAPÍTVÁNY */
/* ! ----------------- */

.main-vea {
  padding-top: 100px;
  padding-bottom: 500px;
  background: url("img/vea-bg.jpg") bottom center var(--clr-dark);
  background-size: cover;
  background-attachment: fixed;
  margin: 0 auto;
  max-width: 2000px;
}

.title-vea {
  padding: 0 10px 0;
  margin-bottom: 2em;
}

.text-vea {
  padding: 1em 10px 5em;
}

@media (min-width: 80rem) {
  .title-vea {
    padding: 0 30px 0;
  }
  .text-vea {
    padding: 2em 30px 5em;
  }
}

/* !----------------- */
/* ! index.php */
/* ! ----------------- */

.index-text {
  padding-top: 8rem;
}

/* !----------------- */
/* ! UGRÁS AZ OLDAL TETEJÉRE GOMB */
/* ! ----------------- */

.to-top {
  background: var(--clr-accent);
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
}

.to-top::before {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -6px;
  margin-left: -7px;
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid var(--clr-dark);
}

/* !----------------- */
/* ! FOOTER */
/* ! ----------------- */

footer {
  padding: 6em 0 0.5em;
  text-align: center;
}

.social-icons a {
  background-size: contain;
  display: inline-block;
  background-repeat: no-repeat;
  margin-right: 50px;
  width: 20px;
  height: 20px;
  margin-bottom: 30px;
}

.social-icons a:last-child {
  margin-right: 0;
}

.fb-icon {
  background: url(img/fb-feher.png);
}

.vimeo-icon {
  background: url(img/vimeo-feher.png);
}

.insta-icon {
  background: url(img/insta-feher.png);
}
