Portfolio / src /styles /base.css
orakzai-io's picture
Sync from GitHub via hub-sync
e17ada1 verified
Raw History Blame Contribute Delete
2.88 kB
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
scroll-padding-top: 80px;
}
body {
font-family: var(--font-sans);
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.7;
overflow-x: hidden;
transition: background 0.3s, color 0.3s;
-webkit-font-smoothing: antialiased;
}
a {
text-decoration: none;
color: inherit;
transition: color 0.2s;
}
ul, ol {
list-style: none;
}
img {
max-width: 100%;
display: block;
}
button {
font-family: inherit;
cursor: pointer;
border: none;
background: none;
}
input, textarea {
font-family: inherit;
border: none;
outline: none;
}
.container {
max-width: var(--container-max);
margin: 0 auto;
padding: 0 24px;
width: 100%;
}
.section {
padding: var(--section-padding);
position: relative;
}
.section-header {
text-align: center;
margin-bottom: 60px;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
}
.section-title {
font-size: 2.5rem;
font-weight: 700;
font-family: var(--font-heading);
color: var(--text-heading);
margin-bottom: 16px;
position: relative;
display: inline-block;
}
.section-title::after {
content: '';
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 4px;
background: var(--accent-gradient);
border-radius: 2px;
}
.section-subtitle {
font-size: 1.1rem;
color: var(--text-secondary);
max-width: 600px;
margin: 24px auto 0;
}
.gradient-text {
background: var(--accent-gradient);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.bg-alt {
background-color: var(--bg-secondary);
}
.btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 14px 32px;
border-radius: var(--radius-full);
font-weight: 600;
transition: all 0.3s;
position: relative;
overflow: hidden;
}
.btn-primary {
background: var(--accent-gradient);
color: white;
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
}
.btn-outline {
border: 2px solid var(--accent-primary);
color: var(--accent-primary);
background: transparent;
}
.btn-outline:hover {
background: rgba(139, 92, 246, 0.1);
transform: translateY(-2px);
}
.reveal {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s, transform 0.6s;
}
.reveal.revealed {
opacity: 1;
transform: translateY(0);
}
@keyframes bounce {
0%, 100% { transform: translateX(-50%) translateY(0); }
50% { transform: translateX(-50%) translateY(10px); }
}
@media (max-width: 992px) {
.section { padding: 70px 0; }
.section-title { font-size: 2rem; }
}
@media (max-width: 480px) {
.container { padding: 0 16px; }
.section { padding: 50px 0; }
}