@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.structure {
    display: flex;
    justify-content: center;
}

.fi-structure {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 0 10em; /* Will adjust for mobile */
}

.fi-structure h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem; /* Large for desktop */
    color: #00a6eb;
}

.structure img {
    height: auto;
    width: 100%; /* Keeps the image responsive */
    padding: auto;
}

/* Responsive design for tablets and smaller screens */
@media (max-width: 1024px) {
    .fi-structure {
        padding: 0 5em; /* Reduce padding for tablets */
    }

    .fi-structure h1 {
        font-size: 2.5rem; /* Reduce font size slightly for tablets */
    }
}

/* Responsive design for mobile phones */
@media (max-width: 768px) {
    .fi-structure {
        padding: 0 2em; /* Further reduce padding for mobile screens */
    }

    .fi-structure h1 {
        font-size: 2rem; /* Smaller font size for mobile */
    }

    .structure img {
        width: 100%; /* Ensure the image remains full-width on mobile */
    }
}

/* Very small screens or phones in portrait mode */
@media (max-width: 480px) {
    .fi-structure {
        padding: 0 1em; /* Even smaller padding */
    }

    .fi-structure h1 {
        font-size: 1.5rem; /* Reduce the font size more */
    }

    .structure img {
        width: 100%; /* Image remains responsive */
    }
}
