@font-face {
    font-family:poppinsbold ;
    src: url(../font/Poppins-Bold.ttf);
}

:root{
    --primarycolor:rgb(9, 9, 36);
    --secondarycolor:#a9a9a9;
    --btncolor1:#b4b4f6;
    --tetiarycolor: #ffffff;

}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.backto-dashboard-btn{
    width: 20%;
    margin: 0.4%;
   
}
.backto-dashboard-btn button{
    width: 100%;
    margin-left: 1%;
    margin-top: 0.3%;
    background: none;
    border: none;
    outline: none;
}
.backto-dashboard-btn button:hover{
    color: var(--btncolor1);
    font-weight: 700;
}

.prevent-scroll-container{
  
    overflow-x: hidden;
}
body{
    background-color: #f4f6f8;
 
  
}
.profil-pic-wrapper{
    display: flex;
    gap: 15%;
    width: 90%;
    margin-top: 70px;
}
/* progress bar */
.progress-bar{
    width: 20%;
    margin-top: 2%;
    border: 2px solid var(--primarycolor);
    border-radius: 5px;
  
}
.progress-fill{
    display: flex;
    align-items: center;
    width:0;
    background-color: #b4b4f6;
    transition: width 0.35s;
}

.progress-fill h3{
    margin-left: 1%;
}
.imgprev{
    position:absolute ;
    width:400px;
    height: 400px;
    margin: -10% 15%;
    z-index: 1001;
    border-radius: 8px;
    transition: all 10s ease-out, left 0.6s ease-out;
    box-shadow: 5px, 5px, 3px rgba(0,0, 0, 0.1);
}
.hide-img-prev{
    display: none;
 
}
.imgprev img{
    width: 100%;
    height: 100vh;
    object-fit:cover;
    border: 6px solid rgb(4, 2, 18);
    border-radius: 10px;
    box-shadow: 5px, 5px, 3px rgba(0,0, 0, 0.5);
}


.imgprev button{
    position: absolute;
    top: 0;
    margin: 2%;
    width: 3%;
    font-size: 1.5rem;
    height: 3vh;
    color: red;
    background:none;
    border: none;
    outline: none;
    cursor: pointer;
   
}
.imgprev button:hover{
    color: var(--primarycolor);
}
.imgprev button:active{
    color: var(--btncolor1);
}
.blurring{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background-color: rgba(0,0,0,0.2);
    z-index: 5;
    display: none;
    
}
/* main profile container */

.dashboard-container{
  
    margin-left: 20%;
}
.profile-pic-container {
    width: 100px;
    height: 100px;
}
.profile-img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid linear-gradient(30deg, red, green);
}
.profile-img img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: fit;
}
.img-name{
    margin-left: 4%;
    margin-top: 5%;
    font-size: 1.2em;
    font-style: bold;
}

.profile_img_error{
    font-size: 1.2em;
    color: rgb(83, 12, 12);
    margin-left: 10%;
   
}
#img-upload{
    display: none;
}

.fa-camera{
  position:relative;
  top: 70px;
  left: 140px;
    width: 2px;
    height: 2px;
    margin-left: 4%;
   color: goldenrod;
    font-size: 1.6em;
    border: none;
    border-radius: 50%;
    cursor: pointer;
  
}


/* .editBtn{
    width:98%;
    text-align: right;
    margin-top:2%;
    margin-left:1%;
    padding: 0.9%;
    background: var(--tetiarycolor);
    border: 1px solid  var(--secondarycolor);
    border-radius: 5px;
    outline: none;
    box-shadow:2px 3px 3px #a9a9a9;
    cursor: pointer;
} */

.all-biodetails{
    margin-top: 10%;
}

