@font-face {
    font-family: NeueHaasUnica-Medium;
    src: url(NeueHaasUnica-Medium.woff);
}

body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    background-color: black;
    cursor: url('cursor.png'), auto;
    transition: background-color 0.3s ease-in-out;
}

.logo {
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 100;
}

.logo img {
    width: 200px;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: url('cursor.png'), auto;
    overflow: hidden;
    transition: background-color 0.1s ease-in-out;
}

.slideshow-item {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
   
}

.slideshow-item img {
    width: auto;
    height: 85%;
    margin: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.slideshow-item.fullscreen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-item.active {
    opacity: 1;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 100%;
    text-align: left;
    color: #fff;
    font-size: 16px;
    z-index: 10;
    padding: 10px;
    font-family: 'NeueHaasUnica-Medium', Arial, sans-serif;
}

@media (max-width: 768px) {
    body, html {
        overflow: hidden;
        height: 100%;
    }

    .logo img {
        width: 140px;
    }

    .slideshow-item {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .slideshow-item img {
        width: 95%;
        height: auto;
        max-height: 100vh;
        object-fit: cover;
    }

    .caption {
        font-size: 13px;
        bottom: 10px;
        left: 0;
        padding: 0 10px;
        text-align: left;
        line-height: 1.3;
    }
}
