
/****** Header div started  *********************************************************/

header {
    background-color:white;
    color: lightskyblue;
    padding: 15px;  /* padding doesnot affect diamension crises*/
    text-align: center;
    width: 100%;
}

header img
{
float: left;
margin: 20px;
vertical-align: middle;
height: 50px;

}

/****** Header div completed  *********************************************************/
/****** Navigation  div started   *********************************************************/


nav {
    background-color: lightskyblue;
    width: 100%;
    padding-left: 15%;/* great solution */
}
#nav
{
  width: 100%;
    
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    justify-content: left;
    display: flex;  /* this is the place ul not nav id gar*/
    flex-wrap: wrap; 
}

nav ul li {
    margin: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

nav ul li a:hover {
    background-color: #ddd;
    color: black;
}


/****** Navigation  div completed  *********************************************************/

/****** Container 1 div started  *******************************************************************************/
.container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
}

.main-content {
    width: 50%;
    height: fit-content;
    padding: 2px;
    float: left;
    background-color: white;
    /*background-color: rgb(6, 20, 36);
   /* background-image: url('digital.avif');*/
   
}
.sidebar {
    width: 50%;
    padding: 5px;
    background-color:white;
    float:left;
   /* background-image: url('digital.avif');*/
    
}
  #ip
{
    text-align: center;
    margin-top: 1px;
    margin-left: 50px;
    margin-right: 10px;
}
#imageContainer {
    text-align: center;
    margin-top: 100px;
}
#slideshowImage {
    width: 400px; /* Set width of images */
    height: 300px;
}


#animate {
    font-size: 35px;
    font-weight: bold;
    opacity: 0; /* Start with text hidden */
    transition: opacity 2s ease-in-out; /* Smooth transition */
}

/****** Container 1 div completed *******************************************  *********************************************************/


/****** footer div started ***************************************************************************************/
#foot
{
    width: 100%;
    height: 75px;
    background-color: lightskyblue;
}
#fff{

    width: 50%;
    margin-left: 40%;
    color: white;
    padding: 10px;
}

/****** footer div completed ****************************************************************************************/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
   /* overflow-x:hidden; 
    /*overflow:hidden;
    
    /*background-image: url('digital.avif');
    /*overflow: hidden; /* Prevents scrollbars during animation */
}
* {
    box-sizing: border-box;
  }
  .content {
    width: 100%;
  }

  #latest
  {
   margin-top: 25px;
   margin-bottom: 25px;
  }
/**************************************Product div started ********************************************************/
#Ps
{
    width:100%;
height: 1050px;
background-image: url('digital.avif');
}

.services
{
    float: left;
    color: black;
    width: 20%;
}

.im
{
    width: 60%; /* Set the size of the image */
    height: 60%; /* Ensure height equals width for a perfect circle */
    border-radius: 50%; /* Make the image round */
    object-fit: cover; /* Ensure the image covers the area without distortion */
    margin-left: 40px;
}

/**********************************Product div completed *********************************************************/



/* ***********************************Last div started *******************************************************/
/* Style for the moving text */

#sec
{
width: 100%;
height: max-content;
display: flex;
flex-wrap: wrap;
/*
background-image: url('digital.avif');
background-repeat: no-repeat;*/
}


#Be{
    float: left;
    flex: 1 1 60%;
}

.di
{
    float: left;
    flex: 1 1 40%;

}
.di img
{
margin-top: 30px;
margin-left: 100px;
border-radius: 25%;
}

/* Animation for moving text across the screen */
@keyframes moveText {
    0% {
        left: -100%; /* Start off-screen */
    }
    50% {
        left: 50%; /* Move to the center */
    }
    100% {
        left: 100%; /* End off-screen */
    }
}

/* Animation for changing text color */
@keyframes colorChange {
    0% {
        color: red;
    }
    25% {
        color: blue;
    }
    50% {
        color: green;
    }
    75% {
        color: orange;
    }
    100% {
        color: purple;
    }
}
/*
#moving {
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: -100%; /* Start off the screen */




/***************************flexibility****************************************************************************/
/* case 1:-For small screens like phones */
@media (max-width: 600px) 

{

    .main-content,.sidebar {
        width: 100%;
        height: fit-content;
        
       /* background-image: url('digital.avif');*/
       
    }

    .container {
    height: fit-content;
     display: flex;
        flex-wrap: wrap;
               }

               .services
               {
                width: 100%;

               }
    #Be{
    float: left;
    flex: 1 1 100%; /* there would be no overlapping , the width would be flexible*/
    background-color: azure;
    height: fit-content;

    }
    .di{
          flex: 1 1 100%;
        float: left;
        background-color: azure;
        height: fit-content;
    }
    
    
nav { 
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: lightskyblue;

}
nav ul {  
    margin-left: 16%;
}


#sec
{
width: 100%;
height: fit-content;
background-color:azure;
margin-bottom: 0;
display: flex;
flex-wrap: wrap;

/*background-image: url('digital.avif');
background-repeat: no-repeat;*/
}
   
  }

  /************************************************** case 2:-For small screens like phones */
  
  /*  not mandatory as such For tablets and medium screens */
  @media (max-width: 900px) {


  .main-content,.sidebar {
        width: 100%;
        height: fit-content;
        
       /* background-image: url('digital.avif');*/
       
    }

    .container {
    height: fit-content;
     display: flex;
        flex-wrap: wrap;
               }

               .services
               {
                width: 50%;

               }
   

             }
    
    
nav { 
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: lightskyblue;

}
nav ul {  
    margin-left: 16%;
}


#sec
{
width: 100%;
height: fit-content;
background-color:azure;
margin-bottom: 0;

  }
  
  /* For large screens (desktops) */
  @media (min-width: 901px) {

 
   
  }
  


      
