@font-face {
    font-family: 'Canela';
    src: url('Canela_Collection/Canela Family/Canela-Thin-Trial.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Nonchalance';
    src: url('nonchalance/Nonchalance Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Canela';
    src: url('Canela_Collection/Canela Family/Canela-Light-Trial.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Canela';
    src: url('Canela_Collection/Canela Family/Canela-Regular-Trial.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Canela';
    src: url('Canela_Collection/Canela Family/Canela-Medium-Trial.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Canela';
    src: url('Canela_Collection/Canela Family/Canela-Bold-Trial.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Canela';
    src: url('Canela_Collection/Canela Family/Canela-Black-Trial.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

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

body {
    font-family: 'Canela', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: fixed;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    z-index: 100;
    background: transparent;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.menu-icon span {
    width: 25px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

.header-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
    color: #000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.header-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-link:hover .header-text {
    opacity: 1;
}

.header-link:hover .header-indicator {
    transform: scaleX(1);
}

.scroll-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    /* scroll-behavior: smooth; */
    -webkit-overflow-scrolling: touch;
}

.content-wrapper {
    position: relative;
    width: 170vw;
    height: 100vh;
    display: flex;
    align-items: center;
}

.main-title {
    position: absolute;
    top: 50%;
    left: 30vw;
    transform: translateY(-50%);
    font-family: 'Nonchalance', sans-serif;
    font-size: clamp(64px, 16vw, 240px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.9;
    color: #781a35;
    white-space: nowrap;
    z-index: 1;
}

.title-part {
    display: inline;
    margin: 0 0.15em;
}

.title-part {
    display: inline;
    margin: 0 0.15em;
}

.image-container {
    position: absolute;
    overflow: hidden;
    background: #f5f5f5;
    z-index: 10;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
    opacity: 1;
}

.image-2 img {
    opacity: 0.5;
}

.image-1 {
    width: 180px;
    height: 240px;
    left: 25vw;
    bottom: 0;
}

.image-2 {
    width: 200px;
    height: 280px;
    left: 60vw;
    top: 0;
}

.image-3 {
    width: 220px;
    height: 220px;
    left: 100vw;
    top: 5%;
}

.image-4 {
    width: 220px;
    height: 300px;
    left: 10vw;
    top: 15%;
}

.image-5 {
    width: 180px;
    height: 200px;
    left: 80vw;
    bottom: 10%;
}

.image-6 {
    width: 220px;
    height: 300px;
    left: 150vw;
    top: 0;
}

.image-7 {
    width: 200px;
    height: 280px;
    left: 130vw;
    bottom: 0;
}

.image-8 {
    width: 200px;
    height: 280px;
    left: calc(190vw - 40px);
    bottom: 5%;
}


.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 40px 50px;
    z-index: 100;
    pointer-events: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    text-decoration: none;
    color: #000;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover .nav-text {
    opacity: 1;
}

.nav-link:hover .nav-indicator {
    transform: scaleX(1);
}

::-webkit-scrollbar {
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 768px) {
    .main-title {
        font-size: clamp(48px, 20vw, 120px);
        left: 20vw;
    }
    
    .content-wrapper {
        width: 265vw;
    }
    
    .image-container {
        transform: none;
    }
    
    .image-1 {
        width: 140px;
        height: 180px;
        left: 5vw;
        bottom: 15%;
    }
    
    .image-2 {
        width: 150px;
        height: 200px;
        left: 92vw;
        top: 0;
    }
    
    .image-3 {
        width: 160px;
        height: 160px;
        left: 160vw;
        top: 25%;
    }
    
    .image-4 {
        width: 150px;
        height: 200px;
        left: 10vw;
        top: calc(20% - 10px);
    }
    
    .image-5 {
        width: 140px;
        height: 160px;
        left: 85vw;
        bottom: 20%;
    }
    
    .image-6 {
        width: 160px;
        height: 220px;
        left: 230vw;
        top: 0;
    }
    
    .image-7 {
        width: 150px;
        height: 200px;
        left: 180vw;
        bottom: 10%;
    }
    
    .image-8 {
        width: 140px;
        height: 180px;
        left: 250vw;
        bottom: 25%;
    }
    
    header {
        padding: 20px;
    }
    
    .bottom-nav {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
}