testloc / styles.css
abeea's picture
Upload styles.css
7f3ba27 verified
:root {
--primary-color: #d32f2f;
--secondary-color: #ff6b35;
--accent-color: #ffd700;
--text-dark: #2c3e50;
--bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: var(--bg-gradient);
min-height: 100vh;
position: relative;
overflow-x: hidden;
}
.main-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
position: relative;
z-index: 2;
}
.qibla-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
padding: 40px;
max-width: 500px;
width: 100%;
text-align: center;
transition: all 0.3s ease;
}
.qibla-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.logo {
width: 120px;
height: 120px;
margin-bottom: 30px;
border-radius: 50%;
object-fit: cover;
border: 4px solid var(--accent-color);
transition: transform 0.3s ease;
}
.logo:hover {
transform: scale(1.05) rotate(5deg);
}
.main-title {
color: var(--text-dark);
font-weight: 700;
margin-bottom: 20px;
font-size: 2rem;
}
.description {
color: #6c757d;
margin-bottom: 30px;
font-size: 1.1rem;
line-height: 1.6;
}
.qibla-btn {
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
border: none;
padding: 15px 30px;
font-size: 1.1rem;
font-weight: 600;
border-radius: 50px;
color: white;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}
.qibla-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}
.qibla-btn:active {
transform: translateY(0);
}
.qibla-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.loading-spinner {
display: none;
margin: 20px 0;
}
.status-message {
margin-top: 20px;
padding: 15px;
border-radius: 10px;
font-weight: 500;
}
.status-success {
background: rgba(40, 167, 69, 0.1);
color: #28a745;
border: 1px solid rgba(40, 167, 69, 0.2);
}
.status-error {
background: rgba(220, 53, 69, 0.1);
color: #dc3545;
border: 1px solid rgba(220, 53, 69, 0.2);
}
.status-info {
background: rgba(23, 162, 184, 0.1);
color: #17a2b8;
border: 1px solid rgba(23, 162, 184, 0.2);
}
/* Floating Animation */
.floating-elements {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}
.floating-element {
position: absolute;
font-size: 30px;
opacity: 0.1;
animation: float 10s infinite ease-in-out;
}
.floating-element:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { left: 20%; animation-delay: 2s; }
.floating-element:nth-child(3) { left: 30%; animation-delay: 4s; }
.floating-element:nth-child(4) { left: 40%; animation-delay: 6s; }
.floating-element:nth-child(5) { left: 50%; animation-delay: 8s; }
.floating-element:nth-child(6) { left: 60%; animation-delay: 1s; }
.floating-element:nth-child(7) { left: 70%; animation-delay: 3s; }
.floating-element:nth-child(8) { left: 80%; animation-delay: 5s; }
@keyframes float {
0%, 100% { transform: translateY(100vh) rotate(0deg); }
50% { transform: translateY(-100px) rotate(180deg); }
}
/* Responsive Design */
@media (max-width: 768px) {
.qibla-card {
padding: 30px 20px;
margin: 10px;
}
.main-title {
font-size: 1.5rem;
}
.logo {
width: 100px;
height: 100px;
}
}
@media (max-width: 576px) {
.qibla-card {
padding: 25px 15px;
}
.main-title {
font-size: 1.3rem;
}
.description {
font-size: 1rem;
}
}
/* Custom Toast Styles */
.toast {
border-radius: 10px;
border: none;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.toast-success {
background: linear-gradient(45deg, #28a745, #20c997);
color: white;
}
.toast-error {
background: linear-gradient(45deg, #dc3545, #fd7e14);
color: white;
}
.toast-info {
background: linear-gradient(45deg, #17a2b8, #6f42c1);
color: white;
}