@font-face {

    font-family: 'iransansbold';
    src: url('/fonts/iransansbold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {

    font-family: 'iransans';
    src: url('/fonts/iransans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {

    font-family: 'iransansbold', sans-serif;
}

.slider {

    overflow: hidden;
    position: relative;
}

.slide {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

input {

    @apply focus:outline-none focus:ring-0;
}

input:focus {

    outline: none;
    box-shadow: none;
}

textarea {

    @apply focus:outline-none focus:ring-0;
}

textarea:focus {

    outline: none;
    box-shadow: none;
}

.book-style {

    /*width: 100%;*/
    height: 250px;
    /*object-fit: cover;*/
    border-radius: 0.5rem;
    /*!*box-shadow:*!*/
    /*!*        0 20px 40px rgba(0, 0, 0, 0.3),   !* big soft shadow *!*!*/
    /*!*        inset 0 0 30px rgba(255, 255, 255, 0.1); !* subtle inner glow *!*!*/
    /*!*transition: transform 0.5s ease, box-shadow 0.5s ease;*!*/
    /*cursor: pointer;*/
    /*transform-style: preserve-3d;*/
}

.book-style:hover {
    transform: scale(1.01) rotateY(5deg);
    /*box-shadow:*/
    /*        0 30px 60px rgba(0, 0, 0, 0.5),*/
    /**!        inset 0 0 40px rgba(65, 25, 125, 0.15);*/
}

.persian-style {

    display: none;
}

.slider {
    position: relative;
    width: auto;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {

    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {

    opacity: 1;
    z-index: 10;
}

.arrow {

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 20;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.25rem;
}

.arrow.left {

    left: 1rem;
}

.arrow.right {

    right: 1rem;
}

.box {

    transition: opacity 1s ease;
    opacity: 1;
}

#container {
    will-change: transform;
}

#watermark-overlay {

    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    color: whitesmoke;
    font-size: 21px;
    pointer-events: none;
}

.iransans {

    font-family: iransans, serif;
}

/* master.css or application.css */
.scrollbar-hide {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}