* {
  box-sizing: border-box;
}

.content {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

#cookies_messages {
  position: fixed;
  bottom: 30px;
  z-index: 8;

  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;

  background-color: orange;
  border-radius: 150px;

  visibility: hidden;
}

button {
  /* remove default styles */
  padding: 0;
  background-color: transparent;
  border: none;

  /* cutsom styled */

  padding: 5px 20px;

  border: 1px solid #000;
  border-radius: 10px;

  transition: all 0.25s ease;

  cursor: pointer;
}

button:hover {
  background: rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
  cursor: pointer;
}

button:active {
  box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.125);
  transition: box-shadow 0.1s linear;
}

button:focus {
  outline: none;
}

#cookies_messages.show {
  visibility: visible;
  -webkit-animation: fadein_cm 0.5s;
  animation: fadein_cm 0.5s;
}

#cookies_messages.hide {
  visibility: hidden;
  -webkit-animation: fadeout_cm 0.5s;
  animation: fadeout_cm 0.5s;
}

@-webkit-keyframes fadein_cm {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}
@keyframes fadein_cm {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout_cm {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
@keyframes fadeout_cm {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
