/* Extra small devices (phones, portrait) */
@media (max-width: 479px) {
  /* Styles for very small phones */
  .home-div{
    border:1px solid black;
    display:block;
    justify-content: space-between;
    margin: 7% auto;
    width: 90%;
    padding: 1%;
}

}

/* Small devices (phones, landscape) */
@media (min-width: 480px) and (max-width: 767px) {
 .image-div {
  width: 450px;               /* or any fixed or responsive width */
  height: 350px;              /* keep height = width for perfect circle */
  border-radius: 20%;         /* makes the container round */
  overflow: hidden;           /* hides overflow so image doesn’t spill */
  padding: 0.5%;                /* optional padding inside the div */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* optional for effect */
  background-color: #fff;  
  margin-top: 2.5%;   /* optional background */
}
.image-div img {
  width: 100%;
  height: 100%;
  border-radius: 50%;         /* rounds the image itself */
  object-fit: cover;          /* ensures the image fills the space without distortion */
  display: block;
}
}

/* Medium devices (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
  /* Styles for tablets */

  /*Index file Media*/ 
body{
    background-color: #E4E4E7;
}
.home-div{
    /* border:1px solid black; */
    display:block;
    justify-content: space-between;
    margin: 7% auto;
    width: 90%;
    padding: 1%;
}
hr{
    border-color: #f8f5f5;
}
.image-div {
  width: 550px;               /* or any fixed or responsive width */
  height: 550px;              /* keep height = width for perfect circle */
  border-radius: 50%;         /* makes the container round */
  overflow: hidden;           /* hides overflow so image doesn’t spill */
  padding: 0.5%;                /* optional padding inside the div */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* optional for effect */
  background-color: #fff;  
  /*margin-top: 2.5%;    optional background */
  margin: 8% auto;
}
.image-div img {
  width: 100%;
  height: 100%;
  border-radius: 50%;         /* rounds the image itself */
  object-fit: cover;          /* ensures the image fills the space without distortion */
  display: block;
}
.home-contents{
    width: 100%;
    margin: 1% auto;
    font-size: 1.5em;
    /* padding: 5%; */
    
}
.ind-cont{
    padding: 3% 3%;
    border-radius: 5px;
    border: 1px solid gainsboro;
    box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.2);
}
.mine-text{
    margin: 3px 3px;
    font-size: 1.1em;
    line-height: 1.5;
}

/*base media*/
.base-div{
    display: flex;
    justify-content: space-between;
    background-color: #fafafa;
    width: 100%;
    box-sizing:border-box;
    box-shadow: #d8d8e2;
    margin: 0 auto;
    padding: 1% 2%;
    border-radius: 5px;
    border: 2px solid #d8d8e2;
    box-shadow: 2px 4px 6px 2px rgba(0, 0, 0, 0.2);
    font-size: 1.5em;
}

/* about media */
.ab-inc{
    margin: 0 auto;
    padding: 2% 0%;
}
.ab-cont-p{
background-color: #fafafa;
padding: 1% 2%;
border: 2px solid #d8d8e2;
border-radius: 5px;
box-shadow: 2px 4px 6px 2px rgba(0, 0, 0, 0.2);
}
.ab-content{
    margin: 1% auto;
    width: 95%;
    border-radius: 0.8%;
    padding: 2%;
    font-size: 1.3em;
}
.ab-content section{
    font-size: .8em;
}
.ab-content p{
   text-align: justify;  
   overflow-wrap: break-word; 
   font-size: 1.1em;
   line-height: 1.4;
}
.ab-content p::first-letter {
  float: left;                
  margin-top: -0.35em;       
  font-size: 5em;          
  padding-right: 1rem;        
}

/* Portfolio media */
.port-content{
    margin: 1% auto;
    width: 90%;
    border-radius: 0.8%;
    padding: 1%;
    margin: 1px solid black;
    font-size: 1.3em;
    box-sizing:border-box;
}
.port-content section{ 
    font-size: 1.3em;
}
.port-details{
    padding: 2%;
    font-size: larger;
}
.ul-li{ 
    display:flex; 
    justify-content:space-between; 
    padding:0 2%; 
    font-weight: bold;
}
.div-li{
  display:flex;   
  padding:0 1%; 
  justify-content:space-between;
  margin-left: 2%;
  margin-top: 2%;
}

