/*
	Theme Name: Beruflicheschulehamburgharburg
	Description: Beruflicheschulehamburgharburg Theme
	Author: COMMWORK
	Author URI: https://www.commwork.de
	Template: didaPRESS
	Version: 1.0
*/


/* @font-face {
  font-family: "Albert Sans";
  src: url("assets/AlbertSans/AlbertSans-Medium.eot");
  src: url("assets/AlbertSans/AlbertSans-Medium.eot?#iefix") format("embedded-opentype"),
    url("assets/AlbertSans/AlbertSans-Medium.woff") format("woff"),
    url("assets/AlbertSans/AlbertSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Albert Sans";
  src: url("assets/AlbertSans/AlbertSans-Regular.eot");
  src: url("assets/AlbertSans/AlbertSans-Regular.eot?#iefix") format("embedded-opentype"),
    url("assets/AlbertSans/AlbertSans-Regular.woff") format("woff"),
    url("assets/AlbertSans/AlbertSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

*,
*::after,
*::before {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

body {
  min-height: 100vh;
  margin: 0;
}

button {
  border: none;
  outline: none;
}

input,
button,
textarea,
select {
  font: inherit;
}

html,
body {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-tap-highlight-color: transparent;
}

button {
  outline: none;
  border: none;
  cursor: pointer;
}

iframe {
  border: none;
  width: 100%;
}

figure {
  margin: 0;
  padding: 0;
  display: block;
}

:root {
  --index: calc(1vw + 1vh);
  --bgColor: #2f1548;
}

.fixed body {
  overflow: hidden;
}



body {
  position: relative;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 33px;
  min-width: 375px;
  /* overflow: hidden; */
  overflow-x: hidden;
}

body.home {
  overflow: hidden;
}

.hidden {
  display: none;
}

.main-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  /* height: 100%; */
  height: 100dvh;
}

[class*="__container"] {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 62px;
}


main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

main::after {
  position: absolute;
  content: '';
  left: -902px;
  top: calc(100% - 126px);
  width: 1680px;
  height: 1680px;
  outline: 4px solid #ffff00;
  outline-offset: -4px;
  border-radius: 50%;
  z-index: -1;
}

.main__container {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

/* HEADER */

header.custom-header {
  padding-top: 64px;
  padding-bottom: 20px;
}

.header__container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

header.custom-header .menu-wrapper {
  display: none;
}

body.home.sitemapOpen header.custom-header {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #499249;
  transition: all .12s ease-in-out;
}

body.home.sitemapOpen .header__container {
  align-items: center;
}

body.home.sitemapOpen header.custom-header a.mein-logo {
  max-width: 78px;
  transition: max-width .12s ease-in-out;
}

a.mein-logo {
  display: flex;
  max-width: 340px;
  max-height: 176px;
  width: 100%;
  height: 100%;
}


.mobile-menu-btn {
  display: none;
}


a.mein-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* BACKVIDEO */

.homevideobg {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -1px -2px;
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.homevideobg::before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  width: 100%;
  height: 682px;
  background-size: 100% 100%;
  background-position: 0px 0px;
  background-image: radial-gradient(100% 70% at 0% -20%, #000000FF 0%, #FFFFFF00 100%);
}

video.bg-video {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  vertical-align: initial;
  height: 100vh;
}

/*  */

aside.leftbar {
  position: absolute;
  margin: 36px 0;
  max-width: 418px;
  background-color: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  /* border-radius: 50px; */
  border-radius: min(45px, 50px);
  padding: 45px 28px 45px 28px;
  width: 90px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 10;
}

@media (min-width: 1024px) or (any-hover: hover) {
  aside.leftbar:hover {
    width: 418px;
  }

  aside.leftbar:hover ul#menu-mein-menu>li>a>span {
    opacity: 1;
    visibility: visible;
    transition: all .12s ease-in;
  }
}

button.open-mobile {
  display: none;
  position: absolute;
  background: none;
  padding: 0;
  outline: none;
  right: 20px;
  top: 20px;
  width: 25px;
  height: 25px;
  z-index: 1001;
}


button.open-mobile::after {
  position: absolute;
  content: '';
  width: 14px;
  height: 14px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjUzNjMgMUwxLjA0ODgzIDEyLjQ4NzVNMS4wNDg4MyAxTDEyLjUzNjMgMTIuNDg3NSIgc3Ryb2tlPSIjNDk5MjQ5IiBzdHJva2Utd2lkdGg9IjEuMzUxNDciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K');
  background-size: cover;
}



ul#menu-mein-menu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

ul#menu-mein-menu>li>a {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

ul#menu-mein-menu>li>a>span {
  text-transform: uppercase;
  color: #499249;
  font-size: 18px;
  font-weight: 600;
}


