/* FONT DECLARATION */
/* @font-face {
  font-family: "CustomFont";
  src: url(../assets/fonts/gothic.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "CustomFont";
  src: url(../assets/fonts/gothicb.ttf) format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "CustomFont";
  src: url(../assets/fonts/gothici.ttf) format("truetype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "CustomFont";
  src: url(../assets/fonts/gothicbi.ttf) format("truetype");
  font-weight: bold;
  font-style: italic;
} */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* CSS VARIABLES */
:root {
  --primary: #c9ceff;
  --secondary: #3d3eaa;
  --background: #c9ceff33;
  --font_light: white;
  --font_dark: #3a526b;
  --font_webdesign: #a5abc2;
  --max_width: 1200px;
  --hero_color: white;
}

/* GLOBAL STYLES */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--font_dark);
  /* font-family: "CustomFont", Helvetica, Arial, sans-serif; */
  font-family: "Inter", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 100%;
  line-height: 1.5rem;
  background-color: var(--background);
}

::-moz-selection {
  /* Code for Firefox */
  /* color: var(--font_dark); */
  background: var(--primary);
}

::selection {
  /* color: var(--font_dark); */
  background: var(--primary);
}

.currentLink {
  color: var(--font_light);
  background-color: var(--secondary);
}

#wrapper {
  width: 100%;
  /* max-width: var(--max_width);
  margin: 0 auto; */
  background-color: white;
}

/* HEADER */
/* header {
  background-color: var(--primary);
  color: var(--font_light);
  padding-left: 10px;
  margin: 0;
}

header h1 {
  max-width: var(--max_width);
  height: 90px;
  margin: 0 auto;
  background-image: url(../assets/images/Logo.svg);
  background-repeat: no-repeat;
  background-position: left;
  text-align: left;
  padding-left: 90px;
  padding-top: 20px;
} */

.hero {
  width: 100%;
  height: 675px;
  color: white;
  padding-top: 10rem;
  position: relative;

  background-repeat: no-repeat;
  background-position: center;
}

.hero h1 {
  color: var(--hero_color);
}
.hero h2 {
  color: var(--hero_color);
}

#hero-home {
  background-image: url(../assets/images/home/hero-desktop.jpg);
}
#hero-advent-package {
  background-image: url(../assets/images/advent-package/hero-desktop.jpg);
}
#hero-paedagogik {
  background-image: url(../assets/images/paedagogik/hero-desktop.jpg);
}
#hero-gruenderinnen {
  background-image: url(../assets/images/gruenderinnen/hero-desktop.jpg);
}
#hero-leitbild {
  background-image: url(../assets/images/leitbild/hero-desktop.jpg);
}
#hero-kontakt {
  background-image: url(../assets/images/kontakt/hero-desktop.jpg);
}

.hero-overlay {
  width: 100%;
  position: absolute;
  /* background-color: #ff33cc22; */
  bottom: 10%;
}

.hero #logo_subpages_top_aligned {
  top: 4rem;
}

.hero #logo_subpages_bottom_aligned {
  bottom: 20%;
}

/* .hero .logo {
  width: 120px;
  filter: invert(1);
} */

.hero .logo_home {
  width: 120px;
  height: 120px;
  fill: var(--hero_color);
  /* Center horizontally*/
  margin: 0 auto;
}

.hero .logo_subpages {
  width: 220px;
  height: 220px;
  fill: var(--hero_color);
  /* Center horizontally*/
  margin: 0 auto;
}

.hero h1 {
  text-align: center;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
}

.hero h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 200;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  padding-top: 10px;
}

/* GRÜNDERINNEN */

/* GENERAL */

.maxWidth {
  max-width: var(--max_width);
  margin: 0 auto;
}

.content {
  padding: 2rem;
}
.floatLeft {
  /* border: 1px solid var(--secondary); */
  float: left;
  padding-right: 2rem;
}
.floatRight {
  /* border: 1px solid var(--secondary); */
  float: right;
  padding-left: 2rem;
}

.floatLeft,
.floatRight {
  display: block;
  margin: auto auto 0;
}

