@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400&display=swap");
.actionform {
  max-width: 500px;
  width: 100%;
  display: flex;
  margin: 0 auto;
  justify-content: space-around;
  align-items: center;
  height: 121px;
  margin-bottom: 20px;
}
.actionform__button {
  background-color: #385e80;
  padding: 8px;
  border-radius: 5px;
  line-height: 0;
  cursor: pointer;
  transition: 200ms ease-out;
}
.actionform__button:hover {
  background-color: #5084c8;
}
.actionform__button span {
  font-size: 42px;
  color: #fff;
}
.actionform__button span.active {
  animation: loading 800ms linear 1;
}
.actionform__button--reload {
  border: 5px solid #27323c;
  border-top: 0px !important;
  border-left: 0px !important;
}
.actionform__button--reload:active {
  border: 2px solid #27323c;
}
.actionform__button--reload span {
  font-size: 100px;
}
.actionform__addButton {
  background-color: #385e80;
  padding: 8px;
  border-radius: 5px;
  margin-left: 0px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  line-height: 0;
  cursor: pointer;
}
.actionform__addButton:hover {
  background-color: #5084c8;
}
.actionform__addButton span {
  font-size: 36px;
  color: #fff;
}
.actionform__input {
  border: 1px solid #fff;
  border-right: 1px solid #b0b0b0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding: 0 10px;
  font-size: 17px;
  flex-grow: 1;
  outline: none;
}

.insultForm__addForm {
  display: flex;
  justify-content: center;
}
.insultForm__addForm--active .insultForm__input {
  width: 100%;
  opacity: 1;
  padding: 0 10px;
}
.insultForm__addForm--active .insultForm__button--add {
  transform: rotate(360deg);
  opacity: 0;
  pointer-events: none;
}
.insultForm__addForm--active .insultForm__button--publish {
  transform: rotate(360deg);
  opacity: 1;
}
.insultForm__addForm--active ~ .insultForm__nameButtonsContainer {
  padding: 20px 0;
  max-height: 80px;
  pointer-events: all;
  opacity: 1;
}
.insultForm__nameButtonsContainer {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  max-height: 50px;
  transition: 150ms ease-out;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.insultForm__input {
  padding: 0;
  width: 0;
  opacity: 0;
  transition: 400ms ease-out;
  border: 1px solid #fff;
  border-right-color: rgb(255, 255, 255);
  border-right-style: solid;
  border-right-width: 1px;
  border-right: 1px solid #b0b0b0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  font-size: 17px;
  outline: none;
}
.insultForm__buttons {
  width: 52px;
  height: 52px;
  position: relative;
}
.insultForm__button {
  background-color: #385e80;
  color: #fff;
  padding: 8px;
  border-radius: 5px;
  line-height: 0;
  margin-left: 0px;
  cursor: pointer;
  transition: 400ms ease-out;
  position: absolute;
  top: 0;
  right: 0;
}
.insultForm__button span {
  font-size: 36px;
}
.insultForm__button--publish {
  opacity: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.insultForm__nameButton {
  padding: 8px 10px;
  background-color: #385e80;
  cursor: pointer;
  color: #fff;
  font-weight: 100;
  border-radius: 7px;
}

.header {
  display: flex;
  background-color: #385e80;
  color: #fff;
  align-items: center;
  height: 122px;
}
.header__logo {
  flex-grow: 0;
  height: 100%;
  padding: 20px;
  position: relative;
  background-color: #5084c8;
  display: flex;
  align-items: center;
}
.header__icon {
  background-image: url("/img/logo.png");
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(10);
}
.header__title {
  flex-grow: 1;
  text-align: center;
  margin: 0 10px;
}
@media (max-width: 800px) {
  .header__title {
    font-size: 19px;
  }
}
.header__login {
  flex-grow: 0;
  display: none;
  padding: 40px 10px;
}
.header #logout {
  padding: 40px 10px;
}
.header__logincontainer {
  cursor: pointer;
  text-align: center;
  background-color: #5084c8;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 100%;
}
@media (max-width: 800px) {
  .header__logincontainer {
    font-size: 13px;
  }
}

.background {
  position: fixed;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-image: url("/img/bg.jpg");
  background-position: center;
  background-size: cover;
  filter: blur(8px) brightness(0.2);
  z-index: -1;
}

body {
  box-sizing: border-box;
  font-family: "Roboto Slab", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

main {
  max-width: 500px;
  width: calc(100% - 40px);
  margin: 0 auto;
  margin-top: 100px;
  min-height: calc(100vh - 285px);
}

#username {
  display: block;
}

.insult {
  padding: 20px;
  border-radius: 5px;
  background-color: #fff;
  margin: 0 auto;
  max-width: 500px;
  width: 100%;
  margin-bottom: 20px;
  font-size: 22px;
  border: 5px solid #385e80;
  position: relative;
}
.insult__quote {
  background-image: url("/img/quotes.png");
  width: 80px;
  height: 36px;
  background-size: contain;
  margin-bottom: 10px;
  background-repeat: no-repeat;
}
.insult__date {
  position: absolute;
  top: 20px;
  width: 100%;
  left: 0;
  padding: 0 20px;
  text-align: right;
  font-size: 16px;
  color: #333;
}

.name {
  font-weight: bold;
  color: #385e80;
}

.addForm {
  display: none;
  transition: 150ms ease-out;
  flex-grow: 1;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.insultRanking {
  background-color: #fff;
  border: 1px solid #fff;
}
.insultRanking > div {
  position: relative;
  display: flex;
}
.insultRanking__bar {
  flex-grow: 1;
  z-index: 0;
}
.insultRanking__barInner {
  width: 0%;
  transition: width 200ms ease-out;
  height: 100%;
  background-color: #5084c8;
  border-bottom: 1px solid #fff;
}
.insultRanking__name {
  flex-grow: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 2px 5px;
  width: 120px;
  background-color: #385e80;
  border-right: 1px solid #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.insultRanking__percentage {
  font-size: 13px;
}

.footer {
  width: calc(100% - 20px);
  background-color: #fff;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  margin: 10px;
}
.footer__entry {
  color: #385e80;
  margin: 0 5px;
}

/*# sourceMappingURL=main.css.map */
