@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");

* {
    box-sizing: border-box;
}

body {
  animation: change 40s infinite ease-in-out;
  background-size: cover;
  background-position: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    margin: 0;
}

@media screen and (min-width: 960px)
{
    h1 {
        font-weight: normal;
        font-size: 4rem;
        margin-top: 5rem;
    }

    .big-text {
        font-weight: bold;
        font-size: 6rem;
        line-height: 1;
        margin: 1rem 2rem;
    }

    .countdown-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}


@media screen and (max-width: 960px)
{
    body {
        align-items: center;
        display: flex;
        justify-content: center;
    }
    h1 {
        align-items: center;
        display: flex;
        justify-content: center;
        font-size: 2.5rem;
        margin: 0 0 5rem 0;
        margin-top: -4rem;
    }

    .big-text {
        font-weight: bold;
        font-size: 5rem;
        line-height: 1;
        margin: 1rem 2rem;
    }

    .countdown-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: -3rem;
    }
}

.name{
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: left;
    color: gray;
}

.countdown-el {
    text-align: center;
}

.countdown-el span {
    font-size: 1.3rem;
}

@keyframes change{
  0%
  {
      background-image: url(images/img1.jpg);
  }
  20%
  {
      background-image: url(images/img2.jpg);
  }
  40%
  {
      background-image: url(images/img3.jpg);
  }
  60%
  {
      background-image: url(images/img4.jpg);
  }
  80%
  {
      background-image: url(images/img5.jpg);
  }
  100%
  {
      background-image: url(images/img1.jpg);
  }
}