body, html {
    margin: 0;
    padding: 0;
    font-family: var(--text-font);
}

.parallax-photo {
    position: relative;
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.parallax-photo img {
    position: absolute;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.parallax-photo p#px-text {
    color: white;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    font-family: 'HaveIdea', 'HeyAugust', cursive;
    z-index: 20; /* Ensure text is above the image */
    position: relative;
    margin-top: -0px;
    padding: 0;
}

@media (max-width: 600px) {
    .parallax-photo p#px-text {
        font-size: 2.5rem;
    }
}

.background-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 100vh;
    width: 100%;
    height: 900px;
    background-color: rgb(255, 255, 255);
    opacity: 1;
}

body {
    overflow-x: hidden; /* Disable horizontal scrolling */
}

.horizontal-section {
    width: 100%;
}

.h2 {
    font-family: var(--caps-font);
    font-size: 2.5rem;
    border-radius: 5px;
    padding-left: 50px;
    padding-right: 50px;
    justify-content: center;
}

.text-section {
    font-family: var(--text-font);
    width: 50%;
    margin: 0 auto;
    text-align: center;
    line-height: 1.5;
    font-size: 0.8rem;
}

@media (min-width: 1400px) {
    .text-section {
        width: 60%;
    }
    .button-container {
        width: 60%;
        font-size: 1.6rem;
    }
}

@media (max-width: 1400px) {
    .text-section {
        width: 60%;
    }
    .button-container {
        width: 60%;
        font-size: 1.6rem;
    }
}

@media (max-width: 1100px) {
    .text-section {
        width: 70%;
    }
    .button-container {
        width: 70%;
        font-size: 1.6rem;
    }
}

@media (max-width: 900px) {
    .button-container {
        font-size: 1.4rem;
        gap: 10px;
    }
}

@media (max-width: 750px) {
    .text-section {
        width: 85%;
    }
    .button-container {
        width: 85%;
        font-size: 1.2rem;
        gap: 10px;
    }
}

@media (max-width: 400px) {
    .button-container {
        font-size: 0.9rem;
        gap: 5px;
    }
}

.text-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* The Buttons: */
.button-container {
    display: flex;
    justify-content: center;
    font-family: var(--text-font);
    gap: 20px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 80px;
}

.button-container a:hover {
    background-color: rgb(244, 229, 172);
}

.button-container a {
    /* text-decoration: none; */
    color: black;
    border-radius: 3px;
    /* display: flex; */
    /* align-items: center;  */
}

.button {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    line-height: 2rem;
    max-width: 300px;
}

.button-icon {
    height: auto;
    width: 50%;
    margin: 0 5%;
}

.button-text-left {
    margin-right: auto;
    text-align: right;
}

.button-text-right {
    margin-left: auto;
    text-align: left;
}
/* 
@media (max-width: 1000px) {
} */