html, body {
    overflow-x: hidden;
    width: 100%;
}

/* #region FRONT PAGE */
.section1 {
    position: fixed;
    background: url('Mining/Mining.jpg') no-repeat center center/cover;
    background-size: cover; /* Ensures the image covers the section */
    color: black;
    flex-direction: column;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    text-align: center;
}

.section1 h1 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(44px, 12vw, 120px);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    background-color: rgb(255, 255, 255,0.4);
}

.section1 h2 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(12.5px, 3.75vw, 37.5px);
    border-radius: 20px;
    animation: text-grow-shrink 3s ease-in-out infinite;
    text-shadow: 0px 5px 20px rgb(255, 255, 255);
}

@keyframes text-grow-shrink {
    0% {
        font-size: clamp(12.5px, 3.75vw, 37.5px); /* Normal size */
    }
    50% {
        font-size: clamp(13.75px, 4.125vw, 41.25px); /* Bigger size */
    }
    100% {
        font-size: clamp(12.5px, 3.75vw, 37.5px); /* Back to normal size */
    }
}

/* Scroll down indicator */
.scroll-down {
    position: absolute;
    bottom: 25%;
    color: rgb(255, 255, 255);
    font-size: 16px;
    cursor: pointer;
}

.section2 {
    z-index: 2;
    background-color: white;
    position: absolute; /* Or use 'absolute' if you want it positioned relative to the page */
    top: 100vh; /* Push it just below the viewport */
    left: 0;
    width: 100%; 
    height: fit-content; /* Ensure it takes up enough space to be visible */
    padding: 20px; /* Optional padding for content */
    display: flex;
    flex-direction: column;
}
/* #endregion */

.text-background {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 10%;
    position: relative;
}

.text-background h1 {
    font-family: 'Arial', sans-serif;
    width: 45%;
    font-size: clamp(60px,12vw,180px);
    margin-right: 10%;
    background: linear-gradient(to right, rgb(237, 85, 35), rgba(237, 85, 35, 0.6)); 
    -webkit-background-clip: text;
    color: transparent; 
    white-space: nowrap; 
    display: inline-block;
    text-transform: uppercase;
}

.text-background p {
    /* position: absolute; */
    font-family: 'Arial', sans-serif;
    width: 40%;
    font-size: clamp(5px,2.5vw,25px);
    margin-left: 5%;
}

.bold {
    font-size: clamp(6px,2.5vw,30px);
}

.second-last-paragraph p {
    font-family: 'Arial', sans-serif;
    color: rgb(255, 255, 255);
    z-index: 2;
    position: relative; 
    font-size: clamp(6px, 3vw, 30px);
    text-align: center;
}

.second-last-paragraph {
    margin-top: 60px;
    background-image: url('Mining/text-background.jpg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    padding: 50px;
    position: relative; /* To position the pseudo-element on top */
}

/* White overlay effect */
.second-last-paragraph::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent white */
    z-index: 1; /* Ensure the overlay is above the background but below the text */
}

.last-paragraph {
    display: flex;
    justify-content: center;
    align-items: center; 
    font-family: 'Arial', sans-serif;
    font-size: clamp(6px, 3vw, 30px);
    text-align: justify; 
    width: 90%;
    margin: 0 5%;
}


.orange-color {
    color: rgb(237, 85, 35);
}