.body {
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
    color: white;
    font-family: Arial, sans-serif;
}

.content {
    position: relative;
    min-height: 100vh; /* Change height to min-height */
}

.background-image {
    position: absolute;
    top: -5px;
    left: 0px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-image: url("backgroundeixample.png");
    background-size: cover;
    background-position: center center;
    opacity: 95%;
}

.title {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    font-size: 50px;
    opacity: 1;
    color: rgb(255, 255, 255);
    font-family: 'Montserrat';
    text-shadow: -10px 5px 4px rgba(12, 14, 15, 0.74); /* Add a shadow */


}

/* Style for the "Data" word */
.title .data-word {
    color: rgb(0, 0, 0); /* Set the color to black */
    text-shadow: 2px 40px 4px rgba(12, 14, 15, 0.74); /* Add a shadow */
}

.subtitle {
    color: rgb(255, 255, 255);
    font-family: 'Roboto';
    font-size: 
    40px;
    font-weight: 500;
    padding-top: 220px;
    padding-left: 100px;
    text-shadow: -5px 5px 4px rgba(32, 32, 32, 0.555); /* Add a shadow */


}

h1{
    font-family: 'Roboto';
}
/* Add CSS to make text bigger */
h2 {
    font-family: 'Roboto';
    font-size: 24px; /* Adjust the font size as needed */
}

/* Add CSS to change color of span */
.highlight {
    color: #FF5733; /* Change color to your desired color */
}

p{
    font-family: 'Roboto';

}

.chartContainer {
    left: 5%;
}

.charts {
    position: absolute;
    top: 100%; /* Start below the image */
    left: 57%;
    transform: translateX(-50%);
    width: 90%; /* Adjust width as needed */
    max-width: 1200px; /* Set a maximum width for larger screens */
    margin: 20px auto; /* Center the container and add some margin */
}


.chart-container {
    width: 110%; /* Make each chart container take up full width */
    align-items: center;
    overflow: visible;
}

/* For larger screens, adjust the width of chart containers */
@media screen and (min-width: 768px) {
    .chart-container {
        width: 100%; /* Make each chart container take up 45% of the width */
    }
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-text {
    position: absolute;
    top: calc(50% + 60px);
    left: 10%;
    transform: translateY(-50%);
    opacity: 0;
}

.scroll-text p {
    margin: 0;
    font-size: 1.2em;
}

.animate-scroll-text {
    animation: fadeInUp 6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.animated {
    animation-fill-mode: both;
}




.houses-container {
    display: flex;
    margin-left: 150px;
    padding-bottom: 2%;
}


/* Adjust the size of the house icons */
.fas.fa-home {
    font-size: 50px;
    margin: 0 10px; /* Add margin between the icons */
}




@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.scroll-animate {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}


.animate-scroll {
    opacity: 1;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-scroll .house-animate {
    animation: fadeInRight 1s ease forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    padding: 10px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    z-index: 1; /* Ensure it's above the background image */
}
