@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --color-light-50: #f8fafc;
  --color-dark-50: #797984;
  --color-dark-100: #312d37;
  --color-dark-900: #000;

  --color-purple-50: #7c3aed;
  --color-purple-100: #a855f7;
  --color-purple-200: #bf46bf;

  --color-yellow-50: #ffe53bd8;
  --color-red-50: #ff2525da;

  --color-gradient-1: linear-gradient(90deg, var(--color-purple-50), var(--color-purple-100), var(--color-purple-200));
  --color-gradient-2: linear-gradient(120deg, var(--color-yellow-50), var(--color-red-50));
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

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

.background {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.box-principal {
  width: 380px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.background .box-principal h1 {
  font-family: 'Press Start 2P', sans-serif;
  font-size: 20px;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.theme1 {
  /* background-image: url("https://source.unsplash.com/1920x1080/"); */
  background-image: url("https://raw.githubusercontent.com/elitonzr/countdown/main/img/Background-1.jpg");

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.theme2 {
  background-image: url("https://raw.githubusercontent.com/elitonzr/countdown/main/img/Background-2.jpg");

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.theme2 h1 {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgb(5, 5, 5, .9);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 7px;
}

.theme1 h1 {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgb(0, 0, 0, .9);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 7px;
}

.box-imagem img {
  max-height: 400px;
  max-width: 300px;

}

/* .box-imagem:hover {
  transform: scaleX(-1);
} */

.inverter img {
  transform: scaleX(-1);
  border-radius: 25px;
}

.timer {
  margin-top: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  width: 350px;
  border-radius: 10px;
  gap: 15px;
}

.div-countdown {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgb(5, 5, 5, .9);
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 7px;
}

.timer span {
  font-weight: 900;
  font-size: 32px;
}

.timer span.legenda {
  font-size: 8px;
}



@media screen and (max-width: 800px) {

  /* .timer {
    height: 88px;
    width: 350px;
  }

  .timer div {
    height: 80px;
    width: 70px;
    letter-spacing: 1.5px;
  }

  .timer span {
    font-size: 30px;
  }

  .timer span.countdown {
    font-size: 6px;
  } */


}