87 lines
1.6 KiB
CSS
87 lines
1.6 KiB
CSS
.interactive-header {
|
|
text-align: center;
|
|
padding: 3rem 5%;
|
|
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.interactive-header .typewriter h1 {
|
|
font-size: 2.5rem;
|
|
margin: 0;
|
|
color: #333;
|
|
}
|
|
|
|
.interactive-header .typed-text {
|
|
color: #ff6b35;
|
|
border-right: 2px solid #ff6b35;
|
|
animation: blink 0.7s infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0; }
|
|
}
|
|
|
|
.interactive-header p {
|
|
font-size: 1.2rem;
|
|
margin: 0.5rem 0 2rem;
|
|
color: #666;
|
|
}
|
|
|
|
.interactive-header .tech-tag {
|
|
background: #ff6b35;
|
|
color: white;
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 3px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.interactive-header nav ul {
|
|
display: flex;
|
|
justify-content: center;
|
|
list-style: none;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.interactive-header nav a {
|
|
color: #333;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
padding-bottom: 0.5rem;
|
|
position: relative;
|
|
}
|
|
|
|
.interactive-header nav a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background: #ff6b35;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
.interactive-header nav a:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
.interactive-header .language-switcher {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
}
|
|
|
|
.interactive-header .language-switcher button {
|
|
background: none;
|
|
border: 1px solid #ccc;
|
|
padding: 0.3rem 0.6rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.interactive-header .language-switcher button:first-child {
|
|
background: #ff6b35;
|
|
color: white;
|
|
border-color: #ff6b35;
|
|
}
|