/* contact media */
.con-content{
    margin: 0.2% auto;
    width: 90%;
    border-radius: 0.8%;
    padding-top: 0px;
    font-size: 1.5em;
}
.con-content section{
    font-size: 1.5em;
}
.con-inc{
    margin: 0 auto;
    padding: 2% 0%;
}
.cont-cont-p{
background-color: #fafafa;
/* padding: 0.4% 1%; */
border: 2px solid #d8d8e2;
border-radius: 5px;
box-shadow: 2px 4px 6px 2px rgba(0, 0, 0, 0.2);
font-size: 1.3em;
}
.form-cont{
    background-color: #f8f5f5;
    padding: 3%;
    margin: 0.5%;
    font-size: 1.3em;
}
.form-contents{
    font-size: .8em;
}
.form-div .inp{
    margin-left: 3%;
}
.form-cont p{
    text-align: center;
}
.cont-soc{
    margin: 0.5% 0.5%;
    padding: .9%;
    background-color: #f8f5f5;
    display: flex;
    justify-content: space-between;
}
.socials{
    width:30%; 
    /* border: 1px solid black; */
    display:flex; 
    justify-content:space-between; 
    margin-top:3%;
}
.socials svg{
    width: 30px;
    height: 30px;
}
.div-web{
    display:flex;
    width:100%; 
    justify-content:center; 
    margin-top:1.3%;
    font-size: 1.2em;
}
.div-web svg{
    margin-right:7px; 
    margin-top:1.7%;
    width: 35px;
    height: 35px;
}
.number{
    margin-top:1%;
    display: flex;
    width: 100%;
    font-size: 1.5em;
    justify-content: center;
}
.soc-number{
    display:flex;
    justify-content:space-between; 
    margin-top:1%; 
    width:60%; 
    padding:1% 2%;
}
.social-svg{
    display:flex; 
    width:90%;
}
.form-div{
    display:flex;
    width:100%;
    padding:1%;
    margin: 0 auto;
}
.lebo{
  width:20%;
  padding-top:1.3%;
  text-align:start;
  margin-top: 5%;
}
.inp{
    width:70%; 
    border-radius:15px; 
    /* padding:2px; */
}
.inp input{
    width:100%;
    box-sizing:border-box;
    height:70px; 
    border:1px solid #d8d8e2; 
    border-radius:5px;
    margin-top: 6%;
    font-size: larger;
}
.inp textarea{
width:100%;
box-sizing:border-box;
height:100px; 
border:1px solid #d8d8e2; 
border-radius:5px;
resize:vertical ;
padding: 1%;
margin-top: 9%;
font-size: larger;
}
.inp button{
    border:1px solid #cbcbd1;
    background-color: #d4d4d8;
    width:100%; 
    padding:2%;
    border-radius: 5px;
    font-size: 1.2em;
    font-family: 'Times New Roman', Times, serif;
    margin-top: 9%;
}
.success{
    text-align: center;
    width: 30%;
    margin:5% auto;
    font-size: 2em;
}
#success-message{
    border: 1px solid gainsboro;
    width: 60%;
    margin:2% auto;
    background-color: #d4d4d8;
    text-align: center;
    border-radius: 5px;
    padding: 2% 2%;
}
#success-button{
   background-color: #d4d4d8;
   margin: auto; 
   width: fit-content;
   
}
#success-button button{
    background-color: #d4d4d8;
    
}

.socials{
    margin: 6% auto;
    /* border: 1px solid black; */
    width: 70%;
    justify-content: space-between;
    /* display: block; */
    box-sizing:border-box;
    font-size: larger;
}
.socials a svg{
    width: 50px;
    height: 50px;
}

