body {
    background-color: #f0ecff !important;

}

.parent {
    display: flex;
    justify-content: center;
}

.container {
    height: 100vh;
}

.container nav {
    display: flex;
    flex-wrap: wrap;
    row-gap: .5em;
    justify-content: space-between;
    padding: 1em;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    -ms-border-radius: .5em;
    -o-border-radius: .5em;
    border-radius: .5em;
}

.container nav div:first-child  {
  display: flex
}

 .username {
    margin-right: .5em;
}

.card-body{
    cursor: pointer;
}
 .card-header img ,
 .username> img,
 .person-info >img {
    height: 40px;
    width: 40px;
    border: 2px solid rgb(238, 230, 230);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

.comments {
    background-color: rgb(223, 219, 219);
}

.card-body img {
    width: 100%;

}

h6{
    color: grey !important;
}

.logout {
    display: none;
}

.fixed-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* Icon color */
    background-color: #007bff; /* Bootstrap primary blue */
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    visibility: hidden;
  }

  .fixed-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
  }

  
  
  #edit-button ,
  #delete-button {
    height: 40px;
    width: 40px;
    position: relative;   
  }
  

#edit-button i,
#delete-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.user-info {
    height: 200px;
    background-color: white;
    display: flex;
    align-items: center;
    column-gap: 5em;
}

.user-info img {
    border: rgb(36, 30, 30) solid .2em;
    height: 80%;
    width: 170px;
}
.user-info p {
    font-weight: bold;
}
.user-info b {
    font-size: 2.8em;
}

.user-info span {
    color: grey;
}

.card-header {
    flex-wrap: wrap;
    row-gap: .5em;
}



.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
}
.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
  -webkit-animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: currentColor;
  margin: -3.6px 0 0 -3.6px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
}
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
}
}





  @media screen and (min-width: 320px) and (max-width: 600px) {
    #edit-button ,
    #delete-button {
        height: 30px;
        width: 30px;
    }

    #edit-button i,
    #delete-button i {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
}
    .card-header {
        padding: .5em !important;
        display: initial;
    }
    .card-header div {
        display: inline-block;
    }
   
    .card-header b {
        margin-right: .22em;
    }
}

@media screen and (min-width: 320px) and (max-width: 768px) {

    .user-info {
        padding: 1em;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: .5em;
    }
    
    .buttons {
      margin-left: auto;
    }
    
    
}