.username{
    display: flex;
    gap:5%;
    margin: 1% 3%;
    padding-top: 5%;
    color: var(--primarycolor);
}
.username h1{
    font-size: 2rem;
}
.profile-details{
    width: 200%;
    margin-left: 3%;
    margin-top: 2%;

}
.each-detail{
    padding: 2px;
    margin-top: 2px;
}
.each-detail i{
    padding-left: 4px;
}
.each-detail span{
    margin-left: 4%;
}
.each-detail button{
    display: flex;
    width: 100%;
    padding: 1% 0.8%;
    color: #333;
    background-color: transparent;
    font-size: 1.1rem;
    border: 1px solid  var(--secondarycolor);
    border-radius:none;
    outline: none;
  

}
.dashboard-icon-phone{
    color: green;
}
.dashboard-icon-envelope{
    color: rgb(10, 49, 79);
}
.dashboard-icon-map{
    color: rgb(79, 10, 79);
}
.dashboard-icon-automobile{
    color: rgb(90, 90, 17);
}
.profile-details button span{
    color:#555;
   
}
.each-detail button i{
    padding-right: 2%;
    padding-top: 0.5%;
}
.editBtn{
    display: flex;
    margin-top: 30px;
    gap: 5%;
    text-align: center;

}
.editBtn button{
    width: 20%;
    font-size: 1rem;
    padding: 0.8px;
    text-align: center;
}
.editBtn .user-edit{
    min-width: 11%;
    font-size: 1rem;
    padding: 0.2%;
    background-color: var(--primarycolor);
    color: white;
    cursor: pointer;
    border-radius: 12px;
    border: none;
    text-align: center;
}
.user-edit:hover{
    background-color: var(--tetiarycolor);
    color: var(--primarycolor);
    font-weight: bold;
}
.user-edit:active{
    background-color: var(--btncolor1);
    color: var(--primarycolor);
}
.logout-user{
    min-width: 11%;
    font-size: 1.2rem;
    padding: 0.2%;
    background-color: var(--primarycolor);
    color: white;
    cursor: pointer;
    border-radius: 12px;
    border: none;
    text-align: center;
}
.logout-user:hover{
    background-color: var(--tetiarycolor);
    color: var(--primarycolor);
    font-weight: bold;
}
.logout-user:active{
    background-color: var(--btncolor1);
    color: var(--primarycolor);
}
.verify-user{
    min-width: 11%;
    font-size: 1.2rem;
    padding: 0.2%;
    background-color: goldenrod;
    color: white;
    cursor: pointer;
    border-radius: 12px;
    border: none;
    text-align: center;
}
.verify-user:hover{
    background-color: var(--tetiarycolor);
    color: goldenrod;
    font-weight: bold;
}
.verify-user:active{
    background-color: var(--btncolor1);
}
.uploadBtn button{
    margin: 5% 3%;
    font-size:1.1rem;
    color: var(--tetiarycolor);
    min-width: 10%;
    padding: 0.5%;
    margin-top: 8%;
    border-radius: 12px;
    border: none;
    background-color:goldenrod;
    cursor: pointer;
}

/* /* .uploadBtn button:hover{
    background-color: var(--tetiarycolor);
    color: var(--primarycolor);
    font-weight: 700;
}
.uploadBtn button:active{
    background-color: var(--btncolor1);
} */

.upload-cards{
    width: 50%;
    margin: 1% auto;
    /* background-color: var(--secondarycolor); */
    border: none;
    border-radius: 10px;
}
.featured-imgs{
    width: 50%;
}
.freemium-heading{
    margin-top: 100px;
}

/* .................pop up register */
 .popup-register{
    width: 60%;
    margin:0 auto;
    background: var(--tetiarycolor);
    border: 2px solid var(--secondarycolor);
    border-radius: 5px;
    box-shadow: 6px 6px 5px 5px var(--secondarycolor);
    color: #DAA520;
}
.hide{
    display: none;
}
.toggleBtn{
    margin-top: 3%;
    text-align: right;
    padding-right: 1%;
}
.exitBtn{
    padding: 0.3%;
    font-size: 30px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    /* background-color: #fff; */

}
.popup-title {
    width: 90%;
    margin:0 auto;
}
.popup-title h1{
    padding: 5%;
    text-align: center;
    font-size: 2rem;
    color: #DAA520;

}

.form{
    width: 100%;
    margin: 3%;
}

.form-control{
    width: 80%;
    margin: 0 auto;
}

.form-control label{
    display: block;
    width: 70%;
    margin-top: 5%;
    padding-bottom: 5px;
    font-size:1.4rem;
    color: #DAA520;
  
}
.form-control input{
    width: 100%;
    height: 6vh;
    font-size: 1.3rem;
    padding-left: 0.8%;
    border-radius: 5px;
    box-shadow:  2px 1px #000;
    outline: none;
    border: 1px solid #DAA520;
}
#photofile{
    display: none;
}
.photofile-label-control{
    width: 80%;
    
}
.photofile-label-control label{
    width: 60%;
    background-color: #DAA520;
    color: var(--primarycolor);
    padding: 2%;
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    border-radius: 20px;
    margin-top: 2%;
}
.photofile-label-control label:hover{
    background-color: var(--primarycolor);
    color: #DAA520;
}
p .imageMessage{
color: var(--secondarycolor);
}
.images-names{
    color: var(--primarycolor);
}
.form-control input:hover{
    background-color: var(--btncolor1);
}


