body {
    font-family: "forma-djr-display", sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    height: 100vh;
    overflow: hidden;
}

* {
    letter-spacing: 2px;
}

a {
    color: black;
}

a:hover {
    color: white;
    text-decoration: none;
}

h1 {
    font-family: "forma-djr-display", sans-serif;
    color: black;
    font-size: 5em;
    margin: 0;
    padding-bottom: 30px;
    padding-top: 30px;
}

p {
    font-family: "forma-djr-display", sans-serif;
    color: black;
    font-size: 1em;
    margin: 0;
    padding: 0;
    display: inline;
}

ul,
ul1 {
    font-family: "forma-djr-display", sans-serif;
}

ul1 {
    font-size: 1em;
    margin: 0;
    padding-left: 40px;
}

h4 {
    font-family: "forma-djr-display", sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 1em;
    margin: 0;
    padding: 0;
    display: inline;
}

h5 {
    font-family: "forma-djr-display", sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    display: inline;
}

.erfahrung,
.person,
.referenzen,
.zukunft,
.contact,
.copyright {
    position: relative;
    top: 20px;
    left: 20px;
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    background-color: #dad820;
    border-radius: 25px;
    padding-left: 20px;
    padding-right: 70px;
    box-sizing: border-box;
    overflow: hidden;
}

.close-btn {
    width: 200px;
    height: 80px;
    background-color: white;
    border: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    transition: background 0s ease-in-out;
    padding-left: 20px;
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: "forma-djr-display", sans-serif;
    color: black;
    font-size: 3em;
    text-align: center;
    font-weight: bold;
}

.content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    font-size: 1.5em;
    color: black;
    padding: 10px;
    box-sizing: border-box;
}

.media-container {
    width: 100%;
    overflow-x: scroll;
    display: flex;
    margin-top: 20px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    white-space: nowrap;
    position: relative;
}

.media-wrapper {
    display: flex;
    gap: 10px;
    position: relative;
    left: 0px;
    padding: 20px 0;
}

.media-item {
    width: 200px;
    height: 300px;
    background-color: #888;
    border-radius: 10px;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive adjustments */
@media screen and (max-width: 880px) {
    .close-btn {
        position: absolute;
        bottom: 20px;
        right: 40px;
    }

    .erfahrung h1,
    .referenzen h1,
    .person h1,
    .zukunft h1,
    .contact h1,
    .copyright h1 {
        margin-top: 100px;
        font-size: 4em;
        line-height: 90%;
        margin-bottom: 20px;
    }

    .erfahrung,
    .person,
    .referenzen,
    .zukunft,
    .contact,
    .copyright {
        margin-right: 10px;
        padding-right: 20px;
    }

    p, h4, ul {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 450px) {
    .erfahrung h1,
    .person h1,
    .zukunft h1,
    .referenzen h1,
    .contact h1,
    .copyright h1 {
        font-size: 3em;
        line-height: 90%;
        margin-bottom: 20px;
    }

    p, h4, ul {
        font-size: 0.7em;
    }

    ul {
        list-style: none;
        padding-left: 0px;
    }

    ul li {
        display: inline;
    }
}

.contact-media-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.box {
    position: relative;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    background-color: #000;
}

.box-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.box-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.box h2 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: "forma-djr-display", sans-serif;
    color: white;
    font-size: 3em;
    z-index: 3;
    margin: 0;
}

.contact-box {
    position: relative;
}

.media-link {
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    position: relative;
}

.media-link h2 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    margin: 0;
    font-family: "forma-djr-display", sans-serif;
    font-size: 1.2em;
    z-index: 2;
    pointer-events: none;
}

img {
  cursor: default;
}

video {
  cursor: default;
}