/*
    Created on : Oct 7, 2023, 7:36:42 PM
    Author     : hassanzmn
*/

/* This will apply styles only for desktop screens with a width of 700px or more */
@media screen and (min-width: 700px) {
    /* Disables scrolling on the main window */
    body {
        overflow: hidden;
    }

    /* Enables scrolling on a specific element, not in use yet */
    .scrollable {
        overflow-y: auto; /* Vertical scrolling */
        overflow-x: hidden; /* Disable horizontal scrolling */
    }
}

@font-face {
    font-family: Alex Brush;
    src: url("/fonts/AlexBrush-Regular.ttf");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: IranNastaliq;
    src: url("/fonts/IranNastaliq.ttf");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Times New Roman;
    src: url("/fonts/times new roman.ttf");
    font-weight: 500;
    font-display: swap;
}

body, html {
    height: 100vh;
    margin: 0;
}

.carousel-item {
    transition: none;
}

#search-bar{
    position: absolute;
    top: 2em;
    max-height: 11em;
    min-width: 100%;
    background-color: grey;
    display: none;
    border: 1px solid #333;
    border-top: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#search-options{
    max-height: 11em;
    display: block;
    overflow-y: auto;
    list-style: none;
    direction: ltr;
}

#search-options li{
    padding: 3px;
}

#search-options li:hover {
    cursor: pointer;
    background-color: lightgrey;
}

#fixed-canvas {
    width: 130px;
    height: 170px;
    position: fixed;
    left: 15px;
    top: 15px;
    z-index: 9;
    border:5px ridge gray;
    visibility: hidden;
    text-align: center;
}

#fixed-canvas:hover {
    cursor: pointer;
}

#priceBox:hover{
    cursor:pointer;
}

.design-buttons:hover{
    cursor:pointer;
    border:2px solid lightgray;
}

/* General footer styling for all screen sizes */
.footer-wrapper {
    background-color: #1a2538;
    color: white;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 99;
}

.footer-text {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Scrolling animation for smaller screens */
@media (max-width: 700px) {
    .footer-text {
        justify-content: space-around;
        white-space: nowrap;
        animation: scroll-right 10s linear infinite;
        position: relative;
    }

    /* Pause scrolling when hovered */
    .footer-wrapper:hover .footer-text {
        animation-play-state: paused;
    }

    @keyframes scroll-right {
        from {
            transform: translateX(-50%);
        }
        to {
            transform: translateX(50%);
        }
    }
}

/* Static behavior for larger screens */
@media (min-width: 701px) {
    .footer-text {
        min-width: 100vh;
        justify-content: space-around;
        white-space: normal;
        animation: none;
        overflow: hidden;
    }
}

/* Link styling for both cases */
.footer-wrapper a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-size: 12px;
}

.footer-wrapper a:hover {
    text-decoration: underline; /* Optional hover effect */
}