/* FONTS*/
.gelasio-uniquifier {
    font-family: "Gelasio", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}


    .jaro-font {
    font-family: "Jaro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    }

/*ANIMATIONS*/
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease, background-color 0.5s ease !important;

}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 1.5s ease, transform 1.5s ease, background-color 0.5s ease, box-shadow 0.5s ease !important;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}



/* READ SEDISPIR SECTION*/
.readSedispir-bg {
    width: 100%;
    height: 500px;
    position: relative;
    top: 100px;
    display: flex;
    align-items: center;   /* Center vertically if you want */
    justify-content: center; /* Center horizontally if you want */
}

    body.dim2 .readSedispir-bg {
        top: 180px;
        height: 600px;
    }

.readSedispir-bg-image {
    width: 100%;
    height: 100%;
    opacity: .8;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    object-fit: cover;
}

.readSedispir-container {
    position: absolute; /* Makes centering easy over the bg image */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    z-index: 1;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto;           /* Let it size to contents */
    height: auto;
}

    body.dim2 .readSedispir-container {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -60%);
    }

.readSedispir-header {
    font-size: 7.5rem;
    color: rgb(255, 255, 255);
    font-family: serif;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 1.0);
}

    body.dim2 .readSedispir-header {
        font-size: 10rem;
    }

.readSedispir-content {
    font-size: 1.2rem;
    color: rgb(255, 255, 255);
    font-family: 'gelasio', serif;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1.0);
}

    body.dim2 .readSedispir-content {
        font-size: 2.3rem;
    }

.readSedispir-button {
    padding: 0.75rem 1.5rem;
    background-color: rgb(255, 255, 255);
    color: black;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.5s ease;
    margin-top: 50px;
}

    body.dim2 .readSedispir-button {
        padding: 1.2rem 2.4rem;
        font-size: 1.5rem;
    }

.readSedispir-button:hover {
    background-color: rgb(255, 208, 0);
}

/*SHOP AND YOUTUBE*/

.yt-shop-container {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 7fr;
    grid-gap: 20px;
    margin-top: 180px;
    color: tomato;
    height: 500px;
}

    .yt-video {
        grid-row-start: 1;
        grid-row-end: 3;
    }

        .normal iframe {
            width: 100%;
            height: 100%;
        }

    .shop-title {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 3fr 2fr;
        max-height: 105px;
        text-overflow: ellipsis;
    }

        #shop-header {
            font-size: 3rem;
            font-family: 'gelasio', serif;
            color: rgb(0, 0, 0);
        }

        .shop-description-container {
            border: 1px solid rgb(255, 6, 6);
            height: 25px;
            max-height: 25px;
            overflow: hidden;
        }

            #shop-description {
                font-size: 1.2rem;
                font-family: 'gelasio', serif;
                color: rgb(0, 0, 0);

            }

    .yt-video, .shop-title, .shop-items {
        color: rgb(65, 65, 65);


    }


/*          SHOP
*/

/* SHOP*/

.shop-items{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

    .shop-item{
        display:grid;
        grid-template-columns: 1fr;
        grid-template-rows: 3fr 2fr;
        border-radius: 10px;
        cursor: pointer;
        transition: box-shadow 0.3s ease;
    }

        .shop-item:hover {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .shop-item-image-background {
            height: 100%;
            background-color: rgb(240, 240, 240);
            display: flex;
            align-items: center;
            justify-content: center;
            height: 220px;
            overflow: hidden;

        }

            .shop-item-image {
                height: 220px;
                object-fit: contain;
            }

    .shop-item-content {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        width: 90%;
        margin: 0 auto;
    }

        .shop-item-title {
            font-size: 2rem;
            font-family: serif, sans-serif;
            font-weight:600;

        }
    
        .shop-item-description-container {
            height: 50px;
            display: flex;
            align-items: start;
            font-family: 'gelasio', serif;
            overflow: hidden;        /* Hide overflows */

        }

            .shop-item-description {
                font-size: 1rem;
                font-family: 'gelasio', serif;
            }

        .shop-item-price {
            font-size: 1.5rem;
            font-family: serif;
        }

        body.normal .item-price{
            font-weight: bold;
        }

/* YOUTUBE AND SHOP ON MOBILE */

body.dim2 .yt-shop-container {
    display: none;
}

body.normal .yt-shop-container-mobile {
    display: none;
}

body.normal .yt-shop-container-mobile2 {
    display: none; 
    }

    .yt-shop-container-mobile {
        width: 90%;
        margin: 0 auto;
        margin-top: 240px;
        height: 500px;
        color: black;
    }

        .yt-video-mobile {
            width: 100%;
            height: 100%;

        }

            body.dim2 iframe {
                width: 100%;
                height: 100%;
            }

    .yt-shop-container-mobile2 {
        margin-top: 65px;
        display: grid;
        height: 1100px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 3fr;
        color: black;
        width: 100%;
            gap: 20px;


    }

        .shop-title-mobile {
            grid-row-start: 1;
            grid-row-end: 2;
            grid-column-start: 1;
            grid-column-end: 3;
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 3fr 2fr;
            max-height: 230px;
            text-overflow: ellipsis;
            width: 90%;
            margin: 0 auto;
        }

            #shop-header-mobile {
                font-size: 5rem;
                font-family: 'gelasio', serif;
                color: rgb(0, 0, 0);
                margin: 0 auto;
            }

            .shop-description-container-mobile {
                height: 25px;
                max-height: 25px;
                overflow: hidden;
            }

                #shop-description-mobile {
                    font-size: 2.3rem;
                    font-family: 'gelasio', serif;
                    color: rgb(0, 0, 0);

                }

        .shop-items-mobile {   
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            width: 90%;
            margin: 0 auto;
            grid-row-start: 2;
            grid-row-end: 3;
            grid-column-start: 1;
            grid-column-end: 3;
        }

        body.dim2 .shop-item {
            display:grid;
            grid-template-columns: 1fr;
            grid-template-rows: 4fr 2fr;
            border-radius: 10px;
            cursor: pointer;
            transition: box-shadow 0.3s ease;
            color: rgb(58, 58, 58);

        }

        body.dim2 .shop-item-image-background {
            height: 100%;
            background-color: rgb(240, 240, 240);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            height: 520px;
        }

        body.dim2 .shop-item-image {
            object-fit: contain;
            height: 520px;

        }

        body.dim2 .shop-item-content {
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;
            width: 90%;
            margin: 0 auto;
        }

        body.dim2 .shop-item-title {
            font-size: 3.7rem;
            font-family: serif, sans-serif;
            font-weight:600;
            text-align: center;
        }

        body.dim2 .shop-item-description-container {
            height: 50px;
            display: flex;
            align-items: start;
            font-family: 'gelasio', serif;
            overflow: hidden;        /* Hide overflows */
        }

        body.dim2 .shop-item-description {
            font-size: 1.8rem;
            font-family: 'gelasio', serif;
        }

        body.dim2 .shop-item-price {
            font-size: 3rem;
            font-family: serif;
        }

/* BLACK BOX */

        .black-section {
            width: 100%;
            height: 600px;
            background-color: black;
            position: relative;
            margin-top: 80px;
            overflow: hidden;
        }

            .patreon-box {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .patreon-element {
                object-fit: contain;
                height: 600px;
                position: absolute;
            }

            .comicstrip {
                transform: translateY(-25px);
            }

            .patreon-button2 {
                cursor: pointer;
                transform: scale(.185) translateY(745px) translateX(1150px);

            }

            .patreon-front {
                z-index: 2;
                transition: opacity 0.4s ease;

            }

