Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Techiral authored Jul 4, 2024
1 parent 853fb34 commit f1d928b
Showing 1 changed file with 43 additions and 10 deletions.
53 changes: 43 additions & 10 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body {
font-family: 'Arial', sans-serif;
background-color: #111;
color: #fff;
overflow-x: hidden; /* Prevent horizontal scroll */
overflow-x: hidden;
}

/* Global styles */
Expand Down Expand Up @@ -37,7 +37,7 @@ body {
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
background: rgba(0, 0, 0, 0.7);
}

.hero-section .content {
Expand All @@ -48,26 +48,37 @@ body {
.hero-section h1 {
font-size: 4em;
margin-bottom: 20px;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
text-shadow: 0 0 20px #00e5ff;
animation: neonGlow 1.5s ease-in-out infinite alternate;
}

@keyframes neonGlow {
from {
text-shadow: 0 0 10px #00e5ff, 0 0 20px #00e5ff, 0 0 30px #00e5ff, 0 0 40px #00e5ff, 0 0 50px #00e5ff, 0 0 60px #00e5ff, 0 0 70px #00e5ff;
}
to {
text-shadow: 0 0 20px #00e5ff, 0 0 30px #00e5ff, 0 0 40px #00e5ff, 0 0 50px #00e5ff, 0 0 60px #00e5ff, 0 0 70px #00e5ff, 0 0 80px #00e5ff;
}
}

.hero-section p {
font-size: 1.5em;
margin-bottom: 30px;
color: #00e5ff;
}

.cta-button {
display: inline-block;
padding: 15px 30px;
background-color: #fa5c5c; /* Neon red */
background-color: #ff1493;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
background-color: #ff4f4f; /* Lighter red on hover */
background-color: #ff69b4;
transform: scale(1.05);
}

Expand All @@ -80,7 +91,7 @@ body {
}

.character-card {
background-color: #333;
background-color: #222;
padding: 20px;
border-radius: 10px;
text-align: center;
Expand All @@ -90,12 +101,13 @@ body {

.character-card:hover {
transform: translateY(-10px);
box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.character-card h3 {
font-size: 2em;
margin-bottom: 10px;
color: #00e5ff;
}

/* Screenshot carousel */
Expand All @@ -115,14 +127,14 @@ body {

.screenshot-carousel img:hover {
transform: scale(1.1);
box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

/* Video container */
.video-container {
position: relative;
overflow: hidden;
padding-top: 56.25%; /* Aspect ratio for 16:9 video */
padding-top: 56.25%;
margin-top: 30px;
}

Expand All @@ -141,5 +153,26 @@ footer {
text-align: center;
padding: 20px;
background-color: #222;
color: #999; /* Lighter gray text color */
color: #999;
}

/* Cursor tracker */
.cursor {
position: absolute;
width: 20px;
height: 20px;
background-color: #ff1493;
border-radius: 50%;
pointer-events: none;
transition: transform 0.1s, opacity 0.1s;
}

.cursor2 {
position: absolute;
width: 50px;
height: 50px;
background-color: rgba(0, 229, 255, 0.2);
border-radius: 50%;
pointer-events: none;
transition: transform 0.2s, opacity 0.2s;
}

0 comments on commit f1d928b

Please sign in to comment.