@-webkit-keyframes error {
  0% {
          -webkit-transform: translateY(0);
          transform: translateY(0);
  }

  100% {
          -webkit-transform: translateY(-100px);
          transform: translateY(-100px);
  }
}

@keyframes error {
  0% {
          -webkit-transform: translateY(0);
          transform: translateY(0);
  }

  100% {
          -webkit-transform: translateY(-100px);
          transform: translateY(-100px);
  }
}


@-webkit-keyframes rotating {
  0% {
          -webkit-transform: scale(0);
          transform: scale(0);
          -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
          opacity: 0;
  }

  38% {
          -webkit-transform: scale(1);
          transform: scale(1);
          -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
          opacity: 1;
  }

  55% {
          -webkit-transform: scale(0.7);
          transform: scale(0.7);
          -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  }

  72% {
          -webkit-transform: scale(1);
          transform: scale(1);
          -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
  }

  81% {
          -webkit-transform: scale(0.84);
          transform: scale(0.84);
          -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  }

  89% {
          -webkit-transform: scale(1);
          transform: scale(1);
          -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
  }

  95% {
          -webkit-transform: scale(0.95);
          transform: scale(0.95);
          -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  }

  100% {
          -webkit-transform: scale(1);
          transform: scale(1);
          -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
  }
}

@keyframes rotating {
  0% {
          -webkit-transform: scale(0.2);
          transform: scale(0.2);
          -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
          opacity: 0.5;
  }

  38% {
          -webkit-transform: scale(1);
          transform: scale(1);
          -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
          opacity: 1;
  }

  55% {
          -webkit-transform: scale(0.7);
          transform: scale(0.7);
          -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  }

  72% {
          -webkit-transform: scale(1);
          transform: scale(1);
          -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
  }

  81% {
          -webkit-transform: scale(0.84);
          transform: scale(0.84);
          -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  }

  89% {
          -webkit-transform: scale(1);
          transform: scale(1);
          -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
  }

  95% {
          -webkit-transform: scale(0.95);
          transform: scale(0.95);
          -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  }

  100% {
          -webkit-transform: scale(1);
          transform: scale(1);
          -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
  }
}

.loading_like {
  animation: rotating 2s linear infinite;
}

.page-container {
  padding: 0 20px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 16px;
  margin-left: -20px;
  margin-right: -20px;
}

.logo {
  margin: 0;
  font-size: 28px;
  cursor: pointer;
  width: 130px;
}

.header-container {
  margin-bottom: 8px;
}

.header-button {
  padding: 0;
  border: none;
  background-color: transparent;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  cursor: pointer;
}

.logout-button {
  width: 130px;
  text-align: right;
}

.posts {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

.post-header__user-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 40px;
  margin-right: 10px;
}

.post-image-container {
  margin-left: -20px;
  margin-right: -20px;
  height: 500px;
  display: flex;
  justify-content: center;
  background-color: #e0e0e0;
}

.post-image {
  width: 100%;
  height: 100%;
  max-width: 500px;
  object-fit: cover;
}

.post-likes {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.post_delete{
display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.post_footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.like-button {
  border: none;
  background-color: transparent;
  padding: 8px;
  padding-left: 0px;
  padding-bottom: 5px;
  cursor: pointer;
}

.user-name {
  font-weight: 500;
}

.post-text {
  font-size: 14px;
  line-height: 18px;
  margin-top: 5px;
}



.post-date {
  color: #8a8a8a;
}

.post + .post {
  margin-top: 20px;
}

.posts-user-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
}

.posts-user-header__user-image {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 40px;
  margin-right: 10px;
}

.posts-user-header__user-name {
  font-size: 28px;
  line-height: 35px;
}

.loading-page {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.add-post-sign {
  background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122.88 122.88'%3E%3Ctitle%3Eadd%3C/title%3E%3Cpath d='M61.44,0A61.46,61.46,0,1,1,18,18,61.25,61.25,0,0,1,61.44,0ZM88.6,56.82v9.24a4,4,0,0,1-4,4H70V84.62a4,4,0,0,1-4,4H56.82a4,4,0,0,1-4-4V70H38.26a4,4,0,0,1-4-4V56.82a4,4,0,0,1,4-4H52.84V38.26a4,4,0,0,1,4-4h9.24a4,4,0,0,1,4,4V52.84H84.62a4,4,0,0,1,4,4Zm8.83-31.37a50.92,50.92,0,1,0,14.9,36,50.78,50.78,0,0,0-14.9-36Z'/%3E%3C/svg%3E");
  height: 30px;
  width: 30px;
}

.form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-title {
  font-size: 28px;
  line-height: 35px;
  text-align: center;
}

.form-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-error {
  color: red;
}

.form-footer {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-footer-title {
  text-align: center;
}

.file-upload-foto-conrainer {
  display: flex;
  align-items: center;
}

.file-upload-foto {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 10px;
  border: 1px solid gray;
  border-radius: 5px;
}

.file-upload-label {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}
/*Добавление поста*/
.upload-image-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-wrap: wrap;
}

.textarea_description {
  outline: none;
    padding: 15px;
    box-sizing: border-box;
    background-color: #e8e8e8;
    border-radius: 5px;
}

.file-upload-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 10px;
  border: 1px solid gray;
  border-radius: 5px;
  align-self: center;
}
.file-upload-image-conrainer {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
}

.app_error{
 
  -webkit-animation: error 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: error 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  position: fixed;
  bottom: 5px;
  right: 25px;
  background-color: antiquewhite;
  padding: 10px;
  box-sizing: border-box;
  background: red;
  /* background: radial-gradient(75.42% 75.42% at 50% 42.37%, rgba(5, 5, 5, 0) 22.92%, red 100%); */
  filter: drop-shadow(0px 20px 67px rgba(0, 0, 0, 0.08));
  border-radius: 5px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  color: white;
  visibility :hidden;

}