@font-face {
  font-family: Digital;
  src: url(../fonts/digital-7.regular.ttf);
}

body {
  margin: 0;
}

h1{
  font-size: 20px;
  font-family: sans-serif;
  padding-top: 20px;
}

#time {
  width: 90%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-left: 5%;
  margin-right: 5%;
}

#time img{
  width: 50%;
}

.text-center{
  text-align: center;
  
}

#out {
  font-family: "Digital";
  /* flex: 1; */
  font-size: 350px;
  text-align: justify;
  line-height: 400px;

}

#out span{
/*  min-width: 340px;*/
  display: inline-block;
/*  text-align: right;*/
  
}

#out span.secundes{
  min-width: 340px;
}

.menu {
  margin-top: 50px;
  font-family: "Open Sans", sans-serif;
}

.text{
  margin: 50px auto;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}

.fields {

}

.field{
  padding: 25px 15px;
  display: block;
  text-align: center;  
}

.field:nth-of-type(2n){
  background-color: #f6f6f6;
}

.field input{
  margin-top: 10px;
}

.field input[type="number"], .field input[type="text"]{
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid #ccc;
  margin-top: 10px;
}

.field input[type="checkbox"]{
  width: 20px;
  height: 20px;
}

.label {
  font-size: 20px;
  margin-top: 10px;
}

#save {
  width: 100px;
}

.pb50{
  padding-bottom: 50px;
}

input {
  outline: none;
}

input[type="number"]:invalid {
  border-color: red;
}

@media screen and (min-width: 1900px) {
  #out {
    font-size: 500px;
    line-height: 550px;
  }
  #out span.secundes{
    min-width: 475px;
  }
}
@media screen and (min-width: 480px) and (max-width: 850px) {
  .menu{
    margin-top: 0;
  }
  #out{
    font-size: 200px;
    line-height: 250px;
  }
  #out span.secundes{
    min-width: 190px;
  }
}
@media screen and (max-width: 480px) {
  .menu{
    margin-top: 0;
  }
  #out{
    font-size: 100px;
    line-height: 125px;
  }
  #out span.secundes{
    min-width: 100px;
  }
}
