input{
    border-radius: 5px;
    border: 1px solid grey;
}

#mainDiv{
   flex-direction: column;
   display: flex;
   gap: 10px;
   font-weight: 500;
}

#userImgDiv, #contactForm{
   margin-bottom: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 15px;
}

h1{
    text-align: center;
    font-family: "Gravitas One", serif;
    font-weight: 300;
    color: rgb(34, 82, 43);
}

img{
    width: 100px;
    border-radius: 50px;
}

#search{
    height: 35px;
    width: 250px;
}

body{
    background-image: url(/images/bgImg.jpg);
    background-size: cover;
    background-attachment: fixed;
}

form input{
    height: 35px;    
}

form button{
    height: 35px;
    background-color: rgb(126, 196, 126);
    border: 1px solid black;
    border-radius: 5px;
}

form button:hover{
    background-color: rgb(87, 206, 87);

}

.table{   
    padding: 0px 50px;
}

#deetLabels{
    background-color: rgb(196, 240, 186);
    border: 1px dotted grey;
    display: flex;
    justify-content: space-between;
}

#deetLabels p{
    flex: 1;
}

#deetLabels p:last-child{
    text-align: center;
}

.row{
    padding: 2px 0px;
    margin-top: 5px;
    border: 1px dotted grey;
    display: flex;
    justify-content: space-between;  
}

.row p{
    flex: 1;
}

.actions{
    flex: 1;
    display: flex;
    gap: 40px;
} 

.editBtn{
    background-color: rgba(125, 213, 242, 0.875);
    width: 80px;
    border: 1px solid black;
    border-radius: 5px;
}

.editBtn:hover{
    background-color: rgba(55, 193, 239, 0.827);
}

.deleteBtn{
    background-color: rgb(247, 72, 72);
    width: 80px;
    border: 1px solid black;
    border-radius: 5px;
}

.deleteBtn:hover{
    background-color: rgb(250, 24, 24);
}

@media(max-width: 768px){
    .table{
        padding: 0 10px;
    }

    #userImgDiv{
        flex-direction: column;
    }

    #search{
        width: 100%;
        max-width: 300px;
    }

    #contactForm{
        flex-direction: column;
        align-items: stretch;
    }

    .actions{
        gap: 10px;
        justify-content: center;
    }
    
    .editBtn,
    .deleteBtn{
        width: 100%;
        max-width: 120px;
    }
}