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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.text-principal {
    color: #fff;
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px;
}
.errorPage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.banner {
    width: 100%;
    height: auto;
    
}

@media (max-width: 768px) {
    .containerPrincipal {
        width: 100%;
        height: 90vh;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .text-principal {
        font-size: 1.5rem;
        padding: 10px;
    }
    .banner {
        width: 100%;
        height: 90vh;
        object-fit: fill;
    }
}