@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Open Sans", sans-serif;
}
h1 {
    font-family: var(--default-font);
}
h3 {
    font-family: var(--heading-font);
}
body {
    font-family: var(--default-font);
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.footer {
    padding: 20px;
    text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.6s ease-out;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader div {
    width: 13px;
    height: 13px;
    background-color: #39b6ff;
    border-radius: 50%;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
    position: absolute;
    left: 50%;
}

#preloader div:nth-child(1) {
    left: calc(50% + 8px);
    animation: animate-preloader-1 0.6s infinite;
}

#preloader div:nth-child(2) {
    left: calc(50% + 8px);
    animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(3) {
    left: calc(50% + 32px);
    animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(4) {
    left: calc(50% + 56px);
    animation: animate-preloader-3 0.6s infinite;
}

@keyframes animate-preloader-1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes animate-preloader-3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes animate-preloader-2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
/*--------------------------------------------------------------
# Scroll Button
--------------------------------------------------------------*/
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: rgba(0, 0, 0, 0.897);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
}
#scrollTopBtn:hover {
    background-color: #000;
}
/*--------------------------------------------------------------
# Navbar Section
--------------------------------------------------------------*/
.navbar {
    transition: all 0.3s ease-in-out;
}
/*--------------------------------------------------------------
# Catalog Template Basic Section
--------------------------------------------------------------*/
.catalog {
    padding: 50px 0 35px 0;
}
.catalog .catalog-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.catalog .catalog-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.catalog .catalog-links {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all ease-in-out 0.2s;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.catalog .catalog-links .details-link {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.2s;
    line-height: 1.2;
    margin: 30px 8px 0 8px;
}

.catalog .catalog-links .details-link:hover {
    color: #ffffff;
}

.catalog .catalog-links .details-link {
    font-size: 30px;
    line-height: 0;
}

.catalog .catalog-item:hover .catalog-links {
    opacity: 1;
}

.catalog .catalog-item:hover .details-link {
    margin-top: 0;
}

.catalog .catalog-item:hover img {
    transform: scale(1.1);
}
