html, boy{
    width: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

body{
    background: linear-gradient(to right, #1135be, #ba1664);
}

.container-fluid{
    max-wdith:100%;
}

#playground{
    max-width:100%;
    width:440px;
    margin:0 auto;
    margin-top:25px;
    padding:15px;
    background:#fff;
}



.loader {
    border: 5px solid #f3f3f3; /* Light grey border */
    border-top: 5px solid #3498db; /* Blue border */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hide{
    display:none;
}

#result{
    font-size:14px;
}

#result label{
    font-weight: bold;
    margin-top:15px;
    margin-bottom:15px;
}


@media (max-width: 800px) {

    .option-list .option.option-0{
        left:10px;
    }

    .option-list .option.option-1{
        left:30px;
    }

    .option-list .option.option-2{
        left:200px;
    }

    .option-list .option.option-3{
        left:190px;
    }

    html body .option-list .option.active{
        left:75%;
    }
}

.small-tip{
    font-size:12px;
    color:#333;
}

.z-0{
    z-index:1;
}

.kic-logo{
    width:100px;
    height:50px;
    background:url('../img/kic-logo-balts-mb.png') no-repeat center;
    background-size:contain !important;
    position:absolute;
    bottom:15px;
    right:15px;
}

@media only screen and (max-width: 400px) {


}

.text-right{
    text-align:right;
}

.padded{
    padding:15px;
}

#book{
    width:400px;
    height:681px;
    background:url('../img/book-v2.png');
    position:relative;
}

#book .cover{
    width: 420px;
    height: 579px;
    position: absolute;
    left: -44px;
    top: 42px;
    transform: rotateX(-15deg) rotateY(-45deg) rotateZ(0deg);
    background-size:cover !important;
}

#book .cover .book-name{
    width:390px;
    background:#c11663;
    position:absolute;
    color:#fff;
    bottom: 11px;
    left: 14px;
    box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.5);
    padding:5px;
    text-align:center;
    text-transform: uppercase;
    font-size:16px;
}

#book .cover .book-author{
    position:absolute;
    right: 29px;
    top: 16px;
    padding:5px;
    background:#c11663;
    color:#fff;
    font-size:11px;
    box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.5);
}

#imageForm .form-group{
    margin-bottom:15px;
}

#download-result{
    background:#2137BE !important;
    margin-top:25px;
}

.warning{
    color: #fff;
    font-size: 12px;
    line-height: 12px;
    padding-top: 25px;
}

.kic-logo{
    width: 100px;
    position: absolute;
    left: 15px;
    top: 15px;
}
.faded-sides {
    overflow: hidden; /* Ensures the fading effect doesn't go outside the div */
}

.faded-sides::before, .faded-sides::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px; /* Width of the fade effect */
    pointer-events: none; /* Allows clicks to pass through */
}

.faded-sides::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.faded-sides::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
