@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&family=Rakkas&display=swap");

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

html {
  font-size: 62.5%;
}

@keyframes waves {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 100%;
  }
}
/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body {
  min-height: 100vh;
  background-image: url("./images/ocean.jpg");
  animation: waves 30s infinite linear;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Bree Serif", serif;
}

.glass-effect {
  margin: 6.4rem 2rem;
  padding: 1.8rem 2.8rem;
  color: #eee;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  -webkit-backdrop-filter: blur(2rem);
  backdrop-filter: blur(2rem);
  box-shadow: 0 0.8rem 3.2rem 0 rgba(0, 0, 0, 0.37);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.clock {
  font-size: 4.8rem;
  letter-spacing: 0.8rem;
}

.day-and-date {
  margin-top: 0.4rem;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2rem;
}

.quote-container {
  text-align: center;
  max-width: 90rem;
  background-color: #eee;
  padding: 3rem 5rem 2rem;
  border-radius: 1rem;
  box-shadow: rgba(255, 255, 255, 0.36) 0px 20px 30px -10px;
}

.quote-text {
  font-family: "Rakkas", cursive;
  font-size: 3rem;
}

.quote-author {
  margin-top: 1.6rem;
  font-size: 1.8rem;
  font-style: italic;
}

.btn-container {
  margin-top: 1.6rem;
  display: flex;
  justify-content: space-between;
}

button {
  cursor: pointer;
  padding: 0.8rem 2.4rem;
  border: none;
  outline: none;
  border-radius: 1rem;
  background-color: #333;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
}

button:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
  transform: translateY(-0.8rem);
}

button:active {
  background-color: #000;
  transform: translateY(0rem);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

#twitter:hover {
  color: #1da1f2;
}

.loader {
  border: 16px solid #eee;
  border-radius: 50%;
  border-top: 16px solid #333;
  width: 128px;
  height: 128px;
  animation: spin 2s linear infinite;
  -webkit-animation: spin 2s linear infinite; /* Safari */
}

.footer {
/*   background: rgba(34, 34, 34, 0.65); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  z-index: 1;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 8.4rem;
  font-size: 1.6rem;
}

.social-icons {
  display: flex;
  gap: 1.6rem;
}

.social-icon {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  font-size: 2.4rem;
}

.fa-linkedin:hover {
  color: #0a66c2;
}

.fa-github:hover {
  color: #e8eaea;
}

.footer-text {
  margin-top: 1rem;
  
}

/* Media Query for Tablet and Mobile Screens */
@media screen and (max-width: 900px) {
  .quote-container {
    margin: 0 2.4rem auto;
    padding: 2rem 4rem 1.6rem;
  }

  .quote-text {
    font-size: 2.4rem;
  }

  .quote-author {
    font-size: 1.6rem;
  }
}

/* Media Query for only Mobile Screens */
@media screen and (max-width: 390px) {
  button {
    font-size: 1.6rem;
  }
}
