@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Handlee&family=Outfit:wght@100..900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Syne:wght@400..800&display=swap');

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

body {
  min-height: 100vh;
  background: #000;
}

.background {
  position: absolute;
  inset: 0;
  background: url(wallpaper.png);
  width: 100%;
  max-width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(33px);
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.main-container {
  background: #ffffffcb;
  padding: 1.12rem;
  border-radius: 99px;
  width: 100%;
  max-width: 600px;
}

.form-search {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.search-ipt {
  flex: 1;
  min-height: 35px;
  border: 1.5px solid transparent;
  padding-left: 1.05rem;
  border-radius: 12px;
  outline: none;
  transition: 105ms ease;
  font-size: 1.05rem;
}

.search-ipt:focus {
  border: 1.5px solid #5c37c0;
}

.btn {
  font-size: 1.12rem;
  cursor: pointer;
  background: #5c37c0;
  color: #fff;
  border-radius: 18px;
  border: none;
  min-height: 35px;
  padding: .45rem;
  box-shadow: 3px 2px 4px rgba(0, 0, 0, 0.15);
  transition: 100ms ease;
}

.btn:hover {
  transform: translateY(1px);
}

.btn:active {
  transform: scale(.97);
}

.search-ipt, .btn {
  font-family: "Syne", sans-serif;
}

.clock-container {
  position: fixed;
  top: 0;
  background: #ffffffa4;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  padding-top: 1rem;
  padding-bottom: .5rem;
  border-end-end-radius: 8px;
  border-end-start-radius: 8px;
  text-align: center;
  min-width: 120px;
}

#time {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  color: #5c37c0;
  font-weight: 900;
}

.jokes-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: absolute;
  bottom: 0;
  margin: 1.5rem;
  padding: 1.1rem;
  padding-bottom: 1.25rem;
  background: #ffffffa4;
  border-radius: 18px;
  max-width: 550px;
}

.title {
  color: #5c37c0;
  font-size: 1.2rem;
}

#jokeMessage, .title {
  font-family: "Syne", sans-serif;
  font-weight: 600;
}

.joke-btn {
  cursor: pointer;
  font-family: "Syne", sans-serif;
  position: absolute;
  bottom: -7px;
  width: 80px;
  height: 25px;
  font-size: 1.1rem;
  border-radius: 100px;
  border: 2px solid #5c37c0;
}