@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
/* meridian color #C7E8F3 */
* {
  margin: 0;
  border: border-box;
  background-color: #41393e;
  color: #eda2c0;
  font-family: "Poppins", sans-serif;
  user-select: none;
}

.clock {
  background-color: #8e4162;
  width: 50vw;
  height: 50vh;
  margin-left: 26%;
  margin-top: 10%;
  border: 2px solid;
  border-color: #ef4ba5;
  display: flex;
  flex-direction: column;
  transition: 500ms;
  border-radius: 30px;
}

.time {
  background-color: #8e4162;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  border-radius: 30px;
}

.timestring {
  background-color: #8e4162;
  letter-spacing: 10px;
  font-weight: bolder;
  font-size: 10rem;
}

.time span {
  background-color: #41393e;
  border-radius: 20px;
  font-size: 5rem;
}

.date {
  text-align: center;
  font-size: larger;
  font-weight: bold;
}

.clock:hover {
  transform: translateY(-1%);
  box-shadow: 0 0 30px #ef4ba5;
}

@media screen and (max-width: 768px) {
  .clock {
    background-color: #8e4162;
    width: 93vw;
    height: 46vh;
    margin-left: 3%;
    margin-top: 43%;
    border: 2px solid;
    border-color: #ef4ba5;
    display: flex;
    flex-direction: column;
    transition: 500ms;
    border-radius: 30px;
  }
  .timestring {
    background-color: #8e4162;
    letter-spacing: 10px;
    font-weight: bolder;
    font-size: 5rem;
  }
  .time {
    background-color: #8e4162;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 69px;
    border-radius: 30px;
  }
  .time span {
    background-color: #41393e;
    border-radius: 20px;
    font-size: 5rem;
  }
  .date {
    text-align: center;
    font-size: larger;
    font-weight: bold;
    margin-top: 30px;
  }
}

@media screen and (max-width: 425px) {
  .clock {
    background-color: #8e4162;
    width: 93vw;
    height: 46vh;
    margin-left: 3%;
    margin-top: 49%;
    border: 2px solid;
    border-color: #ef4ba5;
    display: flex;
    flex-direction: column;
    transition: 500ms;
    border-radius: 30px;
  }
  .timestring {
    background-color: #8e4162;
    letter-spacing: 10px;
    font-weight: bolder;
    font-size: 4rem;
  }
  .time {
    background-color: #8e4162;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 69px;
    border-radius: 30px;
  }
  .time span {
    background-color: #41393e;
    border-radius: 20px;
    font-size: 4rem;
  }
  .date {
    text-align: center;
    font-size: larger;
    font-weight: bold;
    margin-top: 30px;
  }
}

@media screen and (max-width: 375px) {
  .clock {
    background-color: #8e4162;
    width: 93vw;
    height: 46vh;
    margin-left: 2%;
    margin-top: 54%;
    border: 2px solid;
    border-color: #ef4ba5;
    display: flex;
    flex-direction: column;
    transition: 500ms;
    border-radius: 30px;
  }
  .timestring {
    background-color: #8e4162;
    letter-spacing: 10px;
    font-weight: bolder;
    font-size: 4rem;
  }
  .time {
    background-color: #8e4162;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 69px;
    border-radius: 30px;
  }
  .time span {
    background-color: #41393e;
    border-radius: 20px;
    font-size: 4rem;
  }
  .date {
    text-align: center;
    font-size: larger;
    font-weight: bold;
    margin-top: 30px;
  }
}
