#cookie {
  position: fixed;
  bottom: 50px;
  left: 20px;
  max-width: 366px;
  color: white;
  z-index: 999;
  -webkit-transition: all 0.25s linear;
  transition: all 0.25s linear;
}

#cookie .modal {
  padding: 40px;
  background-color: #1d1d1b;
}

#cookie .modal h2,
#cookie .modal p {
  font-family: 'praxisregular';
  font-weight: bold;
  font-size: 14px;
  line-height: 17px;
}

#cookie .modal p {
  font-weight: 550;
}

#cookie .modal a {
  color: #f39362;
  text-decoration: none;
}

#cookie .actions {
  margin-top: 25px;
}

#cookie .actions button {
  font-family: 'praxisregular';
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 17px;
  padding: 10px 24px;
  -webkit-transition: all 0.25s linear;
  transition: all 0.25s linear;
  cursor: pointer;
}

#cookie .actions button.decline {
  background-color: #1d1d1b;
  border: 1px solid white;
  border-radius: 4px;
  color: white;
  font-weight: 550;
}

#cookie .actions button.decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid white;
}

#cookie .actions button.accept {
  background-color: #f39362;
  border: 1px solid #f39362;
  border-radius: 4px;
  color: #1d1d1b;
  margin-left: 20px;
}

#cookie .actions button.accept:hover {
  background-color: #e6865d;
}

#cookie .icon {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f39362;
  cursor: pointer;
  -webkit-transition: all 0.26s linear;
  transition: all 0.26s linear;
}

#cookie .icon:hover {
  background-color: #e6865d;
}

#cookie.hidden .modal {
  -webkit-animation: hide 0.25s ease-in 0s forwards;
          animation: hide 0.25s ease-in 0s forwards;
}

#cookie.hidden .icon {
  -webkit-animation: 'show-icon' 0.25s ease-in 0.25s forwards;
          animation: 'show-icon' 0.25s ease-in 0.25s forwards;
}

#cookie.transition-end .modal {
  display: none;
}

/** RESPONSIVE STYLE **/
@media (max-width: 500px) {
  #cookie {
    left: unset;
    right: 0;
    bottom: 0;
    max-width: unset;
  }
  #cookie .icon {
    left: unset;
    right: 10px;
    bottom: 55px;
  }
}

@media (max-width: 365px) {
  #cookie .actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  #cookie .actions button {
    width: auto;
    display: inline-block;
    margin: 0 !important;
  }
  #cookie .actions button.decline {
    margin-top: 20px !important;
    border: none;
  }
}

/** ANIMATION KEYFRAMES **/
@-webkit-keyframes hide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes hide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes show-icon {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes show-icon {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}