.imageLeft {
  float: left;
  width: 50%;
  margin: 0 2rem 1rem 0;
}

.imageRight {
  float: right;
  width: 50%;
  margin: 0 0 2rem 1rem;
}

.lessWideImage {
  width: 50%;
}

.clearBoth {
  clear: both;
}

.bottomSpacer {
  margin-bottom: 1rem;
}

hr {
  border: 1px solid var(--primary);
}

.founder_image {
  width: 250px;
}

.object-fit {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 0;
}
.object-fit img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.text_overlay {
  position: absolute;
  bottom: 0rem;
  padding: 1rem 2rem;
  width: 100%;
  /* transform: translate(-25%, -25%); */
  color: var(--font_light);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.75rem;
  text-align: right;
  background: rgba(0, 0, 0, 0.5);
}

.author {
  font-weight: 400;
  font-style: normal;
}

.fullWidth {
  width: 100%;
}

/* GALLERY - START */
div.gallery {
  margin: 0 5px 10px 5px;
  border: 1px solid var(--primary);
  float: left;
  height: 265px;
}

div.gallery:hover {
  border: 1px solid var(--secondary);
}

div.gallery img {
  width: 100%;
  height: 200px;
}

div.desc {
  padding: 15px;
  text-align: center;
}
/* GALLERY - END */

.italic {
  font-style: italic;
}

h2 {
  padding-top: 1.5rem;
}
h3 {
  padding-top: 1rem;
}
h4 {
  padding-top: 0.5rem;
}

.emphasized {
  font-size: 1.25rem;
  line-height: 150%;
  letter-spacing: 1.25px;
  font-weight: normal;
}

.highlighted {
  color: var(--secondary);
}

.de-emphasize {
  font-size: 0.8rem;
  font-weight: normal;
}

