*{
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}



/* flex pages */
#flex-grow{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* background-color: blue; */
}




.main{
    /* background-color: blueviolet; */
    margin-top: 2.5rem;
    flex-grow: 1;
}

.content-page{
    margin-top: 5rem;
}


.lower-container{
    margin-top: 1rem; 
    /* border: 2px solid; */
    padding: 0 25px;
    background-color: rgba(215, 72, 189, 0.148);
    padding-top: 5rem;
    clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
    /* min-height: calc(100vh - 5rem); */
    padding-bottom: 2rem;

  
}


.head__mafs{
    padding: min(.9rem, 8%);;
}

/* YOUTUBE VIDEOS */

.parent-container{
    display: grid;
    align-items: center;
    /* border: 1px solid blue; */
    grid-template-columns: repeat(auto-fit, 380px);
    /* grid-template-columns: repeat(auto-fit, minmax(370px, 1fr)); */
    gap: 1rem;
    justify-content: center;
    /* min-height: 100vh; */
    
    
}




.iframe-child{
    max-width: 350px;
}

.iframe-container{
    position: relative;
    padding-bottom: 56.25%;
    width: 100%;
    height: 0;
    margin-bottom: .7rem;
 
}

.iframe-container iframe{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   
 
  
}


/* MAFS */
#iframe-margin{
    margin-bottom: 1.8rem;
}




.video-container{
    display: flex;
    /* flex-direction: row; */
    justify-content: center;
    align-items: center;
    align-content: center;
    row-gap: 1.3rem;
    flex-wrap: wrap;
    column-gap: 1.5rem;
    object-fit: contain;

 
}



 .img__vid__gallery{
    display: flex; 
    flex-wrap: wrap;
    flex-direction: column;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: center;
    row-gap: 2.1rem;
} 

.videos__container{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
}




/* boohooman spcial-child-img */
.special{
    order: 1;
}


.video-container{
    
    /* width: 80%;
    border: 2px solid white;
    max-width: 600px;
    overflow: visible;
    margin: 0 auto;
    position: relative;
    height: 200px; */
    width: 100%;
    /* background-color: rgb(171, 216, 255); */


}
.video-container video{
    height: 350px;
    object-fit: cover;
} 



.cont-3-btn{
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   align-items: center; 
   min-height: 100px;
   margin: 25px 25px;
   column-gap: 10px;

}

.right-btn{
    display: flex;
    flex-direction: row;
 }

.left-btn{
    display: flex;
    flex-direction: row;
 }




.btnn{
    background-color: transparent;
    border: none;
    font-size: 1.2rem;
    font-weight: 400;
    cursor: pointer;
}



.tex__content{
    margin: min(5rem, 8%);
    text-align: start;
  
}

.header__footer-container{
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   height: auto;
   
}

.img__vid__gallery{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}











@media screen and (max-width: 340px){

    .cont-3-btn{
        display: flex;
        flex-direction: row;
        /* justify-content: stretch; */
        align-items: center; 
        min-height: 100px;
       
        /* margin: 10px 25px; */
     
     }

     
    
    .video-container{
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       align-content: center;
       row-gap: 1.3rem;
    
    
    }

    /* .video-container video{
        border: 2px solid black;

    }  */


     

    .btnn{
        background-color: transparent;
        border: none;
        font-size: 1.2rem;
        /* font-weight: 400; */
        cursor: pointer;      
    }

    .main__container{
        /* margin-top: 7rem; */
        margin-left: 1.1rem;
      
      
    }

    
    .text{
        font-size: 15px;
        line-height: 1.4rem;
    }
    .heading__title{
        text-align: center; 
        
    }

    .modi{
        font-size: 1.5rem; 
    }


    .tex__content{
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
    }

    

   #title-2{
    font-size: 1.3rem;
   
   }


    .imgg{
        display: block; 
        margin-bottom: .4rem;
 
    }

    .myvid{
        width: 100%;
    }


    .right-btn{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        align-content: center;
        margin-right: -1.1rem;
     }
    
    .left-btn{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        align-content: center;
        margin-left: -1.1rem;
        column-gap: .3rem;
     }

     #page-link1{
        padding: .5rem;
      }
     

     #page-link{
       padding: .5rem;
     }

}




