/*!
Theme Name: layr
Theme URI: https://glorialayr.at/
Author: Martin Paschinger, MA
Author URI: https://martinpaschigner.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: layr
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

layr is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

@font-face {
  font-family: "area-regular";
  src: url("./assets/fonts/AreaNormalRegular/AreaNormal-Regular.otf")
      format("opentype"),
    url("./assets/fonts/AreaNormalRegular/AreaNormal-Regular.woff") format("woff"),
    url("./assets/fonts/AreaNormalRegular/AreaNormal-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "area-semibold";
  src: url("./assets/fonts/AreaNormalSemibold/AreaNormal-Semibold.otf")
      format("opentype"),
    url("./assets/fonts/AreaNormalSemibold/AreaNormal-Semibold.woff")
      format("woff"),
    url("./assets/fonts/AreaNormalSemibold/AreaNormal-Semibold.woff2")
      format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "rische-regular";
  src: url("./assets/fonts/RischeRegular/Rische-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-clr: #ddffea;
  --secondary-clr: #ffffff;
  --text-clr-primary: #0f3c2d;
  --text-clr-secondary: #ffffff;
  --paddingY-xs: 65px;
  --paddingY-sm: 120px;
  --paddingY-base: 180px;
  --paddingY-lg: 300px;
  --paddingX-base: 45px;
}

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

body {
  color: var(--text-clr-primary);
  font-family: "area-semibold";
  font-weight: normal;
  font-style: normal;
}

h1,
h2,
h3,
a,
strong {
  font-weight: normal;
  font-style: normal;
}

h1,
h2,
.primary-btn {
  font-size: 58px;
  font-family: "rische-regular";
  line-height: 1.1;
}

h3 {
  font-size: 20px;
}

#primary-menu li {
  font-size: 130px;
  font-family: "rische-regular";
  line-height: 1;
}

p {
  font-size: 34px;
  line-height: 1.2;
}

.content-container p,
.text-zweispaltig p {
  font-size: 22px;
  line-height: 1.25;
}

a {
  color: #0f3c2d;
  text-decoration: none;
}

.site-info p {
  font-size: 25px;
}

.site-info a {
  font-size: 31px;
}
/*** Navigation START ***/

/*** Navigation ENDE ***/

/*** Header START ***/
.site-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 35px 0px 100px 0px;
  border-bottom: 2px solid var(--text-clr-primary);
  position: relative;
  top: 0;
  left: 0;
}

.site-branding svg {
  width: 280px;
  height: auto;
}

.home .site-branding svg {
  display: none;
}

.home .site-header {
  border: none;
  position: absolute;
}

.main-navigation {
  position: absolute;
  right: var(--paddingX-base);
  top: var(--paddingX-base);
}

.menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 12;
}

.menu-menu-1-container {
  background: var(--secondary-clr);
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: -100vh;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

#primary-menu {
  padding-top: 30px;
  list-style: none;
  text-align: center;
}

.menu-menu-1-container .site-info {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
}

.menu-open-icon {
  display: block;
}

.menu-close-icon {
  display: none;
}

.menu-menu-1-container.menu-expanded {
  top: 0;
  box-shadow: 0px -20px 50px;
}

.menu-expanded .menu-close-icon {
  display: block;
}

.menu-expanded .menu-open-icon {
  display: none;
}
/*** Header ENDE ***/

/*** Footer START ***/
.pre-site-info {
  padding-top: var(--paddingY-base);
  padding-bottom: 30px;
}

.post-type-archive-portfolio .pre-site-info {
  padding-top: calc(var(--paddingY-base) - var(--paddingY-sm));
}

.site-info {
  padding: 15px;
  border-top: 2px solid var(--text-clr-primary);
  text-transform: uppercase;
}

.site-footer {
  text-align: center;
}
/*** Footer ENDE ***/

/*** Komponenten START ***/
.primary-btn {
  width: 100%;
  font-family: "rische-regular";
  border: 2px solid var(--text-clr-primary);
  border-radius: 100px;
  padding: 6px 0px 13px 0px;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.primary-btn:hover {
  background-color: var(--text-clr-primary);
  color: var(--text-clr-secondary);
}

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

.home .text-einspaltig {
  padding: 0px 130px var(--paddingY-base) 130px;
  margin-bottom: 0;
}

.text-zweispaltig {
  width: 100%;
  display: flex;
  gap: 30px;
}

.news-block {
  width: 100%;
  border-top: 2px solid var(--text-clr-primary);
  padding-top: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
}

.inner-news-block {
  width: 50%;
}

.content-container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 30px;
  padding-bottom: 30px;
}

