File size: 1,482 Bytes
4e2d97e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359f2a2
4e2d97e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: url('https://raw.githubusercontent.com/Bolaolat/Giveaway-/main/_1.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

.overlay {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    max-width: 500px;
    width: 90%;
    margin: auto;
    margin-top: 10vh;
}

.loader {
    width: 100px;
    height: 40px;
    --g: radial-gradient(farthest-side,#0000 calc(95% - 3px),#fff calc(100% - 3px) 98%,#0000 101%) no-repeat;
    background: var(--g), var(--g), var(--g);
    background-size: 30px 30px;
    animation: l9 0.5s infinite alternate;
    position: absolute; /* Position the loader over the overlay */
    top: 50%; /* Center it vertically */
    left: 50%; /* Center it horizontally */
    transform: translate(-50%, -50%); /* Offset the position */
}

@keyframes l9 {
    0% { background-position: 0 50%, 50% 50%, 100% 50%; }
    20% { background-position: 0 0, 50% 50%, 100% 50%; }
    40% { background-position: 0 100%, 50% 0, 100% 50%; }
    60% { background-position: 0 50%, 50% 100%, 100% 0; }
    80% { background-position: 0 50%, 50% 50%, 100% 100%; }
    100% { background-position: 0 50%, 50% 50%, 100% 50%; }
}

@media (max-width: 640px) {
    .overlay {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}