.form-control #photofile{
    margin-top: 2%;
    border-radius: none;
    box-shadow:  none;
    outline: none;
}
.form-control #photofile:hover{
    background-color: var(--tetiarycolor);
}
.form-control textarea{
    width: 100%;
    margin-top: 2%;
    font-size: 1.3rem;
    padding: 1.2%;
    border-radius: 5px;
    box-shadow: 2px 1px  var(--secondarycolor);
    outline: none;
    padding: 2%;
}
.form-control textarea:hover{
    background-color: var(--btncolor1);
}
.error-rentprice{
    color: red;
    font-size: 0.5;
}
.wordcount{
    color: red;
    font-size: 0.8;
}
.form-control button{
    font-size: 1.3rem;
    color: var(--primarycolor);
    width: 100%;
    height: 6vh;
    margin-top: 8%;
    border-radius: 1px;
    background-color: #DAA520;
    cursor: pointer;
    font-weight: bold;
    border-radius: 20px;
}


          /* verify button */

.form-control button:hover{
    background-color: var(--primarycolor);
    color: #DAA520;
    font-weight: 700;
}
.form-control button:active{
    background-color: var(--btncolor1);
}

.homebtn{
    margin: 1%;
}
.homebtn button{
    border: none;
    outline: none;
    background: none;
    width: 15%;
    margin-top: 1%;
    font-size: 0.9rem;
}
.homebtn .fa-arrow-left{
    padding-right:1% ;
  }
 
/*  Note that both the update form and the post listing form are making use of the same style settings */

.updateform-container{
    width: 70%;
    margin: 0 auto;
}
 .update-address{
    color: green;
}
.fa-crosshairs{
    color: yellowgreen;
}
.car-icon{
    color: orange;
}
.phone-icon{
    color: purple;
}

/* chats heads on the display_index.php(user dashboard) */
.chatheads{
    position:fixed;
    width: 20%;
    height: auto;
    left: 76%;
    top: 35%;
    padding: 1%;
    border-radius: 10px;
   display: none;
    transition: all 2s ease-in-out;
    background-color: var(--secondarycolor);
    box-shadow: 5px, 5px, 3px rgba(0,0, 0, 0.2);
    z-index: 1000;
}
.no-message{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.no-message p{
    color: var(--primarycolor);
    font-weight: 600;
}
 h3{
    font-size: 1rem;
    padding: 1%;
    text-align: center;
    color: var(--primarycolor);
    font-family: poppinsbold;
}
.chatheads button{
    color: red;
    font-size: 1.5rem;
    font-family: poppinsbold;
    padding-left: 5%;
    padding-bottom: 5%;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}
.chatheads button:hover{
    font-size: 1.1rem;
}
.chat-profile-head{
    display: flex;
    gap: 3%;
    width: 95%;
    margin: 5% 4%;
    padding: 2%;
    background-color: var(--tetiarycolor);
    border: none;
    border-radius: 2px;
    box-shadow: 3px 3px 3px var(--secondarycolor);
    cursor: pointer;
}
.chat-profile-head img{
    border-radius: 50%;
    background-color: grey;
    width: 20%;
    height: 5vh;
}
.chat-profile-head p{
    font-size: 0.9rem;
    color:var(--primarycolor);
    font-family: poppinsbold;
    cursor: pointer;
}
.message-icon{
    position: sticky;
    width: 20%;
    left: 70%;
    top: 70%;
    margin-left:50% ;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-in;
}
.fa-comments{
    right: 0.01%;
    font-size: 3rem;
    animation: blink 1s infinite alternate;

}
@keyframes blink {
    0%, 50%, 100%{
        opacity: 1;
        color: #79EE22;
    }
    25%, 75%{
        opacity: 0;
        color: #79EE22;
    }
}
@keyframes glow {
    from{
        text-shadow: 0 0 5px #79EE22, 0 0 10px #79EE22, 0 0 20px #79EE22;
    }
    to{
        text-shadow: 0 0 10px #79EE22, 0 0 20px #79EE22, 0 0 40px #79EE22;
    }
}
.fa-comment{
    display: none;
    color:green;
}

.icon{
    background: linear-gradient(50deg, rgb(2, 2, 40), rgb(218, 215, 209));
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
}
.show{
    opacity: 1;
    visibility: visible;
   }


/* .............................Different screen sizes ...........................*/
/* ................1000px and Below........... */
@media (max-width:1000px){
    .profil-pic-wrapper{
        gap:20%;
        width:90%;
      
    }
    .no-message{
        display: block;
        font-size: 15px;
    }
     .no-message p{
        margin-left: 5%;
        margin-top: -8%;
     }
    
.dashboard-container{
    margin-left: 10%;
}

    .profile-details{
        width: 150%;
    }
    .editBtn button{
        width: 35%;
    }
     .uploadBtn button{
    padding: 1%;

    }
    .profile-pic-container {
    width: 100px;
    height: 100px;
}
.profile-img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid linear-gradient(30deg, red, green);
}
.profile-img img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: fit;
}
}

