generated from Templates_CodeFirst/templateHtmlCss
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
796 lines
14 KiB
796 lines
14 KiB
:root {
|
|
--primary-color: #2563eb;
|
|
--text-color: #1f2937;
|
|
--bg-color: #ffffff;
|
|
--accent-color: #3b82f6;
|
|
--gray-light: #f3f4f6;
|
|
--gray-dark: #4b5563;
|
|
--transition: all 0.3s ease;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Poppins', sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-color);
|
|
background-color: var(--bg-color);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
/* Header & Navigation */
|
|
.header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: var(--bg-color);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
z-index: 1000;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 80px;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.mobile-menu-btn {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-primary {
|
|
display: inline-block;
|
|
padding: 0.8rem 1.5rem;
|
|
width: 100%;
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 0.5rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: var(--accent-color);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
display: inline-block;
|
|
padding: 0.8rem 1.5rem;
|
|
background-color: var(--accent-color);
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 0.5rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.btn-outline {
|
|
display: inline-block;
|
|
padding: 0.8rem 1.5rem;
|
|
border: 2px solid var(--primary-color);
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
border-radius: 0.5rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
/* Sections */
|
|
.section {
|
|
padding: 8rem 0;
|
|
}
|
|
|
|
/* About Section */
|
|
.about-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 4rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.section-subtitle {
|
|
display: inline-block;
|
|
font-size: 1rem;
|
|
color: var(--primary-color);
|
|
font-weight: 500;
|
|
margin-bottom: 1rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 2rem;
|
|
color: var(--text-color);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.about-description {
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.about-description p {
|
|
margin-bottom: 1rem;
|
|
color: var(--gray-dark);
|
|
}
|
|
|
|
.about-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 2rem;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.stat-item {
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-number {
|
|
display: block;
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
color: var(--gray-dark);
|
|
}
|
|
|
|
.about-image {
|
|
position: relative;
|
|
}
|
|
|
|
.profile-image {
|
|
width: 100%;
|
|
border-radius: 1rem;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.image-decoration {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 2px solid var(--primary-color);
|
|
border-radius: 1rem;
|
|
top: 20px;
|
|
left: 20px;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Projects Section */
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.project-card {
|
|
background-color: var(--bg-color);
|
|
border-radius: 1rem;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.project-card:hover {
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
.project-image {
|
|
width: 100%;
|
|
height: 250px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.project-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.project-card:hover .project-image img {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.project-content {
|
|
padding: 2rem;
|
|
}
|
|
|
|
.project-content h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.project-content p {
|
|
color: var(--gray-dark);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.project-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.project-tags span {
|
|
background-color: var(--gray-light);
|
|
color: var(--primary-color);
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 2rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.project-links {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
/* Testimonials Section */
|
|
.testimonials {
|
|
background-color: var(--gray-light);
|
|
}
|
|
|
|
.testimonials-slider {
|
|
position: relative;
|
|
max-width: 800px;
|
|
margin: 3rem auto 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.testimonial-card {
|
|
display: none;
|
|
background-color: var(--bg-color);
|
|
padding: 2rem;
|
|
border-radius: 1rem;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.testimonial-card.active {
|
|
display: block;
|
|
animation: fadeIn 0.5s ease-in-out;
|
|
}
|
|
|
|
.testimonial-content p {
|
|
font-size: 1.1rem;
|
|
color: var(--gray-dark);
|
|
font-style: italic;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.testimonial-author {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.author-info h4 {
|
|
font-size: 1.1rem;
|
|
color: var(--text-color);
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
.author-info p {
|
|
font-size: 0.9rem;
|
|
color: var(--gray-dark);
|
|
}
|
|
|
|
.testimonial-controls {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.control-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.5rem;
|
|
color: var(--primary-color);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.control-btn:hover {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.testimonial-dots {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background-color: var(--gray-dark);
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.dot.active {
|
|
background-color: var(--primary-color);
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background-color: var(--gray-light);
|
|
padding: 3rem 0;
|
|
margin-top: 4rem;
|
|
}
|
|
|
|
.footer-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.social-links {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.social-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
/* Formation Section */
|
|
.formation {
|
|
background-color: var(--gray-light);
|
|
}
|
|
|
|
.timeline {
|
|
position: relative;
|
|
max-width: 800px;
|
|
margin: 3rem auto 0;
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.timeline::before {
|
|
content: '';
|
|
position: absolute;
|
|
width: 2px;
|
|
height: 100%;
|
|
background-color: var(--primary-color);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: 0;
|
|
}
|
|
|
|
.timeline-item {
|
|
position: relative;
|
|
margin-bottom: 3rem;
|
|
width: calc(50% - 2rem);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.timeline-item:nth-child(odd) {
|
|
margin-right: auto;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.timeline-content {
|
|
background-color: var(--bg-color);
|
|
padding: 2rem;
|
|
border-radius: 1rem;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.timeline-content:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.timeline-content::before {
|
|
content: '';
|
|
position: absolute;
|
|
width: 20px;
|
|
height: 20px;
|
|
background-color: var(--primary-color);
|
|
border-radius: 50%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.timeline-item:nth-child(odd) .timeline-content::before {
|
|
right: -2.6rem;
|
|
}
|
|
|
|
.timeline-item:nth-child(even) .timeline-content::before {
|
|
left: -2.6rem;
|
|
}
|
|
|
|
.timeline-content h3 {
|
|
color: var(--primary-color);
|
|
font-size: 1.2rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.timeline-content h4 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.timeline-content p {
|
|
color: var(--gray-dark);
|
|
}
|
|
|
|
/* Experience Section */
|
|
.experience-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.experience-card {
|
|
background-color: var(--bg-color);
|
|
border-radius: 1rem;
|
|
padding: 2rem;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
transition: var(--transition);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.experience-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.experience-date {
|
|
display: inline-block;
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 2rem;
|
|
font-size: 0.9rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.experience-card h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.experience-description {
|
|
color: var(--gray-dark);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.experience-details {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease-out;
|
|
}
|
|
|
|
.experience-details.show {
|
|
max-height: 500px;
|
|
margin-top: 1rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--gray-light);
|
|
}
|
|
|
|
.show-more {
|
|
background: none;
|
|
border: none;
|
|
color: var(--primary-color);
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
padding: 0;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.show-more:hover {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
/* Modal */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
z-index: 1100;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.modal-content {
|
|
position: relative;
|
|
background-color: var(--bg-color);
|
|
margin: 2rem auto;
|
|
padding: 2rem;
|
|
width: 90%;
|
|
max-width: 800px;
|
|
border-radius: 1rem;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
font-size: 1.5rem;
|
|
background: none;
|
|
border: none;
|
|
color: var(--gray-dark);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: var(--primary-color);
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.modal-image {
|
|
width: 100%;
|
|
height: 300px;
|
|
object-fit: cover;
|
|
border-radius: 0.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 1.8rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.modal-description {
|
|
color: var(--gray-dark);
|
|
margin-bottom: 1.5rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.modal-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.modal-tags span {
|
|
background-color: var(--gray-light);
|
|
color: var(--primary-color);
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 2rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.modal-link {
|
|
display: inline-block;
|
|
padding: 0.8rem 1.5rem;
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 0.5rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.modal-link:hover {
|
|
background-color: var(--accent-color);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Mobile Menu */
|
|
.mobile-menu-btn {
|
|
display: none;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 30px;
|
|
height: 21px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.mobile-menu-btn span {
|
|
width: 100%;
|
|
height: 3px;
|
|
background-color: var(--primary-color);
|
|
border-radius: 3px;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
/* Projects Section Update */
|
|
.project-card {
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.project-card:hover {
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
.project-content {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.project-content h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.project-content p {
|
|
color: var(--gray-dark);
|
|
margin-bottom: 1.5rem;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Responsive Design Update */
|
|
@media (max-width: 768px) {
|
|
.mobile-menu-btn {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-links {
|
|
position: fixed;
|
|
top: 80px;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: calc(100vh - 80px);
|
|
background-color: var(--bg-color);
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 2rem;
|
|
transition: var(--transition);
|
|
z-index: 900;
|
|
}
|
|
|
|
.nav-links.active {
|
|
left: 0;
|
|
}
|
|
|
|
.nav-links li {
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(1) {
|
|
transform: translateY(9px) rotate(45deg);
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(3) {
|
|
transform: translateY(-9px) rotate(-45deg);
|
|
}
|
|
|
|
.about-content {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
|
|
.about-stats {
|
|
justify-content: center;
|
|
}
|
|
|
|
.profile-image {
|
|
max-width: 300px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.image-decoration {
|
|
display: none;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.projects-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.project-links {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.testimonial-controls {
|
|
gap: 1rem;
|
|
}
|
|
|
|
.timeline::before {
|
|
left: 1rem;
|
|
}
|
|
|
|
.timeline-item {
|
|
width: calc(100% - 3rem);
|
|
margin-left: 3rem;
|
|
}
|
|
|
|
.timeline-item:nth-child(odd) {
|
|
margin-left: 3rem;
|
|
}
|
|
|
|
.timeline-content::before {
|
|
left: -2.5rem !important;
|
|
}
|
|
|
|
.experience-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
} |