@import url('https://fonts.googleapis.com/css2?family=Swanky+and+Moo+Moo&display=swap');


.container-magic {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1300px;
    height: 600px;
    margin: 0 auto;
}

.flip-box {
    position: relative;
    background-color: transparent;
    width: 250px;
    height: 380px;
    border-radius: 20px;
    perspective: 1200px;
    z-index: 2;
}


.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1.5s, margin-left 1.5s;
    transform-style: preserve-3d;
}


.flip-box-flipped {
    transform: rotateY(180deg);
    margin-left: 190px;
    transition: transform 1.5s, margin-left 1.5s;
}

.flip-box-closed {
    transform: rotateY(0deg);
    margin-left: 0px;
    transition: transform 1.5s, margin-left 1.5s;
}



.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-box-front {
    background-color: transparent;
}

.flip-box-back {
    background-color: transparent;
    transform: rotateY(180deg);
}

.white-stack {
    position: absolute;
    top: -40px;
    left: -350px;
    z-index: 0;
}

    .white-stack img {
        position: absolute;
        width: 250px;
        height: 380px;
        object-fit: cover;
        border-radius: 10px;
        pointer-events: none;
    }

.stack {
    position: absolute;
    top: 90px;
    left: 350px;
    z-index: 1;
}

    .stack img {
        position: relative;
        width: 250px;
        height: 380px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

        .stack img:nth-child(1) {
            position: absolute;
            top: 0px;
            left: 380px;
        }

        .stack img:nth-child(2) {
            position: absolute;
            top: 0px;
            left: 370px;
        }

        .stack img:nth-child(3) {
            top: 0px;
            left: 360px;
        }

.magic {
    position: absolute;
    width: 250px;
    height: 380px;
    background-color: white;
    border: 2px solid #090909;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(10deg);
    padding: 10px;
    z-index: 2;
}

   .magic-text {
        width: 100%;
        height: auto;
        font-family: 'Swanky and Moo Moo', cursive;
        font-size: 25px;
        color: #333;
        font-weight:600;
        margin: 0;
    }

.magik-white {
    position: absolute;
    top: 80px;
    left: 150px;
    width: 250px;
    height: 380px;
    background-color: white;
    border: 2px solid #090909;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
@media (max-width: 1280px) {
    .flip-box {
        width: 200px;
        height: 300px;

    }
    .magik-white {
        width: 200px;
        height: 300px;
        position: absolute;
        top: 140px;
        left: 140px;
    }
    .white-stack {
        position: absolute;
        top: -40px;
        left: -180px;
        z-index: 0;
    }

/*    -------stack----*/
    .stack {
        position: absolute;
        top: 120px;
        right: -10px;
        z-index: 1;
    }

        .stack img {
            width: 200px;
            height: 300px;
        }

            .stack img:nth-child(1) {
                position: absolute;
                top: 20px;
                left: 270px;
            }

            .stack img:nth-child(2) {
                position: absolute;
                top: 30px;
                left: 265px;
            }

            .stack img:nth-child(3) {
                top: 40px;
                left: 265px;
            }

    .magic {
        top:20px;
        right:-100px;
        width: 200px;
        height: 300px;
        padding: 8px;
    }

       .magic-text {
            font-size: 18px 
        }
}


@media (max-width: 1024px) {
    .flip-box {
        width: 200px;
        height: 300px;

    }
    .magik-white {
        width: 200px;
        height: 300px;
        position: absolute;
        top: 140px;
        left: 140px;
    }
    .white-stack {
        position: absolute;
        top: -40px;
        left: -180px;
        z-index: 0;
    }

/*    -------stack----*/
    .stack {
        position: absolute;
        top: 120px;
        right: -10px;
        z-index: 1;
    }

        .stack img {
            width: 200px;
            height: 300px;
        }

            .stack img:nth-child(1) {
                position: absolute;
                top: 20px;
                left: 140px;
            }

            .stack img:nth-child(2) {
                position: absolute;
                top: 30px;
                left: 135px;
            }

            .stack img:nth-child(3) {
                top: 40px;
                left: 145px;
            }

    .magic {
        top:20px;
        left:30px;
        width: 200px;
        height: 300px;
        padding: 8px;
    }

       .magic-text {
            font-size: 18px 
        }
}
@media (max-width: 920px) {
    .container-magic {
        position: relative;
        width: 100%;
        margin: 0;
    }

    .flip-box {
        width: 200px;
        height: 300px;
    }

    .stack {
        position: absolute;
        top: 90px;
        right: 50px;
        z-index: 1;
    }

        .stack img {
            width: 200px;
            height: 300px;
        }

            .stack img:nth-child(1) {
                position: absolute;
                top: 68px;
                left: 120px;
            }

            .stack img:nth-child(2) {
                position: absolute;
                top: 65px;
                left: 125px;
            }

            .stack img:nth-child(3) {
                top: 62px;
                left: 115px;
            }

    .magic {
        width: 200px;
        height: 300px;
        padding: 6px;
    }

       .magic-text {
            font-size: 16px !important;
        }
}
@media (max-width: 768px) {
    .container-magic {
        position: relative;
        width: 100%;
        margin: 0;
    }

    .flip-box {
        width: 150px;
        height: 250px;
    }

    .stack {
        position: absolute;
        top: 90px;
        right: 50px;
        z-index: 1;
    }

        .stack img {
            width: 150px;
            height: 220px;
        }

            .stack img:nth-child(1) {
                position: absolute;
                top: 68px;
                left: 120px;
            }

            .stack img:nth-child(2) {
                position: absolute;
                top: 65px;
                left: 125px;
            }

            .stack img:nth-child(3) {
                top: 62px;
                left: 115px;
            }

    .magik-white {
        width: 150px;
        height: 220px;
        position: absolute;
        top: 160px;
        left: 160px;
    }

    .magic {
        width: 150px;
        height: 220px;
        padding: 6px;
    }

    .magic-text {
        font-size: 14px !important;
    }
}
@media (max-width: 480px) {
    .container-magic {
        position: relative;
        width: 100%;
        margin-inline: -10px;
        height: 400px;
    }

    .flip-box {
        width: 100px;
        height: 150px;
    }

    .stack {
        width: 120px; 
        position: absolute;
        top: 40px;
        right: 10px;
        z-index: 1;
        transform: translateX(20px);
    }

        .stack img {
            width: 100px;
            height: 150px
        }

            .stack img:nth-child(1) {
                position: absolute;
                top: 158px;
                left: -80px;
            }

            .stack img:nth-child(2) {
                position: absolute;
                top: 150px;
                left: -90px;
            }

            .stack img:nth-child(3) {
                top: 160px;
                left: -100px;
            }
    .flip-box-inner {
        position: relative;
        width: 100px;
        height: 150px;
        text-align: center;
        transition: transform 1.5s, margin-left 1.5s;
        transform-style: preserve-3d;
        top: 70px;
    }


    .flip-box-flipped {
        transform: rotateY(180deg);
        margin-left: 110px;
        transition: transform 1.5s, margin-left 1.5s;
        top: 70px;
    }

    .magik-white {
        width: 100px;
        height: 150px;
        position: absolute;
        border-radius: 10px;
        top: 190px;
        left: 70px;
    }

    .magic {
        width: 100px;
        height: 150px;
        padding: 6px;
        border-radius: 10px;
        top: 40px;
        left: 100px;
    }

    .magic-text {
        font-size: 10px !important;
    }
}


/*    -----------------------------BlogPosts------------------------*/

.wp-block-syntaxhighlighter-code pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
/*    white-space: nowrap;*/
}



.post-content {
    width: 100%;
    padding: 1.5rem;
    background-color: #1E1E1E;
    color: white;
    border-radius: 0.5rem;
    margin-top: 1rem;
    height: auto;
    overflow-x: auto;
}

.post-title {
    background-color: transparent;
    color: white;
    margin-top: 5rem;  
    font-weight: 700;
    font-size: 60px !important;
}
@media (max-width: 480px) {
    .post-title {
        background-color: transparent;
        color: white;
        margin-top: 1rem;
        margin-bottom: 2rem;
        font-weight: 700;
        font-size: 35px !important;
    }

}
    

    .post-content h1, .post-content h2, .post-content h3 {
        color: white;
    }

    .post-content p {
        color: white;
        margin-bottom: 12px;
        margin-top: 12px;
    }

    .post-content img {
        max-width: 100%;
        height: auto;
        border-radius: 0.5rem;
        object-fit: cover;
    }

