@charset "utf-8";
* {
 margin: 0;
 padding: 0;
 font-family: 'Poppins', sans-serif;
}
body {
  background: rgb(129, 155, 190) url("bg.jpg");
  background-attachment: fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
}
@media screen and (min-width: 1025px) {
 .container {
  position: absolute;
  top: 80px;
  left: 100px;
  right: 100px;
  bottom: 80px;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 50px 50px rgba(0, 0, 0, 0.8),
   0 0 0 100px rgba(0, 0, 0, 0.3);
 }
 .container h2 {
  text-align: center;
  font-size: 10em;
  line-height: 0.7em;
  color: #ffffff;
  margin-top: -80px;
 }
 .container h2 span {
  display: block;
  font-weight: 300;
  letter-spacing: 6px;
  font-size: 0.2em;
 }
 .countdown {
  display: flex;
  margin-top: 50px;
 }
 .countdown div {
  position: relative;
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  background: #333;
  color: #fff;
  margin: 0 15px;
  font-size: 3em;
  font-weight: 500;
  border-radius: 10px 10px 0 0;
 }
 .countdown div:before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 35px;
  background: #b00000;
  color: #ffffff;
  font-size: 0.35em;
  line-height: 35px;
  font-weight: 300;
  border-radius: 0 0 10px 10px;
 }
 .countdown #day:before {
  content: '天';
 }
 .countdown #hour:before {
  content: '时';
 }
 .countdown #minute:before {
  content: '分';
 }
 .countdown #second:before {
  content: '秒';
 }
}

@media screen and (max-width: 1024px) {
  .container {
    position: absolute;
    top: 40px;
    left: 20px;
    right: 20px;
    bottom: 40px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.8),
      0 0 0 50px rgba(0, 0, 0, 0.3);
  }
  .container h2 {
    text-align: center;
    font-size: 5em;
    line-height: 0.7em;
    color: #ffffff;
    margin-top: -40px;
  }
  .container h2 span {
    display: block;
    font-weight: 300;
    letter-spacing: 3px;
    font-size: 0.4em;
  }
  .countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 25px;
  }
  .countdown div {
    position: relative;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: #333;
    color: #fff;
    margin: 10px 10px;
    margin-top: 30px;
    font-size: 2em;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
  }
  .countdown div:before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 25px;
    background: #b00000;
    color: #ffffff;
    font-size: 0.3em;
    line-height: 25px;
    font-weight: 300;
    border-radius: 0 0 8px 8px;
  }
  .countdown #day:before {
    content: '天';
  }
  .countdown #hour:before {
    content: '时';
  }
  .countdown #minute:before {
    content: '分';
  }
  .countdown #second:before {
    content: '秒';
  }
}
