File size: 1,754 Bytes
beb4764 6984947 beb4764 6984947 beb4764 6984947 beb4764 6984947 beb4764 6984947 beb4764 6984947 beb4764 | 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 | @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');
body {
font-family: 'Montserrat', sans-serif;
line-height: 1.6;
}
h1, h2, h3, h4 {
font-family: 'Playfair Display', serif;
font-weight: 700;
}
/* Chess board pattern background */
.chess-pattern {
background-image:
linear-gradient(45deg, #1A361F 25%, transparent 25%),
linear-gradient(-45deg, #1A361F 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #1A361F 75%),
linear-gradient(-45deg, transparent 75%, #1A361F 75%);
background-size: 20px 20px;
background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}
/* Piece move animation */
@keyframes piece-move {
0% { transform: translateY(0); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0); }
}
.animate-piece {
animation: piece-move 3s ease-in-out infinite;
}
/* Custom hover effects */
.hover-zoom {
transition: transform 0.3s ease;
}
.hover-zoom:hover {
transform: scale(1.03);
}
/* Custom button styles */
.btn-primary {
background-color: #1A361F;
color: white;
transition: all 0.3s ease;
}
.btn-primary:hover {
background-color: #0F172A;
transform: translateY(-2px);
}
.btn-secondary {
background-color: #D4AF37;
color: #0F172A;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background-color: #C9A227;
transform: translateY(-2px);
}
/* Custom shadow for chess elements */
.chess-shadow {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}
/* Responsive adjustments */
@media (max-width: 768px) {
.hero-text {
font-size: 2.5rem;
}
} |