.boxedContent {
  border: 1px solid var(--primary);
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.advent_week_centered {
  margin-left: 15%;
  margin-right: 15%;
}

/* ACCORDION START */
.accordion > input[type="checkbox"] {
  position: absolute;
  left: -500vw;
}

.accordion .accordionContent {
  overflow-y: hidden;
  height: 0;
  transition: height 0.3s ease;
}

.accordion > input[type="checkbox"]:checked ~ .accordionContent {
  height: auto;
  overflow: visible;
}

.accordion label {
  display: block;
}

.accordion {
  /* margin-bottom: 2em; */
}

.accordion > input[type="checkbox"]:checked ~ .accordionContent {
  padding: 15px;
  border: 1px solid var(--primary);
  border-top: 0;
}

.accordion .handle {
  margin: 0;
  font-size: 1em;
  line-height: 1.2em;
}

.accordion label {
  color: var(--font_dark);
  cursor: pointer;
  font-weight: normal;
  padding: 15px;
  background: var(--primary);
}

.accordion label:hover,
.accordion label:focus {
  background: var(--secondary);
  color: var(--font_light);
}

.accordion .handle label:before {
  display: inline-block;
  margin-right: 10px;
  font-size: 0.58em;
  line-height: 1.556em;
  vertical-align: middle;
}

.accordion > input[type="checkbox"]:checked ~ .handle label:before {
}
/* ACCORDION END */

/* TABLE - START */
table {
  width: 100%;
}
th {
  font-size: 1.17rem;
  padding: 0.25rem;
}
td {
  padding: 0.25rem;
}
tr {
  text-align: center;
}
/* TABLE - END */

a {
  color: var(--secondary);
  font-weight: bold;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  text-decoration: underline;
  color: inherit;
}

nav a {
  letter-spacing: 2px;
  text-decoration: none;
  background-color: var(--primary);
  padding: 20px 5px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

nav a:hover,
nav a:focus {
  background-color: var(--secondary);
  text-decoration: none;
  color: var(--font_light);
}

nav a:active {
  color: var(--font_dark);
}

.main {
  padding: 0 0 1.5em;
}

.navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.navigation li {
  flex: 3;
  border-right: 1px solid var(--secondary);
}

.navigation li:last-child {
  border-right: none;
}

.navigation .user {
  flex: 1;
}

/*MEDIA QUERRIES*/
/*FOR TABLETS*/
@media all and (max-width: 1000px) {
  .hero {
    height: 440px;
  }
  #hero-home {
    /* 1000 * 440 px */
    background-image: url(../assets/images/home/hero-tablet.jpg);
  }
  #hero-advent-package {
    background-image: url(../assets/images/advent-package/hero-tablet.jpg);
  }
  #hero-paedagogik {
    background-image: url(../assets/images/paedagogik/hero-tablet.jpg);
  }
  #hero-gruenderinnen {
    background-image: url(../assets/images/gruenderinnen/hero-tablet.jpg);
  }
  #hero-leitbild {
    background-image: url(../assets/images/leitbild/hero-tablet.jpg);
  }
  #hero-kontakt {
    background-image: url(../assets/images/kontakt/hero-tablet.jpg);
  }

  .navigation li {
    border-right: none;
  }

  .navigation ul {
    flex-wrap: wrap;
  }
  .navigation li {
    flex: 1 1 50%;
  }
  .navigation .user {
    flex: 1 1 33.33%;
  }

  .advent_week_centered {
    margin-right: 0;
    margin-left: 0;
  }
}
/*FOR MOBILE*/
@media all and (max-width: 480px) {
  .hero {
    height: 211px;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-position: center;
  }
  #hero-home {
    /* 480 * 211 px */
    background-image: url(../assets/images/home/hero-phone.jpg);
  }
  #hero-advent-package {
    background-image: url(../assets/images/advent-package/hero-phone.jpg);
  }
  #hero-paedagogik {
    background-image: url(../assets/images/paedagogik/hero-phone.jpg);
  }
  #hero-gruenderinnen {
    height: auto;
    background-image: url(../assets/images/gruenderinnen/hero-phone.jpg);
  }
  #hero-leitbild {
    background-image: url(../assets/images/leitbild/hero-phone.jpg);
  }
  #hero-kontakt {
    background-image: url(../assets/images/kontakt/hero-phone.jpg);
  }

  .hero .logo_home {
    width: 60px;
    height: 60px;
  }

  .hero .logo_subpages {
    width: 120px;
    height: 120px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1rem;
  }

  .navigation li {
    flex-basis: 100%;
  }

  h1 {
    line-height: 2.5rem;
  }

  /* header {
    padding-left: 0px;
    margin: 0;
  }

  header h1 {
    margin: 0 auto;
    font-size: 1.25rem;
    height: 50px;
    background-image: url(../assets/images/logo_40px.png);
    background-repeat: no-repeat;
    background-position: left;
    padding-top: 10px;
    padding-left: 0px;
    padding-right: 10px;
    text-align: right;
  } */

  .imageRight {
    width: 100%;
    margin: 1rem 0;
  }

  .imageLeft {
    width: 100%;
    margin: 1rem 0;
  }

  .lessWideImage {
    width: 100%;
  }

  .floatLeft {
    /* border: 1px solid var(--secondary); */
    float: left;
    padding-right: 0;
  }
  .floatRight {
    /* border: 1px solid var(--secondary); */
    float: right;
    padding-left: 0;
  }

  .founder_image {
    width: 100%;
    margin-bottom: 1rem;
  }

  #advent_package_gutschein {
    display: none;
  }

  footer {
    display: none;
  }
}

/* FOOTER */

footer {
  background-color: var(--primary);
  color: var(--font_light);
  height: 2rem;
  margin: 0;
}

footer .alignLeft {
  padding-left: 8px;
  padding-top: 0.25rem;
  float: left;
}
footer .alignRight {
  padding-right: 8px;
  padding-top: 0.25rem;
  float: right;
}

footer a:hover,
footer a:visited,
footer a:active,
footer a:focus {
  color: inherit;
}

#webdevelopment {
  color: var(--font_webdesign);
  padding: 0 8px 0 8px;
  font-size: 60%;
  /* border: 1px solid; */
  float: right;
}
#webdevelopment a {
  color: inherit;
  text-decoration: none;
}
#webdevelopment a:hover,
#nav a:active,
#nav a:focus {
  color: var(--font_dark);
}
