@charset "utf-8";

:root {
  --width: 640px;
  --duration: .5s;
}

html, body {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ddd;
  background-image: radial-gradient(at 50% 30%, #f6f6f6 0%, #ddd 70%);
  background-repeat: no-repeat;
  background-size: 200%;
  background-position: center;
}

img {
  vertical-align: bottom;
}

input, button {
  line-height: 1;
}

/* helper */

.h-container {
  max-width: var(--width);
  padding: 1rem;
  box-sizing: border-box;
}

.h-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* layout */

.header {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #eee;
  border-bottom: solid 1px #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1) inset;
}

.header__title {
  font-size: 5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, .5);
  text-shadow: 1px 1px #fff;
}

.section {
  color: rgba(0, 0, 0, .35);
  text-shadow: 1px 1px #fff;
  line-height: 1.7;
}

.section+.section {
  margin-top: 1.5rem;
}

.section__title {
  font-weight: 600;
  font-size: 1.5rem;
}

.activity__status, .activity__info {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.activity__status--warning {
  color: orange;
}

.activity__status--success {
  color: green;
}

.activity__status--danger {
  color: red;
}

.form {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form__input {
  padding: .5rem;
  font-size: 1rem;
  background-color: transparent;
  border: solid 1px #ccc;
  color: #aaa;
}

.btn {
  font-size: 1rem;
  padding: .5rem 1rem;
  color: #fff;
  background-color: #a48f6e;
  border: 1px solid #a48f6e;
  border-radius: 4px;
  transition-duration: .3s;
}

.btn:hover:not([disabled]) {
  background-color: #000;
  border: 1px solid #000;
  cursor: pointer;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .5;
}


/* module */

.countdown {
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  background-image: linear-gradient(135deg, #4F9FEF, #825CED);
  border-radius: 5px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .3);
}

.countdown__item {
  color: #fff;
  text-align: center;
  position: relative;
}

.countdown__item + .countdown__item::before {
  content: ":";
  font-size: 3rem;
  position: absolute;
  left: -2.3rem;
  top: .7rem;
  text-shadow: 0 5px 5px rgba(0, 0, 0, .3);
}

.countdown__num {
  font-size: 5rem;
  text-shadow: 0 5px 10px rgba(0, 0, 0, .3);
}

.countdown__unit {
  text-transform: uppercase;
  display: block;
  font-size: .8rem;
  margin-top: 1rem;
}
