Files
WebsitePortfolio2/src/app/globals.css
T
IM23a-spirgif de828251dc - Removed unused SVG files from the project.
- Updated Contact page layout, adding contact links and restructuring sections.
- Modified CSS for improved styling and hover effects on contact links.
- Refactored metadata for layout with updated title, description, and favicon.
- Renamed `title` state on the Home page for clarity.
2025-06-03 19:17:53 +02:00

540 lines
8.8 KiB
CSS

body {
background: linear-gradient(135deg, #000000, #1a001a);
font-size: 1.125rem;
font-family: 'Helvetica', sans-serif;
color: #ffffff;
margin: 0;
padding: 0;
overflow-x: hidden;
overscroll-behavior: none;
}
html {
height: 100%;
min-height: 100vh;
background: linear-gradient(135deg, #000000, #1a001a);
overflow-x: hidden;
overscroll-behavior: none;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
.textLeft {
font-size: 2rem;
}
.header {
text-align: center;
margin-bottom: 2rem;
}
.title {
font-size: 2.5rem;
margin-bottom: 0.5rem;
color: #ffffff;
}
.title.normal {
opacity: 1;
}
.title.fadeOut {
animation: fadeOutAnimation 0.5s forwards;
}
.title.fadeIn {
animation: fadeInAnimation 0.5s forwards;
}
@keyframes fadeOutAnimation {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes fadeInAnimation {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.intro {
font-size: 1.5rem;
color: #cccccc;
}
.fade-in-section {
min-height: 90vh;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.3s ease-out, transform 0.3s ease-out;
will-change: opacity, transform;
}
.firstSection {
min-height: auto;
padding: 2rem 0;
}
.section {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
.textLeft,
.imageRight,
.imageLeft,
.buttonLeft {
padding: 1rem;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}
.buttonLeft {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.learnMoreButton {
padding: 1rem 2rem;
font-size: 1.25rem;
background-color: #3d003d;
border: none;
border-radius: 5px;
color: #fff;
cursor: pointer;
transition: background-color 0.3s ease;
}
.learnMoreButton:hover {
background-color: #2e002e;
}
@keyframes pulsePrompt {
0% { opacity: 0.6; transform: translateY(0); }
50% { opacity: 1; transform: translateY(-5px); }
100% { opacity: 0.6; transform: translateY(0); }
}
.scrollPrompt {
position: fixed;
bottom: 40px;
left: 0;
width: 100%;
text-align: center;
font-size: 1rem;
padding: 0.5rem 1rem;
color: #fff;
border-radius: 5px;
z-index: 1000;
background: none;
animation: pulsePrompt 2s infinite ease-in-out;
pointer-events: none;
}
.fade-in-section.is-visible {
opacity: 1;
transform: none;
}
::-webkit-scrollbar {
display: none;
}
.learnMoreButton:hover {
background-color: #2e002e;
transform: scale(1.05);
box-shadow: 0 0 10px #600060;
}
body {
-ms-overflow-style: none;
scrollbar-width: none;
}
@keyframes pulseBorder {
0% {
box-shadow: 0 0 5px #4b004b;
}
50% {
box-shadow: 0 0 20px #600060;
}
100% {
box-shadow: 0 0 5px #4b004b;
}
}
.imageRight img,
.imageLeft img {
box-sizing: border-box;
width: auto;
max-width: 90%;
height: auto;
max-height: 500px;
border-radius: 8px;
border: 4px solid #3d003d;
animation: pulseBorder 1.5s infinite alternate ease-in-out;
object-fit: contain;
display: block;
}
@keyframes wave {
0% {
transform: translateY(8px);
}
50% {
transform: translateY(0px);
}
100% {
transform: translateY(8px);
}
}
body {
overflow-x: hidden;
}
@media (max-width: 768px) {
.section {
flex-direction: column;
text-align: center;
}
}
.projectContainer {
min-height: 100vh;
padding: 2rem;
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.projectCard {
max-width: 800px;
width: 100%;
padding: 2rem;
border-radius: 10px;
border: 2px solid #3d003d;
background-color: rgba(20, 0, 20, 0.4);
transition: opacity 0.3s ease;
box-sizing: border-box;
}
.projectImage {
border-radius: 10px;
margin: 1.5rem 0;
border: 4px solid #3d003d;
animation: pulseBorder 1.5s infinite alternate ease-in-out;
max-width: 100%;
height: auto;
object-fit: contain;
}
.projectNavigation {
margin-top: 2rem;
display: flex;
gap: 2rem;
}
.arrowButton {
padding: 0.75rem 1.5rem;
font-size: 1.5rem;
background-color: #3d003d;
border: none;
border-radius: 5px;
color: #fff;
cursor: pointer;
transition: background-color 0.3s ease;
}
.arrowButton:hover {
background-color: #2e002e;
}
.fade-in {
opacity: 1;
}
.fade-out {
opacity: 0;
}
@keyframes fadeInSkill {
0% {
opacity: 0;
transform: translateY(10px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.skill-card {
opacity: 0;
transform: translateY(10px);
transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.animate-skill {
animation: fadeInSkill 0.6s ease-out forwards;
}
@keyframes fadeInButton {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.learnMoreButton {
animation: fadeInButton 0.5s ease-out;
}
/* === Navigation Styles === */
nav.navbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 2rem;
background-color: #1a001a;
border-bottom: 2px solid #3d003d;
position: sticky;
top: 0;
z-index: 999;
}
.navbar .nav-logo {
color: #fff;
font-size: 1.5rem;
font-weight: bold;
text-decoration: none;
}
.navbar .nav-links {
display: flex;
gap: 1.5rem;
}
.navbar .nav-link {
color: #fff;
text-decoration: none;
font-size: 1rem;
transition: color 0.3s ease;
}
.navbar .nav-link:hover {
color: #ff99ff;
}
/* Optional: mobile responsiveness */
@media (max-width: 768px) {
.navbar {
flex-direction: column;
align-items: flex-start;
padding: 1rem;
}
.navbar .nav-links {
flex-direction: column;
gap: 1rem;
width: 100%;
}
.navbar .nav-link {
width: 100%;
}
}
/* === Contact Page === */
.contact-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
margin-top: 2rem;
}
.contact-item {
display: flex;
flex-direction: column;
align-items: center;
max-width: 220px;
text-align: center;
}
.contact-pic {
width: 180px;
height: 180px;
border-radius: 50%;
object-fit: cover;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease;
}
.contact-pic:hover {
transform: scale(1.05);
}
.contact-name {
font-size: 1.2rem;
font-weight: bold;
margin-top: 1rem;
color: #ffffff;
}
.contact-links {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
margin-top: 1rem;
}
.contact-link {
display: flex;
align-items: center;
gap: 0.5rem;
color: #ccc;
font-size: 1rem;
text-decoration: none;
transition: color 0.3s ease;
}
.contact-link:hover {
color: #fff;
}
.contact-link ion-icon {
font-size: 1.2rem;
}
.contact-link .icon {
font-size: 0.9rem;
margin-top: 0.5rem;
text-align: center;
color: #ccc;
transition: color 0.3s;
}
.contact-link:hover .icon {
color: #fff;
}
.impressum {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
margin-top: 2rem;
}
.impressum-item {
background-color: rgba(255, 255, 255, 0.08);
padding: 1rem 2rem;
border-radius: 10px;
color: #ffffff;
min-width: 240px;
text-align: center;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}
main h1,
main h2 {
text-align: center;
color: #ffffff;
margin-bottom: 1rem;
}
main {
animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(15px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 768px) {
.contact-pic {
width: 140px;
height: 140px;
}
.impressum-item {
padding: 1rem;
font-size: 0.95rem;
}
}
@media (max-width: 768px) {
.projectCard {
padding: 1.5rem 1rem;
}
.projectImage {
width: 100%;
height: auto;
}
.projectTitle {
font-size: 1.5rem;
}
.projectDescription {
font-size: 1rem;
}
.learnMoreButton {
font-size: 1rem;
padding: 0.75rem 1.5rem;
}
.arrowButton {
padding: 0.5rem 1rem;
font-size: 1.25rem;
}
.projectNavigation {
flex-direction: row;
gap: 1rem;
justify-content: center;
margin-top: 1.5rem;
}
}