:root {
  --primaryFont: "Inter", sans-serif;
  --headingFont: "Inter", sans-serif;
}

::selection {
  color: #fff;
  background: var(--primary);
}

*:focus {
  outline: 1px var(--primary);
}

*:focus-visible {
  outline: 1px var(--primary) !important;
}

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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: --primaryFont;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

img {
  display: block;
  max-width: 100%;
  image-rendering: -webkit-optimize-contrast;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--headingFont);
  overflow-wrap: break-word;
  hyphens: auto;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 {
  font-size: 4rem;
}

strong {
  font-weight: 700;
}

a {
  transition: 0.4s all;
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: none;
}

ul {
  padding: 0;
  list-style-type: none;
}

section,
header {
  position: relative;
  z-index: 0;
}

section {
  padding: 3.75rem 0;
}

h1 {
  font-size: 4rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}

.pre-line {
  font-size: 1.4rem;
}

.countdown {
  width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
}

.countdown > div {
  background: rgba(255, 255, 255, 0.2);
  text-align: center;
  border-radius: 0.5rem;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.kamil {
  position: absolute;
  bottom: 0;
  right: 0;
  height: auto;
  width: 300px;
}

iframe {
  position: absolute;
  bottom: 0;
  right: 7rem;
}

.date-countdown-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.date-countdown-container h2 {
  background-color: #ddd;
  padding: 20px;
  border-radius: 10px;
  border: 5px solid #fff;
}

.date-countdown-container p {
  background-color: #ddd;
  padding: 2px;
  border-radius: 10px;
  border: 2px solid #fff;
}

@media (max-width: 998px) {
  .countdown {
    width: unset;
  }

  .countdown > div {
    padding: 2rem;
  }

  .countdown > div h2 {
    font-size: 2.5rem;
  }
}
@media (max-width: 576px) {
  body {
    height: 100%;
  }

  h1 {
    font-size: 2rem;
  }

  .countdown {
    grid-template-columns: 1fr;
  }

  .kamil {
    opacity: 0.5;
  }

  section {
    padding: 1.75rem 0;
    padding-bottom: 11rem;
  }

  iframe {
    right: 50%;
    transform: translateX(50%);
  }
}