body {
    font-family: 'Arial', sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    z-index: -1; /* Ensuring that the body is below other positioned elements */
}

@font-face {
    font-family: 'Futura Condensed Bold';
    src: url('/webfonts/2947D0_0_0.woff') format('woff'),
         url('/webfonts/2947D0_0_0.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

header {
    position: fixed;
    top: 10px;
    left: 10px;
    font-weight: bold;
    font-family: 'Futura Condensed', sans-serif;
    z-index: 100; /* Ensure it's on top of everything */
    background-color: transparent; /* Start with a transparent background */
    transition: color 1s ease; /* Smooth transition for color change */
}

.header-logo {
    font-family: 'Futura Condensed Bold', sans-serif;
    text-decoration: none;
    color:#000;
    font-size:1.5rem
}
.contrast-color .header-logo {
    color:white;
}

.btn {
    background-color: #a795ef;
    color: white;
    border: none;
    padding: 8px 23px;  /* Adjusting for border width */
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.2em;
    margin-top: 20px; /* Spacing between button and text */
}

.btn:hover {
    background-color: #6e60a5;
}

.btn + .subline {
    margin-top: 10px; /* Spacing between button and text */
    display: block;
}

.subline a {
    color: rgb(101, 92, 118);
    text-decoration: none;
    font-size: 0.9em;
}

#areaThree .subline a {
    color: rgb(212, 202, 188);
}

.input {
    background-color: white;
    color: black;
    width: 310px;
    border: black 2px solid;
    padding: 6px 21px;  /* Adjusting for border width */
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    margin-top: 20px; /* Spacing between button and text */
}

.form-inline {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next line */
    justify-content: start; /* Align items to the start */
    gap: 10px; /* Spacing between child items */
    margin-bottom: 20px;
}

.form-inline .btn, .form-inline .input {
    margin-top:0;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .form-inline .btn, .form-inline .input {
        width: 100%; /* On mobile, make them full width */
        margin-right: 0; /* Remove the right margin */
    }
}

footer {
    position: fixed;
    color: rgb(101, 92, 118);
    bottom: 10px;
    right: 10px; /* Move the footer to the right */
    font-size: 0.9em;
    text-align: right; /* Align the text to the right */
    z-index: 20; /* Ensure the footer is above other elements */
    transition: color 1s ease; /* Smooth transition for color change */
}

h1, h2, h3 {
    font-family: 'Futura Condensed Bold', sans-serif;
}

h1, h2 {
    text-transform: uppercase;
}


p, h2, h3 { /* Providing consistent design for text elements */
    font-size: 1.5em;
    margin-bottom: 20px;
    opacity: 1;
    text-align: center;
    transition: opacity 0.5s;
    color: white;
}

h2 {
    color: white;
    font-size: 2.5em; /* Slightly increasing headline size for emphasis */
}

h3 {
    color: white;
    font-size: 2.5em;
}

p {
    line-height: 1.5; /* Improve readability */
}

.logo-middle img {
    max-width: 200px; /* Restricting image size */
    display: block;
    margin: 0 auto;
}

section + section {
    margin-top: 50px; /* Spacing between sections */
}

footer a {
    color: rgb(101, 92, 118);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    transition: color 1s ease; /* Smooth transition for color change */
}

footer a:hover {
    text-decoration: underline;
}

.changing-text {
    font-size: 1.5em;
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.5s;
    text-align: center;
}

/* Animations */
@keyframes fadeInOut {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.changing-text {
    animation: fadeInOut 2s infinite;
}

/* PARALLAX SECTIONS */

.parallax-container {
    position: relative;
    height: 150vh;
    overflow: hidden;
    padding: 20px;
}

#areaOne {
    background: linear-gradient(white, #a795ef);
}

#areaTwo {
    position: relative;  /* Add this line */
    background: linear-gradient(#28223f, black);
    z-index: 1; /* Ensure content of #areaTwo is above the pseudo-element*/
}

#areaTwo::before    {
    content: "";
    background-image: url(/img/bg-universe.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1;  /* Set the desired opacity*/
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;  /* Place it below the actual content of #areaTwo*/
}


#areaThree {
    background: linear-gradient(#e937bd, rgb(172, 209, 26));
}

#areaThree .btn {
    background: transparent;
    border: 2px solid #ffffff;  /* White border */
    color: #ffffff;
    transition: all 0.3s ease;
}

#areaThree .btn:hover {
    background: rgba(255, 255, 255, 0.8);  /* Semi-transparent white on hover */
    color: #5e2a7e;  /* Text color changes to the deep purple for contrast */
}

#areaThree {
    position: relative; /* To absolutely position the images inside this container */
}

.parallax-image {
    position: absolute;
    width: 200px; /* or whatever size you want */
    margin-left:-100px;
    height: auto;
    z-index: 5; /* Keep the images above other content but below the text and other important content */
    opacity: 1; /* Optional: Make images slightly transparent */
}

#areaLast {
    background: white;
}

#areaOne p,
#areaLast p ,
#areaLast h3 {
    color:#1e2a34;
}

.content {
    /*position: absolute; not needed I think */
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content p {
    max-width: 600px;
}

.content-boxed {
    width: 100%; /* default to full width on mobile */
    box-sizing: border-box; /* ensures padding doesn't expand box */
    text-align: center; /* centers the text inside the content-boxed */
    margin: 0 auto; /* this should horizontally center the element */
}

/* Media query for desktop screens */
@media screen and (min-width: 769px) { /* targeting screens wider than 768px */
    .content-boxed {
        width: 400px; /* set width to 400px on desktop */
    }
}

@media screen and (max-width: 768px) { /* targeting screens wider than 768px */
    .parallax-image {
        width: 130px; /* or whatever size you want */
        margin-left:-65px;
    }
    p {
        font-size: 1.4em;
        margin-bottom: 17px;
    }
    h2 {
        font-size: 2.4em;
    }
    footer {
        max-width: 90%;
    }
}

.contrast-color {
    color: white !important;
}

.contrast-color a {
    color: white !important;
}