Files
Portfolio2/src/app/globals.css
T

315 lines
5.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;
}
@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: 20px;
left: 50%;
transform: translateX(-50%);
padding: 0.5rem 1rem;
border-radius: 5px;
color: #fff;
font-size: 1rem;
z-index: 1000;
background: none;
animation: pulsePrompt 2s infinite ease-in-out;
}
.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;
padding: 2rem;
border-radius: 10px;
border: 2px solid #3d003d;
background-color: rgba(20, 0, 20, 0.4);
transition: opacity 0.3s ease;
}
.projectImage {
border-radius: 10px;
margin: 1.5rem 0;
border: 4px solid #3d003d;
animation: pulseBorder 1.5s infinite alternate ease-in-out;
}
.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;
}