@import url('https://fonts.googleapis.com/css?family=Merriweather|Roboto+Slab&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #10101E;
}

.datetime {
  color: #fff;
  background: #10101E;
  font-family: "Segoe UI", sans-serif;
  width: auto;
  padding: 15px 10px;
  border: 3px solid #2E94E3;
  border-radius: 5px;
  transition: 0.5s;
  transition-property: background, box-shadow;
}

.datetime:hover {
  background: #2E94E3;
  box-shadow: 0 0 30px #2E94E3;
}

.datetime::before {
  position: absolute;
}

.date {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 3px;
}

.time {
  font-size: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.time span:not(:last-child) {
  position: relative;
  margin: 0 6px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 3px;
}

.time span:last-child {
  background: #2E94E3;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 10px;
  padding: 0 5px;
  border-radius: 3px;
}

h2 {
  color: #fff;
  font-family: "Segoe UI", sans-serif;
}

/* Add style to social media footer */
#socials-footer {
  position: absolute;
  bottom: 40px;
  min-width: 310px;
  width: 40%;
  display: flex;
  justify-content: space-evenly;
  font-size: 2rem;
  font-family: 'Roboto Slab', sans-serif;
}

/* Add style to social media links */
#socials-footer a {
  color: #2e94e3;
  transition: color .3s ease-in-out;
}

/* Add hover style to social media links */
#socials-footer a:hover {
  color: #ffffff;
}

/* Add copyright section style */
section.copyright {
  position: absolute;
  bottom: 150px;
  display: block;
  width: auto;
  position: absolute;
  min-width: 310px;
}

.coming {
  word-wrap: break-word;
  font-size: xx-large;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  text-align: center;
  position: sticky;
  bottom: 750px;
  display: block;
  width: auto;
  position: absolute;
  min-width: 310px;
}

/* Responsiveness */
* {
  transition: .3s all;
}

section.copyright {
  text-align: center;
}

#too-small-bruh {
  display: none;
}

#too-small-bruh p {
  color: #fff;
  text-align: center;
}

@media screen and (max-width: 300px),
screen and (max-height: 325px) {

  section,
  footer {
    display: none !important;
  }

  #too-small-bruh {
    display: block;
  }
}

@media screen and (max-height: 530px) {
  section.copyright {
    display: none !important;
  }
}

@media screen and (max-width: 312px) {
  section.copyright h2 {
    font-size: 12px !important;
  }

  section.clock {
    width: 80% !important;
  }

  .date {
    font-size: 12px !important;
  }

  .time {
    font-size: 20px !important;
  }

  .time span:last-child {
    font-size: 20px;
  }

  #socials-footer {
    min-width: 250px !important;
  }
}

@media screen and (max-width: 350px) {
  section.copyright {
    bottom: 20%;
  }

  section.copyright h2 {
    font-size: 17px;
  }

  section.clock {
    width: 80%;
  }

  .date {
    font-size: 18px;
  }

  .time {
    font-size: 33px;
  }
}

@media screen and (max-width: 500px) {
  section.copyright h2 {
    font-size: 17px;
  }

  section.clock {
    width: 80%;
  }
}

@media screen and (max-width: 600px) {
  section.copyright h2 {
    font-size: 17px;
  }

  .date {
    font-size: 25px;
  }

  .time {
    font-size: 33px;
  }

  section.clock {
    width: 100%;
  }
}