Faunix-Hub / style.css
Limen4ik's picture
Update style.css
671ccf9 verified
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-color: #000000;
width: 100%;
overflow-x: hidden;
font-family: 'Poppins', sans-serif;
color: #ffffff;
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #000000;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.3);
}
.separator {
width: 80%;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
border: none;
margin: 0 auto;
}
.navbar {
position: fixed;
top: 30px;
left: 50%;
transform: translate(-50%, -20px);
width: 90%;
max-width: 1225px;
height: 80px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 40px;
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 100px;
z-index: 100;
opacity: 0;
animation: fadeInNavbar 2s ease-out 5s forwards;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.brand-wrapper {
position: relative;
height: 100%;
display: flex;
align-items: center;
}
.brand-container {
display: flex;
align-items: center;
gap: 12px;
transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}
.brand-slogan {
position: absolute;
left: 0;
font-size: 1.1rem;
font-weight: 700;
color: rgba(255, 255, 255, 0.9);
white-space: nowrap;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}
.brand-wrapper.show-slogan .brand-container {
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
}
.brand-wrapper.show-slogan .brand-slogan {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.nav-logo {
height: 35px;
width: auto;
}
.brand-name {
font-weight: 900;
font-size: 2.2rem;
color: #ffffff;
margin: 0;
}
.nav-links {
display: flex;
gap: 15px;
}
.nav-item {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
font-weight: 700;
font-size: 1rem;
padding: 10px 24px;
border-radius: 100px;
transition: all 0.3s ease;
border: 1px solid transparent;
}
.nav-item:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
@keyframes fadeInNavbar {
0% {
opacity: 0;
transform: translate(-50%, -25px);
}
100% {
opacity: 1;
transform: translate(-50%, 0);
}
}
.hero-section {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: flex-start;
position: relative;
}
.cinematic-logo {
width: 100%;
max-width: 1920px;
height: auto;
display: block;
opacity: 0;
filter: brightness(0.2);
animation: slowFade 6s ease-in-out 1s forwards;
}
@keyframes slowFade {
0% {
opacity: 0;
filter: brightness(0.2);
}
100% {
opacity: 1;
filter: brightness(0.9);
}
}
.projects-section {
padding: 80px 20px 100px 20px;
position: relative;
z-index: 1;
}
.projects-section::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.8px, transparent 0.8px);
background-size: 36px 36px;
background-position: center;
-webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%);
mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%);
pointer-events: none;
}
.section-title {
text-align: center;
font-weight: 900;
font-size: 3.5rem;
margin-bottom: 60px;
text-transform: uppercase;
}
.projects-grid {
display: flex;
flex-wrap: wrap;
gap: 25px;
justify-content: center;
max-width: 1225px;
margin: 0 auto;
}
.project-card, .about-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 36px;
opacity: 0;
transform: translateY(60px);
transition: all 0.8s ease;
}
.project-card.active, .about-card.active {
opacity: 1;
transform: translateY(0);
}
.project-card {
padding: 30px;
width: 280px;
display: flex;
flex-direction: column;
}
.project-card-disabled {
background: rgba(128, 128, 128, 0.01) !important;
border: 1px solid rgba(128, 128, 128, 0.06) !important;
cursor: not-allowed;
}
.disabled-text {
color: #444444 !important;
}
.highlight-disabled {
color: #555555 !important;
font-weight: 800;
}
.btn-disabled {
background-color: #111111 !important;
color: #444444 !important;
border: 2px solid #222222 !important;
cursor: not-allowed;
pointer-events: none;
}
.btn-disabled:hover {
background-color: #111111 !important;
color: #444444 !important;
}
.about-card {
padding: 50px 60px;
max-width: 1000px;
margin: 0 auto;
text-align: left;
}
.project-name {
font-weight: 900;
font-size: 2rem;
margin-bottom: 15px;
}
.project-desc {
color: #a0a0a0;
font-weight: 600;
font-size: 1.05rem;
line-height: 1.6;
margin-bottom: 40px;
flex-grow: 1;
}
.highlight {
color: #ffffff;
font-weight: 800;
}
.btn {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 60px;
text-decoration: none;
border-radius: 100px;
background-color: #ffffff;
color: #000000;
font-family: 'Poppins', sans-serif;
font-weight: 900;
font-size: 1.1rem;
transition: all 0.3s ease;
border: 2px solid #ffffff;
}
.btn:hover {
background-color: #000000;
color: #ffffff;
}
.about-section {
padding: 100px 20px;
position: relative;
text-align: center;
}
.about-background-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center 10%;
z-index: -1;
opacity: 0;
filter: brightness(0.2);
}
.about-background-image.active {
animation: aboutFadeIn 4s ease-in-out forwards;
}
@keyframes aboutFadeIn {
0% {
opacity: 0;
filter: brightness(0.2);
}
100% {
opacity: 0.8;
filter: brightness(0.9);
}
}
.about-text {
color: #e0e0e0;
font-weight: 600;
font-size: 1.15rem;
line-height: 1.8;
margin-bottom: 25px;
}
.about-subtitle {
color: #ffffff;
font-weight: 800;
font-size: 1.8rem;
margin-top: 40px;
margin-bottom: 15px;
}
.footer {
max-width: 1225px;
margin: 0 auto;
padding: 60px 20px 80px 20px;
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
gap: 40px;
}
.footer-brand {
display: flex;
align-items: center;
gap: 15px;
}
.footer-logo {
width: 50px;
height: auto;
}
.footer-brand-name {
font-weight: 900;
font-size: 2rem;
color: #ffffff;
}
.footer-links-container {
display: flex;
gap: 100px;
}
.footer-column {
display: flex;
flex-direction: column;
gap: 15px;
}
.footer-column-title {
color: #ffffff;
font-weight: 800;
font-size: 1.2rem;
}
.footer-link {
color: #888888;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
}
.footer-link:hover {
color: #ffffff;
transform: scale(1.1);
}
.dust-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
overflow: hidden;
z-index: 2;
}
.particle {
position: absolute;
background: #ffffff;
border-radius: 50%;
box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
opacity: 0;
animation: floatParticle var(--duration) ease-in-out var(--delay) infinite;
}
@keyframes floatParticle {
0% {
transform: translate(0, 0);
opacity: 0;
}
20% {
opacity: var(--max-opacity);
}
80% {
opacity: var(--max-opacity);
}
100% {
transform: translate(var(--dx), var(--dy));
opacity: 0;
}
}
@media (max-width: 768px) {
.navbar {
width: 95%;
padding: 0 20px;
height: 70px;
top: 15px;
}
.brand-name {
font-size: 1.8rem;
}
.nav-item {
padding: 8px 16px;
font-size: 0.9rem;
}
.nav-links {
gap: 5px;
}
.brand-slogan {
font-size: 0.85rem;
}
}