/*

Theme Name: egpromotion Child

Description: Responsive Wordpress Theme

Template: divi

Version: 1.0

Author: egpromotion

Author URI: https://egpromotion.com

License URI: https://egpromotion.com

Text Domain: egpromotion

*/





/*    Fonts    */



@media (max-width: 768px) {

    .et_pb_menu .logo_container img {

        max-height: 80px !important;
        /* Erhöhe die Logo-Größe nach Bedarf */

    }

}







#logo {

    max-height: 80%;



    height: 100% !important;

}



#main-header .et_menu_container {

    min-height: 100px;

}







/*          Team          */





.team {

    text-align: left;

    padding: 40px;

}



.team h2 {

    margin-bottom: 30px;

    font-size: 2em;

}



.team-container {

    display: flex;

    gap: 30px;

    flex-wrap: wrap;

}



.team-member {

    position: relative;

    width: calc(33.33% - 20px);

    aspect-ratio: 1 / 1;

    overflow: hidden;

    box-sizing: border-box;

}



.team-member-image {

    width: 100%;

    height: 100%;

    background-size: cover;

    background-position: center;

    transition: transform 0.5s ease-in-out;

}



.team-member:hover .team-member-image {

    transform: scale(1.1);

}



/* Shade on image hover with a fade from bottom to top */

.team-member:hover .team-member-image::after {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    /* Darker at the bottom, fading up */

    transition: background 0.3s ease-in-out;

}



/* Always visible name */

.name-wrapper {

    position: absolute;

    bottom: 15px;

    left: 20px;

    font-size: 1.2em;

    color: white;

    transition: transform 0.4s ease-in-out;

}



/* Contact info initially hidden below */

.team-member-info {

    position: absolute;

    bottom: -40px;

    left: 20px;

    color: white;

    opacity: 0;

    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;

}



/* On hover, reveal the contact info */

.team-member:hover .team-member-info {

    opacity: 1;

    transform: translateY(-60px);

}



/* On hover, move the name upwards */

.team-member:hover .name-wrapper {

    transform: translateY(-60px);

}



/* Reduce line height for contact info */

.team-member-info p {

    margin: 5px 0;

    line-height: 1.2;

    font-size: 1em;

}



.team-member h3 {

    font-size: 1.5em;

    margin: 0;

    color: #fff;

}



.team-member p {

    margin: 0;

    padding: 0;

    font-size: 1em;

}



.team-member p a {

    color: white;

    text-decoration: none;

}



/* Responsive adjustments */

@media (max-width: 1200px) {

    .team-member {

        width: calc(50% - 20px);

    }

}



@media (max-width: 768px) {

    .team-member {

        width: 100%;

    }



    .team h2 {

        font-size: 1.8em;

    }



    .team-member-info {

        font-size: 1em;

    }

}



.wrapper {

    height: 90%;

    width: 100%;

    overflow: hidden;

    position: absolute;

}





/*  Menue  */



/*header styles*/







#et-top-eg-navigation {

    float: left;

}





/* Menu icon styles */

.eg-menu-icon {

    height: 60px;
    /* Ensures the container is a square */

    width: 60px;

    position: absolute;

    z-index: 2;

    right: 0px;
    /* Horizontal positioning */

    bottom: -30px;
    /* Vertical positioning */

    cursor: pointer;

    background-color: #212223;
    /* Background color */

    border: 15px solid #212223;
    /* Border thickness */

    display: flex;

    flex-direction: column;
    /* Stacks children vertically */

    align-items: center;
    /* Centers children horizontally */

    justify-content: center;
    /* Centers children vertically */

    box-sizing: border-box;
    /* Includes border in size calculations */

    gap: 4px;
    /* Spacing between lines */

}



.eg-menu-icon__line {

    height: 2px;
    /* Thickness of each line */

    background-color: #ffffff;
    /* Line color */

    display: block;

    transition: transform 0.2s ease, background-color 0.5s ease;

}



.eg-menu-icon__line-left {

    width: 15px;
    /* Top line width */

    align-self: flex-start;
    /* Aligns to the left */

}



.eg-menu-icon__line-right {

    width: 15px;
    /* Bottom line width */

    align-self: flex-end;
    /* Aligns to the right */

}



.eg-menu-icon__line-middle {

    width: 30px;
    /* Full width for the middle line */

}







/* eg-navigation styles */

.eg-nav {

    width: 100vw;

    height: 100vh;

    font-size: 50px;

    transition-timing-function: cubic-bezier(.77, 0, .175, 1);

    position: fixed;

    z-index: 1;

    left: 0px;

    top: 0px;

}



.eg-nav:before,

.eg-nav:after {

    content: "";

    position: fixed;

    width: 100vw;

    height: 100vh;

    background: #00919b62;

    z-index: -1;

    transition: transform 0.8s cubic-bezier(.77, 0, .175, 1);

    transform: translateX(0%) translateY(-100%);

}



.eg-nav:after {

    background: #212223;

    transition-delay: 0s;

}



.eg-nav:before {

    transition-delay: 0.1s;

}



.eg-nav__content {

    position: fixed;

    top: 50%;

    transform: translate(0%, -50%);

    width: 100%;

    text-align: center;

    font-size: 50px;

    font-weight: 200;

    cursor: pointer;

}



.eg-nav__list-item {

    position: relative;

    display: inline-block;

    transition-delay: 0.8s;

    color: #fff;

    opacity: 0;

    transform: translate(0%, 100%);

    transition: opacity .2s ease, transform .3s ease;

    margin-right: 25px;

    height: 50px;

}

.eg-nav__list-item a {

    color: #fff;



}