.number svg{
    margin-top: 3.6% ;
    width: 40px;
    height: 40px;
    margin-right: 2%;
}
.svg-cons{
    border: 1px solid black;
    width: 100%;
    margin: 0 auto;
}
.cont-soc{
    /* border: 1px solid black; */
    margin: 0.5% 0.5%;
    padding: .9%;
    background-color: #f8f5f5;
    display: block;
    /* justify-content: space-between; */
}
.cont-cont-p p{
    font-size: 0.7em;
}
.ul-li{ 
    display:flex; 
    justify-content:space-between; 
    padding:0 2%; 
    font-weight: bold;
    font-size: 0.7em;
}
.div-li{
  display:flex;   
  padding:0 1%; 
  justify-content:space-between;
  margin-left: 2%;
  margin-top: 2%;
  font-size: 0.7em;
}
.port-content{
    margin: 0.2% auto;
    width: 100%;
    border-radius: 0.8%;
    padding-top: 0px;
}

}

/* Large devices (small laptops) */
@media (min-width: 992px) and (max-width: 1199px) {
  /* Styles for small laptops */

}

/* Extra large devices (desktops) */
@media (min-width: 1200px) {
  /* Styles for desktops and larger screens */

  /* start of admin page css */
    .adm-content{
    width:50%;
    margin: 0 auto;
    font-size: 1em;
}
.adm-div{
    /* border:1px solid gainsboro;  */
    width:50%; 
    margin:7% auto;
    padding: 5%;
    border-radius: 3px;
     box-shadow: 
    -3px 3px 6px rgba(0, 0, 0, 0.1),  /* left */
     3px 3px 6px rgba(0, 0, 0, 0.1);  /* right & bottom */
}
.adm-div p{
    margin: 5% auto;
    width: fit-content;
    font-size: 2em;
}
.adm-div form{
    width: 50%;
    margin: 10% auto;
}
.adm-div form div{
    width: 100%;
    /* border: 1px solid black; */
}
.adm-div form input{
    width: 100%;
    box-sizing: border-box;
    margin: 5% 0;
    padding: 5%;
    font-size: 1em;
    font-family: 'Times New Roman', Times, serif;
    border: none;
    border-bottom: 3px solid rgb(97, 95, 95);
    outline: none;
    background-color: transparent;
}
.adm-div form button{
    width: 100%;
    padding: 5%;
    font-size: 1em;
    font-family: 'Times New Roman', Times, serif;
    background-color: rgb(99, 207, 99);
    color: white;
    border: 1px solid gainsboro;
    margin-top: 8%;
}
  /* end of admin page css */

  /* start of admin-dashboard css */
    .adm-dash{
    /* border: 1px solid black; */
    width: 100%;
    padding: 1%;
    display: flex;
    box-sizing:border-box;
}
.adm-dash ul li{
   margin-top: 1em;
   list-style-type:none;
   margin-right: 1em;
   font-size: larger;
   box-sizing:border-box;
}
.adm-sect{
    border-top: 4px solid gainsboro;
    display: flex;
    width: 100%;
    padding: 1% 3%;
    /* margin-left: 2em; */
    justify-content: space-between;
    font-size: large;
    box-sizing:border-box;
}
.project-upload{
    margin-top: 4%;
}
.un-lin{
    margin:5% 0;
    border: 1px solid gray;
}
#upload-form{
    display: flex;
    justify-content: space-between;
    /* border: 1px solid black; */
}
#upload-form input{
    border-radius: 4px;
    width: 100%;
    padding: 0.5em;
    border:1px solid rgb(197, 197, 197);
}
#upload-form textarea{
    border-radius: 4px;
    width: 100%;
    padding: 0.5em;
    border:1px solid rgb(197, 197, 197);
}
#upload-form button{
    width: 100%;
    margin-top:3em ;
    padding: 0.6em 3em;
     border-radius: 4px;
     background-color: rgb(141, 235, 141);
     font-size: large;
     border:1px solid rgb(197, 197, 197);
     cursor: pointer;
}
#edit-form{
    display: flex;
    justify-content: space-between;
    
}
#edit-form input{
    border-radius: 4px;
    width: 100%;
    padding: 0.5em;
    border:1px solid rgb(197, 197, 197);
}
#edit-form textarea{
    border-radius: 4px;
    width: 100%;
    padding: 0.5em;
    border:1px solid rgb(197, 197, 197);
}
#edit-form button{
    width: 100%;
    margin-top:3em ;
    padding: 0.6em 3em;
     border-radius: 4px;
     background-color: rgb(141, 235, 141);
     font-size: large;
     border:1px solid rgb(197, 197, 197);
     cursor: pointer;
}

