*, *::after, *::before {
    box-sizing: border-box;
    font-family: Gotham Rounded, sans-serif;
  }
  
  body {
    background: linear-gradient(to right, hsl(66, 100%, 65%), hsl(241, 83%, 76%));
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
  }
  
  .clock {
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 50%;
    border: 5px solid black;
    position: relative;
	margin-top: 0%;
  }
  
  .clock .number {
    --rotation: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    transform: rotate(var(--rotation));
    font-size: 1.5rem;
  }
  
  .clock .number1 { --rotation: 36deg; }
  .clock .number2 { --rotation: 72deg; }
  .clock .number3 { --rotation: 108deg; }
  .clock .number4 { --rotation: 144deg; }
  .clock .number5 { --rotation: 180deg; }
  .clock .number6 { --rotation: 216deg; }
  .clock .number7 { --rotation: 252deg; }
  .clock .number8 { --rotation: 288deg; }
  .clock .number9 { --rotation: 324deg; }
  .clock .number10 { --rotation: 360deg; }
  
  .clock .hand {
    --rotation: 0;
    position: absolute;
    bottom: 50%;
    left: 50%;
    border: 1px solid white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transform-origin: bottom;
    z-index: 10;
    transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
  }
  
  .clock::after {
    content: '';
    position: absolute;
    background-color: black;
    z-index: 11;
    width: 15px;
    height: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
  }
  
  .clock .hand.second {
    width: 3px;
    height: 45%;
    background-color: red;
  }
  
  .clock .hand.minute {
    width: 7px;
    height: 40%;
    background-color: black;
  }
  
  .clock .hand.hour {
    width: 12px;
    height: 28%;
    background-color: black;
  } 

  .tick {
    position: absolute;
    top: 0%;
    left: 10%;
    font-size: x-large;
  }

  .newtime {
    position: absolute;
    top: 0%;
    left: 10%;
    font-size: x-large;
  }

  .date {
	color: purple;
	position: absolute;
    bottom: 20%;
    left: 10%;
    word-wrap: break-word;
    word-break: break-all;
  }

  .secs {
	color: purple;
    height: 10%;
    left: 10%;
    position: absolute;
    bottom: 10%;
    word-wrap: break-word;
    word-break: break-all;
  }

  .reset {
    position: absolute;
    bottom: 5%;
    right: 5%;
    word-wrap: break-word;
    word-break: break-all;
  }

  .returnhome {
    position: absolute;
    bottom: 80%;
    right: 5%;
    word-wrap: break-word;
    word-break: break-all;
  }


  @media screen and (max-width: 800px) {
    .clock {
      width: 35vw;
      height: 35vw;   
    }
  }

  @media screen and (max-width: 500px) {
    .clock {
      width: 45vw;
      height: 45vw;   
    }
  }
