@font-face {
    font-family: 'futura';
    src: 
         url('https://tiuga.studio/wp-content/uploads/2023/10/Futura-Medium-BT.woff2') format('woff2'),
         url('https://tiuga.studio/wp-content/uploads/2023/10/Futura-Medium-BT.woff') format('woff');
    font-style: normal;
}

.no-scroll {
    overflow: hidden;
}

.text-item {
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s, visibility 0.5s;
}

.logo-container img {
    max-width: 250px;
    display: block;
    margin: 0 auto 20px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.text-container .text-item {
    opacity: 0;
    font-size: 94px;
    margin-top: 10px;
    transition: opacity 1s ease-in-out;
    font-family: "Futura";
    font-weight: 600;
}

/* Hide preloader with this class */
.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Responsive styling for mobile devices */
@media (max-width: 768px) {
    .logo-container img {
        max-width: 180px; /* Reduce logo size on mobile */
    }
    
    .text-container .text-item {
        font-size: 36px!important;
        padding: 0 10px; /* Add padding for better readability */
    }
    
    .preloader {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo-container img {
        max-width: 150px; /* Further reduce logo size on small devices */
    }
    
    .text-container .text-item {
        font-size: 30px!important; /* Further reduce font size for text */
    }
}