@charset "utf-8";
/*    JavaScript 7th Edition
      Chapter 7
      Hands-on Project 7-3

      Filename: styles.css
*/

html {
   background-color: #f1f1f1;
   font-family: Arial, sans-serif;
}

body {
   width: 100%;
   max-width: 600px;
   margin: 0 auto;
   background-color: white;
   box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
   min-height: 100vh;
}

header {
   background-color: #333;
   color: white;
   padding: 10px 20px;
   text-align: center;
}

section {
   padding: 40px 20px;
   text-align: center;
}

#currentTime {
   font-size: 1.2rem;
   color: #666;
   margin-bottom: 30px;
}

h1 {
   font-size: 2rem;
   margin: 20px 0;
}

/* Clock Container Styling */
#clock {
   display: flex;
   justify-content: center;
   gap: 15px;
   margin: 40px auto;
}

/* Individual Countdown Box Styling */
.box {
   background-color: #222;
   color: #fff;
   border-radius: 8px;
   padding: 15px;
   min-width: 80px;
   display: flex;
   flex-direction: column;
   align-items: center;
   box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.box span {
   font-size: 2.5rem;
   font-weight: bold;
   display: block;
   margin-bottom: 5px;
}

.box label {
   font-size: 0.8rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: #aaa;
}