.content-container .img {
  height: 100%;
  padding-bottom: 38%;
}

.content-container .img,
.content-container .content {
  width: 50%;
  position: relative;
}

.content-container img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}

.content-container p {
  position: absolute;
  bottom: 0;
  left: 0;
}

.swiper-container {
  width: 100%;
  height: 750px;
  position: relative;
  overflow: hidden;
}

img {
  width: auto;
  height: auto;
  display: block;
}

.swiper-container img {
  height: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: 44px !important;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: 44px !important;
}

/* Anpassungen für die Swiper-Buttons */
.swiper-button-prev,
.swiper-button-next {
  width: 35px !important; /* Breite des SVG */
  height: 66px !important; /* Höhe des SVG */
}

.swiper-button-prev:after,
.swiper-button-next:after {
  display: none !important; /* Entfernt den Standard-Hintergrund */
}

.swiper-pagination-bullet {
  background: #ffffff !important;
}

.swiper-pagination-bullet-active {
  background: #ffffff !important;
}

.news-block,
.text-einspaltig,
.text-zweispaltig,
.galerie-slider,
.bild-einspaltig,
.bild-zweispaltig {
  padding-left: var(--paddingX-base);
  padding-right: var(--paddingX-base);
  margin-bottom: var(--paddingY-xs);
}

.single-portfolio .text-einspaltig {
  padding-left: 200px;
  padding-right: 200px;
}

.entry-content {
  margin-top: 30px;
}

.home .entry-content {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.bild-einspaltig {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.bild-einspaltig img,
.bild-einspaltig img.fullscreen {
  width: 100%;
}

.bild-zweispaltig {
  width: 100%;
  display: flex;
  gap: 30px;
}

.bild-zweispaltig div {
  width: 50%;
  height: 0;
  padding-bottom: 32%;
  position: relative;
}

.bild-zweispaltig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}
/*** Komponenten ENDE ***/

/*** Startseite ANFANG ***/
.home {
  background-color: var(--primary-clr);
}

.home .entry-header {
  width: 100%;
  height: auto;
  position: relative;
}

.home .logo-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
}

.home .logo-container svg {
  width: 30vw;
  height: auto;
}

.home .img-container {
  width: 100%;
  height: auto;
  position: relative;
  padding: var(--paddingX-base);
}

.home .img-container img {
  width: 100%;
}
/*** Startseite ENDE ***/

/*** Archiv START ***/
.post-type-archive-portfolio .site-header {
  border-bottom: none;
}

