*{margin:0;padding:0;}
html {
height:100%;
width:100%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
div#overlay{
position:fixed;
opacity:0.5;
background: linear-gradient(224deg, #a18cd1, #fbc2eb, #fbc2eb, #a6c1ee, #f6d365, #fda085, #84fab0, #8fd3f4, #a6c0fe, #f68084, #fccb90, #d57eeb, #e0c3fc, #8ec5fc, #f093fb, #f5576c, #4facfe, #00f2fe, #43e97b, #38f9d7, #30cfd0, #330867, #667eea, #764ba2, #fddb92, #d1fdff, #00c6fb, #005bea, #b721ff, #21d4fd, #d558c8, #24d292, #09203f, #537895);
background-size: 6800% 6800%;
height:100%;
width:100%;
-webkit-animation: GardientOverlay 200 ease infinite;
-moz-animation: GardientOverlay 200 ease infinite;
-o-animation: GardientOverlay 200s ease infinite;
animation: GardientOverlay 200s ease infinite;
}
@-webkit-keyframes GardientOverlay {
0%{background-position:99% 0%}
50%{background-position:2% 100%}
100%{background-position:99% 0%}
}
@-moz-keyframes GardientOverlay {
0%{background-position:99% 0%}
50%{background-position:2% 100%}
100%{background-position:99% 0%}
}
@-o-keyframes GardientOverlay {
0%{background-position:99% 0%}
50%{background-position:2% 100%}
100%{background-position:99% 0%}
}
@keyframes GardientOverlay {
0%{background-position:99% 0%}
50%{background-position:2% 100%}
100%{background-position:99% 0%}
}
div#text{
font-size:calc(6vh + 6vw);
}
div#containerText{
padding:1vw;
opacity:0.7;
position:absolute;
top:0;
height:100vh;
background-color:white;
z-index:10;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align:center;
display:flex;
align-items: center; /* Vertical center alignment */
justify-content: center;
}
.text{
left:0;
width:100vw;
top:100vh;
position:absolute;
background-color:white;
padding:calc(1vh + 1vw);
box-sizing: border-box;
font-size:2vmax;
}
div#images{
height:100vh;
width:100vw;
}
div#images img{
width:inherit;
height:inherit;
}