.eg-nav__list-item>a:before {

    content: "";

    position: absolute;

    background: #fff;

    width: 20px;

    height: 1px;

    top: 100%;

    transform: translate(0%, 0%);

    transition: all .3s ease;

    z-index: -1;

}



.eg-nav__list-item>a:hover:before {

    width: 100%;

}



/* Active state */

body.eg-nav-active .eg-menu-icon__line {

    background-color: #fff;

    transform: translateX(0px) rotate(-45deg);

}



body.eg-nav-active .eg-menu-icon__line-left {

    transform: translateX(1px) rotate(45deg);

}



body.eg-nav-active .eg-menu-icon__line-right {

    transform: translateX(-2px) rotate(45deg);

}



body.eg-nav-active .eg-nav {

    visibility: visible;

}



body.eg-nav-active .eg-nav:before,

body.eg-nav-active .eg-nav:after {

    transform: translateX(0%) translateY(0%);

}



body.eg-nav-active .eg-nav:after {

    transition-delay: 0.1s;

}



body.eg-nav-active .eg-nav:before {

    transition-delay: 0s;

}



body.eg-nav-active .eg-nav__list-item {

    opacity: 1;

    transform: translateX(0%);

    transition: opacity .3s ease, transform .3s ease, color .3s ease;

}



body.eg-nav-active .eg-nav__list-item:nth-child(1) {

    transition-delay: 0.8s;

}



body.eg-nav-active .eg-nav__list-item:nth-child(2) {

    transition-delay: 1.0s;

}



body.eg-nav-active .eg-nav__list-item:nth-child(3) {

    transition-delay: 1.2s;

}



body.eg-nav-active .eg-nav__list-item:nth-child(4) {

    transition-delay: 1.4s;

}



body.eg-nav-active .eg-nav__list-item:nth-child(5) {

    transition-delay: 1.6s;

}

body.eg-nav-active .eg-nav__list-item:nth-child(6) {

    transition-delay: 1.8s;

}

body.eg-nav-active .eg-nav__list-item:nth-child(7) {

    transition-delay: 2s;

}

body.eg-nav-active .eg-nav__list-item:nth-child(8) {

    transition-delay: 2.2s;

}



.eg-nav {

    visibility: hidden;

    pointer-events: none;

    opacity: 0;

    transition: opacity 0.3s ease, visibility 0.3s ease;

}



.eg-nav:before,

.eg-nav:after {

    visibility: hidden;

    pointer-events: none;

    opacity: 0;

}



body.eg-nav-active .eg-nav,

body.eg-nav-active .eg-nav:before,

body.eg-nav-active .eg-nav:after {

    visibility: visible;

    pointer-events: auto;

    opacity: 1;

}



.et_fixed_nav #main-header {

    position: fixed !important;

}



#footer-bottom {

    display: none !important;

}





@media only screen and (max-width: 1024px) {

    /* Your CSS styles for tablets go here */

    #menu-main {

        display: inline-grid;

        gap: 20px;

        text-align: left;



    }



}



@media only screen and (max-width: 768px) {

    /* Your CSS styles for phones go here */



}







.logo_container img {

    transition: opacity 0.5s ease-in-out;

}



#main-footer a {





    color: #fff !important;

}



#et_mobile_nav_menu {

    display: none !important;

}









#main-header .et_menu_container {

    width: 90% !important;

}





/** contact forms**/





.form-group {

    margin-bottom: 1rem;

}



label {

    display: block;

    font-weight: bold;

    margin-bottom: 0.5rem;

}



input[type="text"],

input[type="email"],

textarea {

    width: 100%;

    max-width: 400px;

    padding: 0.5rem;

    font-size: 1rem;

    border: 1px solid #ccc;

    border-radius: 4px;

}



input[type="submit"] {

    background-color: #0073aa;

    color: #fff;

    border: none;

    padding: 0.7rem 1.5rem;

    border-radius: 4px;

    cursor: pointer;

}



input[type="submit"]:hover {

    background-color: #005a87;

}











/*   Form    */



#wpcf7-f71489-p24-o1 br {

    display: none;

}

#wpcf7-f71489-p24-o1 .form-field {

    margin-bottom: 18px;

}



#wpcf7-f71489-p24-o1 .form-field label {

    font-weight: 700 !important;

    font-family: 'Gotham Light', Helvetica, Arial, Lucida, sans-serif !important;

    color: #464747 !important;

}





#wpcf7-f71489-p24-o1 .form-submit input[type="submit"] {

    border-radius: 30px;

}

.wpcf7-response-output {

    max-width: 590px !important;

}





.custom-contact-form {

    float: left;

}



#message {

    width: 100% !important;

}

@media (max-width: 1300px) {



    .et_pb_gutters1 .et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4,
    .et_pb_gutters1 .et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4,
    .et_pb_gutters1 .et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4,
    .et_pb_gutters1 .et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5,
    .et_pb_gutters1 .et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5,
    .et_pb_gutters1 .et_pb_row_4col>.et_pb_column.et_pb_column_1_4,
    .et_pb_gutters1 .et_pb_row_5col>.et_pb_column.et_pb_column_1_5,
    .et_pb_gutters1.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4,
    .et_pb_gutters1.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4,
    .et_pb_gutters1.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4,
    .et_pb_gutters1.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5,
    .et_pb_gutters1.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5,
    .et_pb_gutters1.et_pb_row_4col>.et_pb_column.et_pb_column_1_4,
    .et_pb_gutters1.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 {



        width: 50% !important;

    }





}







/* Anpassung für Tablets (max. 1024px Breite) */

@media (max-width: 1300px) {

    h1 {

        font-size: 48px !important;
        /* Beispielgröße für Tablets */

    }

}



/* Anpassung für Smartphones (max. 768px Breite) */

@media (max-width: 768px) {

    h1 {

        font-size: 36px !important;

    }

}