.main-background-image {
    background-image: url('../images/main-bg.jpg'); 
    background-size: cover; 
    background-position: top; 
    z-index: 15;
}

.kanji {
    font-size: 80px;
    font-family: "Roboto Condensed", serif;
    font-weight: 500;
    opacity: 1;
}

.logo {
    font-size: 60px;
    font-family: "Roboto Condensed", serif;
    opacity: 1;
}

.fade-out {
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    opacity: 0;
    transform: translateX(-10px);
}

.fade-in {
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    opacity: 1;
    transform: translateX(0px);
}

.reset {
    transition: none;
    opacity: 0;
    transform: translateX(10px);
}

.r-con-reg {
    font-family: "Roboto Condensed", serif;
    font-size: 18px;
}

.r-con-semi-b {
    font-family: "Roboto Condensed", serif;
    font-weight: 600;
}

.txt-std-wt:hover {
    color: #365B5E;
}
.txt-std-gr:hover {
    color: white;
}
.txt-std-wt:hover span {
    color: #365B5E;
}
.txt-std-gr:hover span {
    color: white;
}
.btn-std-gr {
    background-color: #365B5E; 
    color: white;
}
.btn-std-gr:hover {
    background-color: white;
}
.btn-std-gr:hover span {
    color: #365B5E;
}

.arrow {
    all: unset;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.arrow:hover img {
    content: url('../images/arrows/hover.png');
}

.telegram:hover img {
    content: url('../images/telegram/hover.png');
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
    z-index: 1000;
}

.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.solid-header {
    background: rgba(0, 0, 0, 1);
}

/* Background Lines */
.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-lines div {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
}

.home-description {
    max-width: 93%; 
    margin-bottom: 6%; 
    height: 100%; 
    align-content: end;
}

.home-description-sections {
    display: flex;
    justify-content: space-between;
}

.home-description-section-large {
    width: 22%;
}

.home-description-section-std {
    width: 20%;
}

.home-component {
    display: flex; 
    flex-direction: column; 
    justify-content: space-evenly;
}

.bg-lines div:nth-child(1) { left: 6%; }
.bg-lines div:nth-child(2) { left: 23%; }
.bg-lines div:nth-child(3) { left: 50%; }
.bg-lines div:nth-child(4) { left: 77%; }
.bg-lines div:nth-child(5) { left: 94%; }

::-webkit-scrollbar {
    width: 12px;
    display: none;
}

.home-description-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.home-description-sections {
    flex-wrap: nowrap;
}

.home-description-card {
    flex: 0 0 auto;
    width: 270px;
}

.home-description-card .card-content {
    background: rgba(31, 41, 50, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .kanji {
        font-size: 64px;
        max-width: 90%;
    }
    
    .logo {
        font-size: 32px;
    }

    .home-description-sections {
        display: flex;
        flex-direction: column;
    }
    
    .home-description-section-large, .home-description-section-std {
        width: 100%;
    }

    .home-description {
        height: 40%;
        margin-bottom: 10%;
    }
    
    .home-component {
        justify-content: flex-end;
    }

    .fade-out {
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
        opacity: 0;
        transform: translateX(10px);
    }

    .fade-in {
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
        opacity: 1;
        transform: translateX(20px);
    }

    .reset {
        transition: none;
        opacity: 0;
        transform: translateX(30px);
    }

    .main-background-image {
        background-position: top 20px left -350px;
    }
    
    .kanji-mobile {
        margin-top: 0 !important;
        margin-bottom: 35% !important;
    }

    .home-description-scroll-wrapper {
        padding-bottom: 1rem;
    }

    .home-description-card {
        scroll-snap-align: start;
    }

    .home-description-sections {
        scroll-snap-type: x mandatory;
    }
    
    .desktop-description-section {
        display: none !important;
    }
    
    .mobile-description-section {
        display: block !important;
    }
    
    .temp-menu-disable {
        display: none !important;
    }

    .bg-lines div:nth-child(1) { left: 6%; }
    .bg-lines div:nth-child(2) { display: none }
    .bg-lines div:nth-child(3) { left: 50%; }
    .bg-lines div:nth-child(4) { display: none }
    .bg-lines div:nth-child(5) { left: 94%; }
}