#delete-form{
    display: flex;
    justify-content: space-between;
    
}
#delete-form input{
    border-radius: 4px;
    width: 100%;
    padding: 0.5em;
    border:1px solid rgb(197, 197, 197);
}
#delete-form textarea{
    border-radius: 4px;
    width: 100%;
    padding: 0.5em;
    border:1px solid rgb(197, 197, 197);
}
#delete-form button{
    width: 100%;
    margin-top:3em ;
    padding: 0.6em 3em;
    border: none;
     /* border-radius: 4px; */
     background-color:transparent;
     font-size: large;
     /* border:1px solid rgb(197, 197, 197); */
     cursor: pointer;
}
  /* end of admin-dashboard css */

  /* start of index css */
    body{
    background-color: #E4E4E7;
}
.home-div{
    /* border:1px solid black; */
    display:flex;
    justify-content: space-between;
    margin: 7% auto;
    width: 90%;
    padding: 1%;
}
.image-div {
  width: 450px;               /* or any fixed or responsive width */
  height: 350px;              /* keep height = width for perfect circle */
  border-radius: 50%;         /* makes the container round */
  overflow: hidden;           /* hides overflow so image doesn’t spill */
  padding: 0.5%;                /* optional padding inside the div */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* optional for effect */
  background-color: #fff;  
  margin-top: 2.5%;   /* optional background */
}
.image-div img {
  width: 100%;
  height: 100%;
  border-radius: 50%;         /* rounds the image itself */
  object-fit: cover;          /* ensures the image fills the space without distortion */
  display: block;
}
hr{
    border-color: #f8f5f5;
}
.home-contents{
    width: 75%;
    margin-top: 1%;
    padding: 5%;
    
}
.ind-cont{
    padding: 3% 3%;
    border-radius: 5px;
    border: 1px solid gainsboro;
    box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.2);
}
.mine-text{
    margin: 3px 3px;
    font-size: 1.1em;
    line-height: 1.5;
}
  /* end of index css */

  /* start of contact page css*/
.con-content{
    margin: 0.2% auto;
    width: 68%;
    border-radius: 0.8%;
    padding-top: 0px;
}
.con-inc{
    margin: 0 auto;
    padding: 2% 0%;
}
.cont-cont-p{
background-color: #fafafa;
/* padding: 0.4% 1%; */
border: 2px solid #d8d8e2;
border-radius: 5px;
box-shadow: 2px 4px 6px 2px rgba(0, 0, 0, 0.2);
/* text-align: center; */
}
.form-cont{
    background-color: #f8f5f5;
    padding: 2px;
    margin: 0.5%;
}
.form-cont p{
    text-align: center;
}
.cont-soc{
    margin: 0.5% 0.5%;
    padding: .9%;
    background-color: #f8f5f5;
    display: flex;
    justify-content: space-between;
}
.socials{
    width:30%; 
    /* border: 1px solid black; */
    display:flex; 
    justify-content:space-between; 
    margin-top:3%;
    font-size: 1.2em;
}
.socials svg{
    width: 30px;
    height: 30px;
}

