/* styles.css */
body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight:normal;
    font-style: normal;
}

header {
    background-color: #f8f8f8;
    color: #000000;
    text-align: center;
    padding: 1.5vh 0 1.5vh 0;
   
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2vh;
}

.navbar .logo {
    
    padding: 5px;
    border-radius: 5px;
}

.navbar img {
    max-width: 100px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3498db;
}

.hero {
    position: relative;
    height: 95vh;
    display: flex;
    justify-content: center;
    text-align: center;
    color: #050404;
    background-image: url('./images/6JC223_1.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    top: 10%;
    z-index: 1;
    padding: 20px;
    border-radius: 10px;
}

.logo-animation img {
    height: 20vh;
    opacity: 0;
    transform: scale(0);
    cursor: pointer;
}

.hero-text{
    font-size: 2vh;
}

#introbox {
    background-color:rgb(255, 255, 255);
    color: #000000;
    width: 100%;
    left:0%;
    max-width: 1000px;
}

.sections {
    min-height: 16vh;
    max-height: 50vh;
    width: 70%;
    left: 15%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
    flex-wrap: wrap;
}

.sections.alternate {
    flex-direction: row-reverse;
    
}

.content {
    flex: 1;
    z-index: 1;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
    max-width: 800px; 
    margin: 20px;
}

.icon {
    flex: 1;
    display: flex;
    justify-content: left;
    padding: 2vw;
    align-items: center;
    left: 10%;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.sections.alternate .icon {
    justify-content: right;
}

.icon img {
    max-width: 10vh;
}

.sectionblock{
    position: relative;
    min-height: 16vh;
   
    width: 100%;  
    margin-top: 4vh;
    background-color: #000000;
    color:#f8f8f8;
}


.contentblock{
    position: relative;
    width: 90%;
    left: 5%;
    padding: 10px;
    display: grid;
    grid-template-areas:
    '. . title . .'
    '. logo logo2 leave pfeil';
   
}

#interactive-section {
    width: 70%;
    max-width: 1200px;
    margin: 12vh auto 12vh auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: height 0.3s ease;
    
    overflow: hidden; /* Ensure content overflow is managed */
}

#interactive-section h1 {
    text-align: center;
}

#interactive-section .clickable-div-container {
    display: flex; /* Horizontal alignment */
    justify-content: space-between;
}

#interactive-section .clickable-div {
    width: 40%; 
    height: 7vh;
    background-color: #ffffff;
   
    color: rgb(37, 37, 37);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    text-align: center;
    line-height: 7vh; /* Vertically center text */
    margin: 2vh;
}

#interactive-section .clickable-div p {
    margin: 0;
    padding: 0;
    font-size: 2vh;
    border-bottom: 1px solid black;
    padding-bottom: 1vh;
}

.extra-content {
    display: none;
    background-color: #f8f8f8;
    color: #333;
    padding: 10px;
    border-top: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    transition: height 0.5s ease-out;
    text-align: center;
}

.extra-content a {
    font-size: 2vh;
    border-bottom: 1px solid black;
    padding: 0 1vh 0.5vh 1vh;
    margin: 0 1vh 0 1vh;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    transition: color 0.3s ease;
}


 .clickable-div :hover{
    color: rgb(0, 0, 0);
    text-shadow: 0.1px 0.1px #1b1b1b;
    
}


#vttext{
    position: relative;
    text-align: center; 
    width:auto;
    align-self: center;
    justify-self: center;
    padding: 1vh;
}

#dreiDtext{
    position: relative;
    text-align: center;
    align-self: center;
    justify-self: center;
    padding: 1vh;
}

#vtframe{
    position: relative;
    width:100%;
    height: 50vh;
}

#dreiDframe{
    position: relative;
    height: 50vh;
    width:100%;
    background-color: #f8f8f8;
}

#partnerstitle{
    text-align: center;
    
}
#moduspartner{
    grid-area: logo;
}
#threadpartner{
    grid-area: logo2;
}
#pfeil-r{
    grid-area: pfeil;
    width: 5vh;
    justify-self: left;
    align-self: last baseline;
}
#leavetxt{
    grid-area: leave;
    align-self: last baseline;
    justify-self: right;
}


#partners {
    width: 70%;
    max-width: 1200px;
    display:flexbox;
    background-color: #000000;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: height 0.3s ease;
    margin: 12vh auto 12vh auto;
    overflow: hidden; /* Ensure content overflow is managed */
}


#partners .clickable-div-container {
    display: flex; /* Horizontal alignment */
    margin: auto;
    justify-items: center;    
}

#partners .clickable-div {
    width: 30%; 
    height: 15vh;
    color: rgb(37, 37, 37);
    border-radius: 5px;
    
    cursor: pointer;
    position: relative;
    text-align: center;
    line-height: 15vh; /* Vertically center text */
    margin: auto;
    display: block;
    align-items: center;
    justify-items: center;
}

.picon{
    position: relative;
    max-height: 80%;
    width:auto;
    height: auto;
    max-width: 80%;
}

#moduslogoblack{
    width:20%;
    justify-self: right;
}

#moduslogoblack{
    width:20%;
    justify-self: right;
}

.contentfoto{
    position: relative;
    width:auto;
    height: auto;
    max-width: 80%;
}






#impressbox{
    display: none;
}

#impresslink{
    cursor: pointer;
    display: flex;
    padding-left: 10px;
}

#contactbox{
    display: none;
}

#contactlink{
    cursor: pointer;
    display: flex;
    padding-left: 10px;
}

footer{
    position: relative;
    width: 65%;
    left: 15%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
    max-width: 800px; 
    margin: 20px;
    align-items: center;
    text-align: center;
    overflow: hidden;
    
    justify-content: space-around;
}

#footercontent{
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    
    justify-content: space-around;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


@media (max-width: 1000px) {
    .navbar{
        max-height: 4vh;
    }
    nav {
        display: none;
    }

    .hero-content {
        padding: 10px;
    }

    .content {
        padding: 10px;
    }

    #interactive-section {
        width:100%;
        margin: 6vh 0 6vh 0;
    }

    #partners{
        width:100%;
        margin: 6vh 0 6vh 0;
    }
    footer{
        display: flex;
    }
    
    #contact{
        margin: 6vh 0 25vh 0;
    }

    #interactive-section .clickable-div p {
        margin: 0;
        padding: 0;
        font-size: 1.5vh;
        line-height: 4vh;
        border-bottom: 1px solid black;
        padding-bottom: 1px;
    }


    #introbox {
        background-color:rgb(255, 255, 255);
        color: #000000;
        width: auto;
        left:0%;
        max-width: 1000px;
    }
    
    .sections {
        min-height: 16vh;
        max-height: 120vh;
        width: 85%;
        left: 0%;
        display:ruby;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
        overflow: hidden;
        padding: 0px;
        flex-wrap:wrap;
    }
}
