@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

* {
  margin: 0;
  box-sizing: border-box;
  transition: 0.1s linear;
}

:root {
  --bg-color: #FFFFFF;
  --white: #000000;
  --paragraph: #6e6d7a;
  --grey: #828282;
  --blue: var(--white);
  --red: #b91c09;
  --search-bar: #504cca;
}

/* Scroll Bar */
html::-webkit-scrollbar {
  width: 0.5rem;
}

html::-webkit-scrollbar-track {
  width: 2rem;
  background: transparent;
  /* background: black; */
}

html::-webkit-scrollbar-thumb {
  background: rgba(0, 58, 74, 0.7);
  border-radius: 50px;
  cursor: pointer;
}

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background: #efefef;
  font-size: 18px;
  font-family: "Outfit", sans-serif;
  color: var(--white);
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  font-weight: 400;
}

article {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
  background-color: var(--bg-color);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border: 1px solid var(--grey);
}

.logo {
  display: flex;
  margin: auto;
  width: 100px;
}

.title {
  font-size: 32px;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 2px;
}

.title::after {
  content: "|";
  animation: blink-caret 0.75s step-end infinite;
}

.sub-title {
  text-transform: uppercase;
  margin-bottom: 5px;
  font-size: 16px;
  color: var(--paragraph);
  font-weight: 500;
  letter-spacing: 5px;
}

.sub-text {
  font-size: 18px;
  color: var(--white);
  font-weight: 200;
  letter-spacing: 1px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.date>p {
  font-size: 40px;
  font-weight: 500;
}

.date>.label {
  font-weight: 500;
  font-size: 28px;
  font-weight: 400;
}

p.intro-text {
  font-size: 18px;
  color: var(--paragraph);
  font-weight: 200;
}

/* Blinking caret effect */
@keyframes blink-caret {

  from,
  to {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
}

footer > div.paragraph{
  text-align: left;
}
footer > div > p{
  font-size: 16px;
  color: var(--paragraph);
  font-weight: 300;
}

footer > div.social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
footer > div.social > a > i{
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}


/* Responsive Design */
@media (max-width: 768px) {
  article {
    padding: 1.5rem;
    gap: 0.75rem;
  }

  .title {
    font-size: 28px;
  }

  .sub-title {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .sub-text {
    font-size: 16px;
  }

  .countdown {
    gap: 1.5rem;
  }

  .date > p {
    font-size: 32px;
  }

  .date > .label {
    font-size: 24px;
  }

  footer > div > p {
    font-size: 14px;
  }

  footer > div.social > a > i {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  article {
    padding: 1rem;
    gap: 0.5rem;
  }

  .title {
    font-size: 24px;
  }

  .sub-title {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .sub-text {
    font-size: 14px;
  }

  .countdown {
    /* flex-direction: column; */
    gap: 1rem;
  }

  .date > p {
    font-size: 24px;
  }

  .date > .label {
    font-size: 18px;
  }

  p.intro-text {
    font-size: 16px;
  }

  footer {
    flex-direction: column;
    gap: 0.5rem;
  }

  footer > div > p {
    font-size: 12px;
    text-align: center;
  }

  footer > div.social > a > i {
    font-size: 20px;
  }
}