@media screen and (max-width: 540px){

     #title-2{
        font-size: 1.4rem;
    } 

    .ree{
        width: 400px;
        
    }

    .video-container{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        align-content: center;
        row-gap: 1.3rem;
        flex-wrap: wrap;
        column-gap: 1.5rem;
        
     
     
     }
   

    
}






@media screen and (max-width: 576px){

    .parent-container{
        display: grid;
        align-items: center;
        /* border: 1px solid rgb(255, 0, 106); */
        /* grid-template-columns: repeat(auto-fit, 267px); */
        grid-template-columns: repeat(auto-fit, 307px);
        /* grid-template-columns: repeat(auto-fit, minmax(370px, 1fr)); */
        gap: 1rem;
        justify-content: center;
        /* min-height: 100vh; */
        
        
    }

  

    
    .main__container{
        margin-top: 12rem;
        /* border: 2px solid; */
        margin-left: 2.1rem;
        margin-right: 2.2rem;

    }
    .img__vid__gallery{
        display: flex; 
        flex-wrap: wrap;
        flex-direction: column;
        margin-bottom: 2rem;
        row-gap: 1.5rem;
    } 

    .video-container{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        align-content: center;
        row-gap: 1.3rem;
        flex-wrap: wrap;
        column-gap: 1.5rem;
        
     
     
     }


    

}



@media screen and (max-width: 311px){
    .parent-container{
        display: grid;
        align-items: center;
        grid-template-columns: repeat(auto-fit, 247px);
        gap: 1rem;
        justify-content: center;     
        
    }



}


@media screen and (min-width: 768px){


    
    .img__vid__gallery{
        display: flex; 
        flex-wrap: wrap;
        flex-direction: row;
        margin-bottom: 2rem;
        column-gap: 2rem;
    } 


    .main__container{
        margin-top: 6rem;
        /* margin-left: 1.5rem;
        margin-right: 1.5rem; */
    }
    .tex__content{
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
        line-height: 1.9rem;
        
    }
    .text{
        font-size: 17px;
        line-height: 1.4rem;
    }
    .heading__title{
        text-align: center; 
    }

    .format{
        font-size: 1.8rem;
        
     
    }

    #title-2{
        margin-top: 3rem;
      }
  
      .tex__content{
        margin-top: 3rem;
        
      }
  

    
    }




/* for mobile device */
@media screen and (max-width: 1150px){
    .main__container{
        margin-top: 6rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
    .tex__content{
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
    }
    .text{
        /* font-size: 15px;
        line-height: 1.4rem; */
            font-size: 15.3px;
            line-height: 1.6rem;
        
    }
    .heading__title{
        text-align: center; 
    }


    .ree{

        width: 400px;
       
        /* display: flex; 
        flex-direction: column;
        margin-bottom: 2rem;
        object-fit: cover; */
       
     
    }
    

 

.img__vid__gallery{
    display: flex; 
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 2rem;
    column-gap: 1rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    
} 


.special{
    order: 1;
}


.myvid{
    display: flex; 
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 2rem;
    column-gap: 2rem;
    justify-content: center;
    align-items: center;
    align-content: center;
} 

.ree{
    width: 400px;
}
   

 


}




/* for larger devices */
@media screen and (min-width: 1150px){


        .img__vid__gallery{
            display: flex; 
            flex-wrap: wrap;
            flex-direction: row;
            margin-bottom: 2rem;
            column-gap: 2rem;
            justify-content: center;
            align-items: center;
            align-content: center;
        } 

        .myvid{
            display: flex;
            flex-direction: row;
            column-gap: 3rem;
            width: 100%;
            justify-content: center;
            align-items: center;
        }
    
        .main__container{
            margin-top: 6rem;
            /* margin-left: 1.5rem;
            margin-right: 1.5rem; */
        }
        .tex__content{
            display: flex;
            flex-direction: column;
            row-gap: 1rem;
        }
        .text{
            font-size: 15.8px;
            line-height: 1.7rem;
        }
        .heading__title{
            text-align: center; 
        }
    
        .format{
            font-size: 1.8rem;
            
         
        }
        .imgg{
            width: 410px;
            object-fit: cover;
            /* margin: 10px; */
        }
       

    
        .main__container-2{
            /* margin-top: 1rem;  */
            /* border: 2px solid; */
            /* padding: 0 25px;
            background-color: rgba(136, 45, 136, 0.169);
            padding-top: 5rem;
            clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%); */
          
    
    }

    


    }



   










