Files
WebsitePortfolio2/src/app/globals.css
T
IM23a-spirgif 1bd462ce30 Added Skills
2025-03-27 11:08:16 +01:00

196 lines
3.1 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;
}
.scrollPrompt {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
padding: 0.5rem 1rem;
border-radius: 5px;
color: #fff;
font-size: 1rem;
z-index: 1000;
background: none;
}
.fade-in-section.is-visible {
opacity: 1;
transform: none;
}
::-webkit-scrollbar {
display: none;
}
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);
}
}