/* 
 * Created on Sat November 16 2024
 *
 * Written by Allen  
 */

.booksection{
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    border: solid 4px white;
    border-radius: 0px 12px 12px 0px;
    transition: 0.3s all;
    min-width: 204px;

}
.booksectiontitle{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.booksectionimg{
    object-fit: cover;
    width: 100%;
    height: 300px;
    border-radius: 0px 12px 12px 0px;
}

.booksection:hover{
    border: solid 4px lightgrey;
}

.fadeIn{
    animation: fadeInAnimation ease 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.seriessection{
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    border-radius: 0px 12px 12px 0px;
    min-width: 100px;
    min-height: 135px;
    transition: 0.3s all;
}
.seriesbox{
    border-radius: 12px;
}
.seriessectionimg{
    object-fit: cover;
    height: 135px;
    width: 100%;
    border-radius: 0px 12px 12px 0px;
}

.seriessectiontitle{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: none;
}
.seriessectionicon{
    font-size: 12px;
}
a{
    text-decoration: none;
    color: #000;
}
a:hover{
    color: rgb(64, 136, 219);
}
a.yt:hover{
    color: rgb(245, 71, 71)!important
}

.scrollcontainer:hover .scrollbutton, .scrollcontainer:hover .scrollbuttonseries{
    opacity: 1;
}

#nav{
    transition: 0.3s all;
}
.boxshadow{
    box-shadow: 0px 0px 10px rgba(185, 185, 185, 0.800);
}

.playfair{
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}
.faustina{
    font-family: "Faustina", serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.fontreg{
    font-size: 1.1rem;
}

.scrollbutton{
    opacity: 0;
    transition: 0.3s all;
    top: 40%;
    height: 50px;
    width: 50px;
    text-align: center;
    border-radius: 100%;
    padding: 0px;
    font-weight: 600;
}
.seriesbox{
    background: white;
}
/* .seriesbox:before{
    content: "";
    position: absolute;
    background: none;
    transition: 0.5s all;
    z-index: -1;
    opacity: 0;
}
.seriesbox:hover:before{
    inset: -1px; 
    opacity: 0.8;
    background: linear-gradient(#dbe2e6, #d2d6e0);
    filter: blur(7px);
} */

.empty{
    min-height: 50px;
}

.scrollbuttonseries{
    opacity: 0;
    transition: 0.3s all;
    top: 53%;
    height: 25px;
    width: 25px;
    border-radius: 100%;
    padding: 0px;
    font-weight: 300;
}
.start-1{
    left: 1%;
}
.end-1{
    right: 1%;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fontlogo {
    -webkit-mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,0.2) 50%,#000 75%);
    mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,0.2) 50%,#000 75%);
    -webkit-mask-size: 500%;
    mask-size: 500%;
    -webkit-mask-position: 0;
    mask-position: 0;
}
.fontlogo:hover {
    transition: 2s all;
    -webkit-mask-position: 120%;
    mask-position: 120%;
    opacity: 1;
}

.spotlightimg {
    min-height: 300px;
    max-height: 400px;
    max-width: 300px;
    margin: auto auto;
    -webkit-mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,0.2) 50%,#000 75%);
    mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,0.2) 50%,#000 75%);
    -webkit-mask-size: 800%;
    mask-size: 800%;
    -webkit-mask-position: 0;
    mask-position: 0;
    border-radius: 0px 12px 12px 0px;
}

/* Small devices (landscape phones, 576px and up) */
@media screen and (max-width: 768px) {
    .booksection{
        min-width: 162px;
    }
    .booksectionimg{
        height: 220px;
    }
    .spotlightimg {
        max-height: 300px;
        min-height: 200px;
        max-width: 200px;
    }
    .empty{
        min-height: 30px;
    }
 }

.spotlightimg:hover {
    transition: 2s all;
    -webkit-mask-position: 120%;
    mask-position: 120%;
    opacity: 1;
}
