Spaces:
Running
Running
File size: 2,398 Bytes
cb7541e a13da7d cb7541e ddb0b8f cb7541e a13da7d cb7541e a13da7d cb7541e a13da7d cb7541e ddb0b8f cb7541e a13da7d cb7541e ddb0b8f cb7541e ddb0b8f cb7541e ddb0b8f cb7541e a13da7d ddb0b8f cb7541e ddb0b8f |
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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
:root {
--primary-color: #596e73;
--secondary-color: #3498db;
--text-color: white;
--spinner-border: #bebebe;
--font-family: 'Titillium Web', sans-serif;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.abs {
position: absolute;
}
a {
color: var(--text-color);
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: var(--secondary-color);
}
body {
background-color: var(--primary-color);
color: var(--text-color);
font-family: var(--font-family);
margin: 0;
overflow: hidden;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.container {
position: absolute;
width: 100%;
max-height: 100%;
}
.input_video {
display: none;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.input_video.selfie {
transform: scale(-1, 1);
}
.canvas-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
}
.output_canvas {
max-width: 100%;
display: block;
position: relative;
}
.logo {
bottom: 10px;
right: 20px;
position: absolute;
}
.logo .title {
font-size: 2rem;
color: var(--text-color);
}
.logo .subtitle {
font-size: 0.8rem;
color: var(--text-color);
position: relative;
left: -30px;
top: 20px;
}
.control-panel {
background-color: rgba(0, 0, 0, 0.7);
padding: 10px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
position: absolute;
left: 10px;
top: 10px;
}
.loading {
display: flex;
align-items: center;
justify-content: center;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 1;
transition: opacity 0.5s ease-in-out;
}
.loading .message {
font-size: 2rem;
font-weight: bold;
margin-top: 20px;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.loading .spinner {
width: 120px;
height: 120px;
animation: spin 1s ease-in-out infinite;
border: 32px solid var(--spinner-border);
border-top: 32px solid var(--secondary-color);
border-radius: 50%;
}
.loaded .loading {
opacity: 0;
}
.shoutout {
position: absolute;
left: 0;
right: 0;
bottom: 40px;
text-align: center;
font-size: 2rem;
color: var(--secondary-color);
}
@media (max-width: 768px) {
.output_canvas {
max-width: 100%;
height: auto;
}
.shoutout {
font-size: 1.5rem;
bottom: 20px;
}
} |