ul#menu-mein-menu>li ul.sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  padding-left: 50px;
}


ul#menu-mein-menu>li ul.sub-menu>li>a>span {
  color: #727272;
  font-size: 14px;
  line-height: 194%;
}

.menu-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
}

ul#menu-mein-menu>li {
  display: flex;
  flex-direction: column;
}

ul#menu-mein-menu>li>a>span {
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  transition: all .12s ease-in;
}

ul#menu-mein-menu ul.sub-menu li {
  display: flex;
}

ul#menu-mein-menu ul.sub-menu li a {
  flex-shrink: 0;
}

ul#menu-mein-menu>li a>.menu-icon {
  transition: all .32s ease-in-out;
}

ul#menu-mein-menu>li:hover a>.menu-icon {
  transform: scale(1.1) rotate(-5deg);
}


/* FOOTER SOCIAL */

ul#menu-social-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

ul#menu-social-list>li>a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  width: 90px;
  height: 90px;
}


ul#menu-social-list>li>a .menu-icon {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  transform: translate(-50%, -50%);
  transition: all 200ms ease-out;
}

ul#menu-social-list>li>a::before {
  content: " ";
  width: 100%;
  height: 100%;
  border-radius: 100%;
  display: block;
  background: var(--bg);
  transition: all 200ms ease-out;
}

@media (min-width: 1024px) or (any-hover: hover) {
  ul#menu-social-list>li>a:hover {
    opacity: 1;
  }

  ul#menu-social-list>li>a:hover::before {
      transform: scale(.5);
      transition: all 200ms ease-in;
      border-radius: 26px;
  }

  ul#menu-social-list>li>a:hover .menu-icon {
    transform: scale(1.2) translate(-50%, -50%);
    transition: all 200ms ease-in;
  }
}




body.home footer {
  padding-bottom: 58px;
}


@media screen and (min-width: 1024px) {
  header.custom-header a.menuoverview-open {
    display: block;
    margin-left: 0;
    margin-right: 0px;
    padding-bottom: 20px;
    padding-top: 20px;
  }

  header.custom-header a.menuoverview-open span {
    background-color: transparent;
    height: 0px;
    width: 42px;
  }

  header.custom-header a.menuoverview-open span:before {
    height: 4px;
    width: 42px;
  }

  header.custom-header a.menuoverview-open span::after {
    height: 4px;
    width: 42px;
  }
}

@media screen and (min-width: 1024px) and (max-height: 920px) {

  header.custom-header {
    padding-top: 40px;
  }

  a.mein-logo {
    max-width: 190px;
  }

  main::after {
    top: calc(100% - 107px);
  }

  /* aside.leftbar {
    padding: 40px 38px 40px 38px;
  } */

  body.home footer {
    padding-bottom: 40px;
  }
}


@media screen and (min-width: 1024px) and (max-height: 720px) {
  main::after {
    left: auto;
    right: -902px;
    top: calc(100% - 100px);
  }


  body.home footer {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 10;
  }
}

