body{
    font-family: sans-serif;
    background-color: gray;
}

header{
    transition: 100ms;
    animation-name: menoHatter;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}


footer{
    padding: 10px;
    background: conic-gradient(at 0% 30%, red 10%, yellow 30%, dodgerblue 50%);
}

main, header, footer{
    background-color: rgb(241,241,241);
    width: 95%;
    border: 0.5vw solid darkgray;
    text-align: center;
    margin: 10px auto;
}

section{
    float: left;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 0;
    width: 30%;
    margin-left: 2%;
    margin-right: 1%;
}

section>img{
    width: 100%;
    /*border: 2px solid purple;*/
    outline: 5px solid purple;
    transition: all 2s ease;
    cursor:grab;
}
section>img:not(:active){
    width: 100%;
    /*border: 2px solid purple;*/
    outline: 5px solid purple;
    animation-name: kep;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
   
}

section:first-child{
    background-color: aqua;
}

section:nth-child(2){
    background-color: blueviolet;
    color: white;
}

section:last-child{
    background-color: magenta;
}

@keyframes kep{
    0%{
        outline: 5px solid purple;
        transform: none;
    }
    90%{
        transform: rotate(900deg);
    } 
    100%{
        outline: 5px solid blue;
        transform: scale(0);
        transform: translateX(1500px);
        translate: 5000px;
    }
}

.pulse {
    animation-name: pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;

}

@keyframes pulse {
   0%{
    background-color: green;
    color: red;
   } 
   50%{
    background-color: white;
    color: black;
   }
   100%{
    transform: scale(3);
    background-color: red;
    color: green;
    box-shadow: 0px 0px 4px black;
    font-weight: 400;
   }
}

 @keyframes menoHatter {
    0%{
       background: linear-gradient(to bottom, red, white, green);  
    }
    33%{
        background: linear-gradient(to left, red, white, green);
    }
    66%{
    	background: linear-gradient(to top, red, white, green);
    }
    100%{
        background: linear-gradient(to right, red, white, green);
    } 
 }

.pattogBdy {
    animation-name: pattogBdy;
    animation-duration: 2000ms;
    animation-iteration-count: 1;
    animation-direction: alternate;

}

.pattog {
    animation-name: pattog;
    animation-duration: 200ms;
    animation-iteration-count: infinite;
    animation-direction: alternate;

}

.porgodiv{
	display:none;
}

.porgodivketto{
	z-index: 900;

	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	margin-top: auto;
	margin-bottom: auto;
	margin-left:auto;
	margin-right: auto;

	height:800px;
	width: 800px;
}

@keyframes porog{
0%{
	transform: rotate(0deg);
}
100%{
	transform: rotate(360deg);
}
}


.pattog:hover {
    animation-name: pulse;
    animation-duration: 500ms;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    cursor: pointer;
}

footer img{
    height: 40px;
}

@keyframes pattog {
    0%{

    }
    100%{
        transform: translateY(30px);
    }
}

@keyframes pattogBdy {
    0%{
    }
    100%{
	transform: rotate(1440deg)
    }
}



main{
    overflow: hidden;
    box-shadow: 5px 5px 20px red;
    background-color: pink;
}

progress{
    width: 400px;
    height: 20px;
    background-color: white;
    border: 0;
    color: black;
    border-radius: 5px;
    margin-top: 5px;
}


@keyframes l8 {
    100% {background-size:100% 115%}
}

#footerdiv div{
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin-bottom: 10px;
}

#footerdiv{
    margin-left: auto;
    margin-right: auto;
    display: none;
    justify-content: space-evenly;    
}

#harkaliAlert, #hobagoloAlert, #szarkaAlert{
    display: none;
    height: 200px;
    width: 100%;
}