* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'CustomFont'; 
    src: url('./assets/Orial.ttf') format('truetype');
    font-weight: normal;  
    font-style: normal;
}

.header {
    font-family: 'CustomFont', sans-serif;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; 
}

.header ul li a, 
.header ul li a:visited {
    font-family: 'CustomFont', sans-serif;
    text-decoration: none;
    color: rgb(24, 66, 30);
    display: inline-block;
    padding: clamp(4px, 1vw, 10px);
    font-size: clamp(0.6rem, 1.1vw, 1.5rem);

    transform: translateY(8px) scale(1);
    transition: color 0.3s ease;
    transition: transform 0.3s ease;

    text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.9),
        0px 0px 8px rgba(255, 255, 255, 0.6), 
        0px 0px 18px rgba(255, 255, 255, 0.3);
}

.header ul li a:hover {
    transform: translateY(8px) scale(1.15);
    color: rgb(17, 97, 29);
    transition: color 0.3s ease;
    transition: transform 0.3s ease;
}

.header ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0.5rem;
    gap: clamp(1rem, 8vw, 10rem);
}

.logo {
    height: clamp(35px, 4vw, 50px);
    width: auto;
    transition: filter 0.3s ease,
                transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(18%) sepia(45%) saturate(1478%) hue-rotate(85deg) brightness(93%) contrast(92%)
        drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.9))
        drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.6))
        drop-shadow(0px 0px 18px rgba(255, 255, 255, 0.3));
}

.logo:hover {
    cursor: pointer;
    transform: scale(1.2);
    filter: brightness(0) saturate(100%) invert(27%) sepia(61%) saturate(1402%) hue-rotate(94deg) brightness(97%) contrast(98%)
        drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.9))
        drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.6))
        drop-shadow(0px 0px 18px rgba(255, 255, 255, 0.3));
}

#experience {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

#experience-canvas {
    width: 100%;
    height: 100%;
}

.cloud-box {
    position: fixed;
    top: 50%;
    left: 150vw; 
    transform: translate(-50%, -50%);
    
    width: 90vw; 
    max-width: 600px;
    
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 80px;
    
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 4rem);
    
    border: 2px solid rgba(255, 255, 255, 0.2); 
    
    -webkit-mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
    
    text-align: center;
    color: white;
    font-family: 'CustomFont', sans-serif;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    
    z-index: 5; 
    
    transition: left 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.cloud-box h3 {
    color: rgb(208, 250, 255);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.6);
}

.cloud-box p {
    font-size: clamp(0.9rem, 4vw, 1.2rem); 
    line-height: 1.5;
    text-shadow: 0px 0px 8px rgba(4, 4, 4, 0.63);
    
    overflow-wrap: break-word; 
    word-wrap: break-word;
}

.cloud-box.in-center {
    left: 50%; 
}

.cloud-box.out-left {
    left: -50vw; 
}

.cloud-box p a {
    color: rgb(255, 228, 148); 
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;

    text-shadow: 0px 0px 10px rgba(255, 228, 148, 0.5); 
    
    -webkit-tap-highlight-color: transparent;
}

.cloud-box p a:hover {
    color: rgb(252, 181, 1);  
}

.highlight {
    color: rgb(255, 228, 148);
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.6);
}

/* yeah i copied this...*/
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(198, 252, 255);
    font-family: 'CustomFont', sans-serif;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid rgb(198, 252, 255);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* music thingy */
.now-playing {
    display: flex; 
    position: fixed;
    
    bottom: clamp(10px, 3vw, 30px);
    left: clamp(10px, 3vw, 30px);
    
    align-items: center;
    gap: clamp(10px, 2.5vw, 15px); 
    
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    border-radius: clamp(10px, 3vw, 15px);
    padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 20px);
    
    z-index: 20; 
    color: white;
    font-family: 'CustomFont', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease;
}

.now-playing img {
    width: clamp(30px, 8vw, 40px);
    height: clamp(30px, 8vw, 40px);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.track-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-text {
    font-size: clamp(0.55rem, 1.5vw, 0.7rem);
    color: rgb(255, 228, 148); 
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marquee-window {
    max-width: clamp(140px, 50vw, 250px);
    overflow: hidden;
    white-space: nowrap;
    
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.track-name {
    font-size: clamp(0.55rem, 1.5vw, 0.7rem);
    display: inline-block;
    margin: 0;
}

.track-name.scrolling {
    padding-left: 100%; 
    animation: slide-left 8s linear infinite; 
}

@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}