body {
    background: url('../img/fondoindex.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: stretch; 
    justify-content: flex-start;
    padding-left: 100px;
    font-family: 'Times New Roman', Times, serif;
}

.text-box {
    background: rgb(255, 255, 255);
    padding: 70px;
    border-radius: 20px 0 0 20px; 
    max-width: 650px;
    text-align: center;
    min-height: 100vh;  
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.text-box img {
    width: 300px;   
    height: auto;
    margin: 0 auto 35px auto; 
    display: block; 
}

.text-box h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.2;
}

.text-box p {
    font-size: 1.8rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.text-box a {
    text-decoration: none;
    color: rgb(145, 31, 180);
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
    font-size: 1.4rem;
}

.text-box a:hover {
    color: rgb(82, 9, 97);
    transition: all 300ms;
}

/* 📱 Tablets */
@media (max-width: 992px) {
    body {
        justify-content: center;
        padding-left: 0;
    }

    .text-box {
        max-width: 90%;
        padding: 50px;
        min-height: auto;
    }

    .text-box img {
        width: 280px;
    }

    .text-box h1 {
        font-size: 3.5rem;
    }

    .text-box p {
        font-size: 1.5rem;
    }
}

/* 📱 Celulares */
@media (max-width: 576px) {
    .text-box {
        max-width: 95%;
        padding: 35px;
    }

    .text-box img {
        width: 200px;
    }

    .text-box h1 {
        font-size: 2.5rem;
    }

    .text-box p {
        font-size: 1.2rem;
    }

    .text-box a {
        font-size: 1.1rem;
    }
}
