/* style.css */
@font-face {
    font-family: 'DMSans';
    src: url('./assets/fonts/static/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DMSansItalic';
    src: url('./assets/fonts/static/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

:root{
    --Purple-100: hsl(254, 88%, 90%);
    --Purple-500: hsl(256, 67%, 59%);
    --Yellow-100: hsl(31, 66%, 93%);
    --Yellow-500: hsl(39, 100%, 71%);
    --White: hsl(0, 0%, 100%);
    --Black: hsl(0, 0%, 7%);
    --bkg: #F5F5f5;
/*    spacing from utopia*/
    --space-3xs: clamp(0.3125rem, 0.3125rem + 0vw, 0.3125rem);
    --space-2xs: clamp(0.5625rem, 0.5408rem + 0.1087vw, 0.625rem);
    --space-xs: clamp(0.875rem, 0.8533rem + 0.1087vw, 0.9375rem);
    --space-s: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
    --space-m: clamp(1.6875rem, 1.6223rem + 0.3261vw, 1.875rem);
    --space-l: clamp(2.25rem, 2.163rem + 0.4348vw, 2.5rem);
    --space-xl: clamp(3.375rem, 3.2446rem + 0.6522vw, 3.75rem);
    --space-2xl: clamp(4.5rem, 4.3261rem + 0.8696vw, 5rem);
    --space-3xl: clamp(6.75rem, 6.4891rem + 1.3043vw, 7.5rem);

/*    topogragrphy fromutopia*/
    --fs--2: clamp(0.7813rem, 0.7747rem + 0.0326vw, 0.8rem);
    --fs--1: clamp(0.9375rem, 0.9158rem + 0.1087vw, 1rem);
    --fs-0: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
    --fs-1: clamp(1.35rem, 1.2761rem + 0.3696vw, 1.5625rem);
    --fs-2: clamp(1.62rem, 1.5041rem + 0.5793vw, 1.9531rem);
    --fs-3: clamp(1.944rem, 1.771rem + 0.8651vw, 2.4414rem);
    --fs-4: clamp(2.3328rem, 2.0827rem + 1.2504vw, 3.0518rem);
    --fs-5: clamp(2.7994rem, 2.4462rem + 1.7658vw, 3.8147rem);

/*    border radiue*/
    --rouded-md: 16px;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
img {
    display: block;
    max-width: 100%;
}
/* utilie class */
.text-yellow{
    color: var(--Yellow-500);
}
h2{
    text-wrap: balance;
    font-weight: 500;
    line-height: 1.1;
}
.text-purple{
    color: var(--Purple-500);
    font-style:italic
}
/* Apply the font to elements */
body {
    font-family: 'DMSans', sans-serif;
    background-color: var(--White);
    color: var(--Black)    ;
    font-size: var(--fs-0);
    padding: var(--space-m);
}
.bento {
    display: grid;
    /* max-height: 100vh; */
    gap: var(--space-s);
    grid-template-columns: 1fr;
    grid-template-areas:
    "timing"
    "multiple"
    "consistency"
    "schedule"
    "followers"
    "growth"
    "social"
    "content";

    @media screen and 
    (min-width: 768px){
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr 50px 1fr 1.2fr;
        grid-template-areas:
        "social timing timing schedule"
        "social multiple  consistency schedule"
        "content multiple consistency schedule"
        "content  growth  followers followers";



        /* "timing social social schedule"
        "timing multiple  consistency schedule"
        "content multiple consistency schedule"
        "content  growth  followers followers"; */
       

    }
}
.bento_items{
    padding: var(--space-m);
    border-radius: var(--rouded-md);
    background-color: var(--Yellow-500);
    display: grid;
    width: 100%;
    overflow: hidden;
    gap: var(--space-s);
    p {
        text-wrap: pretty;
    }
    h2{
        font-size: var(--fs-3);
    }
    

}
.schedule{
    grid-area: schedule;
    background-color: var(--Purple-100);
    align-items: center;
    text-align: center;
    align-content: center;
   

    img {
        margin-inline: auto;
       
    }
    @media screen and (min-width: 768px){
        /* margin-inline-end: -40em; */
        text-align: left; 
        max-width: 660px;

    }
    p {
        text-wrap: pretty;
        
    }
    
    
}
.social{
grid-area:social ;
place-content: center ;
place-items: center;
background-color: var(--Yellow-100);
j
h2 {
    font-size: var(--fs-4);
}
img{
    margin-inline: auto;
    width: 200px
}
}
.timing{
grid-area:timing ;
    place-content: center ;
    place-items: center;
    background-color: var(--Purple-500);
    color: var(--White);
    text-align: center;
    img {
        margin-inline: auto;
    }

    @media screen and (min-width: 768px){
        img{
            margin-inline-end: -
        }
        
}
}
.content{
grid-area:content ;
background-color: var(--Yellow-500);
}
.multiple{
grid-area:multiple ;
    background-color: var(--bkg);
    h2 {
        font-size: var(--fs-3);
        font-weight: 500;
    }

}
.growth{
    grid-area: growth;
    background-color: var(--White);
    h2 {
        font-size: inherit;
        font-weight: 400;
    }
            .larger-text {
                font-size: var(--fs-4);
                font-weight: 500
            }

            img {
                width: 200px;
                @media screen and (min-width: 768px){
                    width: 100%;
        
                }
            }
    }
.consistency{
grid-area: consistency;
    padding-block-end: 0;
    img {
        width: 250px;
        @media screen and (min-width: 768px){
            width: 100%;

        }
    }
    background-color: var(--Yellow-500);
   

}
.followers{
    grid-area: followers;
    background-color: var(--Purple-500);
    place-items: center;
    h2 {
        color: var(--White);
        text-align: center;
        
    }
    img {
        width: 240px;
        

        }
        @media screen and (min-width: 768px){
            display: flex;
            gap: var(--space-m);
            h2{
             text-align: left
            }
    }
}