.post-type-archive-portfolio .site-main {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.post-type-archive-portfolio article {
  width: 33.33333%;
  padding: 15px;
  border-top: 2px solid var(--text-clr-primary);
  margin-bottom: var(--paddingY-sm);
}

.post-type-archive-portfolio article:first-child,
.post-type-archive-portfolio article:nth-child(4n) {
  padding-left: var(--paddingX-base);
}

.post-type-archive-portfolio article:nth-child(3n) {
  padding-right: var(--paddingX-base);
}

.post-type-archive-portfolio p {
  font-size: 20px;
  margin-bottom: 15px;
}

.post-type-archive-portfolio article .entry-content {
  margin-top: 0px;
}

.post-type-archive-portfolio article .entry-content .querformat {
  width: 100%;
  height: 0;
  padding-bottom: 65%;
  position: relative;
}

.post-type-archive-portfolio
  article:nth-child(3n + 2)
  .entry-content
  .querformat {
  padding-bottom: calc(65% - 19.5px);
}

.post-type-archive-portfolio article .entry-content .hochformat {
  width: 66.66666%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
}

.post-type-archive-portfolio
  article:nth-child(3n + 2)
  .entry-content
  .hochformat {
  padding-bottom: calc(100% - 30px);
}

.post-type-archive-portfolio article .entry-content a {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.post-type-archive-portfolio article .entry-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.post-type-archive-portfolio article img {
  width: 100%;
}
/*** Archiv ENDE ***/

/*** Single START ***/
.single-portfolio .post-navigation .nav-links {
  width: 100%;
  position: relative;
  padding: 0px var(--paddingX-base) 0px var(--paddingX-base);
}

.single-portfolio .entry-header {
  position: relative;
}

.single-portfolio .entry-header p a {
  pointer-events: none;
}

.single-portfolio .entry-header .post-navigation {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.single-portfolio .post-navigation {
  border-top: 2px solid var(--text-clr-primary);
  padding-top: 30px;
  margin-top: var(--paddingY-xs);
}

.single-portfolio .entry-header .post-navigation .nav-links {
  transform: translateY(-6px);
}

.single-portfolio .nav-prev {
  position: absolute;
  top: 0;
  left: var(--paddingX-base);
}

.single-portfolio .nav-next {
  position: absolute;
  top: 0;
  right: var(--paddingX-base);
}

.single-portfolio .entry-header p {
  font-size: 20px;
  width: 100%;
  text-align: center;
}

.single-portfolio .site-header {
  margin-bottom: 30px;
}

.swiper-container svg {
  transform: translateY(-5px);
}
/*** Single ENDE ***/

.desktop-view {
  display: block;
}

.mobil-view {
  display: none;
}

#cn-notice-text,
#cn-notice-buttons .cn-button {
  font-size: 1rem !important;
  padding: 1rem !important;
  border-radius: 8px !important;
  margin-bottom: 0px;
}

#cn-notice-buttons .cn-button {
	color: #0e3c2d!important;
}

/*** Media Queries ANFANG ***/
@media all and (max-width: 1650px) {
  h1,
  h2,
  .primary-btn {
    font-size: 40px;
  }

  .content-container p,
  .text-zweispaltig p {
    font-size: 16px;
    line-height: 1.25;
  }

  p {
    font-size: 28px;
  }

  .site-info p {
    font-size: 16px;
  }

  .site-info a {
    font-size: 22px;
  }
}

@media all and (max-width: 1300px) {
	.cookie-notice-container {
    padding-top: 0 !important;
  }
	
  h1,
  h2,
  .primary-btn {
    font-size: 28px;
  }

  p {
    font-size: 23px;
  }

  .home .text-einspaltig {
    padding-bottom: 120px;
  }

  #primary-menu li {
    font-size: 100px;
  }

  .site-branding svg {
    width: 230px;
    height: auto;
  }

  .menu-close-icon,
  .menu-open-icon {
    width: 100px;
    height: auto;
  }

  .news-block,
  .text-einspaltig,
  .text-zweispaltig,
  .galerie-slider,
  .bild-einspaltig,
  .bild-zweispaltig {
    /* padding-left: var(--paddingX-base);
    padding-right: var(--paddingX-base); */
    margin-bottom: 40px;
  }

  .pre-site-info {
    padding-top: 110px;
  }

  .post-type-archive-portfolio p {
    font-size: 16px;
  }

  .post-type-archive-portfolio .pre-site-info {
    padding-top: 20px;
  }

  .post-type-archive-portfolio article {
    margin-bottom: 60px;
  }

  .swiper-container {
    height: 450px;
  }

  .swiper-container svg {
    width: 30px;
    height: auto;
  }
}

@media all and (max-width: 1160px) {
	
  .menu-close-icon,
  .menu-open-icon {
    width: 75px;
    height: auto;
  }

  .site-branding svg {
    width: 200px;
  }

  .site-header {
    padding: 35px 0px 80px 0px;
  }

  h1,
  h2,
  .primary-btn {
    font-size: 24px;
  }

  p {
    font-size: 20px;
  }

  .content-container p,
  .text-zweispaltig p {
    font-size: 15px;
  }

  .site-info p {
    font-size: 16px;
  }

  .site-info a {
    font-size: 21px;
  }

  #primary-menu li {
    font-size: 75px;
  }

  .home .text-einspaltig {
    padding-bottom: 80px;
  }

  .news-block,
  .text-einspaltig,
  .text-zweispaltig,
  .galerie-slider,
  .bild-einspaltig,
  .bild-zweispaltig {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 30px;
  }

  .main-navigation {
    right: 20px;
    top: 20px;
  }

  .home .img-container {
    padding: 20px;
  }

  .news-block,
  .text-zweispaltig {
    gap: 20px;
  }

  .content-container {
    gap: 20px;
    padding-bottom: 20px;
  }

  .pre-site-info {
    padding-top: 80px;
  }

  .primary-btn {
    padding: 8px 0px 12px 0px;
  }

  .post-type-archive-portfolio article:first-child,
  .post-type-archive-portfolio article:nth-child(4n) {
    padding-left: 20px;
  }

  .post-type-archive-portfolio article {
    padding: 10px;
  }

  .post-type-archive-portfolio article:nth-child(3n) {
    padding-right: 20px;
  }

  .post-type-archive-portfolio
    article:nth-child(3n + 2)
    .entry-content
    .hochformat {
    padding-bottom: calc(100% - 10px);
  }

  .post-type-archive-portfolio p {
    margin-bottom: 10px;
  }

  .home .text-einspaltig {
    padding-left: 80px;
    padding-right: 80px;
    margin-bottom: 0;
  }

  /* News-Block START */
  .content-container {
    flex-direction: column;
  }

  .content-container .img {
    width: 100%;
  }

  .content-container .content {
    width: 100%;
    height: auto;
  }

  .content-container p {
    margin-top: 20px;
    position: relative;
  }
  /* News-Block ENDE */

  .site-info p {
    font-size: 13px;
  }

  .site-info a {
    font-size: 16px;
  }

  .single-portfolio .text-einspaltig {
    padding-left: 60px;
    padding-right: 60px;
  }

  .swiper-container {
    height: 360px;
  }

  .swiper-container svg {
    width: 25px;
    height: auto;
  }
}