/* .............................760px and below ...........................*/

@media (max-width:760px){
   .profil-pic-wrapper{
    flex-direction: column;
    justify-content: center;
    padding-right: 10%;
    align-items: center;
     gap:20%;
        width:90%;
      
    }

.user-details{
    margin-top: 100px;
    margin-left: 15%;
 
}


.each-detail button{
border: none;
box-shadow: none;
color: none;
}
.profile-details{
    width: 150%;
    font-size: 0.9rem;
}
 .uploadBtn button{
    padding: 1%;

    }

}
/* .............................700px and below ...........................*/

@media (max-width:700px){
   
    .imgprev{

         margin-left: -85px;
  
} 
    .editBtn {
        flex-direction: column;
        width: 90%;
        margin-left: 1%;
        gap: 9%;
    }
    .editBtn button{
        margin-top: 10px;
        font-size: 0.8rem;
    }
     .uploadBtn button{
    padding: 2%;

    }


}
/* .............................470px and below ...........................*/

@media (max-width:470px){
    .imgprev{
        width: 300px;
        height: 300px;
         margin-left: -8px;
  
} 
    .profile-img{
    
        margin-left: 10%;
          
        }
        .profile-pic-container{
           
           
        }
    .user-details{
        margin-left: -2%;
     
    }
    .username h1{
        font-size: 1.6rem;
    }
    .profile-details{
        width: 140%;
        font-size: 0.9rem;
        margin-left: 1%;
    }
    .profile-pic-container {
        margin-right: 10%;
        width: 80%;
    
    }
    .editBtn {
        flex-direction: column;
        width: 90%;
        margin-left: 1%;
        gap: 9%;
    }
    .editBtn button{
        margin-top: 8px;
        font-size: 0.8rem;
    }
 .popup-register{
    width: 100%;
 
}

.form{
 width: 100%;
 margin-left: 5%;
}

.form-control{
  width: 100%;
}

.form-control label{
max-width: 100%; 
}

label.photofile-label{
    padding: 3%;
    width: 100%;
    margin-top: 2%;
}
label.photofile-label p{
}
.chatheads{
    width: 40%;
    left: 55%;
}




}
@media (max-width:422px){
    
        .imgprev{
            width: 280px;
            height: 280px;
             margin-left: -8px;
      
    } 
    .profile-details{
        width: 130%;
        font-size: 0.8rem;
    }
    .profile-details button span{
        font-size: 0.9rem;
    }
.username h1{
    font-size: 1.3rem;
}
.user-details{
    padding-left: 8%;
}  
.editBtn {
        flex-direction: column;
        width: 90%;
        margin-left: 1%;
        gap: 9%;
    }
    .editBtn button{
        font-size: 0.9rem;
        margin-top: 8px;
        width: 40%;
    }
    .profile-details button {
        font-size: 0.9rem;
    }
   }
 /* .............................360px and below ...........................*/

@media (max-width:360px){  
 
    .imgprev{
       width: 250px;
       height: 250px;
        margin-left: -5px;
    } 
    .each-detail button{
        font-size: 0.8rem;
     
    }
    .profile-details button span{
        font-size: 0.8rem;
    }
    .user-details{
        padding-left: 8%;
    }
    .editBtn {
        flex-direction: column;
        width: 90%;
        margin-left: 1%;
        gap: 9%;
    }
    .editBtn button{
        font-size: 0.9rem;
        margin-top: 8px;
        width: 40%;
    }
}
@media (max-width:327px) And (max-height : 630px){
    .hero-text{
        font-size: 1.1rem;
    }

}