ritual.sh/assets/sass/pages/audio.scss
2025-12-13 15:17:46 +00:00

448 lines
8.3 KiB
SCSS

.audio-page {
position: relative;
width: 100%;
height: 100vh;
background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
color: #fff;
text-align: center;
a {
color: #fff;
}
> .page-content {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 60%;
margin: auto;
z-index: 999;
padding-top: 330px;
@include media-down(lg) {
padding-top: 400px;
}
.audio-intro {
width: 100%;
margin: auto;
text-align: left;
margin-bottom: 30px;
display: grid;
grid-template-columns: 1fr auto 1fr;
gap: 2rem;
> div > .neon-sign {
position: relative;
top: auto;
left: auto;
right: auto;
bottom: auto;
transform: none;
margin-bottom: 40px;
> .neon-text {
font-size: 3rem;
animation-delay: 2.5s;
line-height: 1rem;
> span {
display: block;
position: absolute;
top: 50px;
left: 50%;
transform: rotate(110deg);
letter-spacing: -20%;
animation-delay: 2.3s;
}
}
}
> *:nth-child(3n + 2) {
align-self: center;
font-size: 3rem;
}
@include media-down(xl) {
width: 100%;
grid-template-columns: 1fr;
> *:nth-child(3n + 2) {
display: none;
}
}
ul {
margin-bottom: 2rem;
li {
margin-left: 2rem;
}
}
.intro-ipod {
float: left;
@include media-down(lg) {
display: none;
}
}
p {
margin-bottom: 1rem;
}
}
> .neon-sign {
position: absolute;
top: 0;
left: 50%;
top: 100px;
width: 100%;
pointer-events: none;
.neon-text {
@include media-down(lg) {
font-size: 5rem;
}
}
}
}
.record-shelf-container {
.shelf {
display: flex;
gap: 5%;
position: relative;
overflow: visible;
padding-left: 5%;
padding-right: 5%;
}
.shelf::before {
content: "";
position: absolute;
bottom: -10px;
left: 0;
right: 0;
height: 10px;
background: linear-gradient(
to bottom,
#6b4423 0%,
#4a2f1a 50%,
#2d1b0e 100%
);
border-radius: 0 0 6px 6px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.record-slot {
position: relative;
width: 20%;
min-width: 100px;
aspect-ratio: 1/1;
}
.record-sleeve {
width: 100%;
height: 100%;
position: relative;
transition: transform 0.3s ease;
&.active {
.sleeve-front {
border: 3px solid white;
}
}
}
.sleeve-front {
width: 100%;
height: 100%;
aspect-ratio: 1/1;
position: absolute;
border-radius: 2px;
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.3),
inset 0 0 20px rgba(0, 0, 0, 0.2);
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: white;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
padding: 10px;
text-align: center;
background-image: var(--album-cover);
background-size: cover;
background-position: center;
transition: transform 0.3s ease;
z-index: 99;
.album-title {
font-size: 16px;
opacity: 0;
}
&:hover {
.album-title {
opacity: 1;
}
}
}
.vinyl-record {
position: absolute;
width: 95%;
height: 95%;
border-radius: 50%;
top: 2%;
right: 2%;
background:
radial-gradient(circle at center, #1a1a1a 30%, transparent 30%),
conic-gradient(
from 0deg,
#0f0f0f 0deg,
#1a1a1a 45deg,
#0f0f0f 90deg,
#1a1a1a 135deg,
#0f0f0f 180deg,
#1a1a1a 225deg,
#0f0f0f 270deg,
#1a1a1a 315deg,
#0f0f0f 360deg
);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
z-index: 1;
transition: transform 0.3s ease;
}
.vinyl-record::before {
content: "";
position: absolute;
width: 35%;
height: 35%;
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: radial-gradient(
circle,
#000 0%,
#ff4444 10%,
#cc0000 50%,
#1a1a1a 50%,
#0f0f0f 100%
);
}
.vinyl-record::after {
content: "";
position: absolute;
transform: translateX(-50%);
width: 100%;
height: 100%;
border-radius: 50%;
background: repeating-radial-gradient(
circle at center,
transparent 0px,
transparent 2px,
rgba(255, 255, 255, 0.03) 2px,
rgba(255, 255, 255, 0.03) 3px
);
}
.record-slot:hover .vinyl-record {
transform: translateX(20%);
}
.record-slot:hover .sleeve-front {
transform: translateX(-10%);
}
}
.audio-shelf-text {
width: 60%;
margin: auto;
margin-top: 50px;
margin-bottom: 50px;
text-align: left;
border: 1px solid white;
padding: 30px;
border-radius: 10px;
backdrop-filter: blur(10px);
background-color: rgba(255, 255, 255, 0.1);
@include media-down(lg) {
width: 100%;
padding: 10px;
}
p {
margin-bottom: 1rem;
}
}
.audio-gear {
margin: 2rem 0;
> .neon-sign {
position: relative;
top: auto;
left: auto;
right: auto;
bottom: auto;
transform: none;
margin-bottom: 90px;
> .neon-text {
font-size: 5rem;
animation-delay: 2.5s;
line-height: 1rem;
> span {
display: block;
position: absolute;
top: 50px;
left: 50%;
transform: rotate(80deg);
letter-spacing: -20%;
animation-delay: 2.3s;
}
}
}
.gear-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.5rem;
margin-top: 1.5rem;
@media (max-width: 768px) {
grid-template-columns: 1fr;
}
.gear-item {
backdrop-filter: blur(10px);
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid white;
border-radius: 4px;
padding: 1.5rem;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
gap: 1rem;
&:hover {
transform: translateY(-2px);
}
.gear-icon {
font-size: 2rem;
text-align: center;
}
.gear-content {
display: flex;
flex-direction: column;
gap: 0.5rem;
flex: 1;
}
}
}
.gear-title {
font-size: 1.2rem;
margin: 0;
color: var(--neon-cyan);
font-family: var(--mono-font, monospace);
}
.gear-category {
font-size: 0.85rem;
color: var(--neon-magenta);
text-transform: uppercase;
letter-spacing: 0.05em;
opacity: 0.8;
}
.gear-summary {
font-size: 0.9rem;
line-height: 1.5;
opacity: 0.85;
margin: 0.5rem 0;
flex: 1;
}
.gear-link {
color: var(--neon-cyan);
text-decoration: none;
font-size: 0.9rem;
margin-top: auto;
transition: color 0.3s ease;
&:hover {
color: var(--neon-magenta);
text-decoration: underline;
}
}
}
}
.starfield-full {
position: fixed;
inset: 0;
height: 100%;
background: linear-gradient(180deg, #0a0f1a 0%, #1a2a3a 50%, #2a3a52);
> .buildings-bg {
position: fixed;
bottom: 0;
left: 15%;
height: 40%;
width: 50%;
z-index: 2;
@include media-down(lg) {
width: 100%;
left: 0;
}
}
}
.star {
position: absolute;
width: 2px;
height: 2px;
background: white;
border-radius: 50%;
animation: twinkle linear infinite;
}
.star.small {
width: 1px;
height: 1px;
}
.star.medium {
width: 2px;
height: 2px;
}
.star.large {
width: 3px;
height: 3px;
box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}
@keyframes twinkle {
0%,
100% {
opacity: 0.3;
}
50% {
opacity: 1;
}
}