/*
  Базовые настройки
*/

html {
  box-sizing: border-box;
}

html,
body,
main,
section,
h1,
h2,
p,
ul,
li,
span,
strong {
  box-sizing: inherit;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  
}



body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 100vh;
  padding: 32px 16px;

  overflow-x: hidden;

  background-color: #b1cbbb;
  color: #000;
  font-family: Verdana, Arial, sans-serif;
  text-align: center;
}


/*
  Основной контент
*/

.page-content {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 900px;

  margin: 0 auto 32px;

  text-align: center;
}

.page-content h1,
.page-content p {
  margin-left: auto;
  margin-right: auto;
}


/*
  Таймер
*/

.timer-container {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 420px;

  margin: 0 auto;

  text-align: center;
}

.timer-container h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.timer {
  display: inline-block;

  width: 260px;
  max-width: 100%;

  margin: 0;
  padding: 0;

  border: 1px solid #999;

  list-style: none;
  text-align: left;
}

.timer li {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding: 5px 8px;
  border-bottom: 1px solid #ccc;

  font-size: 14px;
}

.timer li:last-child {
  border-bottom: 0;
}

.timer li[hidden] {
  display: none;
}


/*
  Мобильные устройства
*/

@media (max-width: 480px) {
  body {
    padding: 24px 12px;
  }

  .page-content {
    margin-bottom: 24px;
  }

  .timer {
    width: 100%;
  }
}
