candifloss_site/css/about.css
candifloss 22ae790de7 Add: About page draft
- A draft for about page
- No real content
2025-05-24 13:26:38 +05:30

257 lines
5.3 KiB
CSS

body {
margin: 0;
padding: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
color: #333;
overflow-x: hidden;
scroll-behavior: smooth;
}
.portfolio {
scroll-snap-type: y mandatory;
overflow-y: scroll;
height: 100vh;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
overscroll-behavior-y: contain;
}
.portfolio__section {
scroll-snap-align: start;
position: relative;
height: 100vh;
width: 100%;
overflow: hidden;
}
.portfolio__section .content {
position: relative;
z-index: 2;
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
.portfolio__section .bg-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
z-index: 1;
}
.portfolio__section .bg-image::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}
.portfolio__section--intro {
text-align: center;
}
.portfolio__section--intro .intro-title {
font-size: 3.5rem;
margin-bottom: 1rem;
color: #fff;
}
.portfolio__section--intro .intro-title .highlight {
color: #3498db;
}
.portfolio__section--intro .intro-subtitle {
font-size: 1.5rem;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 2rem;
}
.portfolio__section--intro .social-links {
display: flex;
justify-content: center;
gap: 1.5rem;
}
.portfolio__section--intro .social-links .social-link {
color: #fff;
text-decoration: none;
font-size: 1.1rem;
transition: color 0.3s;
}
.portfolio__section--intro .social-links .social-link:hover {
color: #3498db;
}
.portfolio__section .section-title {
font-size: 2.5rem;
margin-bottom: 2rem;
color: #fff;
position: relative;
display: inline-block;
}
.portfolio__section .section-title::after {
content: "";
position: absolute;
bottom: -10px;
left: 0;
width: 50px;
height: 3px;
background: #3498db;
}
.portfolio__section .about-content {
display: flex;
gap: 2rem;
align-items: center;
}
.portfolio__section .about-content .about-text {
flex: 1;
color: #fff;
line-height: 1.6;
}
.portfolio__section .about-content .about-image {
flex: 1;
}
.portfolio__section .about-content .about-image img {
max-width: 100%;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.portfolio__section .timeline {
position: relative;
padding-left: 2rem;
color: #fff;
}
.portfolio__section .timeline::before {
content: "";
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 2px;
background: #3498db;
}
.portfolio__section .timeline-item {
margin-bottom: 2rem;
position: relative;
}
.portfolio__section .timeline-item::before {
content: "";
position: absolute;
left: -2.5rem;
top: 0.5rem;
width: 1rem;
height: 1rem;
border-radius: 50%;
background: #fff;
border: 2px solid #3498db;
}
.portfolio__section .timeline-title {
font-size: 1.3rem;
margin-bottom: 0.3rem;
}
.portfolio__section .timeline-company {
font-style: italic;
margin-bottom: 0.5rem;
opacity: 0.8;
}
.portfolio__section .timeline-description {
line-height: 1.5;
}
.portfolio__section .projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.portfolio__section .project-card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 10px;
padding: 1.5rem;
transition: transform 0.3s;
color: #fff;
}
.portfolio__section .project-card:hover {
transform: translateY(-5px);
}
.portfolio__section .project-title {
font-size: 1.3rem;
margin-bottom: 0.5rem;
color: #fff;
}
.portfolio__section .project-description {
margin-bottom: 1rem;
line-height: 1.5;
}
.portfolio__section .project-link {
color: #3498db;
text-decoration: none;
font-weight: bold;
}
.portfolio__section .project-link:hover {
text-decoration: underline;
}
.portfolio__section--footer {
background: #2c3e50;
}
.portfolio__section--footer .content {
text-align: center;
}
.portfolio__section--footer .contact-info {
margin-bottom: 2rem;
color: #fff;
}
.portfolio__section--footer .contact-info a {
color: #3498db;
text-decoration: none;
}
.portfolio__section--footer .contact-info a:hover {
text-decoration: underline;
}
.portfolio__section--footer .footer-links {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 2rem;
}
.portfolio__section--footer .footer-links .footer-link {
color: #fff;
text-decoration: none;
transition: color 0.3s;
}
.portfolio__section--footer .footer-links .footer-link:hover {
color: #3498db;
}
.portfolio__section--footer .copyright {
color: rgba(255, 255, 255, 0.6);
font-size: 0.9rem;
}
@media (max-width: 768px) {
.portfolio__section .content {
padding: 1rem;
}
.portfolio__section--intro .intro-title {
font-size: 2.5rem;
}
.portfolio__section--intro .intro-subtitle {
font-size: 1.2rem;
}
.portfolio__section .about-content {
flex-direction: column;
}
.portfolio__section .about-content .about-text {
order: 2;
}
.portfolio__section .about-content .about-image {
order: 1;
margin-bottom: 1.5rem;
}
.portfolio__section .section-title {
font-size: 2rem;
}
}