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

body, html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.parallax-container {
    perspective: 1px;
    height: 100vh;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: auto;
}

.parallax-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform-origin-x: 100%;
}

.bg-layer {
    background: #000;
    z-index: -1;
    overflow: hidden;
    height: 100vh;
}

.content-layer {
    padding: 5% 15%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

h1 {
    font-size: 2.5em;
    color: #FFF;
    text-align: center;
}

h2 {
    font-size: 1.8em;
    color: #FFF;
    text-align: center;
}

p {
    color: #FFF;
    text-align: center;
}

.star, .sun {
    position: absolute;
    background-color: #FFF;
    animation: moveStar 30s linear infinite, twinkle 10s ease-in-out infinite;
}

.star {
    width: 2px;
    height: 2px;
    border-radius: 50%;
}

.sun {
    border-radius: 50%;
}

.small-sun {
    width: 20px;
    height: 20px;
    background-color: #FFD700;
}

.medium-sun {
    width: 40px;
    height: 40px;
    background-color: #FFA500;
}

.large-sun {
    width: 60px;
    height: 60px;
    background-color: #FF6347;
}

@keyframes twinkle {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

@keyframes moveStar {
    0% { transform: translateY(0); }  
    100% { transform: translateY(calc(100vh + 100%)); }
}

.logtrees-text {
    color: #0F0;
    font-weight: bold;
    filter: brightness(150%) drop-shadow(0 0 5px #0F0);
}

.gravity-lab-text {
    color: purple;
    font-weight: bold;
    filter: brightness(150%) drop-shadow(0 0 5px #0F0);
}

.gravitylink-text {
    color: blue;
    font-weight: bold;
    filter: brightness(150%) drop-shadow(0 0 5px blue);
}

.gravitychamber-text {
    color: violet;
    font-weight: bold;
    filter: brightness(150%) drop-shadow(0 0 5px violet);
}

.theantiredpill-text {
    color: red;
    font-weight: bold;
    filter: brightness(150%) drop-shadow(0 0 5px red);
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.contact-button:hover {
    background-color: #555;
}

@media not all and (min-resolution: 0.001dpcm) {
    @media {
        .bg-layer {
            height: -webkit-fill-available; /* Specific height property for Safari */
        }
    }
}
.project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px; /* Adjust gap between link and description */
    text-align: center;
}

.project-link {
    color: #FFF;
    text-decoration: none;
    font-size: 1.2em; /* Adjust font size as needed */
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.05);
}

.project-description {
    color: #CCC; /* Lighter color for the description */
    max-width: 80%; /* Limit width to enhance readability */
    font-size: 0.9em; /* Smaller font size for descriptions */
}

.coming-soon .project-link, .coming-soon .project-description {
    opacity: 0.7; /* Dim the text for coming soon projects */
}

.contact-button {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .project-container {
        flex-direction: column;
    }
}
