/*
Theme Name: Childish Twenty Twenty-Five
Theme URI: https://falkluetzelberger.com
Author: the WordPress team and Falk
Author URI: https://falkluetzelberger.com
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Template:twentytwentyfive
Version: 1.0.0
Text Domain: twentytwentyfive-cild
*/


html {
    scroll-behavior:smooth;
}




/* 
    ///////////////    Page     ///////////////
    ///////////////    Home     ///////////////
    ///////////////             ///////////////
*/


.bento-box-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    grid-column-gap: 20px !important;
    grid-row-gap: 20px !important;
    }
    

    .bento-box-home-child-1 { 
        grid-area: 1 / 1 / 3 / 2 !important;
    }
        
    .bento-box-home-child-2  { 
        grid-area: 1 / 2 / 2 / 4 !important; 
    }

    .bento-box-home-child-3  { 
        grid-area: 2 / 2 / 3 / 3 !important; 
    }

    .bento-box-home-child-4  {
        grid-area: 2 / 3 / 3 / 4 !important;
    }

    .bento-box-home-child-5  { 
       grid-area: 3 / 1 / 4 / 3 !important;
    }

    .bento-box-home-child-6  { 
        grid-area: 3 / 3 / 4 / 4 !important;
    }


    /* Höhe der Gridelemente festlegen */ 
    .bento-box-home-child { 
        min-height: 400px !important;
    }

    .bento-box-home-text {
        background-color: rgba(62, 66, 74, 0.5);
        padding:1rem;
        border-radius: 25px;
    }

    .bento-box-home-child a::before { 
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        content: " " !important;
    }

    .bento-loop a {
        text-decoration: none !important;
    }


/* Tablet View */

    @media (max-width:800px) {
        .bento-box-home {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            grid-template-rows: repeat(4, 1fr) !important;
            grid-column-gap: 20px !important;
            grid-row-gap: 20px !important;
            }
            
            .bento-box-home-child-1 { grid-area: 1 / 1 / 3 / 2 !important; }
            .bento-box-home-child-2 { grid-area: 1 / 2 / 2 / 3 !important; }
            .bento-box-home-child-3 { grid-area: 2 / 2 / 4 / 3 !important; }
            .bento-box-home-child-4 { grid-area: 3 / 1 / 4 / 2 !important; }
            .bento-box-home-child-5 { grid-area: 4 / 1 / 5 / 2 !important; }
            .bento-box-home-child-6 { grid-area: 4 / 2 / 5 / 3 !important; }
            
    }


/* smartphone View */

    @media (max-width:600px) {
        .bento-box-home {
            display: flex !important;
            flex-direction: column;
        }

        .bento-box-home-child {
            min-height: auto !important;
        }

        .wp-block-cover {
            min-height: 300px !important;
        }
    }






/* 
    ///////////////    Page         ///////////////
    ///////////////    Bento Box    ///////////////
    ///////////////                 ///////////////
*/

.bento-loop {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    grid-column-gap: 20px !important;
    grid-row-gap: 20px !important;
    }
    
    .bento-loop li:nth-child(1) { 
        grid-area: 1 / 1 / 3 / 2 !important;
    }
        
    .bento-loop li:nth-child(2)  { 
        grid-area: 1 / 2 / 2 / 4 !important; 
    }

    .bento-loop li:nth-child(3)  { 
        grid-area: 2 / 2 / 3 / 3 !important; 
    }

    .bento-loop li:nth-child(4)  {
        grid-area: 2 / 3 / 3 / 4 !important;
    }

    .bento-loop li:nth-child(5)  { 
       grid-area: 3 / 1 / 4 / 3 !important;
    }

    .bento-loop li:nth-child(6)  { 
        grid-area: 3 / 3 / 4 / 4 !important;
    }

    /* Höhe der Gridelemente festlegen */ 
    .bento-loop li { 
        min-height: 300px !important;
    }

    /* LinkArea auf ganzes Element ausweiten */ 

    .bento-loop a::before { 
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        content: " " !important;
    }

    .bento-loop a {
        text-decoration: none !important;
    }

    .wp-block-cover:hover span {
        background-color: rgb(168, 173, 180) !important;
    }

    .wp-block-cover span {
        transition: .5s;
    }

    .bento-loop {
        transition: .5s;
        }

/* Tablet View */

    @media (max-width:800px) {
        .bento-loop {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            grid-template-rows: repeat(4, 1fr) !important;
            grid-column-gap: 20px !important;
            grid-row-gap: 20px !important;
            }
            
            .bento-loop li:nth-child(1) { grid-area: 1 / 1 / 3 / 2 !important; }
            .bento-loop li:nth-child(2) { grid-area: 1 / 2 / 2 / 3 !important; }
            .bento-loop li:nth-child(3) { grid-area: 2 / 2 / 4 / 3 !important; }
            .bento-loop li:nth-child(4) { grid-area: 3 / 1 / 4 / 2 !important; }
            .bento-loop li:nth-child(5) { grid-area: 4 / 1 / 5 / 2 !important; }
            .bento-loop li:nth-child(6) { grid-area: 4 / 2 / 5 / 3 !important; }
            
    }


/* smartphone View */

    @media (max-width:600px) {
        .bento-loop {
            display: flex !important;
            flex-direction: column;
        }

        .bento-loop li {
            min-height: auto !important;
        }

        .wp-block-cover {
            min-height: 300px !important;
        }
    }





    /* 
    ///////////////                 ///////////////
    ///////////////    Accordion    ///////////////
    ///////////////                 ///////////////
*/



