html, body {
    overflow-x: hidden;
    width: 100%;
}

/* #region FRONT PAGE */
.section1 {
    position: fixed;
    background: url('Power/Power.jpg') no-repeat center center/cover;
    background-size: cover; 
    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 black;
}

@keyframes text-grow-shrink {
    0% {
        font-size: clamp(12.5px, 3.75vw, 37.5px); 
    }
    50% {
        font-size: clamp(13.75px, 4.125vw, 41.25px); 
    }
    100% {
        font-size: clamp(12.5px, 3.75vw, 37.5px);
    }
}


.scroll-down {
    position: absolute;
    bottom: 25%;
    color: black;
    font-size: 16px;
    cursor: pointer;
}

.section2 {
    z-index: 2;
    background-color: white;
    position: absolute; 
    top: 100vh;
    left: 0;
    width: 100%; 
    height: fit-content; 
    padding: 20px; 
}
/* #endregion */


.main-heading-batteries {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: -5%;
}

.image-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 15%;

}

.main-heading-batteries p {
    font-family: 'Arial', sans-serif;
    font-size: clamp(5px, 2.5vw, 25px);
    max-width: 50%;
    margin-top: 10%;
    text-align: justify;
}

.image-heading h1 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(40px, 5vw, 100px);
}
.image-heading img {
    margin-top: 150px;
    position: absolute;
    width: clamp(200px, 40vw, 400px);;
    height: auto;
}


.orange-color {
    color: rgb(237, 85, 35);
}

.section2 h2 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(20px, 5vw, 40px);
    text-align: center;
}

.last-paragraph {
    font-family: 'Arial', sans-serif;
    font-size: clamp(5px, 2.5vw, 25px);
    max-width: 90%;
    text-align: center;
    margin-left: 5%;
}




.battery-container {
    display: flex;
    justify-content: center;
    gap: 40px; 
    align-items: center;
    text-align: center;
    width: 70%;
    margin-left: 15%;
    margin-top: 60px;
    margin-bottom: 60px;
}

.battery-item {
    flex: 1;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 10px 10px 20px black;
    padding: 10px;
}

.battery-item img {
    width: auto;
    height: clamp(75px, 15vw, 220px);
}

.battery-item .NDT {
    height: 250px;
}

.button-group {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 10px;
    width: 100%
}

.battery-container button {
    font-family: 'Arial', sans-serif;
    font-size: clamp(4px, 2.5vw, 20px);
    padding: 10px 20px;
    background-color: #85ABD8;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s ease;

}

.battery-container button:hover {
    background-color: rgb(237, 85, 35);
}

.battery-item h3 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(20px, 2.5vw, 40px);
}
