* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #f0ecff;
}

#nav-logBtn,
#nav-registerBtn,
#nav-logOutBtn {
  display: none;
}

#posts,
#post {
  margin-top: 70px;
  .card-header {
    & img {
      width: 40px;
      height: 40px;
    }
  }
  & h1 {
    text-transform: capitalize;
  }
  & span {
    text-transform: capitalize;
  }
  .card-body {
    cursor: pointer;
    & img {
      height: 400px;
    }
  }
}

#section-alert {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 30%;
  transition: 0.3s;
}

@media (max-width: 1170px) {
  #section-alert {
    width: 40%;
  }
}

@media (max-width: 767px) {
  #section-alert {
    width: 75%;
  }
}

#add-btn {
  position: fixed;
  right: 7%;
  bottom: 5%;
  color: white;
  border-radius: 50%;
  border: none;
  font-size: 50px;
  width: 70px;
  height: 70px;
  box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.3);
}

#body-post,
#body-post-edit {
  height: 75px;
  resize: none;
}

.navbar img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

#username-nav {
  font-size: 20px;
  font-weight: bold;
}

#comments {
  & div {
    background-color: rgb(235, 235, 235);
  }
  & img {
    height: 40px;
    width: 40px;
  }
}

#comment-input {
  background-color: white;
  height: 70px;
  & input {
    width: 90%;
    outline: none;
    background-color: rgb(235, 235, 235);
  }
  & input::placeholder {
    transition: 0.3s;
  }
  & input:focus::placeholder {
    opacity: 0;
  }
  & button {
    width: 10%;
  }
  @media (max-width: 767px) {
    & button {
      width: auto;
    }
  }
}

.card-body.post {
  cursor: auto !important;
}

.none {
  display: none !important;
}

#delete-btn,
#edit-btn {
  padding: 5px 10px;
  width: 70px;
}

#main-info-image {
  width: 200px;
  height: 200px;
  border-radius: 200px !important;
}
.number-info {
  font-size: 20px;
  & span {
    font-size: 80px;
    font-weight: 300;
  }
}

#profile-nav,
#profIdAndImg {
  cursor: pointer;
}

.undefined {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.loader {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
  font-size: 3rem;
  line-height: 1;
  animation: spin 1.8s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