@media screen and (max-width: 1023px) {
  [class*="__container"] {
    padding: 0 32px;
  }

  span.slicknav_btn {
    display: none;
  }

  header.custom-header {
    padding-top: 32px;
  }


  header.custom-header a.menuoverview-open {
    display: none;
  }

  .header__container {
    align-items: flex-start;
  }

  .js .slicknav_menu {
    display: none;
  }

  .mobile-menu-btn {
    cursor: pointer;
    display: inline-block;
    outline: 0;
    padding-bottom: 12px;
    padding-top: 12px;
    position: relative;
    top: 0;
  }

  .mobile-menu-btn span {
    background: #fff;
    display: block;
    height: 0px;
    position: relative;
    transition: all .1s ease-in-out;
    width: 35px;
  }

  .mobile-menu-btn span:before {
    background: #fff;
    content: '';
    height: 3px;
    position: absolute;
    transition: all .2s ease-in-out;
    width: 35px;
  }

  .mobile-menu-btn span:after {
    background: #fff;
    content: '';
    height: 3px;
    position: absolute;
    transition: all .2s ease-in-out;
    width: 35px;
  }

  .mobile-menu-btn span:before {
    top: -8px;
  }

  .mobile-menu-btn span:after {
    top: 8px;
  }

  .mobile-menu-btn.active span:before {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .mobile-menu-btn.active span:after {
    transform: rotate(-45deg) translate(5px, -6px);
  }


  .slicknav_menu {
    position: fixed;
    width: 100%;
    top: 124px;
    z-index: 1000;
    height: calc(100% - 80px);
    padding-bottom: 100px;
    overflow: scroll;

    background-color: #499249c9 !important;
    backdrop-filter: blur(7px);
  }


  a.mein-logo {
    max-width: 140px;
  }

  /* aside.leftbar {
    margin: 0;
    padding: 33px 20px 36px 20px;
    width: 66px;
    border-radius: min(33px, 37px);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), padding 0.2s ease-in-out;
  } */

  aside.leftbar {
    margin: 0;
    padding: 33px 20px 36px 20px;
    width: 66px;
    border-radius: min(33px, 37px);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), padding 0.2s ease-in-out;
    position: relative;
}

  .menu-icon {
    width: 24px;
    height: 24px;
  }

  .homevideobg::before {
    height: 310px;
    background-image: radial-gradient(100% 70% at 0% -10%, #000000FF 0%, #FFFFFF00 100%);
  }

  /* main::after {
    left: auto;
    right: -758px;
    top: calc(100% - 105px);
    width: 1236px;
    height: 1236px;
  } */

  main::after {
    position: fixed;

    /* left: auto; */
    left: -758px;
    top: calc(100% - 105px);
    width: 1236px;
    height: 1236px;
    bottom: 0;
    bottom: env(safe-area-inset-bottom);
}

  /* ul#menu-mein-menu {
    gap: 18px;
  } */

  ul#menu-mein-menu {
    gap: 22px;
  }

  ul#menu-mein-menu>li.menu-item-has-children {
    pointer-events: none;
  }

  /* ul#menu-mein-menu>li>a>span {
    font-size: 14px;
    line-height: 14px;
  } */

  ul#menu-mein-menu>li>a>span {
    font-size: 16px;
    line-height: 16px;
  }

  /* ul#menu-mein-menu>li ul.sub-menu>li>a>span {
    font-size: 10px;
    line-height: 30%;
  } */

  ul#menu-mein-menu>li ul.sub-menu>li>a>span {
    font-size: 14px;
    line-height: 194%;
  }

  ul#menu-mein-menu ul.sub-menu li {
    line-height: 194%;
  }

  /* ul#menu-mein-menu ul.sub-menu li {
    line-height: 145%;
  } */

  ul#menu-mein-menu>li ul.sub-menu {
    padding-left: 38px;
  }

  ul#menu-mein-menu>li>a {
    gap: 13px;
  }


  button.open-mobile {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all .12s ease-in-out;
  }

  /* aside.leftbar.opened {
    width: calc(100% - 64px);
    padding-top: 44px;
  } */

  aside.leftbar.opened {
    width: 100%;
    padding-top: 58px;
  }


  aside.leftbar.opened button.open-mobile {
    opacity: 1;
    visibility: visible;
  }

  aside.leftbar.opened ul#menu-mein-menu>li>a>span {
    opacity: 1;
    visibility: visible;
  }

  aside.leftbar.opened ul#menu-mein-menu>li.menu-item-has-children {
    pointer-events: all;
  }



  .main-wrapper {
    padding-bottom: 35px;
  }



  ul#menu-social-list>li>a {
    width: 66px;
    height: 66px;
  }

  /* footer {
    position: absolute;
    right: 0;
    bottom: 0;
    padding-bottom: 35px;
  } */

  body.home footer {
      position: fixed;
      padding-bottom: 35px;
      bottom: env(safe-area-inset-bottom);
      left: 0;
  }

  .main__container {
    justify-content: flex-end;
    padding-bottom: 35px;
    position: fixed;
    bottom: env(safe-area-inset-bottom);
    z-index: 1;
  }



}