Compare commits

..

No commits in common. "892de6af5974de3dd37d35dda7c8a8a4927b46cc" and "0d0adb1a7b2c2df5841d777d8b9c228d2b002b2b" have entirely different histories.

View file

@ -179,8 +179,7 @@ footer {
font-size: 0.9em; font-size: 0.9em;
} }
/* card styles */ /* Old card styles */
/* Updated card styles with space theme */
section .cards { section .cards {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
@ -191,23 +190,22 @@ section .cards {
section .card { section .card {
text-align: center; text-align: center;
list-style: none; list-style: none;
background: linear-gradient(180deg, rgba(0, 0, 50, 0.9), rgba(10, 10, 100, 0.9), rgba(30, 30, 150, 0.9)); background-color: rgba(46, 58, 95, 0.9);
padding: 20px; padding: 20px;
border-radius: 12px; border-radius: 10px;
box-shadow: 0 5px 20px rgba(0, 0, 50, 0.8), 0 0 10px rgba(255, 255, 255, 0.1); /* Space glow effect */ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
border: 1px solid #2e3a60; border: 1px solid #3a4971;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
transition: background 0.5s ease, transform 0.4s ease, box-shadow 0.5s ease; transition: transform var(--transition-speed), box-shadow var(--transition-speed);
} }
section .card:hover { section .card:hover {
transform: translateY(-8px); transform: translateY(-5px);
background: linear-gradient(180deg, rgba(30, 30, 150, 0.9), rgba(40, 0, 100, 0.9), rgba(100, 0, 150, 0.9)); /* More intense hover gradient */ box-shadow: 0 10px 30px rgba(255, 221, 85, 0.5);
box-shadow: 0 10px 30px rgba(0, 0, 100, 0.7), 0 0 20px rgba(255, 221, 85, 0.8); /* Enhanced glowing effect */
} }
section .card img { section .card img {
@ -216,35 +214,32 @@ section .card img {
object-fit: cover; object-fit: cover;
border-radius: 50%; border-radius: 50%;
margin: 0 auto 15px; margin: 0 auto 15px;
box-shadow: 0 0 15px rgba(255, 221, 85, 0.5); /* Add a space-like glow */ box-shadow: 0 0 10px rgba(255, 221, 85, 0.5);
} }
section .card h3 { section .card h3 {
margin: 10px 0; margin: 10px 0;
font-size: 1.4em; font-size: 1.2em;
font-weight: bold; font-weight: bold;
color: rgba(255, 221, 85, 1); color: var(--accent-color);
text-shadow: 0 0 15px rgba(255, 221, 85, 0.9); /* Glowing text effect */ text-shadow: 0 0 10px var(--accent-color);
} }
section .card p { section .card p {
flex-grow: 1; flex-grow: 1;
color: rgba(200, 220, 255, 0.8); color: var(--text-color);
margin-bottom: 10px; margin-bottom: 10px;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.2); /* Subtle glow on text */
} }
section .card::before { section .card::before {
content: ""; content: "";
position: absolute; position: absolute;
top: -20px; top: 10px;
right: -20px; right: 10px;
width: 60px; width: 24px;
height: 60px; height: 24px;
border-radius: 50%; background: url("path-to-cosmic-icon.svg") no-repeat center;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)); background-size: contain;
box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
animation: spin 8s linear infinite; /* Adds a subtle spinning effect */
} }
section .card .suit-icon { section .card .suit-icon {
@ -253,22 +248,8 @@ section .card .suit-icon {
right: 10px; right: 10px;
width: 24px; width: 24px;
height: 24px; height: 24px;
opacity: 0.7; background: url("path-to-suit-icon.svg") no-repeat center;
transition: opacity var(--transition-speed); background-size: contain;
}
section .card:hover .suit-icon {
opacity: 1; /* Highlight the icon on hover */
}
/* Keyframes for spinning element */
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
} }
/* Form styling */ /* Form styling */