.soc-number{
    display:flex;
    justify-content:space-between; 
    margin-top:1%; 
    width:60%; 
    padding:1% 2%;
}
.social-svg{
    display:flex; 
    width:90%;
}
.div-web{
    width: 20%;
    margin-top: 3%;
    display: flex;
}
.div-web svg{
    margin-top: 1.7%;
    margin-right: 3%;
}
.number{
    display: flex;
    width: 20%;
    margin-top: 2%;
}
.number svg{
    margin-top: 5.6%;
    width: 20px;
    height: 20px;
     margin-right: 3%;
}
.form-div{
    display:flex;
    width:70%;
    padding:1%;
    margin: 0 auto;
}
.lebo{
  width:20%;
  padding-top:1.5%;
  text-align:start;
}
.inp{
    width:60%; 
    border-radius:15px; 
    /* padding:2px; */
}
.inp input{
width:100%;
box-sizing:border-box;
height:30px; 
border:1px solid #d8d8e2; 
border-radius:5px;
}
.inp textarea{
width:100%;
box-sizing:border-box;
height:70px; 
border:1px solid #d8d8e2; 
border-radius:5px;
resize:vertical ;
padding: 1%;
}
.inp button{
    border:1px solid #cbcbd1;
    background-color: #d4d4d8;
    width:100%; 
    padding:2%;
    border-radius: 5px;
    font-size: medium;
    font-family: 'Times New Roman', Times, serif;
}
.success{
    text-align: center;
    width: 30%;
    margin:5% auto;
    font-size: 2em;
}
#success-message{
    border: 1px solid gainsboro;
    width: 60%;
    margin:2% auto;
    background-color: #d4d4d8;
    text-align: center;
    border-radius: 5px;
    padding: 2% 2%;
}
#success-button{
   background-color: #d4d4d8;
   margin: auto; 
   width: fit-content;
   
}
#success-button button{
    background-color: #d4d4d8;
    
}
  /* end of contact page css*/

  .base-div{
    display: flex;
    justify-content: space-between;
    background-color: #fafafa;
    width: 100%;
    box-sizing:border-box;
    box-shadow: #d8d8e2;
    margin: 0 auto;
    padding: 1% 2%;
    border-radius: 5px;
    border: 2px solid #d8d8e2;
    box-shadow: 2px 4px 6px 2px rgba(0, 0, 0, 0.2);

}
a{
    text-decoration: none;
    color: black;
    line-height: 1.6;
}
.port-content{
    margin: 0.2% auto;
    width: 68%;
    border-radius: 0.8%;
    padding-top: 0px;
}
.port-details{
    padding: 1%;
}
.ul-li{ 
    display:flex; 
    justify-content:space-between; 
    padding:0 2%; 
    font-weight: bold;
}
.div-li{
  display:flex;   
  padding:0 1%; 
  justify-content:space-between;
  margin-left: 2%;
  margin-top: 2%;
}

.ab-inc{
    /* width: 72%; */
    margin: 0 auto;
    /* border: 1px solid #fafafa; */
    padding: 2% 0%;
    /* border-radius: 0.9%; */
}
.ab-cont-p{
background-color: #fafafa;
padding: 1% 2%;
border: 2px solid #d8d8e2;
border-radius: 5px;
box-shadow: 2px 4px 6px 2px rgba(0, 0, 0, 0.2);
}
.ab-content{
    /*  */ 
    margin: 1% auto;
    width: 68%;
    border-radius: 0.8%;
}

.ab-content p{
   text-align: justify;  
   overflow-wrap: break-word; 
   font-size: 1.1em;
   line-height: 1.6;
}
.ab-content p::first-letter {
  float: left;                
  margin-top: -0.75rem;       
  font-size: 4.5rem;          
  padding-right: 1rem;        
}
}

/* Some laptops*/
@media (min-width: 1600px) {
    /* start of index page */
    .image-div {
        width: 450px;               /* or any fixed or responsive width */
        height: 400px;              /* keep height = width for perfect circle */
        border-radius: 50%;         /* makes the container round */
        overflow: hidden;           /* hides overflow so image doesn’t spill */
        padding: 0.5%;                /* optional padding inside the div */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* optional for effect */
        background-color: #fff;  
        margin-top: 2.5%;   /* optional background */
    }
    .image-div img {
        width: 100%;
        height: 100%;
        border-radius: 50%;         /* rounds the image itself */
        object-fit: cover;          /* ensures the image fills the space without distortion */
        display: block;
    }
  /* end of index page */
}

