/* ----------------------------------------------
 * Generated by Animista on 2023-5-18 22:15:37
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation swing-top-bck
 * ----------------------------------------
 */
 @-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;
  }
}


body {
margin: 0;
}

.container {
font-family: Helvetica;
color: #ffffff;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 80px;
padding-bottom: 200px;
background: #202020;
min-height: 100vh;
}

.comments,
.comment {
margin: 0;
padding: 0;
list-style: none;
}

.comment,
.add-form {
width: 596px;
box-sizing: border-box;
background: radial-gradient(75.42% 75.42% at 50% 42.37%,
    rgba(53, 53, 53, 0) 22.92%,
    #7334ea 100%);
filter: drop-shadow(0px 20px 67px rgba(0, 0, 0, 0.08));
border-radius: 20px;
}

.comments {
display: flex;
flex-direction: column;
gap: 24px;
}

.comment {
padding: 48px;
}

.comment-header {
font-size: 16px;
display: flex;
justify-content: space-between;
}

.comment-footer {
display: flex;
justify-content: space-between;
flex-direction: row;
}
.comment-func {
display: flex;
align-items: center;
}
.comment-body {
margin-top: 32px;
margin-bottom: 32px;
}

.comment-text {
font-size: 32px;
white-space: pre-line;
}

.likes {
display: flex;
align-items: center;
}

.like-button {
all: unset;
cursor: pointer;
}

.likes-counter {
font-size: 26px;
margin-right: 8px;
}

.like-button {
margin-left: 10px;
background-image: url("data:image/svg+xml,%3Csvg width='22' height='20' viewBox='0 0 22 20' fill='none' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M11.11 16.9482L11 17.0572L10.879 16.9482C5.654 12.2507 2.2 9.14441 2.2 5.99455C2.2 3.81471 3.85 2.17984 6.05 2.17984C7.744 2.17984 9.394 3.26975 9.977 4.75204H12.023C12.606 3.26975 14.256 2.17984 15.95 2.17984C18.15 2.17984 19.8 3.81471 19.8 5.99455C19.8 9.14441 16.346 12.2507 11.11 16.9482ZM15.95 0C14.036 0 12.199 0.882834 11 2.26703C9.801 0.882834 7.964 0 6.05 0C2.662 0 0 2.6267 0 5.99455C0 10.1035 3.74 13.4714 9.405 18.5613L11 20L12.595 18.5613C18.26 13.4714 22 10.1035 22 5.99455C22 2.6267 19.338 0 15.95 0Z' fill='%23BCEC30' /%3E%3C/svg%3E");
background-repeat: no-repeat;
width: 22px;
height: 22px;
}

.-active-like {
background-image: url("data:image/svg+xml,%3Csvg width='22' height='20' viewBox='0 0 22 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.95 0C14.036 0 12.199 0.882834 11 2.26703C9.801 0.882834 7.964 0 6.05 0C2.662 0 0 2.6267 0 5.99455C0 10.1035 3.74 13.4714 9.405 18.5613L11 20L12.595 18.5613C18.26 13.4714 22 10.1035 22 5.99455C22 2.6267 19.338 0 15.95 0Z' fill='%23BCEC30'/%3E%3C/svg%3E");
}

.add-form {
padding: 20px;
margin-top: 48px;
display: flex;
flex-direction: column;
}

.add-form-name,
.add-form-text {
font-size: 16px;
font-family: Helvetica;
border-radius: 8px;
border: none;
}

.add-form-name {
width: 300px;
padding: 11px 22px;
}

.add-form-text {
margin-top: 12px;
padding: 22px;
resize: none;
}

.add-form-row {
display: flex;
justify-content: flex-end;
}

.add-form-button {
margin-top: 24px;
font-size: 24px;
padding: 10px 20px;
background-color: #bcec30;
border: none;
border-radius: 18px;
cursor: pointer;
}

.add-form-button:hover {
opacity: 0.9;
}

.error {
outline: solid 1px red;
}

.edit-comment {
font-size: 24px;
padding: 0 5px;
cursor: pointer;
}
.del-comment {
font-size: 24px;
padding: 0 5px;
cursor: pointer;
}

.quote-comment {
font-size: 24px;
padding: 0 5px;
cursor: pointer;
}
.popap {
background: radial-gradient(75.42% 75.42% at 50% 42.37%, rgba(53, 53, 53, 0) 22.92%, #7334ea 100%);
filter: drop-shadow(0px 20px 67px rgba(0, 0, 0, 0.08));
width: 500px;
height: 200px;
z-index: 2;
position: fixed;
display: flex;
flex-direction: column;
align-content: center;
align-items: center;
gap: 5px;
}

.popap textarea {
border-radius: 10px;
resize: none;
width: 95%;
height: 70%;
border: none;
outline: none;
padding-left: 10px;
padding-top: 5px;
margin-top: 2%;
font-size: 16px;
font-family: Helvetica;
}

.save_button {
margin-top: 24px;
font-size: 24px;
padding: 10px 20px;
background-color: #bcec30;
border: none;
border-radius: 18px;
cursor: pointer;
}
.edit-form-text {
margin-top: 12px;
padding: 22px;
resize: none;
}

.quote_title {
background: #FAFCFE;
border: 1px dotted #E79304;
border-left: 5px solid #E79304;
border-top: 0;
color: #000;
padding: 4px;
margin: 0 0 0 30px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

.quote {
background: #6f32e2;
border: 1px dotted #E79304;
border-left: 5px solid #E79304;
border-top: 0;
color: #000;
padding: 4px;
margin: 0 0 0 30px;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 15px;
}
.bb_code {
display: flex;
padding: 15px 0 0px 0px;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 5px;
}

.loader_hidden{
visibility: hidden;
}
.loader_visible{visibility:visible;}
.loader{
/*visibility:visible;*/
width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  overflow: auto;
  flex-wrap: wrap;
  background: #000;
  opacity: 0.7;
}
.-loading-like {
animation: rotating 2s linear infinite;
}

.error_popap{
    -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: radial-gradient(75.42% 75.42% at 50% 42.37%, rgba(53, 53, 53, 0) 22.92%, #7334ea 100%);
    filter: drop-shadow(0px 20px 67px rgba(0, 0, 0, 0.08));
    border-radius: 20px;
    color: white;
}
.error_popap__hide{
        visibility: hidden;
}

.error_popap_show{
        visibility: visible;
}