.info-container {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: transparent;
    color: black;
    opacity: 1;
}

.label-column,
.value-column {
    display: flex;
    flex-direction: column;
    line-height: 0.5;
    line-height: 1.2;
}

.label-column {
    font-family: "ironstrike";
    font-size: 1.75vh;
    margin-right: 20px;
    text-align: right;
}

.value-column {
    font-weight: normal;
    text-align: left;
}

.navigate-button-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}


.navigate-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navigate-button:hover {
    background-color: white;
    color: black;
}


h1 {
    text-align: left;
    font-size: 6vh;
    padding-bottom: 4%;
    margin-bottom: 1vh;
}

h2 {
    text-align: left;
}

#text1,
#text2 {
    font-family: "ironstrike";
    font-size: 1.75vh;
    letter-spacing: 0.3vh;
    line-height: 1.5;
    text-align: left;
    white-space: pre-line;
}

#text1 {
    margin-bottom: 4%;
}

#text2 {
    margin-bottom: 10%;
}

hr,
a {
    margin-top: 10%;
}

.indexLink a {
    margin-bottom: 0%;
}

.column1 {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 100%;
}

.grid-two-columns {
    display: -ms-grid;
    display: grid;
    gap: 5%;
    -ms-grid-columns: 1fr 5% 1fr;
    grid-template-columns: 1fr 1fr;
}

img {
    border-radius: 0px;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.column1 img {
    -webkit-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;

}

.column1 img.first-image {
    opacity: 1;
    z-index: 1;
}

.column1 img.second-image {
    opacity: 0;
    z-index: 1;
}

.column1:hover img.first-image {
    opacity: 0;
}

.column1:hover img.second-image {
    opacity: 1;
}

.column1 .hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: none;
}

.column1:hover .hover-video {
    display: block;
}

.column1:hover img.first-image {
    display: none;
}

.column1 iframe.youtube-video {
    grid-column: span 2;  /* Über beide Spalten erstrecken */
    grid-row: span 2;     /* Optional, falls das Video auch vertikal erweitert werden soll */
    width: 100%;
    height: auto;  /* Passt die Höhe an die Breite an */
    aspect-ratio: 16/9; /* Optional, für das Standard-Seitenverhältnis von YouTube-Videos */
    object-fit: cover;  /* Damit das Video das Container-Verhältnis ausfüllt */
}


.column2 {
    padding-top: 0%
}

a {
    color: black;
    display: inline-block;
    position: relative;
    font-weight: normal;
    z-index: 2;
}

a strong {
    font-weight: bold;
}

.worksLink a {
    font-family: "ironstrike";
    font-size: 1.75vh;
    font-weight: 300;
    top: -8.25vh;
    letter-spacing: 0.3vh;
    line-height: 1.5;
    position: fixed;
    background-color: black;
    color: rgb(252, 244, 234);
    padding: 0.5vh 1vh;
    border-radius: 5px;
}

.aboutLink {
    right: 2vh;
    top: 9.75vh;
}

.indexLink {
    left: 12.5vh;
}



@media (max-width: 768px) {
    .grid-two-columns {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    body {
        padding: 0 10%;
        margin-bottom: 60vh;
        margin-top: 5vh;
    }

    h1 {
        font-size: 5vh;
    }

    .worksLink,
    .aboutLink {
        font-size: 2vh;
    }

    .grid-two-columns>* {
        margin-bottom: 2vh;
    }

    h3,
    .worksLink,
    .aboutLink,
    .lastElement {
        text-align: center;
    }

    .indexLink {
        left: 15vw;
    }
}