627 lines
12 KiB
CSS
627 lines
12 KiB
CSS
:root {
|
|
--primary-color: #0277bd;
|
|
--secondary-color: #01579b;
|
|
--accent-color: #ff6f00;
|
|
--light-blue: #e1f5fe;
|
|
--light-green: #e8f5e9;
|
|
--light-orange: #fff3e0;
|
|
--light-purple: #f3e5f5;
|
|
--light-cyan: #e0f7fa;
|
|
--dark-color: #333;
|
|
--light-color: #f8f9fa;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
scroll-behavior: smooth;
|
|
background-color: var(--light-color);
|
|
color: var(--dark-color);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.loading-screen {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
color: white;
|
|
}
|
|
|
|
.loading-screen p {
|
|
margin-top: 20px;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 5px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 50%;
|
|
border-top-color: white;
|
|
animation: spin 1s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.navbar {
|
|
transition: all 0.3s ease;
|
|
padding: 15px 0;
|
|
}
|
|
|
|
.navbar.scrolled {
|
|
background-color: rgba(255, 255, 255, 0.95) !important;
|
|
backdrop-filter: blur(10px);
|
|
padding: 10px 0;
|
|
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-size: 1.5rem;
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
.navbar-nav a {
|
|
transition: color 0.3s, transform 0.3s;
|
|
position: relative;
|
|
font-weight: 500;
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.navbar-nav a::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background-color: var(--primary-color);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.navbar-nav a:hover {
|
|
color: var(--secondary-color) !important;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.navbar-nav a:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
section {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 100px 20px;
|
|
position: relative;
|
|
}
|
|
|
|
#hero {
|
|
background: linear-gradient(135deg, var(--light-blue), #b3e5fc);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#hero::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230277bd" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,192C672,181,768,139,864,138.7C960,139,1056,181,1152,186.7C1248,192,1344,160,1392,144L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
|
|
background-size: cover;
|
|
background-position: bottom;
|
|
animation: wave 20s linear infinite;
|
|
}
|
|
|
|
@keyframes wave {
|
|
0% { background-position-x: 0; }
|
|
100% { background-position-x: 1440px; }
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 3.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.hero-content span {
|
|
color: var(--primary-color);
|
|
position: relative;
|
|
background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.typing-text::after {
|
|
content: "|";
|
|
animation: blink 1s infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0; }
|
|
}
|
|
|
|
.lead {
|
|
font-size: 1.3rem;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.floating-elements {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.floating-element {
|
|
position: absolute;
|
|
font-size: 2rem;
|
|
color: rgba(2, 119, 189, 0.2);
|
|
animation: float 6s ease-in-out infinite;
|
|
}
|
|
|
|
.floating-element.el-1 {
|
|
top: 20%;
|
|
left: 10%;
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
.floating-element.el-2 {
|
|
top: 60%;
|
|
left: 80%;
|
|
animation-delay: 1s;
|
|
}
|
|
|
|
.floating-element.el-3 {
|
|
top: 80%;
|
|
left: 20%;
|
|
animation-delay: 2s;
|
|
}
|
|
|
|
.floating-element.el-4 {
|
|
top: 40%;
|
|
left: 85%;
|
|
animation-delay: 3s;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% { transform: translateY(0) rotate(0deg); }
|
|
50% { transform: translateY(-20px) rotate(10deg); }
|
|
}
|
|
|
|
.scroll-indicator {
|
|
position: absolute;
|
|
bottom: 30px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
color: var(--primary-color);
|
|
font-size: 0.9rem;
|
|
animation: bounce 2s infinite;
|
|
}
|
|
|
|
.arrow {
|
|
width: 2px;
|
|
height: 20px;
|
|
background-color: var(--primary-color);
|
|
margin-top: 5px;
|
|
position: relative;
|
|
}
|
|
|
|
.arrow::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -5px;
|
|
left: -3px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-right: 2px solid var(--primary-color);
|
|
border-bottom: 2px solid var(--primary-color);
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
|
|
40% { transform: translateY(-10px) translateX(-50%); }
|
|
60% { transform: translateY(-5px) translateX(-50%); }
|
|
}
|
|
|
|
.btn-custom {
|
|
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 30px;
|
|
border-radius: 30px;
|
|
transition: all 0.3s;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-weight: 600;
|
|
box-shadow: 0 4px 15px rgba(2, 119, 189, 0.3);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn-custom::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
transition: left 0.5s;
|
|
}
|
|
|
|
.btn-custom:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.btn-custom:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 25px rgba(2, 119, 189, 0.4);
|
|
color: white;
|
|
}
|
|
|
|
.btn-outline-custom {
|
|
border: 2px solid var(--primary-color);
|
|
color: var(--primary-color);
|
|
background: transparent;
|
|
padding: 10px 28px;
|
|
border-radius: 30px;
|
|
transition: all 0.3s;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn-outline-custom:hover {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 25px rgba(2, 119, 189, 0.3);
|
|
}
|
|
|
|
.section-title {
|
|
position: relative;
|
|
margin-bottom: 3rem;
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.section-title::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 80px;
|
|
height: 4px;
|
|
background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
|
|
border-radius: 2px;
|
|
}
|
|
|
|
#about {
|
|
background: linear-gradient(135deg, var(--light-green), #c8e6c9);
|
|
}
|
|
|
|
.about-item {
|
|
padding: 30px 20px;
|
|
transition: all 0.3s ease;
|
|
border-radius: 15px;
|
|
height: 100%;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.about-item:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
|
|
background: white;
|
|
}
|
|
|
|
.icon-wrapper {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.timeline {
|
|
margin-top: 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
.timeline-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.year {
|
|
font-weight: bold;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.hobbies {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.hobby-tag {
|
|
display: inline-block;
|
|
background: var(--light-blue);
|
|
color: var(--primary-color);
|
|
padding: 5px 10px;
|
|
border-radius: 20px;
|
|
margin: 5px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#skills {
|
|
background: linear-gradient(135deg, var(--light-cyan), #b2ebf2);
|
|
}
|
|
|
|
.skill-category {
|
|
margin-bottom: 2rem;
|
|
padding: 25px;
|
|
border-radius: 15px;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
backdrop-filter: blur(10px);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.skill-category:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
background: white;
|
|
}
|
|
|
|
.skill-item {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.skill-name {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.progress {
|
|
height: 10px;
|
|
border-radius: 5px;
|
|
background-color: #e9ecef;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar {
|
|
background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
|
|
border-radius: 5px;
|
|
transition: width 1.5s ease-in-out;
|
|
}
|
|
|
|
.skill-level {
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
#projects {
|
|
background: linear-gradient(135deg, var(--light-orange), #ffe0b2);
|
|
}
|
|
|
|
.project-card {
|
|
border-radius: 15px;
|
|
transition: all 0.3s ease;
|
|
border: none;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.project-card:hover {
|
|
transform: translateY(-15px) scale(1.02);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
|
|
background: white;
|
|
}
|
|
|
|
.project-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto 20px;
|
|
color: white;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.project-tags {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.badge {
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
font-size: 0.7rem;
|
|
padding: 5px 10px;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.btn-project {
|
|
background: transparent;
|
|
border: 2px solid var(--primary-color);
|
|
color: var(--primary-color);
|
|
padding: 1px 20px;
|
|
border-radius: 20px;
|
|
transition: all 0.3s;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn-project:hover {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
#contact {
|
|
background: linear-gradient(135deg, var(--light-purple), #e1bee7);
|
|
}
|
|
|
|
.contact-card {
|
|
border-radius: 15px;
|
|
transition: all 0.3s ease;
|
|
border: none;
|
|
height: 100%;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.contact-card:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
|
|
background: white;
|
|
}
|
|
|
|
.contact-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
background: rgba(2, 119, 189, 0.1);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto 15px;
|
|
}
|
|
|
|
.contact-form-card {
|
|
border-radius: 15px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.form-control {
|
|
border-radius: 10px;
|
|
border: 1px solid #e0e0e0;
|
|
padding: 12px 15px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 0.2rem rgba(2, 119, 189, 0.25);
|
|
}
|
|
|
|
footer {
|
|
background: linear-gradient(135deg, #2c3e50, #34495e) !important;
|
|
}
|
|
|
|
.social-links a {
|
|
display: inline-block;
|
|
width: 40px;
|
|
height: 40px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
line-height: 40px;
|
|
color: white;
|
|
margin-left: 10px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.social-links a:hover {
|
|
background: var(--primary-color);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.back-to-top {
|
|
position: fixed;
|
|
bottom: 30px;
|
|
right: 30px;
|
|
width: 50px;
|
|
height: 50px;
|
|
background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
|
|
color: white;
|
|
border: none;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all 0.3s;
|
|
z-index: 1000;
|
|
box-shadow: 0 4px 15px rgba(2, 119, 189, 0.3);
|
|
}
|
|
|
|
.back-to-top.show {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.back-to-top:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 25px rgba(2, 119, 189, 0.4);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
section {
|
|
padding: 80px 15px;
|
|
min-height: auto;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.floating-elements {
|
|
display: none;
|
|
}
|
|
|
|
.back-to-top {
|
|
bottom: 20px;
|
|
right: 20px;
|
|
width: 45px;
|
|
height: 45px;
|
|
}
|
|
} |