/*
  Tutorial: Traversy Media
  https://www.youtube.com/watch?v=NNpwqrvPyyU&t=1533s
*/

* {
 box-sizing: border-box;
}

html, body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background: #333;
  overflow: hidden;
}

.landing {
  position: relative;
  background-image: url("img/back-yoi.png");
  background-size:cover;
  background-position: center;
  height:100vh;
}

.landing-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  text-align:center;
  padding-top: 50px;
}

.landing h1 {
  font-size: 90px;
}

.landing p {
  font-size: 25px;
	color: #edff00;
}

.countdown {
  font-size: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.countdown div {
  padding: 20px;
  border: 1px solid #fff;
  border-radius: 10px;
  margin: 5px;
  opacity: 0.7;
  background: #000;
}

.countdown div:first-child {
  background: #17a2b8;  
}

.countdown span {
  display: block;
  font-size: 25px;
}

@media(max-width:650px){
  .landing img {
    width: 70%;
  }
  
  .landing h1 {
    font-size: 90px;
	  color: #edff00
  }
  
  .countdown {
    font-size: 30px;
    flex-direction: column;
  }
  
  .countdown div {
    display:none;
  }
  
  .countdown div:first-child {
    display: block;
    width: 80%;
    padding: 10px;
  }
}

@media(max-height:600px) {
  img {
    width: 20%;
  }
  
  p {
    display: none;
  }
}

@media(max-height: 400px){
  img {
    padding-bottom: 30px;  
  }
  
  h1 {
    display: none;
  }
}