body {
  font-family: sans-serif;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.wrapper {
  position: relative;
}

.watch-container {
  position: relative;
  background-color: #000000;
  border-radius: 20px;
  width: 360px;
  height: 400px;
  padding: 10px 20px 20px;
  box-sizing: border-box;
  z-index: 1;
}

.watch-container::before,
.watch-container::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 20px;
}

    /* Inner border */
.watch-container::before {
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 8px solid #ffffff;
  border-radius: 28px; 
}

    /* Outer border */
.watch-container::after {
  top: -16px;
  left: -16px;
  right: -16px;
  bottom: -16px;
  border: 8px solid #000000;
  border-radius: 36px;
}

.watch-header {
  text-align: center;
  font-weight: bold;
  font-size: 2.2rem;
  color: #ffffff;
}

.field {
  margin: 25px 0;
  font-size: 1.5rem;
  color: #ffffff;
}

.edit-mode {
  position: absolute;
  bottom: 15px;
  right: 25px;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.5rem;
  text-align: right;
}

.btn {
  position: absolute;
  background: #000000;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.25rem;
  cursor: pointer;
  height: 140px;
  width: 30px;
  transition: background 0.12s ease;
}
    
.btn:active {
  background: #222222;
}
    
#btnA, #btnC {
  clip-path: polygon(100% 0, 100% 100%, 0 80%, 0 20%);
}

#btnB, #btnD {
  clip-path: polygon(0 0, 0 100%, 100% 80%, 100% 20%);
}

#btnA { top: 40px; left: -10px; transform: translateX(-100%);}
#btnB { top: 40px; right: -10px; transform: translateX(100%);}
#btnC { bottom: 40px; left: -10px; transform: translateX(-100%);}
#btnD { bottom: 40px; right: -10px; transform: translateX(100%);}
#btnE {
  height: 40px;
  width: 160px;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
  border: 3px solid #ffffff;
}

/* flashing animation for selection */
@keyframes flash {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
     opacity: 0;
  }
}

.field-value.flash {
  animation: flash .7s steps(1, start) infinite;
}
    
.field-char.flash {
  animation: flash 0.7s steps(1, start) infinite;
}
    
.stats {
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  font-size: 1.5rem;
}
    
.timer {
  color: #ffffff;
  font-size: 4rem;
  text-align: center;
  margin: 30px 0px;
}
    
.color-box {
  display: inline-block;
  width: 21px;
  height: 27px;
  border-radius: 3px;
  margin-left: 3px;
  border: 1px solid #ffffff;
}
    
.card-header {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.7rem;
  margin-top: 10px;
}
    
.cards {
  color: #ffffff;
  font-size: 1.1rem;
  margin-top: 4px;
}
    
.summary {
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
    
#strapDiv {
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* watch strap segments */
.strap {
  position: absolute;
  background: #000000;
  width: 150px;
  height: 60px;
  top: 0;
  margin: auto;
  clip-path: polygon(0 0, 20% 0, 20% 33%, 80% 33%, 80% 0, 100% 0, 100% 66%, 78% 66%, 78% 100%, 22% 100%, 22% 66%, 0 66%);
}
