/*!
Theme Name: eeeden
Theme URI: https://eeeden-apartments.at/
Author: Design- und Entwicklungsbüro Paschinger
Author URI: https://martinpaschinger.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: eeeden
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.

eeeden 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.
*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Generic
--------------------------------------------- */

@font-face {
  font-family: "Affairs-Regular";
  src: url("./assets/fonts/Affairs-Regular.woff2") format("woff2"),
    url("./assets/fonts/Affairs-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-clr: #0f6d38;
  --secondary-clr: #ffc5cb;
  --text-clr-primary: #0f6d38;
  --text-clr-secondary: #ffc5cb;
  --padding-base: 60px;
}

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

body {
  font-family: "Affairs-Regular";
  font-weight: normal;
  font-style: normal;
  background-color: var(--primary-clr);
}

h1 {
  font-size: 100px;
  line-height: 1;
  font-weight: normal;
}

p {
  font-size: 40px;
  line-height: 1.3;
}

.site-footer p {
  font-size: 24px;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: currentColor;
}

img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

.no-wrap {
  white-space: nowrap;
}

a.button {
  margin: var(--padding-base) 20px 120px 20px;
  display: inline-block;
  font-size: 34px;
  padding: 15px 60px;
  background-color: var(--secondary-clr);
  color: var(--text-clr-primary);
  border-radius: 100px;
  transition: transform 0.3s ease-in-out;
}

a.button:hover {
  transform: scale(1.02);
}
/*** Navigation START ***/
#menu-toggle {
  display: none;
}
/*** Navigation ENDE ***/

/*** Header START ***/
.site-branding {
  padding: var(--padding-base) 20px 100px 20px;
}

.entry-header {
  color: var(--text-clr-secondary);
  text-align: center;
  position: relative;
}

.entry-header h1,
.entry-header .button {
  position: relative;
  z-index: 100;
}

.illustration_einstieg_eins {
  width: 520px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

.illustration_einstieg_zwei {
  width: 550px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-right: 20px;
  padding-bottom: 20px;
}

.entry-header img {
  width: 100%;
  height: auto;
}
/*** Header ENDE ***/

/*** Footer START ***/
.site-footer {
  width: 100%;
  padding: var(--padding-base);
  background-color: #ffffff;
}

.site-info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-info p {
  color: var(--text-clr-primary);
}
/*** Footer ENDE ***/

/*** Page START ***/
.content-block {
  width: 100%;
  min-height: 700px;
  position: relative;
  display: flex;
}

.content-block > div {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.content-block .description {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-clr);
  color: var(--text-clr-primary);
  text-align: center;
  padding: var(--padding-base);
}

.content-block .description p {
  margin-bottom: 40px;
}

.content-block .description p:last-of-type {
  margin-bottom: 0px;
}

.content-block .illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.swiper-container {
  height: 100%;
  position: relative;
}

.swiper-container .swiper-slide {
  height: 100%;
  position: relative;
}

.swiper-container .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Stil für alle Pagination-Bullets */
.swiper-pagination-bullet {
  background: transparent !important;
  border: 2px solid white;
  width: 15px !important;
  height: 15px !important;
  opacity: 1 !important; /* Stellt sicher, dass die Bullets immer sichtbar sind */
  transition: background-color 0.3s; /* Fügt einen sanften Übergang für Farbwechsel hinzu */
}

/* Stil für den aktiven Pagination-Bullet */
.swiper-pagination-bullet-active {
  background: white !important;
  border: 2px solid white; /* Gleiche Farbe wie der Hintergrund für einen 'ausgefüllten' Effekt */
}

.imprint-content {
  text-align: center;
  color: #ffc5cb;
  padding-top: 60px;
  padding-bottom: 100px;
}

.site-footer svg {
  width: 210px;
  height: auto;
  display: block;
}
/*** Page ENDE ***/

/*** Responsive Adjustments START ***/
@media all and (max-width: 1536px) {
  h1 {
    font-size: 80px;
  }

  .illustration_einstieg_eins {
    width: 430px;
  }

  .illustration_einstieg_zwei {
    width: 460px;
  }

  .content-block {
    min-height: 550px;
  }

  p {
    font-size: 36px;
    line-height: 1.3;
  }
}

@media all and (max-width: 1280px) {
  .site-branding {
    padding: 50px 20px 50px 20px;
  }

  .entry-header svg {
    width: 280px;
    height: auto;
  }

  h1 {
    font-size: 60px;
  }

  .illustration_einstieg_eins {
    width: 330px;
  }

  .illustration_einstieg_zwei {
    width: 360px;
  }

  .content-block {
    min-height: 450px;
  }

  p {
    font-size: 28px;
    line-height: 1.3;
  }

  a.button {
    font-size: 28px;
    margin: 50px 20px 80px 20px;
  }

  .imprint-content {
    padding-top: 50px;
    padding-bottom: 80px;
  }
}

@media all and (max-width: 1024px) {
  .site-branding {
    padding: 40px 20px 40px 20px;
  }

  .entry-header svg {
    width: 200px;
    height: auto;
  }

  h1 {
    font-size: 40px;
  }

  .illustration_einstieg_eins {
    width: 230px;
  }

  .illustration_einstieg_zwei {
    width: 260px;
  }

  .content-block {
    min-height: 350px;
  }

  .content-block .description {
    padding: 40px;
  }

  p {
    font-size: 21px;
    line-height: 1.3;
  }

  a.button {
    font-size: 21px;
    margin: 40px 20px 70px 20px;
  }

  .site-footer {
    padding: 40px;
  }

  .site-footer p {
    font-size: 18px;
    line-height: 1.2;
  }

  .site-footer svg {
    width: 150px;
    height: auto;
  }

  .imprint-content {
    padding-top: 40px;
    padding-bottom: 60px;
  }
}

@media all and (max-width: 768px) {
  .site-branding {
    padding: 30px 20px 30px 20px;
  }

  .entry-header svg {
    width: 150px;
    height: auto;
  }

  h1 {
    font-size: 30px;
  }

  .illustration_einstieg_eins {
    width: 180px;
  }

  .illustration_einstieg_zwei {
    width: 210px;
  }

  .content-block {
    min-height: 300px;
  }

  p {
    font-size: 18px;
    line-height: 1.3;
  }

  a.button {
    font-size: 18px;
    margin: 30px 20px 50px 20px;
    padding: 10px 30px;
  }

  .content-block .description {
    padding: 20px;
  }

  .site-footer {
    padding: 20px;
  }

  .imprint-content {
    padding-top: 30px;
    padding-bottom: 50px;
  }
}

@media all and (max-width: 640px) {
  .illustration_einstieg_eins {
    width: 85px;
  }

  .illustration_einstieg_zwei {
    width: 120px;
  }

  h1 {
    font-size: 26px;
  }

  .content-block {
    min-height: initial;
    flex-direction: column;
  }

  .content-block > div {
    width: 100%;
    height: 320px;
  }

  .entry-content .content-block:last-of-type {
    flex-direction: column-reverse;
  }

  .site-footer p {
    font-size: 14px;
    line-height: 1.2;
  }

  .site-footer svg {
    width: 100px;
    height: auto;
  }
}
