
/* --------------------------------
   CUSTOM FONTS
-------------------------------- */

@font-face {
    font-family: 'Univer';
    src: url('Univer_R.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Univer';
    src: url('Univer_B.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}


/* --------------------------------
   GENERAL
-------------------------------- */

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

body {
    background: #111111;
    color: #ffffff;
    font-family: 'Univer', Arial, sans-serif;
    font-weight: 400;
    overflow: hidden;
}


/* --------------------------------
   FULLSCREEN SLIDESHOW
-------------------------------- */

.slideshow {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111111;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    animation: slideshow 35s infinite;
}


/* IMAGE TIMING */

.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 5s; }
.slide-3 { animation-delay: 10s; }
.slide-4 { animation-delay: 15s; }
.slide-5 { animation-delay: 20s; }
.slide-6 { animation-delay: 25s; }
.slide-7 { animation-delay: 30s; }


/* IMAGE FADE */

@keyframes slideshow {
    0% {
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    14% {
        opacity: 1;
    }

    18% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}


/* --------------------------------
   BOTTOM NAVIGATION
-------------------------------- */

.navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent;
    color: #ffffff;

    font-family: 'Univer', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;

    z-index: 10;
}


/* SITE TITLE */

.site-name {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
}


/* ABOUT LINK */

.about-link {
    color: #ffffff;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
}


/* --------------------------------
   ABOUT PAGE
-------------------------------- */

.about-page {
    background: #ffffff;
    color: #111111;
    overflow: hidden;
}

.about-content {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);

    width: min(500px, calc(100% - 60px));

    font-family: 'Univer', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.about-content p {
    margin-bottom: 20px;
}


/* CONTACT LINKS: MAIL + INSTAGRAM */

.contact-links p {
    margin-bottom: 8px;
    line-height: 1.2;
}

.contact-links p:last-child {
    margin-bottom: 0;
}


/* ABOUT LINKS */

.about-content a {
    color: #111111;
    text-decoration: none;
    border-bottom: 1px solid #111111;

    font-size: inherit;
    font-weight: 400;
    font-family: inherit;
    letter-spacing: inherit;
}


/* ABOUT NAVIGATION */

.about-page .navigation {
    background: #ffffff;
    color: #111111;
}

.about-page .site-name {
    color: #111111;
    font-weight: 700;
}

.about-page .about-link {
    color: #111111;
    font-weight: 400;
}


/* COPYRIGHT */

.copyright {
    position: fixed;
    bottom: 20px;
    right: 30px;

    font-family: 'Univer', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;

    color: #111111;
}


/* --------------------------------
   MOBILE
-------------------------------- */

@media (max-width: 600px) {

    .navigation {
        padding: 16px 15px;
        font-size: 12px;
    }

    .slideshow {
        width: 100%;
        height: 100%;
    }

    .slide {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about-content {
        left: 15px;
        width: calc(100% - 30px);
        font-size: 15px;
    }

    .copyright {
        bottom: 16px;
        right: 15px;
    }
}


/* --------------------------------
   REDUCED MOTION ACCESSIBILITY
-------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .slide {
        animation: none;
    }

    .slide-1 {
        opacity: 1;
    }
}


a[href*="netlify.com"],
#netlify-badge,
.netlify-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

