.main-window {
position: fixed;
top: 0;
right: 0;
width: 100%;
height: 100%;
z-index: 999999;
background: white;
background: rgba(255, 255, 255, .5);
display: table;
animation-name: window-fade-out;
animation-delay: .5s;
animation-duration: 4s;
animation-iteration-count: 1;
animation-fill-mode: forwards;
}
.main-window-text {
position: absolute;
width: 300px;
height: 300px;
}
.main-window-textbox {
text-align: center;
position: relative;
top: 50%;
left: 50%;
margin: -150px 0 0 -150px;
}
@keyframes window-fade-out {
0% {
opacity: 1;
top: 0;
right: 0;
}
25% {
opacity: 0;
top: 0;
right: 0;
}
100% {
opacity: 0;
top: 999999999px;
right: 999999999px;
}
}