@keyframes slideInFromTop { /* animácia padnutia odpočítavania */
  10% { /* priebeh 0 percent - DIV je posunutý o celu výšku dohora, takže akože nie je vidno */
    transform: translateY(0);
  }
 
  20% { /* DIV som dvihol ešte vyššie o 20 percent, lebo trocha mi stále z hora vyčnievalo */
    transform: translateY(-110%);
  }
  
  30% { /* až do 20 percent času animácie je DIV "neviditeľný" */
    transform: translateY(-100%);
  }
  
  80% { /* až do 80 percent času animácie je DIV "neviditeľný" */
    transform: translateY(-110%);
  }
  
  
  85% { /* 85 percent času animácie, DIV padne na 25 finálnej výšky */
    transform: translateY(-5%);
  }
  
  90% {  /* DIV sa vráti vyššie */
    transform: translateY(-30%);
  }
  
  100% { /* DIV padne na "nulu" finálna pozícia */
    transform: translateY(0);
  }
}

/* hlavicka */

#hlavicka{
	
        overflow:hidden;
        background-color: #00BF96;
        border-radius: 5px;
        border-radius: 0.5rem;
        animation-duration: 4s; /* the duration of the animation */
        animation-timing-function: ease-out; /* how the animation will behave */
        animation-delay: 0s; /* how long to delay the animation from starting */
        animation-iteration-count: 1; /* how many times the animation will play */
        animation-name: slideInFromTop; /* the name of the animation we defined above */
        }


#clockdiv{
	font-family: sans-serif;
	color: #fff;
	display: inline-block;
        float: left; 
	font-weight: 100;
	text-align: center;
	font-size: 10px;
        font-size: 1.0rem;
        /* display:none; /* na zaciatku je hlavicka skrytá, až potom ju po 5 sekundách zobrazí javascript */
}

#clockdiv > div{
	padding: 10px;
        padding: 1.0rem;
	border-radius: 3px;
        border-radius: 0.3rem;
	background: #00BF96;
	display: inline-block;
}

#clockdiv div > span{
	padding: 15px;
        padding: 1.5rem;
	border-radius: 3px;
        border-radius: 0.3rem;
	background: #00816A;
	display: inline-block;
}

.smalltext{
	padding-top: 5px;
        padding-top: 0.5rem;
	font-size: 12px;
        font-size: 1.2rem;
}


#meteo{
	font-family: sans-serif;
	color: #fff;
	display: inline-block;
        float: right; 
        font-weight: 100;
	text-align: center;
	font-size: 10px;
        font-size: 1.0rem;
        padding-right: 10px;
        padding-right: 1.0rem;
}

#meteo > div{
	padding-top: 10px;
        padding-top: 1.0rem;
	padding-bottom: 10px;
        padding-bottom: 1.0rem;
        padding-left: 2px;
        padding-left: 0.2rem;
        padding-right: 2px;
        padding-right: 0.2rem;
	border-radius: 3px;
        border-radius: 0.3rem;
	background: #00BF96;
	display: inline-block;
}

#meteo div > span{
	padding-top: 15px;
        padding-top: 1.5rem;
	padding-bottom: 15px;
        padding-bottom: 1.5rem;
        padding-left: 2px;
        padding-left: 0.2rem;
        padding-right: 2px;
        padding-right: 0.2rem;
        border-radius: 3px;
        border-radius: 0.3rem;
	background: #00816A;
	display: inline-block;
        
        color: black;
}


#zostavajuci{
	font-family: sans-serif;
        
	color: #fff;
	display: inline-block;
        float: left;
        max-width:100px;
        max-width:10.0rem;
        font-weight: 100;
	text-align: left;
	font-size: 12px;
        font-size: 1.2rem;
        padding-top: 35px;
        padding-top: 3.5rem; 
}

/* koniec hlavicka */

/* telo html */

html { font-size: 62.5%; } /* dolezite nastavit na 62.5 % aby 1 rem sa rovnal 10 px a lahko sa to prepocitavalo */
    
form {
    border: 3px solid #f1f1f1;
}

/* načítanie background image podľa rozlíšenia prehliadača */
@media (max-width: 900px) {
  body  { background-image: url("background-flower-640x1136.jpg");
        background-color: #cccccc;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        
        background-size: auto;
        background-position: center top;
        background-repeat: no-repeat;
        background-blend-mode: darken;
      }
}
@media (min-width: 901px) and (max-width: 1200px) {
  body  { background-image: url("background-flower-1280x1024.jpg");
        background-color: #cccccc;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;   
        background-blend-mode: darken;
      }
}
@media (min-width: 1201px) and (max-width: 1500px) {
  body  { background-image: url("background-flower-1600x1200.jpg");
        background-color: #cccccc;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        
        background-size: auto;
        background-position: center top;
        background-repeat: no-repeat;
        background-blend-mode: darken;
      }
}
@media (min-width: 1501px) and (max-width: 1800px) {
  body  { background-image: url("background-flower-1920x1440.jpg");
        background-color: #cccccc;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        
        background-size: auto;
        background-position: center top;
        background-repeat: no-repeat;
        background-blend-mode: darken;
      }
}
@media (min-width: 1801px) {
  body  { background-image: url("background-flower-2048x1536.jpg");
        background-color: #cccccc;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        
        background-size: auto;
        background-position: center top;
        background-repeat: no-repeat;
        background-blend-mode: darken;
      }
}


/* koniec načítanie background image podľa rozlíšenia prehliadača */

input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.8;
}

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
    display: inline;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

#obal { 
        width:60%; 
        margin-left:auto; 
        margin-right:auto; 
        border: 0px solid #ccc; 
        border-radius: 5px; 
        border-radius: 0.5rem;
     }

    
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
       display: block;
       float: none;
    }
    .cancelbtn {
       width: 100%;
    }
}


