Files
hersel.it/static/css/styles.css
2025-04-27 21:35:00 +02:00

86 lines
1.5 KiB
CSS

:root {
--primary-color: #0d6efd;
--secondary-color: #6c757d;
--accent-color: #ffc107;
--dark-color: #212529;
--light-color: #f8f9fa;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
position: relative;
}
section {
padding: 5rem 0;
}
.hero-section {
height: 100vh;
display: flex;
align-items: center;
background-color: var(--dark-color);
color: var(--light-color);
}
.tech-icon {
font-size: 3rem;
margin: 1rem;
color: var(--primary-color);
transition: all 0.3s ease;
}
.tech-icon:hover {
color: var(--accent-color);
transform: scale(1.2);
}
.project-card {
transition: transform 0.3s ease;
height: 100%;
}
.project-card:hover {
transform: translateY(-10px);
}
.navbar.scrolled {
background-color: rgba(33, 37, 41, 0.98) !important;
transition: background-color 0.5s ease;
}
.social-icon {
font-size: 2.5rem;
margin: 0 1.5rem;
color: var(--primary-color);
transition: all 0.3s ease;
}
.social-icon:hover {
color: var(--accent-color);
transform: scale(1.2);
}
.section-title {
position: relative;
margin-bottom: 3rem;
}
.section-title::after {
content: "";
position: absolute;
left: 50%;
bottom: -10px;
transform: translateX(-50%);
width: 50px;
height: 3px;
background-color: var(--primary-color);
}
#back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
display: none;
z-index: 99;
}