/* -------------------------------------- */
/*       General Elements & Settings      */
/* -------------------------------------- */
*{
    box-sizing: border-box;
}
main {
    width: 100vw;
}

.one_pager_section {
    margin: 0 5vw 0rem;
    min-height: 50vh;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 102;
}

header.isActive {
    position: fixed;
}

.logo {
    width: 35%;
    margin: 2rem;
}

h1, h2 {
    text-align: start;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: lighter;
}

h1 {
    text-transform: uppercase;
}

h2 {
    margin: 5rem 0 2rem 0;
}

h5{
    margin: 0 0 1rem 0;
}

.center{
    text-align: center;
}

#about h1 span {
    font-size: 1.2rem;
}

/* -------------------------------------- */
/*             Navigation                 */
/* -------------------------------------- */

.burger {
    position: relative;
    width: 120px;
    height: 35px;
    margin: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    appearance: none;
    outline: none;
    z-index: 110;
    display: block;
}

.bar, .burger::before, .burger::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    margin: 6px 0;
    background-color: white;
    transition: all 0.4s ease;
}

.burger.isActive::before {
    transform: rotate(-45deg) translate(-9px, 6px);
}

.burger.isActive::after {
    transform: rotate(45deg) translate(-9px, -7px);
}

.burger.isActive .bar {
    opacity: 0;
}

/* -------------------------------------- */
/*               Sidenav                  */
/* -------------------------------------- */

.projects_nav {
    position: fixed;
    left: 100%;
    width: 100vw;
    height: 100vh;
    background-color: #25283a49;
    transition: all 0.4s ease;
    z-index: 101;
    backdrop-filter: blur(10px);
}

.projects_nav.isActive{
    left: 0;
}

.projects_nav a, .projects_nav .project {
    font-size: 2rem;
    margin: 1rem;
    color: rgb(201, 201, 201);
    margin-bottom: 1.5rem;
}

.projects_nav .project {
    font-size: 1rem;
}

.projects_nav a:hover {
    color: white;
}

.projects_nav:first-child {
    margin-bottom: 2rem;
}

.projects_nav_button {
    font-size: 1rem;
    border: solid 3px;
    padding: 0.5rem;
}

.projects_nav_button:hover {
    background-color: rgb(201, 201, 201);
    color: rgba(135, 135, 135, 0);
}

.projects_nav_button h3 {
    font-size: 1.5rem;
    text-align: center;
}

/* -------------------------------------- */
/*             Showreel                */
/* -------------------------------------- */

#showreel {
    position: relative;
    overflow: hidden;
}

#showreel div {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20%;
    z-index: 10;
    background: linear-gradient(to top, #191515, #ffffff00);
}

#showreel video {
    width: 100%;
    transform: scale(1.3);
}
/* -------------------------------------- */
/*             Slidershow                 */
/* -------------------------------------- */

.intro {
    height: fit-content;
    margin: 0 6.5rem 5rem;
}

.collage {
    display: flex;
    gap: 1rem;
    overflow-x: auto; 
    margin: 2rem 0;
}

.collage img {
    max-height: 20rem; 
    width: auto;
    object-fit: cover;
    flex-shrink: 0; 
}

/* -------------------------------------- */
/*             About-Section              */
/* -------------------------------------- */

#about {
    margin-top: 2rem;
}

.about_wrapper, .main_list_wrapper, .services {
    flex-direction: column;
    padding: 0 2rem;
    gap: 5vh;
    justify-content: start;
}

.about_wrapper p{
    width: 100%;
}

.social_media {
    display: flex;
    justify-content: start;
    gap: 1rem;
    margin: auto;
    width: 100%;
    padding: 0;
}

.social_media_wrapper {
    display: flex;
    width: 100%;
    align-items: start;
    margin: 0;
}

/* -------------------------------------- */
/*               Services                 */
/* -------------------------------------- */

.services {
    min-height: 50vh;
    width: 100%;
    padding: 0 2rem;
}

.services h3, .services p {
    text-align: start;
    width: 100%;
}

.services h4{
    text-align: start;
}

.button_wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.button_prim, .button_sec {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin: 1rem;
    text-align: center;
}

.list_wrapper {
    margin-bottom: 2rem;
}

.list_wrapper h4 {
    width: 70%;
    margin-bottom: 1rem;
}

/* -------------------------------------- */
/*               Work Section             */
/* -------------------------------------- */

.work_thumb h3, .work_thumb img, .work_thumb video {
    position: absolute;
    width: 100%;
    color: white;
    text-decoration: none;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    margin: 0;
}

.work_thumb h3 {
    z-index: 10;
    color: white;
}

.work_filter {
    display: flex;
    padding: 1rem;
    font-size: 0.6rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.work_filter a, .work_filter .active {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    margin-right: 0;
}

.work_filter .active {
    border-bottom: solid 2px white;
}

.work_loadmore{
    width: 100%;
}



/* -------------------------------------- */
/*               Team Section             */
/* -------------------------------------- */

#team {
    margin-top: 0;
    margin-bottom: 5rem;
}

.team_wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.teammember {
    display: flex;
    flex-direction: column;
    margin-bottom: 5vh;
}

.teammember img {
    background-color: gray;
    height: 300px;
    width: 250px;
    object-fit: cover;
    margin: 0 0 1rem 0;
}

.teammember h3, .teammember p {
    width: 250px;
}

.teammember h3 {
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
}

.top div {
    order: 2;
}

.top img {
    order: 1;
}

/* -------------------------------------- */
/*             Kontakt Section            */
/* -------------------------------------- */

.kontakt_wrapper {
    flex-direction: column;
    
}

.maps {
    width: 100%;
}

.contact_section {
    margin: 0 5vw;
    padding-bottom: 5rem;
}

.kontakt_container {
    font-size: 1.5rem;
    text-align: start;
    align-items: center;

}

.kontakt_container div{
    width: 100%;
}

.kontakt_container h3 {
    margin-top: 3rem;
}

.kontakt_container p{
    display: inline;
}

/* -------------------------------------- */
/*             Projekte Section           */
/* -------------------------------------- */

.project-content {
    padding: 15rem 1rem;
}

.intro_project, .container_projects, .project_descr {
    margin: 1rem 0 5rem;
}

.section_project, .large_project_img, .img_container, .small_project_img {
    width: 100%;
}

.img_container div{
    width: auto;
}

.large_project_img, .small_project_img {
    object-fit: cover;
}

.img_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.popup_img span{
    right: 3vw;
}

/* Änderung am container_projects wegen Wiederholung */

/* -------------------------------------- */
/*             Impressum Section          */
/* -------------------------------------- */

.impress_content {
    margin: 0;
    padding: 15rem 1rem 0 1rem
}

.impress_content p {
    margin-bottom: 2rem;
}

/* Zusätzliche Sidenav-Sektion */

.sidenav {
    display: none;
}

.sidenav a {
    text-decoration: none;
    color: rgba(204, 204, 204, 0.862);
}

.sidenav span {
    opacity: 0;
}

.sidenav_focus {
    color: var(--primary-text-color);
}

/* -------------------------------------- */
/*       Datenschutz         */
/* -------------------------------------- */

.datenschutz{
    margin: 0;
    padding: 15rem 1rem 0 1rem
}

.datenschutz h2{
    margin: 4rem 0
}

.datenschutz p{
    line-height: 1.5;
}

.datenschutz li{
    line-height: 1.5;
}