@media all and (max-width: 680px) {
	#cn-notice-text,
  #cn-notice-buttons .cn-button {
    font-size: 0.8rem !important;
    padding: 0.8rem !important;
    border-radius: 8px !important;
    margin-bottom: 0px;
    line-height: 1.2;
  }
	
	.cookie-notice-container {
    padding-top: 0 !important;
  }
	
  .home .logo-container svg {
    width: 50vw;
  }

  .desktop-view {
    display: none;
  }

  .mobil-view {
    display: block;
  }

  .bild-einspaltig img.standard {
    width: 100%;
  }

  .swiper-container {
    height: 230px;
  }

  .swiper-container svg {
    width: 20px;
    height: auto;
  }

  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: 10px !important;
  }

  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: 10px !important;
  }

  h1,
  h2,
  .primary-btn {
    font-size: 21px;
  }

  #primary-menu li {
    font-size: 48px;
  }

  #primary-menu {
    padding-top: 40px;
  }

  .menu-close-icon,
  .menu-open-icon {
    width: 50px;
    height: auto;
  }

  .site-branding svg {
    width: 120px;
  }
  .content-container p,
  .text-zweispaltig p,
  p {
    font-size: 16px;
  }

  .home .text-einspaltig {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 0px;
    padding-bottom: 50px;
  }

  .news-block {
    padding-top: 20px;
  }

  .news-block,
  .text-zweispaltig {
    flex-direction: column;
  }

  .inner-news-block {
    width: 100%;
  }

  .content-container p {
    margin-top: 15px;
    position: relative;
  }

  .content-container .img {
    padding-bottom: 63%;
  }

  .pre-site-info {
    padding-top: 50px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header {
    padding: 40px 0px 50px 0px;
  }

  .entry-content {
    margin-top: 20px;
  }

  .news-block,
  .text-einspaltig,
  .text-zweispaltig,
  .galerie-slider,
  .bild-einspaltig,
  .bild-zweispaltig {
    margin-bottom: 20px;
  }

  .post-type-archive-portfolio .site-main {
    flex-direction: column;
  }

  .post-type-archive-portfolio article {
    width: 100%;
    padding: 15px 20px 20px 20px;
    margin-bottom: 0px;
  }

  .post-type-archive-portfolio article .entry-content .hochformat {
    width: 100%;
  }

  .post-type-archive-portfolio
    article:nth-child(3n + 2)
    .entry-content
    .hochformat {
    padding-bottom: calc(130% - 10px);
  }

  .single-portfolio .text-einspaltig {
    padding-left: 20px;
    padding-right: 20px;
  }

  .single-portfolio .post-navigation .nav-links {
    padding: 0px 20px 0px 20px;
  }

  .single-portfolio .site-header {
    margin-bottom: 20px;
  }

  .nav-next svg,
  .nav-previous svg {
    width: 10px;
    height: auto;
  }

  .single-portfolio .nav-next {
    right: 20px;
  }

  .single-portfolio .entry-header p {
    font-size: 16px;
  }

  .single-portfolio .entry-header .post-navigation .nav-links {
    transform: translateY(0px);
  }

  .single-portfolio .post-navigation {
    padding-top: 20px;
    margin-top: 50px;
  }

  .bild-zweispaltig {
    gap: 20px;
    flex-direction: column;
  }

  .bild-zweispaltig div {
    width: 100%;
    padding-bottom: 63%;
  }
}
/*** Media Queries ENDE ***/
