/******************************************
/* CSS
/*******************************************/

/* Box Model Hack */
*{
  box-sizing: border-box;
}

/******************************************
/* LAYOUT
/*******************************************/
    html {
      background: #018DED url(../images/analogClock/background.jpg);
      background-size: cover;
      text-align: center;
      font-size: 10px;
    }

    body {
      margin: 0;
      font-size: 20rem;
      display: flex;
      flex: 1;
      min-height: 100vh;
      align-items: center;
    }

    .clock {
      width: 75rem;
      height: 75rem;
      border: 40px solid #a8dadc;
      border-radius: 50%;
      margin: 50px auto;
      position: relative;
      padding: 2rem;
      box-shadow:
        0 0 0 4px rgba(0,0,0,0.1),
        inset 0 0 0 3px #EFEFEF,
        inset 0 0 10px black,
        0 0 10px rgba(0,0,0,0.2);
    }

    .clock-face {
      position: relative;
      width: 100%;
      height: 100%;
      transform: translateY(-3px); /* account for the height of the clock hands */
    }

    .hand {
        border-radius: 30%;
        width: 50%;
        height: 10px;
        background: #1d3557;
        position: absolute;
        top: 50%;
        transform-origin: 100%;
        transform: rotate(90deg);
        transition: all 0.05s;
        transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
    }
    .second-hand {
        background: #e63946;
        height: 2px;
    }
    .hour-hand {
        width: 250px;
        height: 15px;
        left: 65px;
    }
    .middle {
        background: #a8dadc;
        height: 50px;
        border-radius: 50%;
        width: 50px;
        left: 263px;
    }


/******************************************
/* ADDITIONAL STYLES
/*******************************************/
