188 lines
3.9 KiB
CSS
188 lines
3.9 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Roboto:wght@300;400&display=swap');
|
|
|
|
:root {
|
|
--primary-color: #BDE0FE; /* Baby Blue Eyes */
|
|
--accent-color: #FFC8B2; /* Pastel Peach */
|
|
--background-color: #FFFBF7; /* Very light, warm off-white */
|
|
--text-color: #6D6875; /* Muted, soft gray */
|
|
--surface-color: #FFFFFF;
|
|
--board-bg: #A3C4F3;
|
|
--cell-bg: #EAF4F4;
|
|
--border-radius: 1rem;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
font-family: 'Roboto', sans-serif;
|
|
font-weight: 300;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: 700;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.navbar {
|
|
background-color: var(--surface-color) !important;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: 700;
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
.hero {
|
|
background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
|
|
color: white;
|
|
padding: 6rem 0;
|
|
text-align: center;
|
|
border-bottom-left-radius: var(--border-radius);
|
|
border-bottom-right-radius: var(--border-radius);
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 3.5rem;
|
|
font-weight: 700;
|
|
color: white;
|
|
text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--accent-color);
|
|
border-color: var(--accent-color);
|
|
border-radius: var(--border-radius);
|
|
padding: 0.75rem 1.5rem;
|
|
font-weight: 700;
|
|
color: white;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: white;
|
|
border-color: white;
|
|
color: var(--accent-color);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
#game-section {
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.game-board {
|
|
display: grid;
|
|
gap: 10px;
|
|
width: 100%;
|
|
max-width: 500px;
|
|
margin: 2rem auto;
|
|
background-color: var(--board-bg);
|
|
border: 5px solid var(--board-bg);
|
|
border-radius: var(--border-radius);
|
|
padding: 10px;
|
|
}
|
|
|
|
.game-cell {
|
|
width: 100%;
|
|
padding-bottom: 100%;
|
|
position: relative;
|
|
background-color: var(--cell-bg);
|
|
border-radius: 0.75rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.game-cell:hover {
|
|
transform: scale(1.05);
|
|
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.game-cell .symbol {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 1rem; /* Default for large boards */
|
|
font-weight: 400;
|
|
user-select: none;
|
|
}
|
|
|
|
/* Board-size specific adjustments */
|
|
.game-board.size-5 {
|
|
gap: 10px;
|
|
}
|
|
.game-board.size-5 .game-cell .symbol {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.game-board.size-18,
|
|
.game-board.size-36 {
|
|
gap: 2px;
|
|
padding: 2px;
|
|
border-width: 2px;
|
|
}
|
|
|
|
#gallery-section {
|
|
padding: 4rem 0;
|
|
background-color: var(--primary-color-light);
|
|
}
|
|
|
|
.cat-gallery {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.cat-gallery-item {
|
|
border-radius: var(--border-radius);
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.cat-gallery-item:hover {
|
|
transform: translateY(-5px) scale(1.03);
|
|
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.cat-gallery-item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.cat-gallery-item .photographer-credit {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(0,0,0,0.5);
|
|
color: white;
|
|
padding: 0.5rem;
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.cat-gallery-item:hover .photographer-credit {
|
|
opacity: 1;
|
|
}
|
|
|
|
.cat-gallery-item .photographer-credit a {
|
|
color: var(--accent-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
background-color: var(--text-color);
|
|
color: white;
|
|
padding: 2rem 0;
|
|
} |