Spaces:
Running
Running
File size: 2,316 Bytes
f09d2b4 |
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 |
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.abs { position: absolute; }
a {
color: white;
text-decoration: none;
}
a:hover { color: lightblue; }
body {
font-family: "Titillium Web", sans-serif;
color: white;
margin: 0;
padding: 0;
background-color: #f0f0f0;
overflow-x: hidden;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
box-sizing: border-box;
max-width: 100%;
}
.card {
background-color: #596e73;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
overflow: hidden;
width: 100%;
max-width: 600px;
}
.input_video {
display: none;
}
.input_video.selfie {
transform: scale(-1, 1);
}
.input_image {
max-width: 100%;
height: auto;
}
.canvas-container {
width: 100%;
padding-top: 56.25%; /* 16:9 Aspect Ratio */
position: relative;
}
.output_canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.logo {
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
}
.logo img {
height: 30px;
margin-right: 10px;
}
.logo .title {
color: white;
font-size: 18px;
}
.control-panel {
width: 100%;
max-width: 600px;
margin-top: 20px;
}
.loading {
display: flex;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
align-items: center;
backface-visibility: hidden;
justify-content: center;
opacity: 1;
transition: opacity 1s;
background-color: rgba(0, 0, 0, 0.5);
z-index: 10;
}
.loading .message {
font-size: x-large;
}
.loading .spinner {
position: absolute;
width: 120px;
height: 120px;
animation: spin 1s linear infinite;
border: 32px solid #bebebe;
border-top: 32px solid #3498db;
border-radius: 50%;
}
.loaded .loading {
opacity: 0;
}
.shoutout {
text-align: center;
font-size: 18px;
margin-top: 20px;
padding: 10px;
background-color: #596e73;
border-radius: 5px;
}
@media (max-width: 768px) {
.container {
padding: 10px;
}
.logo .title {
font-size: 16px;
}
.shoutout {
font-size: 16px;
}
} |