/* General Reset */

*,
*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    height: 100%;
}

/* Body layout */

body {
    background-color: #b3b1b1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    min-height: 100vh;
    /* Ensure full height */
}

/* Centering the #app div */

#app {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Ensure the content is centered horizontally */
    justify-content: center;
    /* Center vertically */
    width: 100%;
}

/* Image Section */

.image-container {
    width: 150px;
    /* Set a default size for PC */
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Section */

.text-container {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 15px;
    max-width: 600px;
    width: 90%;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
}

.text-container h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c2c2c;
    font-weight: 700;
}

.text-container p {
    font-size: 16px;
    color: #2c2c2c;
    line-height: 1.8;
    font-weight: 700;
    text-align: justify;
}

/* Button Styles */

.button {
    width: 90%;
    max-width: 600px;
    margin-top: 20px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    background-color: #fff;
    color: #333;
    border: 2px solid #b3b1b1;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    transition: background-color .3s, color .3s, border-color .3s;
    box-shadow: 0 4px 6px #0000001a;
}

.button:hover {
    background-color: #b3b1b1;
    color: #fff;
    border-color: #fff;
}

/* Second Image Section */

.second-image-container {
    margin-top: 30px;
    position: relative;
    width: 90%;
    max-width: 600px;
}

.second-image-container img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
}

.second-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #00000080;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    padding: 10px;
    box-sizing: border-box;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Footer */

footer {
    max-width: 600px;
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 20px;
}

.footer-links {
    margin-top: 10px;
    font-size: 14px;
}

.footer-links a {
    margin: 0 10px;
    color: #007bff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Media Query for Smaller Screens (Mobile) */

@media (max-width: 768px) {
    /* Adjust the image size */
    .image-container {
        width: 120px;
        /* Smaller image size for mobile */
        height: 120px;
    }
    .text-container h1 {
        font-size: 20px;
    }
    .text-container p {
        font-size: 14px;
    }
    .button {
        font-size: 16px;
        padding: 14px;
    }
}