@font-face {
    font-family: 'AkkuratPro';
    src: url('fonts/AkkuratPro-Bold.woff2') format('woff2'),
         url('fonts/AkkuratPro-Bold.woff') format('woff'),
         url('fonts/AkkuratPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'AkkuratPro', Arial, sans-serif;
    position: fixed;
    -webkit-overflow-scrolling: touch;
}

.split-screen {
    display: flex;
    width: 100%;
    height: 100%;
}

.left-side,
.right-side {
    width: 50%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.left-side img,
.right-side img,
.left-side video,
.right-side video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
}

.left-side,
.right-side {
    position: relative;
}

.logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25vw;
    font-weight: bold;
    color: white;
    mix-blend-mode: exclusion;
    text-decoration: none;
    z-index: 10;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.nav-text {
    position: fixed;
    top: 1rem;
    color: white;
    mix-blend-mode: exclusion;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'AkkuratPro', Arial, sans-serif;
    font-weight: bold;
    z-index: 25;
    user-select: none;
}

.about-text {
    right: 5rem;
}

.contact-text {
    right: 1rem;
}

.contact-link {
    color: white;
    text-decoration: none;
}

.nav-text:hover {
    opacity: 0.7;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    padding: 1rem 1rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.column-container {
    display: grid;
    grid-template-columns: 5fr 5fr 2fr;
    gap: 2rem;
}

.column {
    line-height: 1;
    color: white;
    font-family: 'AkkuratPro', Arial, sans-serif;
    font-weight: bold;
}

.office-column,
.about-column {
    font-size: 1.5rem;
}

.caption {
    font-size: 1.5rem;
    line-height: 1;
}

.close-column {
    text-align: right;
}

.close-link {
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-family: 'AkkuratPro', Arial, sans-serif;
    font-weight: bold;
}

.close-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .split-screen {
        flex-direction: column;
    }

    .left-side,
    .right-side {
        width: 100%;
        height: 50%;
    }

    .column-container {
        grid-template-columns: 1fr;
    }

    .close-column {
        text-align: left;
    }
}



@media (max-width: 768px) {
  .logo {
    font-size: clamp(90px, 44vw, 48vh);
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    white-space: nowrap;
    z-index: 30;
    -webkit-transform: translate3d(-50%, -50%, 0);
  }
}
